/* =============================
   RESET & BASE STYLES
============================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  /* background: whi */
}

:root {
  --wwa-primary-color: #3A9F91;
  --wwa-primary-hover: #25a388;
  --wwa-text-dark: #131313;
  --wwa-text-medium: rgba(19, 19, 19, 0.70);
  --wwa-bg-light: #f0f1f3;
  --wwa-shadow-soft: 0 4px 16px rgba(0, 0, 0, 0.08);
  --wwa-shadow-hover: 0 8px 24px rgba(0, 0, 0, 0.12);
  --wwa-border-radius: 16px;
  --wwa-transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: var(--wwa-bg-light);
  color: var(--wwa-text-dark);
  overflow-x: clip;
  line-height: 1.6;
}

/* =============================
   HERO SECTION
============================= */
.wwa-hero-section {
  display: flex;
  align-items: center;
  justify-content: center;
  /* Consistent padding with Contact page, adjusting top for navbar clearance visually if needed */
  /* padding: 80px 50px; */
  padding-left: 50px;
  padding-right: 50px;
  padding-top: 50px;
  min-height: 90vh;
  /* Fill more screen to look like a proper banner */
  background: #E6EBEA;
  margin-top: 0;
  /* Remove any default margins */
}

.wwa-container {
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
}

.wwa-content-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  /* Give image slightly more space like Contact */
  gap: 80px;
  /* Increase gap for breathability */
  align-items: center;
  /* Vertically center text vs image */
}

/* =============================
   TEXT CONTENT
============================= */
/* =============================
   TEXT CONTENT
============================= */
.wwa-text-content {
  opacity: 0;
  transform: translateX(-60px);
  /* Sync all animations to start at 0.2s */
  animation: wwaSlideFromLeft 0.8s ease-out 0.2s forwards;
  text-align: left;
  /* Ensure left alignment */
}

.wwa-hero-title {
  margin-bottom: 1.5rem;
  color: var(--wwa-text-dark);
  letter-spacing: -0.02em;
  font-family: Poppins;
  font-size: 58px;
  font-style: normal;
  font-weight: 600;
  line-height: 64px;
}

.wwa-hero-description {
  color: var(--wwa-text-medium);
  margin-bottom: 2.5rem;
  max-width: 100%;
  opacity: 0;
  transform: translateX(-40px);
  /* Sync animation */
  animation: wwaSlideFromLeft 0.8s ease-out 0.2s forwards;
  font-family: Poppins;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 28px;
}

.wwa-cta-button {
  background: var(--wwa-primary-color);
  color: white;
  border: none;
  padding: 1rem 2.5rem;
  border-radius: 6px;
  cursor: pointer;
  transition: var(--wwa-transition);
  opacity: 0;
  transform: translateX(-30px);
  /* Sync animation */
  animation: wwaSlideFromLeft 0.8s ease-out 0.2s forwards;
  position: relative;
  overflow: hidden;
  color: var(--Ctebs-white, #FFF);
  font-family: Poppins;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 21px;

  &:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #3A9F91;
    /* border-radius: 10rem; */
    z-index: -2;
  }

  &:before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background-color: #297a6f;
    transition: all .3s;
    /* border-radius: 10rem; */
    z-index: -1;
  }

  &:hover {
    color: #fff;

    &:before {
      width: 100%;
    }
  }
}



/* =============================
   SINGLE SVG IMAGE GRID
============================= */
.wwa-image-grid {
  position: relative;
  opacity: 0;
  transform: translateX(60px);
  /* Sync animation: remove 0.8s delay, set to 0.2s */
  animation: wwaSlideFromRight 0.8s ease-out 0.2s forwards;
}

.wwa-grid-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.wwa-image-grid:hover .wwa-grid-image {
  transform: scale(1.03);
}

