/* ================= STRENGTH BEHIND THE STEEL SECTION ================= */
.strength-behind-steel {
  padding: 80px 0;
  background-color: #fff;
  overflow: hidden;
}

.strength-behind-steel__container {
  width: var(--container-width);
  max-width: var(--container-max-width);
  margin: 0 auto;
}

.strength-behind-steel__content {
  text-align: left;
  width: 100%;
}

.strength-behind-steel__title {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.1;
  color: #e63946;
  margin: 0 0 20px 0;
}

.strength-behind-steel__hero-content {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin: 40px 0;
}

.strength-behind-steel__subtitle {
  font-size: 2.2rem;
  font-weight: 700;
  color: #232323;
  margin: 0;
}

.strength-behind-steel__intro {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #232323;
  margin: 0;
  max-width: 100%;
}

.strength-behind-steel__cards-grid-apart {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin: 60px 0;
}
.strength-behind-steel__cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin: 60px 0;
}

.strength-behind-steel__card-apart {
  background: var(--color-secondary);
  border-radius: 0;
  padding: 40px 30px;
  border: none;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.strength-behind-steel__card {
  background: var(--color-secondary);
  border-radius: 0;
  padding: 40px 30px;
  border: none;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 323px;
}

.strength-behind-steel__card-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #e63946;
  margin: 0 0 20px 0;
  line-height: 1.3;
}

.strength-behind-steel__card-text {
  font-size: 1rem;
  line-height: 1.6;
  color: #ffffff;
  margin: 0;
  flex-grow: 1;
}

.strength-behind-steel__team-highlights {
  margin: 60px 0;
}

.strength-behind-steel__highlights-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--color-primary);
  margin: 0 0 40px 0;
  position: relative;
  display: inline-block;
}
.strength-behind-steel-team__corner-svg {
  display: inline-block;
  position: absolute;
  top: 0;
  right: -20px;
  width: 15px;
  height: 15px;
}

/* Stats Table - Similar to homepage quality section */
.strength-behind-steel__stats-table {
  width: 100%;
  margin: 0 auto;
  background-color: var(--color-secondary);
  border-radius: 0;
  overflow: hidden;
}

.strength-behind-steel__stats-row {
  display: flex;
  width: 100%;
}

.strength-behind-steel__stats-cell {
  flex: 1;
  padding: 2rem 1.5rem;
  text-align: left;
  position: relative;
  background-color: var(--color-secondary);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.strength-behind-steel__stats-cell:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 20%;
  right: 0;
  bottom: 20%;
  width: 1px;
  background-color: #e63946;
}

.strength-behind-steel__stats-text {
  font-size: 0.9rem;
  font-weight: 500;
  color: #ffffff;
  line-height: 1.4;
  margin: 0;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .strength-behind-steel {
    padding: 60px 0;
  }

  .strength-behind-steel__title {
    font-size: 3rem;
  }

  .strength-behind-steel__hero-content {
    gap: 25px;
    margin: 30px 0;
  }

  .strength-behind-steel__subtitle {
    font-size: 1.8rem;
  }

  .strength-behind-steel__cards-grid-apart {
    gap: 25px;
    margin: 50px 0;
  }

  .strength-behind-steel__cards-grid {
    gap: 25px;
    margin: 50px 0;
  }

  .strength-behind-steel__card-apart {
    padding: 35px 25px;
  }

  .strength-behind-steel__card {
    padding: 35px 25px;
    height: 280px;
  }

  .strength-behind-steel__card-icon {
    width: 55px;
    height: 55px;
    margin-bottom: 20px;
  }

  .strength-behind-steel__card-icon-img {
    width: 28px;
    height: 28px;
  }

  .strength-behind-steel__card-title {
    font-size: 1.3rem;
    margin-bottom: 18px;
  }

  .strength-behind-steel__highlights-title {
    font-size: 1.8rem;
  }

  .strength-behind-steel__stats-row {
    flex-wrap: wrap;
  }

  .strength-behind-steel__stats-cell:nth-child(2)::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background-color: #e0e0e0;
  }
}

@media (min-width: 768px) and (max-width: 900px) {
  .strength-behind-steel {
    padding: 40px 0;
  }

  .strength-behind-steel__title {
    font-size: 2.5rem;
  }

  .strength-behind-steel__hero-content {
    gap: 20px;
    margin: 25px 0;
  }

  .strength-behind-steel__subtitle {
    font-size: 1.5rem;
  }

  .strength-behind-steel__cards-grid-apart {
    grid-template-columns: 1fr;
    gap: 20px;
    margin: 40px 0;
  }

  .strength-behind-steel__cards-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin: 40px 0;
  }

  .strength-behind-steel__card-apart {
    padding: 30px 25px;
    height: auto;
  }

  .strength-behind-steel__card {
    padding: 30px 25px;
    height: auto;
    min-height: 240px;
  }

  .strength-behind-steel__card-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 18px;
  }

  .strength-behind-steel__card-icon-img {
    width: 25px;
    height: 25px;
  }

  .strength-behind-steel__card-title {
    font-size: 1.2rem;
    margin-bottom: 15px;
  }

  .strength-behind-steel__card-text {
    font-size: 0.95rem;
  }

  .strength-behind-steel__highlights-title {
    font-size: 1.5rem;
  }

  .strength-behind-steel__stats-cell {
    flex: 1;
    min-width: auto;
  }
}

