/* ==========================================================================
   ABOUT PAGE STYLES — MRB Metals Child Theme
   ========================================================================== */

/* Remove shadow in sticky header to match Figma's flat header design */
.bs-header-4-area.mrb-sticky {
  box-shadow: none !important;
}

/* Set dynamic responsive section gap as paddings for all About page components */
.about-hero-container .bs-about-3-area {
  padding-top: var(--mrb-sec-gap) !important;
  padding-bottom: var(--mrb-sec-gap) !important;
}

.aboutus-container .bs-about-4-area{
  padding-top: 80px !important;
  padding-bottom : 180px !important;
}

/* Figma sets all eyebrows / lists in their authored case — cancel the theme's
   .wa-capitalize (and the split-text spans it wraps them in) */
.about-hero-container .bs-subtitle-1,
.about-hero-container .bs-subtitle-1 *,
.about-hero-container .bs-about-3-content-list li,
.about-hero-container .bs-about-3-content-list li *,
.why-choose-container .bs-choose-4-subtitle .text,
.why-choose-container .bs-choose-4-subtitle .text *,
.aboutus-container .bs-subtitle-4 .text,
.aboutus-container .bs-subtitle-4 .text * {
  text-transform: none !important;
}

/* SECTION 1: WHO WE ARE (.about-hero-container) */
.about-hero-container .bs-about-3-area {
  background-color: #ffffff !important;
}
/* Theme's .container is wider than the 1352px Figma content box — align the
   section title with the body copy below it */
.about-hero-container .bs-about-3-sec-title {
  max-width: 1352px;
  margin-left: auto;
  margin-right: auto;
}
.about-hero-container .bs-subtitle-1 {
  font-family: "Inter", sans-serif;
  font-size: 18px;
  font-weight: 500;
  color: #f5821f;
  letter-spacing: 0;
  margin-bottom: 12px;
}
.about-hero-container .bs-subtitle-1 .icon {
  display: none !important;
}
/* Figma 87:406 draws a hairline rule under the eyebrow, like the other two
   sections. The tx_about view-1 markup has no equivalent of the animated rule
   that .bs-subtitle-4 / .bs-choose-4-subtitle ship with, so draw it here. */
.about-hero-container .bs-about-3-sec-title::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 36px; /* just under the eyebrow; desktop overrides to the Figma offset */
  height: 1px;
  background: rgba(45, 45, 45, 0.15);
  z-index: 3;
  width: 65%;
}
.about-hero-container .bs-sec-title-3 {
  font-family: "Albert Sans", sans-serif;
  font-size: 54px;
  font-weight: 700;
  line-height: 1.2;
  color: #1a1a1a;
  margin: 0 0 32px;
  text-transform: capitalize;
}
.about-hero-container .bs-about-3-content .disc {
  font-family: "DM Sans", sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.3;
  color: #2d2d2d;
  margin-bottom: 30px;
}
.about-hero-container .bs-about-3-content-list li {
  font-family: "Inter", sans-serif;
  font-size: 18px;
  font-weight: 500;
  color: #2d2d2d;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
  line-height: 1.2;
}
.about-hero-container .bs-about-3-content-list li i {
  color: #f5821f !important;
  font-size: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  width: auto;
  height: auto;
}
.about-hero-container .bs-about-3-wrap {
  display: grid;
  grid-template-columns: 1fr 1.575fr;
  gap: 62px;
  max-width: 1352px;
  margin: 0 auto;
  align-items: center;
}
@media (min-width: 1380px) {
  .about-hero-container .bs-about-3-wrap {
    grid-template-columns: 501px 789px;
    justify-content: space-between;
  }
}
.about-hero-container .bs-about-3-content {
  max-width: 501px;
  padding-top: 0;
}
/* Figma 87:406 overlaps the image column with the section title: the photo top
   (72px below the section) sits above the "about us" eyebrow (142px). Two-column
   layout only — below 992px the wrap stacks and the overlap must not apply. */
@media (min-width: 992px) {
  .about-hero-container .bs-about-3-sec-title {
    padding-top: 62px;
  }
  .about-hero-container .bs-about-3-sec-title::before {
    top: 98px; /* Figma: 178px from the section top */
  }
  .about-hero-container .bs-subtitle-1 {
    margin-bottom: 38px;
  }
  .about-hero-container .bs-about-3-wrap {
    align-items: start;
  }
  .about-hero-container .bs-about-3-right {
    margin-top: -232px;
  }
}
.about-hero-container .bs-about-3-right {
  position: relative;
  width: 100%;
  max-width: 789px;
  aspect-ratio: 789 / 835;
  height: auto;
}
.about-hero-container .bs-about-3-img-1 {
  position: absolute;
  top: 0;
  right: 0;
  width: calc(734 / 789 * 100%) !important;
  height: calc(429 / 835 * 100%) !important;
  z-index: 1;
  display: block !important;
}
.about-hero-container .bs-about-3-img-1 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-hero-container .bs-about-3-img-2 {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100% !important;
  height: calc(544 / 835 * 100%) !important;
  z-index: 2;
  display: block !important;
  right: auto !important;
  top: auto !important;
}
.about-hero-container .bs-about-3-img-2 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* SECTION 2: WHY CHOOSE US (.why-choose-container) */
.why-choose-container .bs-choose-4-subtitle .text {
  font-family: "Inter", sans-serif;
  font-size: 18px;
  font-weight: 500;
  color: #f5821f;
}