/* =============================
   ANIMATIONS
============================= */
@keyframes wwaSlideFromLeft {
  from {
    opacity: 0;
    transform: translateX(-60px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes wwaSlideFromRight {
  from {
    opacity: 0;
    transform: translateX(60px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* =============================
   TABLET RESPONSIVE (768px - 1024px)
============================= */
@media (max-width: 1024px) {
  .wwa-hero-section {
    padding: 40px 20px;
    padding-top: 100px;
    /* Space for navbar */
    min-height: auto;
  }

  .wwa-content-grid {
    gap: 2rem;
  }

  .wwa-hero-title {
    font-size: 2.75rem;
  }

  .wwa-image-grid {
    max-width: 100%;
  }
}

/* =============================
   MOBILE RESPONSIVE (< 768px)
============================= */
@media (max-width: 768px) {
  .wwa-hero-section {
    padding: 3rem 1.5rem;
    min-height: auto;
  }

  .wwa-content-grid {
    grid-template-columns: 1fr;
    gap: 0px;
    display: flex;
    /* Use flex for ordering */
    flex-direction: column;
    align-items: start;
  }

  /* Unwrap text content to allow reordering */
  .wwa-text-content {
    display: contents;
    /* Removes wrapper box */
  }

  /* 1. Title */
  .wwa-hero-title {
    order: 1;
    font-size: 2.25rem;
    margin-bottom: 1.25rem;
    /* Add animation since parent wrapper is gone */
    opacity: 0;
    transform: translateX(-30px);
    animation: wwaSlideFromLeft 0.8s ease-out 0.2s forwards;
    text-align: left;
  }

  /* 2. Description */
  .wwa-hero-description {
    order: 2;
    font-size: 1rem;
    margin-bottom: 2rem;
    max-width: 100%;
  }

  /* 3. Image Grid (Moved before button) */
  .wwa-image-grid {
    order: 3;
    margin-bottom: 2rem;
    width: 100%;
    margin-top: 0;
  }

  /* 4. Button */
  .wwa-cta-button {
    order: 4;
    width: 100%;
    padding: 1rem 2rem;
    font-size: 1rem;
  }

  .wwa-image-grid {
    margin-top: 1rem;
    width: 100%;
  }

  .wwa-grid-image {
    width: 100%;
    height: auto;
  }

  .wwa-image-grid {
    animation: wwaSlideFromRight 0.6s ease-out 0.6s forwards;
  }
}

/* =============================
   SMALL MOBILE (< 480px)
============================= */
@media (max-width: 480px) {
  .wwa-hero-section {
    /* padding: 100px 1rem; */
    padding-top: 100px;
    padding-left: 16px;
    padding-right: 16px;
  }

  .wwa-hero-title {
    font-size: 24px;
    line-height: 24px;
  }

  .wwa-hero-description {
    font-size: 14px;
    line-height: 24px;
  }

  .wwa-cta-button {
    padding: 0.875rem 1.75rem;
  }

  .wwa-image-grid {
    margin-top: 0.5rem;
  }
}

/* =============================
   ACCESSIBILITY
============================= */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .wwa-text-content,
  .wwa-hero-description,
  .wwa-cta-button,
  .wwa-image-card {
    opacity: 1;
    transform: none;
  }
}

.wwa-cta-button:focus-visible {
  outline: 3px solid var(--wwa-primary-color);
  outline-offset: 4px;
}

@media (prefers-contrast: high) {
  .wwa-hero-section {
    background: white;
  }

  .wwa-cta-button {
    border: 2px solid var(--wwa-primary-color);
  }
}

/* =============================
   PRINT STYLES
============================= */
@media print {
  .wwa-hero-section {
    background: white;
    padding: 2rem;
  }

  .wwa-image-card {
    box-shadow: none;
    border: 1px solid #ddd;
  }

  .wwa-cta-button {
    display: none;
  }
}

/* =============================
   VISION & VALUES SECTION - SIMPLIFIED (NO BLINKING)
============================= */
.values-section {
  padding: 80px 30px;
  background: #ffffff;
}

.values-container {
  max-width: 1400px;
  margin: 0 auto;
}

.values-header {
  text-align: center;
  margin-bottom: 60px;
}

.values-main-title {
  font-family: Poppins, sans-serif;
  margin-bottom: 8px;
  color: #131313;
  text-align: center;
  font-size: 48px;
  font-style: normal;
  font-weight: 500;
  line-height: 60px;
  letter-spacing: -0.01px;

}

.values-subtitle {
  font-family: Poppins, sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: rgba(19, 19, 19, 0.60);
}

/* =============================
   DESKTOP: ICON + TITLE LEFT, DESCRIPTION RIGHT ON HOVER
============================= */
.values-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.values-item {
  display: grid;
  grid-template-columns: 45% 1fr;
  gap: 0;
  padding: 30px 40px;
  border-top: 1px solid #e8e8e8;
  /* border-radius: 8px; */
  /* margin-bottom: 16px; */
  cursor: pointer;
  background: #ffffff;
  transition: border-color 0.3s ease, background-color 0.3s ease, gap 0.3s ease;
}

.values-item:last-child {
  border-bottom: 1px solid #e8e8e8;
}

.values-item:hover {
  border-color: #d0d0d0;
  /* background: #fafafa; */
  /* gap: 60px; */
}

/* Icon + Title (ALWAYS VISIBLE - LEFT COLUMN) */
.values-item-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.values-item-icon {
  width: 28px;
  height: 28px;
  opacity: 0.3;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease;
}

.values-item-icon svg {
  width: 100%;
  height: 100%;
  display: block;
  color: #131313;
}

/*.values-item:hover .values-item-icon {
  opacity: 1;
}*/

.values-item-title {
  font-family: Poppins, sans-serif;
  font-size: 36px;
  font-weight: 400;
  color: rgba(19, 19, 19, 0.60);
  line-height: 1.4;
  transition: all 0.3s ease;
}

/*
.values-item:hover .values-item-title {
  font-weight: 500; 
  color: #131313;*
}*/

/* Description (RIGHT COLUMN - HIDDEN BY DEFAULT, SHOW ON HOVER) */
.values-item-description {
  font-family: Poppins, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 32px;
  color: rgba(19, 19, 19, 0.70);
  opacity: 0;
  overflow: hidden;
  transition: opacity 0.4s ease;
  display: flex;
  align-items: center;
}

/*.values-item:hover .values-item-description {
  opacity: 1;
}*/

.values-item.is-active {
  opacity: 1;
}

.values-item.is-active .values-item-icon {
  opacity: 1;
}

.values-item.is-active .values-item-title {
  color: #131313;
  font-weight: 400;
}

.values-item.is-active .values-item-description {
  opacity: 1;
}



/* =============================
   TABLET RESPONSIVE (768px - 1024px)
============================= */
@media (max-width: 1024px) {
  .values-section {
    padding: 40px 20px;
  }

  .values-container {
    padding: 0;
  }

  .values-item {
    padding: 20px;
  }

  .values-item-title {
    font-size: 25px;
  }

  .values-main-title {
    font-size: 36px;
    line-height: normal;
  }
}

/* =============================
   MOBILE: SCROLL-ACTIVATED LAYOUT (< 768px)
============================= */
@media (max-width: 768px) {
  .values-section {
    padding: 60px 20px;
  }

  .values-header {
    margin-bottom: 40px;
  }

  .values-main-title {
    font-size: 24px;
    line-height: 32px;
  }

  .values-subtitle {
    font-size: 14px;
  }

  .values-item {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 24px 20px;
  }

  .values-item.active {
    /* background: #fafafa; */
    border-color: #d0d0d0;
    gap: 12px;
  }

  .values-item-left {
    gap: 12px;
  }

  .values-item-icon {
    width: 24px;
    height: 24px;
  }

  .values-item.active .values-item-icon {
    opacity: 1;
  }

  .values-item-title {
    font-size: 16px;
  }

  .values-item.active .values-item-title {
    font-weight: 500;
    color: #131313;
  }

  /* Mobile Description - Below Title */
  .values-item-description {
    margin-left: 0;
    padding-left: 0;
    font-size: 14px;
    line-height: 24px;
    max-height: 0;
    opacity: 0;
    display: block;
    transition: max-height 0.4s ease, opacity 0.3s ease;
  }

  .values-item.active .values-item-description {
    max-height: 600px;
    opacity: 1;
  }
}

/* =============================
   SMALL MOBILE (< 480px)
============================= */
@media (max-width: 480px) {
  .values-item {
    padding: 20px 0px;
  }

  .values-section {
    padding: 40px 20px;
  }

  .values-item-title {
    font-size: 15px;
  }

  .values-item-description {
    margin-left: 0;
    font-size: 14px;
  }
}




/* evolution  */

/* ==============================
   SECTION + PIN
============================== */
/* ==============================
   SECTION + PIN
============================== */
.journey-section {
  position: relative;
  /* Height will be set dynamically by JS for precise scroll distance */
  /* min-height is desktop-only — see @media (min-width:1025px) below */
  min-height: 0;
  background: #fbf9f3;
}

@media (min-width: 1600px) {
  .line {
    max-height: 800px;
    /* Increase line height for 4K/large screens */
  }
}

/* Remove background from main scrolling section to prevent it moving away */
.journey-section::before {
  content: none;
}

.journey-wrapper {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  /* Ensure full width */
  max-width: 1400px;
  /* Match other sections like contact */
  margin: 0 auto;
  padding: 80px 50px;
  /* Consistent padding */
  display: grid;
  grid-template-columns: 38% 4% 58%;
  gap: 40px;
  box-sizing: border-box;
  overflow: hidden;
  /* Prevent extra space issues */
}

/* Add background to sticky wrapper so it stays fixed relative to viewport */
.journey-wrapper::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("journey-bg.svg") no-repeat center;
  background-size: 100% 100%;
  /* Force full path visibility */
  background-position: left center;
  /* Ensure starts from left */
  z-index: -1;
  /* Behind content */
  opacity: 1;
  left: -50%;
  /* Make it fully visible as per design */
}




/* ==============================
   LEFT CONTENT
============================== */
.journey-left h2 {
  margin-bottom: 20px;
  color: #131313;
  /* font/heading/large/Display lg/Medium */
  font-family: Poppins;
  font-size: 48px;
  font-style: normal;
  font-weight: 500;
  line-height: 60px;
  /* 125% */
  letter-spacing: -0.01px;
}

.journey-left p {
  max-width: 100%;
  color: rgba(19, 19, 19, 0.70);
  font-family: Poppins;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 28px;
  /* 155.556% */
}

/* ==============================
   CENTER TIMELINE
============================= */
.journey-center {
  display: flex;
  justify-content: center;
  height: 120%;
  /* Fill wrapper height */
  align-items: flex-start;
  /* Align to top to match list start */
  padding-top: 15px;
  /* Visual offset to align dot with '2014' text center (approx) */
}

.line {
  position: relative;
  width: 4px;
  /* Make line height responsive to fill the available space or match content */
  height: 80%;
  /* e.g. 80% of viewport */
  max-height: 600px;
  background: #C0C7C3;
  border-radius: 4px;
}

.progress {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0%;
  background: #5F605E;
  border-radius: 4px;
  transition: height 0.15s linear;
  will-change: height;
}

.dot {
  position: absolute;
  left: 50%;
  top: 0;
  width: 13px;
  height: 13px;
  background: #131313;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  transition: top 0.15s linear;
  will-change: top;
}

/* ==============================
   RIGHT MASK
============================== */
.journey-right-viewport {
  height: calc((90px * 4) + (40px * 3));
  /* EXACT 4 ITEMS */
  overflow: hidden;
}

.journey-right-track {
  display: flex;
  flex-direction: column;
  gap: 5px;
  will-change: transform;
}

.journey-left .desktop {
  display: inline;
}

.journey-left .mobile {
  display: none;
}

@media (min-width: 1025px) {
  .journey-section {
    min-height: 100vh;
  }

  .journey-wrapper {
    height: calc(100vh - var(--journey-sticky-top, 88px));
    min-height: 0;
    overflow: hidden;
    align-items: start;
  }

  .journey-left {
    position: relative;
    top: auto;
    align-self: start;
  }

  .journey-right-viewport {
    height: calc((90px * 4) + (40px * 3));
    overflow: hidden;
  }

  .journey-section.journey-disable-aos,
  .journey-section.journey-disable-aos.aos-animate {
    transform: none !important;
    opacity: 1 !important;
  }
}

/* ==============================
   TIMELINE ITEM (ROW LAYOUT)
============================== */
.item {
  display: grid;
  grid-template-columns: 80px 1fr;
  /* year | content */
  column-gap: 56px;
  align-items: flex-start;
  padding-bottom: 20px;
  padding-top: 20px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

/* .item:last-child {
  border-bottom: none;
} */

.item-year {
  color: rgba(19, 19, 19, 0.70);
  font-family: Poppins;
  font-size: 48px;
  font-style: normal;
  font-weight: 700;
  line-height: 50px;
  /* 125% */
  letter-spacing: -0.01px;
}

.item-content h4 {
  margin-bottom: 6px;
  color: #131313;
  font-family: Poppins;
  font-size: 24px;
  font-style: normal;
  font-weight: 500;
  line-height: 32px;
  /* 133.333% */
}

.item-content p {
  max-width: 90%;
  color: rgba(19, 19, 19, 0.70);
  font-family: Poppins;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 28px;
  /* 175% */
}

/* ==============================
   MOBILE
============================== */
@media (max-width: 1500px) {
  .journey-wrapper {
    grid-template-columns: 42% 4% 50%;
  }

}

@media (max-width: 1024px) {

  /* Height is controlled entirely by JS */
  .journey-section {
    height: auto;
    min-height: 0;
    transform: translateZ(0);
    will-change: transform;
  }

  .journey-wrapper {
    height: auto;
    display: grid;
    grid-template-columns: 20px 1fr;
    grid-template-rows: auto auto;
    column-gap: 20px;
    row-gap: 30px;
    padding: 50px 20px;
    overflow: hidden;
    transform: translateZ(0);
    will-change: transform;
  }

  .journey-left {
    grid-column: 1 / -1;
    grid-row: 1;
    padding-left: 0;
    position: static;
    text-align: center;
  }

  .journey-left h2 {
    font-size: 36px;
    line-height: 1.2;
  }

  .journey-left p {
    font-size: 16px;
    line-height: 24px;
  }

  .journey-center {
    display: flex;
    grid-column: 1;
    grid-row: 2;
    padding-top: 10px;
    justify-content: center;
    position: static;
    height: 100%;
    align-items: flex-start;
  }

  /* Line height is set by JS via --tablet-viewport-h */
  .line {
    height: var(--tablet-viewport-h, 360px);
    max-height: none;
    width: 3px;
    background: #E0E0E0;
    border-radius: 2px;
  }

  .journey-wrapper::before {
    clip-path: inset(100% 0 0 0);
  }

  /* JS drives these from 0 */
  .progress {
    height: 0%;
    background: #333;
    border-radius: 2px;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
  }

  .dot {
    top: 0%;
    background: #000;
    width: 11px;
    height: 11px;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  /* Clips to exactly 4 items - height set by JS */
  .journey-right-viewport {
    grid-column: 2;
    grid-row: 2;
    height: var(--tablet-viewport-h, 360px);
    overflow: hidden;
    margin-left: 0;
    margin-top: 0;
  }

  .journey-right-viewport::-webkit-scrollbar {
    display: none;
  }

  /* JS drives translateY — NO !important override */
  .journey-right-track {
    gap: 0;
    will-change: transform;
    transition: transform 0.15s linear;
  }

  .item {
    display: grid;
    grid-template-columns: 70px 1fr;
    column-gap: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    align-items: flex-start;
  }

  .item:last-child {
    border-bottom: none;
    margin-bottom: 0;
  }

  .item-year {
    font-size: 32px;
    font-weight: 700;
    color: #555;
    line-height: 1;
  }

  .item-content h4 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #131313;
  }

  .item-content p {
    font-size: 16px;
    line-height: 22px;
    color: #666;
  }
}

@media (max-width: 768px) {

  /* Height is controlled by JS */
  .journey-section {
    height: auto;
    min-height: 0 !important;
    padding: 0;
    /* Clips visual overflow without breaking sticky */
  }

  .journey-wrapper {
    /* JS sets position:sticky — wrapper MUST be overflow:visible */
    height: auto;
    display: grid;
    grid-template-columns: 16px 1fr;
    grid-template-rows: auto auto;
    column-gap: 16px;
    row-gap: 30px;
    padding: 50px 16px;
    overflow: hidden;
  }

  .journey-left {
    grid-column: 1 / -1;
    grid-row: 1;
    padding-left: 0;
    position: static;
    text-align: center;
  }

  .journey-left h2 {
    font-size: 24px;
    line-height: 32px;
    margin-bottom: 16px;
    text-align: center;
  }

  .journey-left p {
    font-size: 14px;
    line-height: 22px;
    color: #666;
  }

  .journey-left .desktop {
    display: none;
  }

  .journey-left .mobile {
    display: inline;
  }

  .journey-center {
    display: flex;
    grid-column: 1;
    grid-row: 2;
    padding-top: 10px;
    justify-content: center;
    position: static;
    height: 100%;
    align-items: flex-start;
  }

  /* Line height set by JS via --mobile-viewport-h */
  .line {
    height: var(--mobile-viewport-h, 320px);
    max-height: none;
    width: 3px;
    background: #E0E0E0;
    border-radius: 2px;
  }

  /* JS drives from 0 */
  .progress {
    height: 0%;
    background: #333;
    border-radius: 2px;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
  }

  .dot {
    top: 0%;
    background: #000;
    width: 10px;
    height: 10px;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  /* Clips to exactly 4 items - height set by JS */
  .journey-right-viewport {
    grid-column: 2;
    grid-row: 2;
    height: var(--mobile-viewport-h, 320px);
    overflow: hidden;
    margin-left: 0;
    margin-top: 0;
  }

  .journey-right-viewport::-webkit-scrollbar {
    display: none;
  }

  /* JS drives translateY — NO !important override */
  .journey-right-track {
    gap: 0;
    will-change: transform;
    transition: transform 0.15s linear;
  }

  .item {
    display: grid;
    grid-template-columns: 55px 1fr;
    column-gap: 14px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    align-items: flex-start;
  }

  .item:last-child {
    border-bottom: none;
    margin-bottom: 0;
  }

  .item-year {
    font-size: 26px;
    font-weight: 700;
    color: #555;
    line-height: 1;
  }

  .item-content h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #131313;
  }

  .item-content p {
    font-size: 13px;
    line-height: 20px;
    color: #666;
  }
}


/* =============================
   TEAM SECTION STYLES
============================= */
.team-section {
  padding: 80px 0;
  background: #fff;
  overflow: hidden;
}

.team-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 50px;
}

.team-header {
  text-align: center;
  margin-bottom: 50px;
}

.team-main-title {
  color: #131313;
  margin: 0;

  text-align: center;

  font-family: Poppins;
  font-size: 48px;
  font-style: normal;
  font-weight: 500;
  line-height: 60px;
  letter-spacing: -0.01px;
}

/* =============================
   CAROUSEL WRAPPER
============================= */
.team-carousel-wrapper {
  position: relative;
  margin-bottom: 50px;
}

/* =============================
   NAVIGATION BUTTONS (Below cards)
============================= */
.team-nav-buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 50px;
}

.team-nav-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid #131313;
  background: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.team-nav-btn:hover:not(:disabled) {
  background: #131313;
  color: #fff;
  transform: scale(1.1);
}

.team-nav-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.team-nav-btn svg {
  width: 24px;
  height: 24px;
}

/* =============================
   TRACK VIEWPORT (Overflow Container)
============================= */
.team-track-viewport {
  flex: 1;
  overflow: hidden;
  position: relative;
}

/* =============================
   TEAM TRACK (Scrolling Container)
============================= */
.team-track {
  display: flex;
  gap: 24px;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

/* =============================
   TEAM CARD
============================= */
.team-card {
  flex: 0 0 calc(25% - 18px);
  /* (100% - 3 * 24px) / 4 */
  background: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-sizing: border-box;
}

@media (max-width: 1200px) {
  .team-card {
    flex: 0 0 calc(33.333% - 16px);
  }
}

@media (max-width: 900px) {
  .team-card {
    flex: 0 0 calc(50% - 12px);
  }
}

.team-card:hover {
  transform: translateY(-2px);
  /* box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15); */
}

/* =============================
   TEAM CARD IMAGE
============================= */
.team-card-image {
  width: 100%;
  height: 366px;
  object-fit: cover;
  display: block;
  background: #E6EBEA;
  object-position: top;
}

/* =============================
   LINKEDIN BUTTON (Always Visible)
============================= */
.team-card-linkedin {
  position: absolute;
  top: 0px;
  right: 0px;
  width: 58px;
  height: 69px;
  background: #2E4F60;
  border-radius: 0 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  /* transition: all 0.3s ease; */
  text-decoration: none;
  color: #fff;
  z-index: 2;
}

/* 
.team-card-linkedin:hover {
  background: #004182;
  transform: scale(1.1);
} */

.team-card-linkedin svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

/* =============================
   TEAM CARD INFO
============================= */
.team-card-info {
  flex-direction: column;
  display: flex;
  padding-top: 20px;

}

.team-card-name {
  color: #131313;


  font-family: Poppins;
  font-size: 24px;
  font-style: normal;
  font-weight: 600;
  line-height: 32px;
  /* 133.333% */
}

.team-card-designation {
  margin: 0;
  color: rgba(19, 19, 19, 0.70);
  font-family: Poppins;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 28px;
  /* 175% */
}

/* =============================
   PROGRESS DOTS
============================= */
.team-dots {
  display: none;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

.team-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #E0E0E0;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.3s ease;
}

.team-dot:hover {
  background: #B0B0B0;
  transform: scale(1.2);
}

.team-dot.active {
  background: #131313;
  width: 32px;
  border-radius: 6px;
}

/* =============================
   MOBILE RESPONSIVE
============================= */
/* =============================
   TABLET RESPONSIVE
============================= */
@media (max-width: 1024px) {
  .team-section {
    padding: 40px 0;
  }

  .team-container {
    padding: 0 20px;
  }

  .team-card {
    flex: 0 0 calc(50% - 12px);
    /* 2 per row on tablet too */
  }

  .team-card-image {
    height: 600px;
  }
}

@media(max-width: 840px) {
  .team-card-image {
    height: 410px;
  }
}

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

  .team-card-linkedin {
    width: 37px;
    height: 43px;
  }

  .team-card-linkedin svg {
    width: 24px;
    height: 24px;
  }

  .team-container {
    padding: 0 16px;
  }

  .team-header {
    margin-bottom: 16px;
  }

  .team-main-title {
    font-size: 32px;
  }

  .team-track {
    gap: 16px;
  }

  .team-card {
    flex: 0 0 calc(50% - 8px);
    /* Show 2 cards on mobile */
  }

  .team-card-image {
    height: 375px;
  }

  .team-card-info {
    padding: 16px;
  }

  .team-card-name {
    font-size: 16px;
  }

  .team-card-designation {
    font-size: 12px;
    line-height: 15px;
  }

  .team-nav-btn {
    width: 35.556px;
    height: 35.556px;
  }

  .team-nav-btn svg {
    width: 20px;
    height: 20px;
  }

  .team-dots {
    margin-top: 24px;
    gap: 8px;
  }

  .team-dot {
    width: 8px;
    height: 8px;
  }

  .team-dot.active {
    width: 20px;
  }
}

@media (max-width: 480px) {
  .team-main-title {
    font-size: 28px;
  }

  .team-card {
    flex: 0 0 calc(50% - 8px);
    /* Still show 2 cards */
  }

  .team-card-image {
    height: 200px;
  }

  .team-carousel-wrapper {
    margin-bottom: 24px;
  }

  .team-nav-buttons {
    margin-top: 24px;
  }
}


/* moments  */


/* =============================
   MOMENTS SECTION - CROSSFADE EFFECT
============================= */

.moments-section {
  padding: 80px 20px;
  background: #ffffff;
  /* max-width: 1400px; */
  margin: 0 auto;
}

.moments-section h2 {
  margin-bottom: 60px;
  color: #090B0E;
  text-align: center;
  /* font/heading/large/Display lg/Medium */
  font-family: Poppins;
  font-size: 48px;
  font-style: normal;
  font-weight: 500;
  line-height: 60px;
  /* 125% */
  letter-spacing: -0.01px;
}

/* Grid Container - Figma Layout */
.moments-grid {
  display: grid;
  grid-template-columns: 540px 320px 486px;
  grid-template-rows: 288px 198px;
  gap: 24px;
  max-width: 1400px;
  margin: 0 auto;
}

/* Grid Item - Each Section */
.moments-grid-item {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background: #f5f5f5;
}

/* Section Positioning */
.moments-grid-item:nth-child(1) {
  grid-column: 1 / 3;
  grid-row: 1 / 2;
}

.moments-grid-item:nth-child(2) {
  grid-column: 3 / 4;
  grid-row: 1 / 3;
}

.moments-grid-item:nth-child(3) {
  grid-column: 1 / 2;
  grid-row: 2 / 3;
}

.moments-grid-item:nth-child(4) {
  grid-column: 2 / 3;
  grid-row: 2 / 3;
}

/* Text Section */
/* .moments-text-section {
  background: #131313;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px;
} */


.moments-text-section {
  position: relative;
  background: #131313;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px;
  border-radius: 16px;
  overflow: hidden;
  /* IMPORTANT */
}

/* Outer big soft circle */
.moments-text-section::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -120px;
  width: 267px;
  height: 267px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}

/* Inner darker circle */
.moments-text-section::after {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 166px;
  height: 166px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 50%;
}

.moments-text-section .circle-inner {
  position: absolute;
  top: -40px;
  right: -40px;
  width: 180px;
  height: 180px;
  background: rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  pointer-events: none;
}



















.moments-text-section h3 {
  margin-bottom: 12px;
  line-height: 1.3;
  color: #FFF;
  /*font-family: Manrope;*/
  font-size: 24px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
}

.moments-text-section p {
  opacity: 0.9;
  color: #FFF;
  /* font-family: Manrope;*/
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

/* Slider Container - Crossfade Effect */
.moments-slider-container {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

/* Slider Track - All images stacked on top of each other */
.moments-slider-track {
  position: relative;
  width: 100%;
  height: 100%;
}

/* Individual Slide - Positioned absolutely for overlay */
.moments-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  /* transform: translateX(-100%); Initial state handled by JS or default */
  transition: opacity 0s cubic-bezier(0.33, 1, 0.68, 1), transform 2.5s cubic-bezier(0.33, 1, 0.68, 1);
  z-index: 1;
}

.moments-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  user-select: none;
  pointer-events: none;
  object-position: top;
}

/* Loading State */
.moments-slider-container.loading {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
}

@keyframes loading {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

/* Responsive - Medium Desktop */
@media (max-width: 1399px) {
  .moments-grid {
    grid-template-columns: 1.4fr 0.85fr 1.3fr;
    max-width: 100%;
  }
}

/* Tablet Styles */
@media (max-width: 1024px) {
  .moments-section {
    padding: 40px 16px;
  }

  .moments-section h2 {
    font-size: 2rem;
    margin-bottom: 40px;
  }

  .moments-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 280px 220px;
    gap: 16px;
  }

  .moments-grid-item:nth-child(1) {
    grid-column: 1 / 3;
    grid-row: 1 / 2;
  }

  .moments-grid-item:nth-child(2) {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
  }

  .moments-grid-item:nth-child(3) {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
    display: flex;
  }

  .moments-grid-item:nth-child(4) {
    display: none;
  }

  .moments-text-section {
    padding: 28px;
  }

  .moments-text-section h3 {
    font-size: 1.2rem;
  }

  .moments-text-section p {
    font-size: 0.875rem;
  }
}

@media (max-width: 500px) {

  .moments-grid-item:nth-child(2) {

    width: 255px !important;
  }
}

/* Mobile Styles - Different Layout */
@media (max-width: 767px) {
  .moments-section {
    padding: 40px 12px;
  }

  .moments-section h2 {
    font-size: 1.75rem;
    margin-bottom: 30px;
  }

  /* Mobile Grid: 1 large on top, 2 smaller on bottom */
  .moments-grid {
    grid-template-columns: 2fr 1fr;
    /* Unequal columns: Left wider than right */
    grid-template-rows: auto auto;
    gap: 16px;
    padding: 0;
  }

  /* Section 1 - Top Full Width (Large) */
  .moments-grid-item:nth-child(1) {
    grid-column: 1 / -1 !important;
    grid-row: 1 !important;
    height: 180px !important;
    width: 100% !important;
    border-radius: 16px;
  }

  /* Section 2 - Bottom Left (Wider due to 2fr column) */
  .moments-grid-item:nth-child(2) {
    grid-column: 1 / 2 !important;
    grid-row: 2 !important;
    height: 153px !important;
    width: 100% !important;
    border-radius: 16px;
  }

  /* Section 4 - Bottom Right (Narrower due to 1fr column) */
  .moments-grid-item:nth-child(4) {
    display: block !important;
    grid-column: 2 / 3 !important;
    grid-row: 2 !important;
    height: 153px !important;
    width: 100% !important;
    border-radius: 16px;
  }
}

/* iPad-specific overrides (768px–1023px) - previously had a typo "1023x" that prevented this block from ever firing */
@media (min-width: 768px) and (max-width: 1023px) {
  .moments-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 280px 220px;
    gap: 16px;
  }

  /* Section 1 - Full width top */
  .moments-grid-item:nth-child(1) {
    grid-column: 1 / 3 !important;
    grid-row: 1 / 2 !important;
  }

  /* Section 2 - Bottom Right (image slider) */
  .moments-grid-item:nth-child(2) {
    grid-column: 2 / 3 !important;
    grid-row: 2 / 3 !important;
    display: flex;
  }

  /* Section 3 - Bottom Left (text section — visible on tablet) */
  .moments-grid-item:nth-child(3) {
    grid-column: 1 / 2 !important;
    grid-row: 2 / 3 !important;
    display: flex !important;
  }

  /* Section 4 - Hidden on tablet */
  .moments-grid-item:nth-child(4) {
    display: none !important;
  }
}

/* Small Mobile - Keep same layout, adjust sizes */
@media (max-width: 480px) {
  .moments-section {
    padding: 30px 11px;
  }

  .moments-section h2 {
    font-size: 24px;
    margin-bottom: 24px;
    line-height: 32px;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  /* .moments-grid {
    grid-template-rows: 150px 130px;
    gap: 10px;
  } */

  /* .moments-grid-item:nth-child(1) {
    height: 150px !important;
    border-radius: 10px;
  }

  .moments-grid-item:nth-child(2),
  .moments-grid-item:nth-child(4) {
    height: 130px !important;
    border-radius: 10px;
  } */
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  .moments-slide {
    transition: none;
  }
}







/* faq section  */

/* =============================
   FAQ SECTION STYLES
   Matching provided design exactly
============================= */

.faq-section {
  width: 100%;
  padding: 80px 40px;
  background-color: #FDFDF5;
  display: flex;
  justify-content: center;
}

@media(max-width:1500px) {
  .faq-section {
    padding: 80px 65px;
  }
}

.faq-container {
  max-width: 1400px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

/* Left Column - Header */
.faq-header {
  /* position: sticky; */
  top: 100px;
}

.faq-title {
  margin-bottom: 20px;
  color: #000;
  font-family: Poppins;
  font-size: 48px;
  font-style: normal;
  font-weight: 500;
  line-height: 60px;
  /* 125% */
  letter-spacing: -0.01px;
}

.faq-subtitle {
  margin-bottom: 25px;
  color: rgba(19, 19, 19, 0.70);
  font-family: Poppins;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 28px;
}

/* Contact Support Button */
.faq-cta {
  margin-top: 25px;
}

.faq-cta-button {
  background: var(--wwa-primary-color);
  color: white;
  border: none;
  padding: 1rem 2.5rem;
  border-radius: 6px;
  cursor: pointer;
  transition: var(--wwa-transition);

  opacity: 0;
  transform: translateX(-30px);
  /* Sync animation */
  animation: wwaSlideFromLeft 0.8s ease-out 0.2s forwards;
  position: relative;
  overflow: hidden;
  color: var(--Ctebs-white, #FFF);
  font-family: Poppins;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 21px;


  &:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #3A9F91;
    /*border-radius: 10rem; */
    z-index: -2;
  }

  &:before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background-color: #297a6f;
    transition: all .3s;
    /* border-radius: 10rem; */
    z-index: -1;
  }

  &:hover {
    color: #fff;

    &:before {
      width: 100%;
    }
  }
}





.faq-cta-button:hover {
  background-color: #248072;
  transform: translateY(-1px);
}

.faq-cta-button:active {
  transform: translateY(0);
}

/* Right Column - FAQ Items Container */
.faq-items {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: #FDFDF5;
  /* border-radius: 8px; */
  overflow: hidden;
  /* box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08); */
}

/* Individual FAQ Item */
.faq-item {
  background: #FDFDF5;
  border-bottom: 1px solid #e8e8e8;
  transition: all 0.2s ease;
}

.faq-item:last-child {
  border-bottom: none;
}

/* .faq-item:hover {
  /* background-color: #fafafa; 
} */

/* Question Header */
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.2s ease;
}

.faq-question-text {
  padding-right: 30px;
  flex: 1;
  color: #000;
  font-family: Poppins;
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 30px;
}

/* Toggle Icon - Minimalist Plus/Minus */
.faq-toggle-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: #1a1a1a;
  transition: transform 0.3s ease;
}