@media (min-width: 1440px) {
  .strength-behind-steel__card {
    height: 360px;
  }
}

@media (min-width: 1920px) {
  .strength-behind-steel {
    padding: 120px 0;
  }

  .strength-behind-steel__title {
    font-size: 4.5rem;
  }

  .strength-behind-steel__subtitle {
    font-size: 2.8rem;
  }

  .strength-behind-steel__highlights-title {
    font-size: 2.8rem;
  }

  .strength-behind-steel__card {
    height: 400px;
  }
}

/* ================= GALLERY SECTION ================= */
.gallery {
  padding: 60px 0;
  background-color: #fff;
  overflow: hidden;
}

.gallery__container {
  width: var(--container-width);
  max-width: var(--container-max-width);
  margin: 0 auto;
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: auto;
  grid-gap: 16px;
  width: 100%;
}

/* Grid Item Sizes */
.gallery__item {
  background-color: #ddd;
  border-radius: 0;
  overflow: hidden;
  min-height: 240px;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Gallery image styling */
.gallery__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  transition: transform 0.3s ease;
}

/* Top row tiles */
.gallery__item--wide {
  grid-column: span 8;
  min-height: 280px;
}

.gallery__item--narrow {
  grid-column: span 4;
  min-height: 280px;
}

/* Middle row tiles */
.gallery__item--medium {
  grid-column: span 4;
  margin-top: 16px;
  min-height: 240px;
}

/* Bottom row structure */
.gallery__vertical-stack {
  grid-column: span 4;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 16px;
}

.gallery__item--small {
  min-height: 200px;
}

.gallery__item--large {
  grid-column: span 8;
  min-height: 416px; /* Matches two small tiles plus gap */
  margin-top: 16px;
}

/* Add hover effect to gallery items */
.gallery__item:hover {
  transform: scale(1.02);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
  z-index: 2;
}

.gallery__item:hover .gallery__image {
  transform: scale(1.05);
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .gallery__grid {
    grid-gap: 12px;
  }

  .gallery__item {
    min-height: 200px;
  }

  .gallery__vertical-stack {
    gap: 12px;
    margin-top: 12px;
  }

  .gallery__item--medium {
    margin-top: 12px;
    min-height: 220px;
  }

  .gallery__item--large {
    margin-top: 12px;
    min-height: 340px;
  }

  .gallery__item--small {
    min-height: 160px;
  }

  .gallery__item--wide,
  .gallery__item--narrow {
    min-height: 240px;
  }

  .gallery__item--wide {
    grid-column: span 7;
  }

  .gallery__item--narrow {
    grid-column: span 5;
  }
}

@media (max-width: 768px) {
  .gallery {
    padding: 40px 0;
  }

  .gallery__grid {
    grid-gap: 10px;
    grid-template-columns: 1fr;
  }

  .gallery__item {
    min-height: 220px;
    grid-column: 1 / -1 !important;
    margin-top: 0 !important;
  }

  .gallery__item + .gallery__item {
    margin-top: 10px !important;
  }

  .gallery__vertical-stack {
    grid-column: 1 / -1;
    gap: 10px;
    margin-top: 10px;
  }

  .gallery__item--small {
    min-height: 180px;
  }
}

/* For larger screens */
@media (min-width: 1440px) {
  .gallery__grid {
    grid-gap: 20px;
  }

  .gallery__item {
    min-height: 260px;
  }

  .gallery__vertical-stack {
    gap: 20px;
    margin-top: 20px;
  }

  .gallery__item--medium {
    margin-top: 20px;
    min-height: 300px;
  }

  .gallery__item--large {
    margin-top: 20px;
    min-height: 480px;
  }

  .gallery__item--small {
    min-height: 230px;
  }

  .gallery__item--wide,
  .gallery__item--narrow {
    min-height: 320px;
  }
}

@media (min-width: 1920px) {
  .gallery {
    padding: 80px 0;
  }

  .gallery__grid {
    grid-gap: 24px;
  }

  .gallery__item {
    min-height: 300px;
  }

  .gallery__vertical-stack {
    gap: 24px;
    margin-top: 24px;
  }

  .gallery__item--medium {
    margin-top: 24px;
    min-height: 340px;
  }

  .gallery__item--large {
    margin-top: 24px;
    min-height: 550px;
  }

  .gallery__item--small {
    min-height: 260px;
  }

  .gallery__item--wide,
  .gallery__item--narrow {
    min-height: 360px;
  }
}

/* For ultra-wide screens */
@media (min-width: 2560px) {
  .gallery__grid {
    grid-gap: 32px;
  }

  .gallery__item {
    min-height: 360px;
  }

  .gallery__vertical-stack {
    gap: 32px;
    margin-top: 32px;
  }

  .gallery__item--medium {
    margin-top: 32px;
    min-height: 420px;
  }

  .gallery__item--large {
    margin-top: 32px;
    min-height: 700px;
  }

  .gallery__item--small {
    min-height: 334px;
  }

  .gallery__item--wide,
  .gallery__item--narrow {
    min-height: 480px;
  }
}
