/* ==================================
   GLOBAL FADE-IN ANIMATIONS
================================== */
.fade-in-up, 
.animate-title, 
.hero-title, 
.faq-title {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  will-change: opacity, transform;
}

/* This is the class our JS will add to reveal them */
.fade-in-up.is-visible, 
.animate-title.is-visible, 
.hero-title.is-visible, 
.faq-title.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Allow sticky scrolling ONLY on the About Page Template */
body.page-template-template-about,
html {
  overflow: visible !important;
  overflow-x: clip !important; /* Prevents horizontal scrollbar */
}

#singPageHero {
  min-height: 600px !important;
  height: auto !important;
}

/* =========================
   LIFE IS A DANCE (SLIDER)
========================= */
.metric-reel {
  width: 100%;
  padding: 34px 0;
  background: transparent;
  position: relative;
}

.metric-reel__viewport {
  display: flex;
  gap: 22px;
  overflow-x: hidden;
  overflow-y: hidden;
  padding: 0px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; 
  width: 100%;
}

.metric-reel__viewport::-webkit-scrollbar {
  display: none; 
}

.metric-card {
  position: relative;
  flex: 0 0 auto;
  width: clamp(260px, 78vw, 520px);
  aspect-ratio: 3 / 4; 
  border-radius: 26px;
  overflow: hidden;
  transform: scale(0.94);
  opacity: 0.9;
  filter: saturate(0.98);
  transition: transform 360ms ease, opacity 360ms ease, filter 360ms ease;
  will-change: transform;
  outline: none;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35), 0 2px 0 rgba(255, 255, 255, 0.04) inset;
}

.metric-card.is-active, .metric-card:hover {
  transform: scale(1);
  opacity: 1;
  filter: saturate(1.05);
}

.metric-card__bg {
  position: absolute;
  inset: -10px; 
  background-size: cover;
  background-position: center;
  transform: translate3d(var(--px, 0px), var(--py, 0px), 0) scale(1.06);
  transition: transform 160ms ease;
  will-change: transform;
}

.metric-card__shade {
  position: absolute;
  inset: 0;
  background: radial-gradient(1200px 420px at 30% 0%, rgba(255, 255, 255, 0.14), transparent 55%), linear-gradient(to bottom, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.65));
}

.metric-card__top {
  position: absolute;
  inset: 18px 18px auto 18px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  color: #fff;
  top: 32px;
  padding-top: 12px;
}