.faq-toggle-icon svg {
  display: block;
  width: 100%;
  height: 100%;
  stroke-width: 2;
}

/* Icon lines */
.faq-icon-horizontal {
  transition: transform 0.3s ease;
  transform-origin: center;
}

.faq-icon-vertical {
  transition: opacity 0.3s ease;
  transform-origin: center;
}

/* Active state - hide vertical line to show minus (only horizontal remains) */
.faq-item.active .faq-icon-vertical {
  opacity: 0;
}

/* Answer Container */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  padding: 0 30px;
  background-color: #FDFDF5;
}

.faq-item.active .faq-answer {
  padding: 0 30px 24px 30px;
  border-top: 1px solid #FDFDF5;
}

.faq-answer-content {
  color: rgba(19, 19, 19, 0.70);
  font-family: Poppins;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 28px;
}

/* Active FAQ Item Styling */
.faq-item.active {
  background-color: #FDFDF5;
}

/* =============================
   RESPONSIVE STYLES
============================= */

/* Tablet */
@media (max-width: 1024px) {
  .faq-section {
    padding: 40px 20px;
  }

  .faq-container {
    grid-template-columns: 300px 1fr;
    gap: 30px;
    display: block;
  }

  .faq-title {
    font-size: 2rem;
    line-height: 40px;
  }

  .faq-header {
    position: static;
  }

  .faq-question {
    padding: 20px 0px;
  }

  .faq-item.active .faq-answer {
    padding: 0 0px 24px 0px;
    border-top: 1px solid #FDFDF5;
  }
}