/* SECTION 3: VISION & MISSION (.aboutus-container) */
.aboutus-container .bs-about-4-area {
  background-color: #ffffff !important;
}
/* The 1352px content box these two sections used to set by hand is now the
   site-wide box in containers.css (1344px + 40px gutter), which every other
   page also sits on. Setting it again here only re-added the gutter on top
   of the shared one — About's headings started 24px further in than the
   same headings on Infrastructure. */
.aboutus-container .bs-subtitle-4 .text {
  font-family: "Inter", sans-serif;
  font-size: 18px;
  font-weight: 500;
  color: #f5821f;
  letter-spacing: 0;
}
.aboutus-container .bs-sec-title-4 {
  font-family: "Albert Sans", sans-serif;
  font-size: 54px;
  font-weight: 700;
  line-height: 1.2;
  color: #1a1a1a;
  margin: 0 0 32px;
  text-transform: capitalize;
}
.aboutus-container .bs-about-4-content .disc {
  font-family: "DM Sans", sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.3;
  color: #2d2d2d;
  margin-bottom: 24px;
}
.aboutus-container .bs-about-4-feature-single {
  background: transparent !important;
  padding: 0 !important;
  border: none !important;
}
.aboutus-container .bs-about-4-feature-single .item-icon {
  width: 60px;
  height: 60px;
  background: #f8f8f9 !important;
  color: #f5821f !important;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.aboutus-container .bs-about-4-feature-single .item-icon::before,
.aboutus-container .bs-about-4-feature-single .item-icon::after {
  display: none !important;
}
.aboutus-container .bs-about-4-feature-single .item-title {
  margin-bottom: 12px;
}
.aboutus-container .bs-about-4-feature-single .item-title a {
  font-family: "Albert Sans", sans-serif;
  font-size: 22px;
  font-weight: 500;
  color: #1a1a1a !important;
  text-transform: capitalize;
  pointer-events: none;
}
.aboutus-container .bs-about-4-feature-single .item-disc {
  font-family: "DM Sans", sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.3;
  color: #2d2d2d;
}
.aboutus-container .bs-about-4-wrap {
  display: grid;
  grid-template-columns: 1.04fr 1fr;
  gap: 64px;
  align-items: center;
}
@media (min-width: 1380px) {
  .aboutus-container .bs-about-4-wrap {
    grid-template-columns: 657px 631px;
    justify-content: space-between;
  }
}
.aboutus-container .bs-about-4-content {
  max-width: 657px;
}
.aboutus-container .bs-about-4-content .inner-div {
  padding-left: 0 !important;
}
.aboutus-container .bs-about-4-right {
  margin-right: 0 !important;
}
.aboutus-container .bs-about-4-img {
  width: 100%;
  max-width: 631px !important;
  height: 592px !important;
  margin-left: auto;
}
.aboutus-container .bs-about-4-img img {
  content: url('http://localhost/mrb-metals/wp-content/uploads/figma/mrb-about-main-tall.png') !important;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.aboutus-container .bs-about-4-project {
  display: none !important;
}

/* RESPONSIVE BREAKPOINTS (ALL DEVICES, APPLE, LAPTOPS, TABLETS, MOBILE) */
@media (max-width: 1199px) {
  .about-hero-container .bs-about-3-wrap {
    gap: 40px;
  }
  .aboutus-container .bs-about-4-wrap {
    gap: 40px;
  }

  .aboutus-container .bs-about-4-area{
    padding-bottom : 60px !important;
  }
}

@media (max-width: 991px) {
  .about-hero-container .bs-sec-title-3,
  .why-choose-container .bs-choose-4-content .title,
  .aboutus-container .bs-sec-title-4 {
    font-size: 40px;
    margin-bottom: 24px;
  }
  .about-hero-container .bs-about-3-wrap {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-hero-container .bs-about-3-content {
    max-width: 100%;
  }
  .about-hero-container .bs-about-3-right {
    margin: 0 auto;
  }
  .aboutus-container .bs-about-4-wrap {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .aboutus-container .bs-about-4-content {
    max-width: 100%;
  }
  .aboutus-container .bs-about-4-img {
    margin: 0 auto;
  }
}

@media (max-width: 767px) {
  .about-hero-container .bs-sec-title-3,
  .why-choose-container .bs-choose-4-content .title,
  .aboutus-container .bs-sec-title-4 {
    font-size: 32px;
    margin-bottom: 20px;
  }
  .aboutus-container .bs-about-4-feature {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .aboutus-container .bs-about-4-img {
    height: 400px !important;
  }
}