.metric-card__value {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.metric-card__num {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: clamp(44px, 3.2vw, 74px);
  line-height: 1.15;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
  margin: 0;
}

.metric-card__num::first-letter {
  font-size: 1.9em; 
  line-height: 0.8;
  margin-right: 0.05em;
  color: var(--dropcap, #7dd3fc); 
  text-shadow: 0 12px 26px rgba(0, 0, 0, 0.45);
  vertical-align: baseline;
  top: 0.08em;
}

.metric-card__bottom {
  position: absolute;
  left: 18px;
  right: 18px;
  
  /* 1. Set a fixed starting point for the top of the container */
  top: 55%; /* You can adjust this percentage up or down to fit your design */
  
  /* 2. Remove the translateY transform so it doesn't shift based on text height */
  /* transform: translateY(-50%); */
  
  font-family: var(--font-body);
  font-size: 20px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
  text-align: center;
  
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  
  text-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  opacity: 0.88;
}
.metric-card[data-drop="embrace"] { --dropcap: #1fd3b3; }
.metric-card[data-drop="move"] { --dropcap: #ff3aa6; }
.metric-card[data-drop="believe"] { --dropcap: #f7c948; }
.metric-card[data-drop="evolve"] { --dropcap: #ffffff; }

@media (max-width: 560px) {
  .metric-reel__viewport { gap: 14px; }
  .metric-card { border-radius: 22px; }
}

/* =========================
   OUR STORY SECTION
========================= */
.our-story-section {
  background-color: #1a1c1d; 
  padding: 120px 0;
  color: #b0b0b0; 
}

.ourStoryContainer {
  padding: 20px 5%;
}

.story-title {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  color: #fff;
  text-align: center;
  margin-bottom: 80px;
}

/* 1. Force the grid to center and block theme overrides */
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr; 
  gap: 80px;
  align-items: center !important; /* Forces vertical centering */
  margin-bottom: 60px;
}

/* 2. Kill the ghost margin on the last paragraph */
.story-text p:last-of-type {
  margin-bottom: 0 !important;
}

/* 3. Ensure the video wrapper behaves perfectly in the grid */
.story-media {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}
.story-text p {
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 25px;
}

.story-highlight-box {
  margin-top: 40px;
  padding: 25px 30px;
  border-left: 3px solid #1fd3b3; 
  background: rgba(31, 211, 179, 0.05);
  border-radius: 0 10px 10px 0;
  opacity: 0;
  transform: translateX(-20px);
  transition: all 0.8s ease-out;
}

.story-highlight-box.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.story-highlight-box p {
  color: #fff; 
  font-family: var(--font-body);
  font-size: 1.15rem;
  margin-bottom: 0;
}

.video-placeholder {
  width: 100%;
  aspect-ratio: 16 / 9; 
  background-color: #2a2c2e; 
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.3s ease;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.video-placeholder:hover {
  transform: scale(1.02);
}

.play-icon-circle {
  width: 70px;
  height: 70px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
}

.play-icon-circle svg {
  width: 30px;
  height: 30px;
  margin-left: 4px; 
}

.story-cta-container {
  text-align: center; 
}

.btn-blue-pill {
  display: inline-block;
  background-color: #2b4c7e; 
  color: #fff;
  padding: 14px 28px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: background 0.3s ease;
}

.btn-blue-pill:hover {
  background-color: #3b5bdb; 
  color: #fff;
}

/* =========================
   FEATURES SPLIT SECTION
========================= */
.features-split-section {
  background-color: #1a1c1d; 
/*   padding: 120px 0; */
  color: #fff;
	width:100%
}

.features-grid {
    place-items: center;
    display: grid;
    grid-template-columns: 0.6fr 0.6fr;
    padding: 20px 5%;
    gap: 40px;
    align-items: flex-start;
    /* width: 100vw; */
    justify-items: center;

	
}

.features-left {
  position: -webkit-sticky;
  position: sticky;
  top: 120px; 
}

.features-left h2 {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  line-height: 1.1;
  margin-bottom: 30px;
}

.features-left p {
  font-size: 1.1rem;
  opacity: 0.8;
  line-height: 1.6;
}

.features-right {
  display: flex;
  flex-direction: column;
  gap: 60px; 
}

.feature-item {
  display: flex;
  gap: 20px;
  opacity: 0.4;
  transition: opacity 0.5s ease;
}

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

.feature-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  color: #fff;
}

.feature-text h3 {
  font-family: var(--font-body);
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: #fff;
}

.feature-text p {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  opacity: 0.7;
  max-width: 650px; 
  color: #fff;
}

/* Special Question Box */
.feature-item.special-question {
  padding: 30px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(31, 211, 179, 0.3);
  border-radius: 12px;
  margin-left: 0;           /* remove the -30px */
  width: 100%;
  box-sizing: border-box;
  transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.feature-item.special-question.is-active,
.feature-item.special-question.is-visible {
  box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(31, 211, 179, 0.1);
  transform: scale(1.02);
  transform-origin: left center; /* scales from the left so it doesn't bleed right */
}

.feature-item.special-question h3 {
  color: #1fd3b3; 
  transition: color 0.5s ease;
}

.feature-item.special-question .feature-icon {
  color: #1fd3b3; 
  transition: color 0.5s ease;
}

.feature-item.special-question.is-active .feature-icon {
  animation: iconPulse 3s infinite ease-in-out; 
}

@keyframes iconPulse {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.15); opacity: 0.8; }
  100% { transform: scale(1); opacity: 1; }
}

.question-container {
  display: flex;
  flex-direction: column;
  gap: 8px; 
  margin-top: 10px;
}

.question-container .q-line {
  display: block;
  opacity: 1;
  transform: translateY(15px); 
  transition: all 0.8s ease-out;
  color: #fff;
  font-family: var(--font-body);
  font-size: 1.1rem;
}

.special-question.is-active .q-line,
.special-question.is-visible .q-line {
  opacity: 1;
  transform: translateY(0);
}

.question-container .q-line:nth-child(1) { transition-delay: 0.3s; }
.question-container .q-line:nth-child(2) { transition-delay: 0.8s; }
.question-container .q-line:nth-child(3) { transition-delay: 1.3s; }

@media (max-width: 900px) {
  .features-grid, .story-grid {
    grid-template-columns: 1fr;
  }
  .features-left {
    position: relative;
    top: 0;
    margin-bottom: 40px;
  }
  .feature-item {
    opacity: 1;
  }
  .feature-item.special-question {
    margin-left: 0;
  }
}

/* =========================
   FAQ SECTION
========================= */
.faq-section {
  background-color: #1a1c1d; 
  padding: 100px 0;
  color: #fff;
}

.faq-title {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  text-align: center;
  margin-bottom: 60px;
}

.faq-grid {
  display: flex;
  flex-direction: column;
  gap: 15px; 
}

.faq-item {
  background-color: #242627; 
  border-radius: 6px;
  overflow: hidden; 
  transition: background-color 0.3s ease;
}

.faq-item:hover {
  background-color: #2a2c2e; 
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 30px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  transition: color 0.3s ease;
}

.faq-question:hover {
  color: #1fd3b3; 
}

.faq-icon {
  font-size: 1.5rem;
  font-weight: 300;
  line-height: 1;
  transition: transform 0.4s ease; 
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease; 
}

.faq-content {
  padding: 0 30px 30px 30px;
  color: #b0b0b0; 
  font-size: 1rem;
  line-height: 1.6;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg); 
  color: #1fd3b3;
}

.faq-item.active .faq-question {
  color: #1fd3b3; 
}

.faq-item.active .faq-answer {
  max-height: 500px; 
}

@media (max-width: 600px) {
  .faq-title { font-size: 2.5rem; }
  .faq-question { padding: 20px; font-size: 1rem; }
}

/* =========================
   BOTTOM CTA 
========================= */
.bottom-cta {
  background-color: #1a1c1d;
  padding: 100px 20px 140px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.cta-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: #fff;
  margin-bottom: 40px;
  line-height: 1.2;
}

/* Add this to your stylesheet */
@media (prefers-reduced-motion: reduce) {
  .fade-in-up,
  .animate-title,
  .hero-title,
  .faq-title {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* =========================
   FEATURES SPLIT — IPAD FIX
   (768px – 1100px)
========================= */
@media (min-width: 768px) and (max-width: 1100px) {

  .features-grid {
    grid-template-columns: 0.9fr 1fr !important;
    gap: 30px !important;
    padding: 20px 4% !important;
  }

  .features-left h2,
  .features-left .hero-title,
  .features-split-section .hero-title,
  .features-split-section h2 {
    font-size: 1.8rem !important;
    line-height: 1.2 !important;
    margin-bottom: 20px !important;
  }

  .features-left p {
    font-size: 0.95rem !important;
  }

  .features-left {
    top: 80px !important;
  }

  .feature-text h3 {
    font-size: 1.1rem !important;
  }

  .feature-text p {
    font-size: 0.9rem !important;
  }

  .features-right {
    gap: 40px !important;
  }
}
.features-heading {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 3.5rem);
  line-height: 1.1;
  margin-bottom: 30px;
}

.metric-reel .section-title {
  padding-left: 5%; 
  margin-bottom: 24px; /* Optional: Adds a little breathing room before the slider */
}
/* Safety net if JS never fires */
.no-js .fade-in-up,
.no-js .animate-title,
.no-js .hero-title,
.no-js .faq-title {
  opacity: 1;
  transform: none;
}

/* .animate-title {
  opacity: 0 ;
  transform: translateY(30px) !important;
  transition: opacity 0.8s ease-out, transform 0.8s ease-out !important;
}

.animate-title.is-visible {
  opacity: 1 ;
  transform: translateY(0) !important;
} */

/* Simple CSS-only fade in on load */
/* .fade-in-up,
.animate-title,
.hero-title,
.faq-title {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s ease-out forwards;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
} */

/* Stagger delays */
/* .delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; } */