/* ==========================================================================
   ABOUT PAGE - NEW DESIGN (VANILLA CSS / BEM)
   Prefix: abt-
   ========================================================================== */

:root {
  --meco-slider-height-lg: 620px;
  --meco-slider-height-md: 380px;
  --meco-slider-height-sm: 300px;
  --meco-slider-height-xs: 260px;
}
/* ----- Page Wrapper ----- */
.about-page {
  background: linear-gradient(180deg, #0d1519 0%, #11224d 100%);
  color: #f9f9f9;
  font-family: "Roboto", sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  font-weight: 300;
}

/* ----- Shared Container ----- */
.abt-container {
  max-width: var(--meco-container-1220);
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  box-sizing: border-box;
  position: relative;
}

/* Separator line (matches sol-container::before) */
.abt-container::before {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  height: 1px;
  background-color: #f9f9f9;
  opacity: 20%;
  max-width: 1220px;
  width: 100%;
  bottom: -100px;
}

/* ----- Shared Section Padding ----- */
.abt-section {
  padding: 100px var(--meco-container-px-1220) 100px
    var(--meco-container-px-1220);
}

/* =============================================
   VIDEO SECTION (reuses --meco-slider-height-* from solutions-new.css)
   ============================================= */
.abt-video {
  position: relative;
  width: 100%;
  background-color: #0d1519;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 77px var(--meco-container-px-1220) 0 var(--meco-container-px-1220);

  @media (max-width: 1279px) and (min-width: 1080px) {
    padding: 76px var(--meco-container-px-1079) 0 var(--meco-container-px-1079);
  }
  @media (max-width: 1079px) and (min-width: 480px) {
    padding: 77px var(--meco-container-px-640) 0 var(--meco-container-px-640);
  }
  @media (max-width: 479px) {
    padding: 57px 0 0 0;
  }
}

.abt-video__container {
  position: relative;
  width: 100%;
  height: var(--meco-slider-height-lg);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0px 4px 30px rgba(0, 0, 0, 0.4);
  max-width: 1220px;
  margin: 0 auto;

  @media (max-width: 1279px) and (min-width: 1080px) {
    max-width: var(--meco-container-1079, 1079px);
    height: var(--meco-slider-height-md);
  }
  @media (max-width: 1079px) and (min-width: 480px) {
    max-width: var(--meco-container-640, 640px);
    height: var(--meco-slider-height-sm);
  }
  @media (max-width: 479px) {
    /* max-width: var(--meco-container-399, 399px); */
    height: var(--meco-slider-height-xs);
    border-radius: 0;
  }
}

.abt-video__player {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border: 1px solid #f9f9f933;
  border-radius: 4px;
  @media (max-width: 479px) {
    border: none;
    border-radius: 0;
  }
}

.abt-video__scroll-btn {
  display:none;
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  background: none;
  border: none;
  cursor: pointer;
  z-index: 10;
  transition: transform 0.3s ease;

  @media (max-width: 1079px) {
    bottom: 15px;
    height: 50px;
    width: 50px;
  }
  @media (max-width: 530px) {
    height: 35px;
    width: 35px;
  }
}

.abt-video__scroll-btn:hover {
  transform: translateX(-50%) translateY(5px);
}

.abt-video__arrow-img {
  transition: all 0.3s ease;
}

.abt-video__scroll-btn:hover .abt-video__arrow-img {
  content: url("/src/assets/down-arrow-hovered.svg");
}

/* =============================================
   HERO SECTION
   ============================================= */
.abt-hero {
  padding: 100px var(--meco-container-px-1220) 60px;

  @media (max-width: 1279px) and (min-width: 1080px) {
    padding: 100px var(--meco-container-px-1079) 60px;
  }
  @media (max-width: 1079px) and (min-width: 480px) {
    padding: 80px var(--meco-container-px-640) 60px;
  }
  @media (max-width: 479px) {
    padding: 80px var(--meco-container-px-399) 60px;
  }
}

.abt-hero__container {
  max-width: var(--meco-container-1220);
  margin-left: auto;
  margin-right: auto;
  width: 100%;

  @media (max-width: 1279px) and (min-width: 1080px) {
    max-width: var(--meco-container-1079);
  }
  @media (max-width: 1079px) and (min-width: 480px) {
    max-width: var(--meco-container-640);
  }
  @media (max-width: 479px) {
    max-width: var(--meco-container-399);
  }
}

.abt-hero__label {
  font-size: 24px;
  line-height: 32px;
  font-weight: 300;
  color: #f9f9f9;
  letter-spacing: 0;
  margin-bottom: 60px;

  @media (max-width: 1079px) {
    font-size: 20px;
    line-height: 24px;
  }
}

.abt-hero__title {
  font-size: 64px;
  font-weight: 300;
  line-height: 64px;
  color: #f9f9f9;
  text-transform: uppercase;
  margin-bottom: 60px;
  font-family: "Poppins", sans-serif;

  @media (max-width: 1279px) and (min-width: 1080px) {
    font-size: 42px;
    line-height: 48px;
  }
  @media (max-width: 1079px) and (min-width: 480px) {
    font-size: 32px;
    line-height: 36px;
  }
  @media (max-width: 479px) {
    font-size: 32px;
    line-height: 36px;
  }
}

/* --- Quote / Body Text --- */
.abt-hero__body {
  font-size: 16px;
  line-height: 24px;
  font-weight: 300;
  color: #f9f9f9;
  display: flex;
  flex-direction: row;
  gap: 40px;

  @media (max-width: 1079px) {
    flex-direction: column;
    gap: 24px;
  }
}

.abt-hero__col {
  flex: 1;
}

.abt-hero__text {
  font-size: 16px;
  line-height: 24px;
  font-weight: 300;
  color: #f9f9f9;
}

.abt-hero__col--right {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.abt-hero__author {
  margin-top: auto;
  padding-top: 20px;
}

.abt-hero__author-name {
  font-size: 16px;
  font-weight: 300;
  color: #f9f9f9;
  line-height: 24px;
  font-style: italic;
}

.abt-hero__author-role {
  font-size: 16px;
  color: #f9f9f9;
  line-height: 24px;
  font-weight: 300;
}

/* =============================================
   MAP SECTION
   ============================================= */
.abt-map {
  padding: 0 var(--meco-container-px-1220);

  @media (max-width: 1279px) and (min-width: 1080px) {
    padding: 0 var(--meco-container-px-1079);
  }
  @media (max-width: 1079px) and (min-width: 480px) {
    padding: 0 var(--meco-container-px-640);
  }
  @media (max-width: 479px) {
    padding: 0;
  }
}

.abt-map__container {
  max-width: var(--meco-container-1440);
  margin-left: auto;
  margin-right: auto;
  width: 100%;

  @media (max-width: 1279px) and (min-width: 1080px) {
    max-width: var(--meco-container-1079);
  }
  @media (max-width: 1079px) and (min-width: 480px) {
    max-width: var(--meco-container-640);
  }
  @media (max-width: 479px) {
    max-width: 100%;
  }
}

.abt-map__image {
  width: 100%;
  height: auto;
  display: block;
}

/* =============================================
   TIMELINE SECTION
   ============================================= */
.abt-timeline {
  padding: 0px var(--meco-container-px-1220) 100px;

  @media (max-width: 1279px) and (min-width: 1080px) {
    padding: 0px var(--meco-container-px-1079) 100px;
  }
  @media (max-width: 1079px) and (min-width: 480px) {
    padding: 0px var(--meco-container-px-640) 80px;
  }
  @media (max-width: 479px) {
    padding: 0px var(--meco-container-px-399) 80px;
  }
}

.abt-timeline__container {
  max-width: var(--meco-container-1220);
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  position: relative;

  @media (max-width: 1279px) and (min-width: 1080px) {
    max-width: var(--meco-container-1079);
  }
  @media (max-width: 1079px) and (min-width: 480px) {
    max-width: var(--meco-container-640);
  }
  @media (max-width: 479px) {
    max-width: var(--meco-container-399);
  }
}

/* Separator before timeline (matches sol-container::before) */
/* .abt-timeline__container::before {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  height: 1px;
  background-color: #f9f9f9;
  opacity: 20%;
  max-width: 1220px;
  width: 100%;
  top: -100px;

  @media (max-width: 1079px) {
    top: -80px;
  }
} */

.abt-timeline__header {
  text-align: center;
  margin-bottom: 24px;
}

.abt-timeline__title {
  font-size: 32px;
  font-weight: 400;
  color: #f9f9f9;
  margin-bottom: 8px;
  font-family: "Poppins", sans-serif;
  line-height: 40px;

  @media (max-width: 1079px) {
    font-size: 24px;
    line-height: 32px;
  }
}

.abt-timeline__subtitle {
  font-size: 14px;
  font-weight: 300;
  color: #f9f9f9;
  line-height: 20px;
  letter-spacing: 4%;
}

.abt-timeline__box {
  position: relative;
  width: 100%;
  max-width: 1124px;
  margin-left: auto;
  margin-right: auto;
  height: 600px;
  border: 2px solid #f9f9f933;
  border-radius: 6px;
  box-shadow: 0px 8px 32px 0px #0000001a inset;
  overflow: hidden;
  cursor: grab;

  @media (max-width: 1079px) {
    max-width: 400px;
    margin: auto;
  }
  /* @media (max-width: 479px) {
    height: 400px;
  } */

  .h-sub-timeline {
    padding: 60px 60px 0px 60px;

    @media (max-width: 1079px) {
      padding: 20px 20px 0px 20px !important;
    }
    .years-wrapper {
      max-width: none !important;
    }
  }
}

.abt-timeline__box:active {
  cursor: grabbing;
}

.abt-timeline__top-track {
  cursor: grab;
  z-index: 10;
}

.abt-timeline__top-track:active {
  cursor: grabbing;
}

.abt-timeline__years-wrapper {
  width: 100%;
  position: relative;
  height: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  cursor: grab;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.abt-timeline__years-wrapper::-webkit-scrollbar {
  display: none;
}

.abt-timeline__years-wrapper:active {
  cursor: grabbing;
}

.abt-timeline__years {
  position: relative;
  display: flex;
}

/* =============================================
   TRUST THE LEADER SECTION
   ============================================= */
.abt-trust {
  padding: 100px var(--meco-container-px-1220);

  @media (max-width: 1279px) and (min-width: 1080px) {
    padding: 100px var(--meco-container-px-1079);
  }
  @media (max-width: 1079px) and (min-width: 480px) {
    padding: 80px var(--meco-container-px-640);
  }
  @media (max-width: 479px) {
    padding: 80px var(--meco-container-px-399);
  }
}

.abt-trust__container {
  max-width: var(--meco-container-1220);
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  position: relative;

  @media (max-width: 1279px) and (min-width: 1080px) {
    max-width: var(--meco-container-1079);
  }
  @media (max-width: 1079px) and (min-width: 480px) {
    max-width: var(--meco-container-640);
  }
  @media (max-width: 479px) {
    max-width: var(--meco-container-399);
  }
}

/* Separator before trust section */
.abt-trust__container::before {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  height: 1px;
  background-color: #f9f9f9;
  opacity: 20%;
  max-width: 1220px;
  width: 100%;
  top: -100px;

  @media (max-width: 1079px) {
    top: -80px;
  }
}

.abt-hero__group {
  @media (max-width: 1079px) {
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* --- Heading overlapping image --- */
.abt-trust__top {
  position: relative;
  margin-bottom: 80px;

  @media (max-width: 1079px) {
    display: flex;
    flex-direction: column;
    margin-bottom: 40px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }
}

.abt-trust__heading {
  font-size: 64px;
  font-weight: 300;
  color: #f9f9f9;
  text-transform: uppercase;
  line-height: 64px;
  font-family: "Poppins", sans-serif;
  position: relative;
  z-index: 2;
  margin-bottom: -20px;

  @media (max-width: 1279px) {
    font-size: 40px;
    line-height: 48px;
    margin-bottom: -18px;
  }
  @media (max-width: 479px) {
    font-size: 32px;
    line-height: 36px;
    margin-bottom: -14px;
  }
}

.abt-trust__image-row {
  display: flex;
  gap: 60px;
  align-items: flex-end;
  margin-left: 48px;

  @media (max-width: 1279px) and (min-width: 1080px) {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
    align-items: end;
    margin-left: 30px;
  }
  @media (max-width: 1079px) {
    gap: 40px;
    margin-left: 24px;
    flex-direction: column;
  }
  @media (max-width: 479px) {
    margin-left: 24px;
  }
}

.abt-trust__image-wrap {
  flex: 0 0 62%;
  max-width: 62%;
  position: relative;
  z-index: 1;

  @media (max-width: 1279px) and (min-width: 1080px) {
    grid-column: 1 / span 2;
    flex: none;
    max-width: 100%;
  }

  @media (max-width: 1079px) {
    flex: 0 0 auto;
    max-width: 100%;
  }

  @media (max-width: 479px) {
    width: 100%;
  }
}

.abt-trust__image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
  object-fit: cover;
}

.abt-trust__desc-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  /* padding-top: 40px; */

  @media (max-width: 1279px) and (min-width: 1080px) {
    grid-column: 3;
  }

  @media (max-width: 1079px) {
    padding-top: 0;
  }
}

.abt-trust__desc {
  font-size: 16px;
  font-weight: 300;
  color: #f9f9f9;
  line-height: 24px;
}

.abt-trust__desc p:not(:last-child) {
  margin-bottom: 16px;
}

/* --- Values + Certs Row --- */
.abt-trust__bottom {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  margin-left: 48px;

  @media (max-width: 1279px) {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 32px;
    margin-left: 30px;
  }

  @media (max-width: 1079px) {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    gap: 40px;
  }
  @media (max-width: 479px) {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* --- Value Card --- */
.abt-value-card {
  display: flex;
  flex-direction: column;
  gap: 12px;

  @media (max-width: 1079px) {
    order: 2;
  }
}

.abt-value-card__title {
  font-size: 32px;
  font-weight: 400;
  color: #f9f9f9;
  text-transform: uppercase;
  line-height: 40px;
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: "Poppins", sans-serif;

  @media (max-width: 1279px) {
    font-size: 24px;
    line-height: 32px;
  }
}

.abt-value-card__icon {
  width: 16px;
  height: 16px;
  position: relative;
  top: -12px;

  @media (max-width: 479px) {
    width: 14px;
    height: 14px;
  }
}

.abt-value-card__desc {
  font-size: 16px;
  font-weight: 300;
  color: #f9f9f9;
  line-height: 24px;
  max-width: 400px;
}

/* --- Certifications (sits alongside value cards) --- */
.abt-trust__certs-card {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
  transform: translateX(-20px);

  @media (max-width: 1279px) and (min-width: 1080px) {
    transform: none;
  }

  @media (max-width: 1079px) {
    grid-column: 1 / -1;
    order: 1;
    justify-content: flex-start;
    margin-left: 24px;
    transform: none;
  }

  @media (max-width: 479px) {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-left: 0;
    width: 100%;
  }
}

.abt-trust__certs-card img {
  height: 132px;
  width: auto;

  @media (max-width: 1279px) {
    height: 108px;
  }

  @media (max-width: 1079px) {
    height: 113px;
  }

  @media (max-width: 479px) {
    width: 100%;
    height: 112px;
    object-fit: contain;
  }
}

/* =============================================
   INNOVATION CTA SECTION
   ============================================= */
.abt-cta {
  padding: 100px var(--meco-container-px-1220);

  @media (max-width: 1279px) and (min-width: 1080px) {
    padding: 100px var(--meco-container-px-1079);
  }
  @media (max-width: 1079px) and (min-width: 480px) {
    padding: 80px var(--meco-container-px-640);
  }
  @media (max-width: 479px) {
    padding: 60px var(--meco-container-px-399);
  }
}

.abt-cta__container {
  max-width: var(--meco-container-1220);
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  position: relative;

  @media (max-width: 1279px) and (min-width: 1080px) {
    max-width: var(--meco-container-1079);
  }
  @media (max-width: 1079px) and (min-width: 480px) {
    max-width: var(--meco-container-640);
  }
  @media (max-width: 479px) {
    max-width: var(--meco-container-399);
  }
}

/* Separator before CTA */
.abt-cta__container::before {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  height: 1px;
  background-color: #f9f9f9;
  opacity: 20%;
  max-width: 1220px;
  width: 100%;
  top: -100px;

  @media (max-width: 1079px) {
    top: -80px;
  }
}

/* Separator after CTA */
.abt-cta__container::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  height: 1px;
  background-color: #f9f9f9;
  opacity: 20%;
  max-width: 1220px;
  width: 100%;
  bottom: -100px;

  @media (max-width: 1079px) {
    bottom: -80px;
  }
}

.abt-cta__wrapper {
  display: flex;
  align-items: center;
  gap: 60px;
  overflow: hidden;
  border-radius: 4px;

  @media (max-width: 1079px) {
    flex-direction: column;
    max-width: 400px;
    margin: auto;
  }
}

.abt-cta__image {
  flex: 0 0 45%;
  max-width: 45%;

  @media (max-width: 1079px) {
    flex: 0 0 auto;
    max-width: 100%;
  }
}

.abt-cta__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  box-shadow: 0px 4px 20px 0px #0d151940;
  border: 1px solid #f9f9f933;
  border-radius: 4px;
  max-height: 280px;
}

.abt-cta__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  /* max-width: 340px; */

  @media (max-width: 1079px) {
    max-width: 100%;
  }
}

.abt-cta__title {
  font-size: 40px;
  line-height: 48px;
  text-transform: uppercase;
  font-family: "Poppins", sans-serif;
  margin-bottom: 20px;
  font-weight: 400;

  @media (max-width: 1079px) {
    font-size: 24px;
    line-height: 32px;
  }
}

.abt-cta__desc {
  font-size: 16px;
  line-height: 24px;
  margin-bottom: 40px;
  color: #f9f9f9;
  font-weight: 300;
}

.abt-cta__btn {
  display: inline-block;
  padding: 8px 40px;
  border: 1px solid #f9f9f9;
  color: #f9f9f9;
  font-size: 24px;
  line-height: 32px;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0;
  text-decoration: none;
  background: transparent;
  cursor: pointer;
  border-radius: 4px;
}

.abt-cta__btn:hover {
  border-color: #2673ff;
  color: #2673ff;
}

/* =============================================
   RESPONSIVE — matching solutions-new.css breakpoints
   ============================================= */

/* Big Tablet: 1080px–1279px */
@media (max-width: 1279px) and (min-width: 1080px) {
  .abt-section {
    padding: 100px var(--meco-container-px-1079);
  }

  .abt-container {
    max-width: var(--meco-container-1079);
  }

  .abt-container::before {
    max-width: 1079px;
  }
}

/* Small Tablet: 480px–1079px */
@media (max-width: 1079px) and (min-width: 480px) {
  .abt-section {
    padding: 80px var(--meco-container-px-640);
  }

  .abt-container {
    max-width: var(--meco-container-640);
  }

  .abt-container::before {
    max-width: 640px;
    bottom: -80px;
  }
}

/* Mobile: below 480px */
@media (max-width: 479px) {
  .abt-section {
    padding: 60px var(--meco-container-px-399);
  }

  .abt-container {
    max-width: var(--meco-container-439);
  }

  .abt-container::before {
    max-width: 399px;
    bottom: -60px;
  }
}
