/* ==========================================================================
   SV Steels Chennai — Warehousing & Fabrication Styles
   Strictly adheres to authentic site theme colors (#AE8333, #070707, #4C4F58)
   and existing responsive heading font scaling (Exo & Public Sans).
   ========================================================================== */

.sv-warehouse-section {
  /* Generous left and right padding to ensure clean, spacious presentation */
  padding: 120px 80px;
  background: var(--white-color, #ffffff);
  position: relative;
  overflow: hidden;
}

/* Responsive section padding adjustments matching standard site design */
@media (max-width: 1499.98px) {
  .sv-warehouse-section {
    padding: 100px 60px;
  }
}

@media (max-width: 1199.98px) {
  .sv-warehouse-section {
    padding: 80px 40px;
  }
}

@media (max-width: 991.98px) {
  .sv-warehouse-section {
    padding: 70px 30px;
  }
}

@media (max-width: 767.98px) {
  .sv-warehouse-section {
    padding: 60px 20px;
  }
}
@media (max-width: 768px){
.sv-warehouse-img-wrap img {
    width: 100%;
    height: 400px !important;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}
}


@media (max-width: 575.98px) {
  .sv-warehouse-section {
    padding: 50px 15px;
  }
}

/* --- Typography & Headings --- */
.sv-section-subtitle {
  font-family: var(--title-font, "Exo", sans-serif);
  font-size: 16px;
  font-weight: 600;
  color: var(--primary-color, #AE8333);
  text-transform: uppercase;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.sv-section-title {
  font-family: var(--title-font, "Exo", sans-serif);
  font-size: 48px;
  /* Matching template H2 standard */
  font-weight: 700;
  color: var(--black-color, #070707);
  line-height: 1.1667;
  margin-bottom: 16px;
}

/* Responsive scaling matching template H2 exact font sizes */
@media (max-width: 1499.98px) {
  .sv-section-title {
    font-size: 44px;
  }
}

@media (max-width: 1199.98px) {
  .sv-section-title {
    font-size: 40px;
  }
}

@media (max-width: 991.98px) {
  .sv-section-title {
    font-size: 36px;
  }
}

@media (max-width: 767.98px) {
  .sv-section-title {
    font-size: 32px;
  }
}

@media (max-width: 575.98px) {
  .sv-section-title {
    font-size: 30px;
  }
}

.sv-title-underline {
  display: none !important;
}

.sv-body-text {
  font-family: var(--body-font, "Public Sans", sans-serif);
  font-size: 17px;
  color: var(--text-secondary, #4C4F58);
  line-height: 1.8;
  margin-bottom: 24px;
}

.sv-body-text:last-child {
  margin-bottom: 0;
}

/* --- Hero Image & Showcase Card --- */
/* Square corners — overflow:hidden stays, it is what contains the hover zoom. */
.sv-warehouse-img-wrap {
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  border: 1px solid var(--secondary-border-color, rgba(200, 201, 204, 0.24));
}

.sv-warehouse-img-wrap img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.sv-warehouse-img-wrap:hover img {
  transform: scale(1.04);
}

.sv-warehouse-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  background: #670d0f;
  padding: 18px 24px;
  border-radius: 6px;
  border-left: 4px solid var(--primary-color, #AE8333);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(4px);
}

.sv-warehouse-badge h5 {
  font-family: var(--title-font, "Exo", sans-serif);
  color: #ffffff;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 4px;
}

.sv-warehouse-badge p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  margin: 0;
  line-height: 1.5;
}

/* --- Feature Cards (Fabrication & Roofing) ---

   Rebuilt from a flat grey box with a title and a wall of body copy into a
   structured card: an icon tile and a numbered eyebrow sit beside the heading,
   the copy is trimmed to a readable paragraph, and the specifics that used to
   be buried in that paragraph are pulled out as a two-column checklist. The
   accent moves from a top border to a left rail, which is what makes the pair
   read as two halves of one division rather than two unrelated panels. */
.sv-feature-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 36px 34px 34px;
  background: var(--white-color) !important;
  border: 1px solid rgba(103, 13, 15, 0.1);
  border-left: 4px solid #670D0F !important;
  color: #070707 !important;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sv-feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.1);
}

.sv-feature-card__head {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 20px;
}

.sv-feature-card__icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #670D0F;
  color: var(--white-color);
  font-size: 24px;
}

.sv-feature-card__eyebrow {
  display: block;
  margin-bottom: 6px;
  color: var(--primary-color, #AE8333);
  font-family: var(--title-font, "Exo", sans-serif);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.sv-feature-card__title {
  font-family: var(--title-font, "Exo", sans-serif);
  font-size: 28px;
  font-weight: 700;
  color: #070707 !important;
  line-height: 1.25;
  margin-bottom: 0;
}

.sv-feature-card .sv-body-text {
  margin-bottom: 24px;
  color: #4C4F58 !important;
  font-size: 16px;
}

/* Pinned to the foot of the card with margin-top:auto, so the two lists line
   up with each other whatever length the paragraphs above them run to. */
.sv-feature-card__points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 20px;
  margin: auto 0 0;
  padding: 20px 0 0;
  border-top: 1px solid rgba(103, 13, 15, 0.12);
  list-style: none;
}

.sv-feature-card__points li {
  position: relative;
  padding-left: 22px;
  color: #4C4F58;
  font-size: 15px;
  line-height: 1.5;
}

.sv-feature-card__points li::before {
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  content: "";
  background: var(--primary-color, #AE8333);
  transform: rotate(45deg);
}

@media (max-width: 1199.98px) {
  .sv-feature-card__title {
    font-size: 25px;
  }
}

@media (max-width: 767.98px) {
  .sv-feature-card {
    padding: 28px 22px;
  }

  .sv-feature-card__head {
    gap: 14px;
    margin-bottom: 16px;
  }

  .sv-feature-card__icon {
    width: 48px;
    height: 48px;
    font-size: 20px;
  }

  .sv-feature-card__title {
    font-size: 22px;
    padding: 0;
  }

  .sv-feature-card__points {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }
}

/* --- Client Collaboration Pills Showcase --- */
.sv-client-network-box {
  background: #F1F1F1 !important;
  /* Light grey background */
  border-radius: var(--primary-radius, 8px);
  padding: 36px 40px;
  margin-top: 32px;
  border-left: 5px solid #670D0F !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
}

.sv-client-network-title {
  font-family: var(--title-font, "Exo", sans-serif);
  color: #070707 !important;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 18px;
}

.sv-client-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.sv-client-pill {
  background: #ffffff !important;
  color: #070707 !important;
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.3px;
  border: 1px solid rgba(200, 201, 204, 0.6) !important;
  transition: background 0.3s ease, transform 0.2s ease;
}

.sv-client-pill:hover {
  background: #670D0F !important;
  color: #ffffff !important;
  border-color: #670D0F !important;
  transform: translateY(-2px);
}

/* --- 3PL & Strategic Expansion Executive Cards --- */
.sv-pro-card {
  background: #F1F1F1 !important;
  /* Light grey card background */
  border-radius: var(--primary-radius, 8px);
  padding: 40px 36px;
  height: 100%;
  border-top: 4px solid #670D0F !important;
  color: #070707 !important;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sv-pro-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.1);
}

.sv-pro-card__header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(200, 201, 204, 0.5);
}

.sv-pro-card__icon {
  width: 56px;
  height: 56px;
  min-width: 56px;
  background: #670D0F !important;
  /* Maroon Icon Background */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff !important;
  font-size: 22px;
  box-shadow: 0 4px 14px rgba(103, 13, 15, 0.35);
}

.sv-pro-card__title {
  font-family: var(--title-font, "Exo", sans-serif);
  font-size: 28px;
  font-weight: 700;
  color: #070707 !important;
  line-height: 1.25;
  margin: 0;
}

.sv-pro-card__body {
  font-family: var(--body-font, "Public Sans", sans-serif);
  color: #4C4F58 !important;
  font-size: 17px;
  line-height: 1.8;
  margin-bottom: 28px;
}

.sv-pro-card__body strong {
  color: #070707 !important;
}

.sv-pro-card__footer {
  background: #ffffff !important;
  padding: 18px 22px;
  border-radius: var(--primary-radius, 8px);
  border: 1px solid rgba(200, 201, 204, 0.5) !important;
}

.sv-pro-card__footer-title {
  font-family: var(--title-font, "Exo", sans-serif);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #070707 !important;
  font-weight: 700;
  margin-bottom: 12px;
  display: block;
}

.sv-pro-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sv-pro-pill {
  background: #F1F1F1 !important;
  color: #070707 !important;
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(200, 201, 204, 0.6) !important;
}

.sv-pro-pill i {
  color: #670D0F !important;
}

@media (max-width: 1199.98px) {
  .sv-pro-card__title {
    font-size: 24px;
  }

  .sv-pro-card {
    padding: 34px 28px;
  }
}

@media (max-width: 767.98px) {
  .sv-pro-card__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .sv-pro-card__title {
    font-size: 22px;
  }

  .sv-pro-card {
    padding: 28px 20px;
  }
}

/* --------------------------------------------------------------------------
   "Nationwide Supply Chain Solutions" — breathing room above the block.

   This block used Bootstrap's .mt-4 (24px), which is the same gap the feature
   cards above it already carry between rows, so the eyebrow read as part of
   that group rather than as the start of a new one. It is a section break, so
   it gets a section-sized gap. Replaces .mt-4 on the wrapper rather than
   sitting alongside it — .mt-4 is an !important utility and could not be
   overridden.
   -------------------------------------------------------------------------- */
.sv-wh-block-spaced {
  margin-top: 80px;
}

@media (max-width: 991.98px) {
  .sv-wh-block-spaced {
    margin-top: 56px;
  }
}

@media (max-width: 767.98px) {
  .sv-wh-block-spaced {
    margin-top: 40px;
  }
}