/* Mobile - Match mobile image exactly */
@media (max-width: 768px) {
  .faq-section {
    padding: 50px 20px;
  }

  .faq-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
  }

  .faq-header {
    position: static;
  }

  .faq-title {
    font-size: 24px;
    margin-bottom: 15px;
    padding-left: 10px;
    padding-right: 10px;
  }

  .faq-subtitle {
    font-size: 14px;
    margin-bottom: 20px;
    padding-right: 10px;

  }



  .faq-cta-button {
    width: 100%;
    text-align: center;
    padding: 18px 20px;
    font-size: 14px;
  }

  .faq-items {
    border-radius: 6px;
  }

  .faq-question {
    padding: 18px 0px;
  }

  .faq-question-text {
    font-size: 16px;
    padding-right: 20px;
  }

  .faq-toggle-icon {
    width: 18px;
    height: 18px;
  }

  .faq-answer {
    padding: 0 20px;
  }

  .faq-item.active .faq-answer {
    padding: 0 20px 18px 20px;
  }

  .faq-answer-content {
    font-size: 14px;
    padding-top: 15px;
    line-height: 1.6;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .faq-section {
    padding: 40px 18px;
  }

  .faq-title {
    font-size: 1.4rem;
    line-height: 32px;
    padding: 0px;
  }

  .faq-subtitle {
    font-size: 0.8rem;
    line-height: 24px;
  }

  .faq-question {
    padding: 16px 0px;
  }

  .faq-question-text {
    font-size: 16px;
    line-height: 28px;
  }

  .faq-toggle-icon {
    width: 16px;
    height: 16px;
  }

  .faq-answer {
    padding: 0 18px;
  }

  .faq-item.active .faq-answer {
    padding: 0 0px 16px 0px;
  }

  .faq-answer-content {
    font-size: 0.8rem;
    padding-top: 0px;
  }
}

/* =============================
   ACCESSIBILITY
============================= */

.faq-question:focus {
  outline: 2px solid #2b9b8f;
  outline-offset: -2px;
}

.faq-question:focus:not(:focus-visible) {
  outline: none;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {

  .faq-item,
  .faq-question,
  .faq-answer,
  .faq-toggle-icon,
  .faq-icon-horizontal,
  .faq-icon-vertical,
  .faq-cta-button {
    transition: none;
  }
}


body:has(.wwa-hero-section) .desktop-margin {
  margin-top: 24px !important;
}

@media (max-width: 480px) {
  body:has(.wwa-hero-section) .desktop-margin {
    margin-top: 16px !important;
  }
}

/* =============================
   LARGE SCREEN FIX (4K / Tall Displays)
   Keep sticky behavior consistent on tall desktops
============================= */
@media (min-height: 1400px) {
  .journey-wrapper {
    min-height: 0;
  }
}