/* ===============================
       🎨 DESIGN SYSTEM
    =============================== */
:root {
    --color-primary:#0f766e;
  --color-secondary:#0f172a;
  --color-accent:#009189;
  --color-light:#03b4a6;
  --color-bg: #ffffff;
  --color-cloud: #f8f8f8;
  --color-bg-light: #f9f9f9;

  --gradient-champagne:linear-gradient(135deg,#0f766e,#03b4a6,#0f172a);
  --gradient-champagne-light:linear-gradient(135deg,#03b4a6,#009189,#0f766e);
  --gradient-brand-section: linear-gradient(90deg, #0f766e, #009189);
  --glass-bg: rgba(255, 255, 255, 0.15);
  --glass-blur: 20px;
  --border-glass: rgba(255, 255, 255, 0.3);

  /* font sizes */
  --font-family-base: "Poppins", "Inter", sans-serif;

  /* Responsive breakpoints */
  --mobile: 599px;
  --tablet: 850px;
  --desktop: 1200px;
  
  /* Responsive spacing units */
  --spacing-mobile: clamp(1rem, 5vw, 2rem);
  --spacing-tablet: clamp(2rem, 8vw, 4rem);
  --spacing-desktop: clamp(3rem, 10vw, 6rem);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: var(--font-family-base);
  /* background: var(--color-bg-light); */
  background: transparent;
  color: var(--color-secondary);
  overflow-x: hidden;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

#space-bg{
  position:fixed;
  inset:0;
  width:100%;
  height:100%;
  z-index:-1;
  pointer-events:none;
}



/* ===============================
  HERO ANIMATION (Glow Now)
=============================== */
main.hero {
  width: 100%;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: transparent;
  position: relative;
  overflow: visible;
  text-align: center;
  padding: 10rem 5%;
}

.hero-bg {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: min(90vw, 900px);
  height: auto;
  z-index: -1; pointer-events: none;
}

.hero-bg img,
.parallel-line,
.vertical-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  transform-origin: center center;
  will-change: transform, opacity;
  backface-visibility: hidden;
}

/* keep the parallel-line scalable and not too large on small viewports */
.parallel-line {
  width: 130%; height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--teal-dark));
  opacity: 0.8;
  border-radius: 4px;
  filter: drop-shadow(0 0 8px rgba(187, 141, 86, 0.5));
  z-index: 0;
  transform: translate(-50%, -52%);
}

.vertical-glow {
  width: 3px; height: 100%;
  background: linear-gradient(to bottom, rgba(2, 71, 68, 0), rgba(1, 155, 147, 0.9), rgba(2, 71, 68,0));
  filter: blur(10px) drop-shadow(0 0 25px rgba(1, 155, 147,0.5));
  z-index: 1; opacity: 0.2 !important;
}

.vertical { width: 30%; opacity: 0.2; z-index: 2;}
.circle-main {
  width: 85%; opacity: 0.9; z-index: 3;
  border-radius: 50%;
  filter:drop-shadow(0 0 1px var(--card)) drop-shadow(0 0 1px var(--teal));
  filter: opacity(0.7);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.circle-main:hover {
  transform: scale(2.5);
  box-shadow: 0 0 30px 10px rgba(1, 255, 242, 0.5),
              0 0 70px 25px rgba(2, 206, 196, 0.2);
}

.longline { width: 95%; opacity: 0.7; z-index: 4;  }
.circle-overlay { width: 80%; opacity: 0.4; z-index: 5;filter: opacity(0.5);}
.line60 { width: 100%; opacity: 0.95; z-index: 6; }

.hero-content {
  position: relative;
  z-index: 20;
  max-width: 700px;
  pointer-events: auto;
}

.hero p:first-child {
  font-size: 1.5rem;
  letter-spacing: 1px;
  font-weight: 400;
  background: var(--teal-dark);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.8rem;
}

.hero h1 {
  font-size: 2.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--teal);
}

.hero h1 span { background: var(--teal-dark);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent; }

.hero p:nth-of-type(2) {
  font-size: 1.2rem;
  line-height: 1.6;
   color: var(--teal);
  margin-bottom: 1.2rem;
}

@media (max-width: 1024px) {
  .hero-bg { width: min(90vw, 700px); }
}
@media (max-width: 768px) {
  .hero h1 { font-size: 2.5rem; }
  .parallel-line { width: 140%; }
  .vertical-glow { filter: blur(8px); display:none; }
}
@media (max-width: 480px) {
    .hero h1 { font-size: 1.5rem; }
    .hero p:nth-of-type(1) {
  font-size: 3rem;

}

    .hero p:nth-of-type(2) {
  font-size: 1rem;
 
}
  .hero-bg { width: 80%; height:auto; }
  .parallel-line { width: 160%; display:none;}
  .vertical { display:none; }

  .mobile-nav a {
    font-size: 1.2rem;
  }
}

/* ===============================
   Motion / Performance helpers
=============================== */

/* Honor user motion preference */
@media (prefers-reduced-motion: reduce) {
  .circle-main, .longline, .vertical, .circle-overlay, .line60,
  .card::before, .nailu-diff-ticker-track {
    animation: none !important;
    transition: none !important;
  }
  * { scroll-behavior: auto; }
}


/* ===============================
   🔹 FAQ / ACCORDION STYLES
=============================== */
.accordion-container {
  width: 70%; /* default for mobile/tablet */
  max-width: 100%; /* avoid overflow */
  margin: 0 auto;
  padding: 10rem 1rem 0 1rem;
  box-sizing: border-box;
}

.accordion-item {
  background: linear-gradient(135deg, var(--color-cloud), #ffffff);
  border-radius: 1rem;
  border: 1px solid var(--color-light);
  margin-bottom: 1rem;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.4s ease;
}

.accordion-item:hover {
  transform: translateY(-5px) scale(1.01);
  box-shadow: 0 12px 25px rgba(187, 141, 86, 0.15);
}

.accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 1.5rem;
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease;
  color: var(--color-primary);
}

.accordion-item.active .accordion-header {
  background: linear-gradient(135deg,#03b4a6,#009189,#0f766e);
  color: #fff;
}

.accordion-icon {
  font-size: 1.5rem;
  transition: transform 0.3s ease;
  color: var(--color-primary);
}

.accordion-item.active .accordion-icon {
  transform: rotate(45deg);
  color: #fff;
}

.accordion-body {
  max-height: 0;
  /* padding: 0 1.5rem; */
  overflow: hidden;
  transition: max-height 0.5s ease, padding 0.5s ease;
  font-size: 1rem;
  line-height: 1.6;
  color: #444;
}

.accordion-item.active .accordion-body {
  /* padding: 1rem 1.5rem 1.5rem; */
  max-height: 3000px; /* enough for content */
}

.accordion-body p {
  margin-bottom: 0.8rem;
}

@media (max-width: 768px) {
  .accordion-container {
    width: 100%;
    padding: 3rem 7% 6rem;
  }
  .accordion-title {
    font-size: 1.2rem;
  }
  .accordion-body {
    padding:0;
    font-size: 0.95rem;
  }
  .accordion-item.active .accordion-body {
  padding: 0;
  
}

}


/* ===============================
   🌸 BRAND STATEMENT SECTION (FIXED)
=============================== */
.brand-statement {
  position: relative;
  width: 100%;
  padding: 6rem 3%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  flex-direction: column;
  background: transparent;
  margin-top: 0;
}

.brand-statement::before {
  content: "";
  position: absolute;
  top: -80px;
  left: 0;
  width: 100%;
  height: 120px;
  pointer-events: none;
  z-index: 0;
}

.brand-statement .content {
  
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.brand-statement .brand-title {
  font-size: 1rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 0.8rem;
}

.brand-statement .brand-heading {
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--color-secondary);
  line-height: 1;
  margin-bottom: 0.8rem;
}

.brand-statement .brand-description {
  font-size: 1.2rem;
  line-height: 1.6;
  color: var(--color-secondary);
  opacity: 0.9;
}

section {
  
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}



/* Problem Section */
.problem-section {
  position: relative;
  padding: 6rem 3% 6rem;
  background: transparent;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.problem-intro h1 {
  font-size: 2.5rem;
  font-weight: 600;
  line-height: 1;
  color: var(--color-secondary);
  margin-bottom: 0.8rem;
}

.problem-intro p {
  font-size: 1rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 0.8rem;
}

.problem-summary p {
  font-size: 1.2rem;
  line-height: 1.6;
  color: var(--color-secondary);
  opacity: 0.9;
}

.problem-grid {
  display: grid;
  padding-top: 4rem;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, auto);
  gap: 2.5rem;
  width: 100%;
  max-width: 1200px;
}

.problem-card {
  background: linear-gradient(135deg, var(--color-cloud), #ffffff);
  border-radius: 20px;
  border: 1px solid var(--color-light);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: all 0.35s ease;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(255, 251, 0, 0.05);
}

.problem-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 50px rgba(255, 238, 0, 0.1);
}

.problem-card h3 {
  font-size: 1.4rem;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.problem-card p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #333;
}

.problem-card i.ph {
    font-size: 56px;
    background: var(--gradient-champagne);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.2rem;
    font-weight: 200;
}

/* Icon Styling (outlined + elegant) */
.problem-card i {
  font-size: 2.8rem;
  color: var(--color-primary);
  margin-bottom: 1rem;
  stroke-width: 1.2;
  opacity: 0.9;
  transition: transform 0.3s ease, color 0.3s ease;
}

.problem-card:hover i {
  transform: scale(1.1);
  color: #bb8d56;
}

/* ===============================
   ★ THE SOLUTION SECTION (MERGED)
=============================== */
.solution-section {
  display: flex;
  /* min-height: 100vh; */
  flex-direction: column;
  justify-content: center;
  padding: 6rem 3%;
  text-align: center;
  position: relative;
  overflow: visible;
  background: transparent;
}

.solution-title {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-primary);
  margin-bottom: 0.8rem;
}

.solution-heading {
  font-size: 2.5rem;
  color: var(--color-secondary);
  font-weight: 600;
  margin-bottom: 0.8rem;
  line-height: 1.2;
}

.solution-desc {
  font-size: 1.2rem;
  color: var(--color-secondary);
  line-height: 1.6;
  opacity: 0.95;
}

.icon-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  width: 100%;
  margin-top: 2rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.icon-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
}

.card {
  position: relative;
  background: linear-gradient(135deg, var(--color-cloud), #ffffff);
  border-radius: 20px;
  border: 1px solid var(--color-light);
  padding: 2rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: all 0.35s ease;
  overflow: hidden;
  min-height: 320px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}

/* Shimmer Animation (champagne wave sheen) */
.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.35), transparent);
  transform: skewX(-18deg);
  animation: shimmer 4s infinite;
  opacity: 0.95;
}

@keyframes shimmer {
  0% { left: -120%; }
  50% { left: 120%; }
  100% { left: 120%; }
}

.card i.ph {
  font-size: 56px;
  background: var(--gradient-champagne);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1.2rem;
  font-weight: 200;
}

.card-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 0.8rem;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.card-desc {
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-secondary);
  text-align: center;
  padding: 0 0.4rem;
}

.icon-wrapper:hover .card {
  border-width: 2px;
  transform: translateY(-8px) scale(1.04);
  box-shadow: 0 16px 36px rgba(228, 195, 128, 0.25);
}


/* Founder story section */
/* =========================
   Founder Story Section (Adjusted)
========================= */
section.founder-story {
  min-height: auto; /* adjust height automatically */
  height: auto;
  position: relative;
  background: transparent;
  flex-direction: column;
  overflow: visible;
  padding: 4rem 3%; /* increase padding for visibility */
  display: flex;
  justify-content: center;
  align-items: center;
}

/* .story-content {
  
} */

.story-content h3{
  color: var(--color-primary);
  font-size: 1rem;
}
.story-content h2{
  color: var(--color-secondary);
  font-size: 2.5rem;
  font-weight: 600;
}

.story-content h3,
.story-content h2,
.story-content p {
  opacity: 1;
  transform: none;
  transition: none;
}

/* Paragraphs styling */
.story-content p {
  font-size: 1.2rem;
  line-height: 1.6;
  color: #1e1e1e;
  margin-bottom: 1.4rem;
  white-space: pre-wrap;
}

/* Quote styling */
.story-content p.quote {
  font-size: 1.25rem;
  font-style: italic;
  border-left: 4px solid var(--color-primary);
  padding-left: 1rem;
  background: linear-gradient(90deg, rgba(187,141,86,0.1), rgba(255,255,255,0));
  border-radius: 0.5rem;
  color: #333;
}

/* Founder image tooltip */
.founder-image {
  position: relative; /* reset to relative for layout */
  width: 180px;
  height: 220px;
  pointer-events: auto;
  opacity: 1; /* make visible */
  z-index: 3;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,0.25);
  filter: none;
  top: auto;
  left: auto;
  transform: none;
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .story-content { width: 100%;  }
  .story-content h2 { font-size: 1.5rem; margin-bottom: 0.5rem;  }
  .story-content p { font-size: 1rem;  }
  section.founder-story { padding: 7rem 7%; }
  .founder-image { width: 140px; height: 180px; margin: 1rem auto; }
}

/* Responsive logic per your breakpoints:
   - Mobile: <= 599px
   - Tablet: 600px - 850px
   - Desktop: 851px +
*/
@media (max-width: 480px) {
  /* mobile adjustments */
  header { padding: 0 1rem; }
  main.hero { padding: 120px 20px 90px; }
  .brand-statement { padding: 7rem 3%; }
  .brand-heading{font-size: 1.5rem !important;}
  .problem-section { padding: 6rem 3%; }
  .problem-grid { grid-template-columns: 1fr; gap: 1.75rem; padding-top: 2rem; }
  .problem-section .problem-intro h1 { font-size: 1.5rem; }
  .solution-section { padding: 7rem 3%; }
  .solution-heading { font-size: 1.5rem; }
  .solution-desc {font-size: 1rem; }
  .icon-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .card { min-height: 260px; padding: 1.25rem; }
  .card i.ph { font-size: 44px; margin-bottom: 0.9rem; }

  /* performance improvements on mobile */
  body { background-attachment: scroll; }
  .mobile-nav { backdrop-filter: none; background: rgba(255,255,255,0.95); }
  .story-content { backdrop-filter: none; box-shadow: none; }
}

@media (min-width: 600px) and (max-width: 850px) {
  /* tablet adjustments (600 - 850) */
  main.hero { padding: 140px 30px 100px; }
  .brand-statement { padding: 120px 8% 30px; }
  .story-content { padding: 2rem; width: 92%; margin-bottom: 14rem; }
  .problem-section { padding: 8rem 8% 5rem; }
  .problem-grid { grid-template-columns: repeat(2, 1fr); gap: 1.75rem; }
  .icon-grid { grid-template-columns: repeat(2, 1fr); gap: 1.75rem; }
  .card { min-height: 300px; padding: 1.6rem; }
  .card i.ph { font-size: 52px; }
}

@media (min-width: 851px) {
  /* desktop */
  .problem-grid { grid-template-columns: repeat(2, 1fr); }
  .icon-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Small utility tweaks */
.visually-hidden { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* ===============================
   🎨 NAILU DIFFERENCE (ISOLATED)
=============================== */
.nailu-difference-section {
  /* min-height: 100vh; */
  padding: 6rem 3%;
  text-align: center;
  background: transparent;
  position: relative;
  display:  flex;
  flex-direction: column;
  overflow: hidden;
  z-index: 1;
}

.nailu-difference-section::after {
  content: "";
  position: absolute;
  top: -20%;
  left: -10%;
  width: 120%;
  height: 140%;
  background: radial-gradient(ellipse at center, rgba(228,195,128,0.08), transparent 70%);
  pointer-events: none;
}

.nailu-diff-title {
  font-size: 1rem;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.8rem;
}

.nailu-diff-heading {
  font-size: 2.5rem;
  font-weight: 600;
  color: #2c2c2c;
  margin-bottom: 0.8rem;
}

.nailu-diff-description {
  font-size: 1.2rem;
  line-height: 1.6;
  color: #555;
  opacity: 0.9;
   margin-bottom: 0.8rem;
}
.nailu-diff-ticker-outer {
  position: relative;
  overflow: hidden;
}

/* --- Mask Layer for Left & Right Blur --- */
.nailu-diff-ticker-mask {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 5;

   /* Perfect left–right fade using #f8f8f8 */
  background: linear-gradient(
    to right,
    rgba(248, 248, 248, 1) 0%,     /* solid left */
    rgba(248, 248, 248, 0) 12%,    /* fade in */
    rgba(248, 248, 248, 0) 88%,    /* fade out */
    rgba(248, 248, 248, 1) 100%    /* solid right */
  );
}

/* --- Ticker Track --- */
.nailu-diff-ticker-track {
  display: inline-flex;
  align-items: stretch;
  gap: 3rem;
  padding: 1rem 0;
  animation: nailuMarquee 55s linear infinite;
  transform: translateZ(0);
  position: relative;
  z-index: 1;
}

/* Prevent items from shrinking */
.nailu-diff-ticker-track > * {
  flex-shrink: 0;
}

/* --- Animation --- */
@keyframes nailuMarquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); } /* -50% because two copies */
}

.nailu-diff-card {
  flex: 0 0 auto;
  width: clamp(280px, 25vw, 360px);
  background: linear-gradient(160deg, #f8f8f8, #f9f9f9);
  border: 1px solid rgba(228, 195, 128, 0.35);
  border-radius: 100px;
  padding: 3rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s ease, border-color 0.3s ease;
}

.nailu-diff-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -150%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.45), transparent);
  animation: nailuShimmer 7s infinite;
}

@keyframes nailuShimmer {
  0% { left: -150%; }
  50%,100% { left: 150%; }
}

.nailu-diff-card i {
  font-size: 60px;
  background: linear-gradient(135deg, #e4c380, #e9c888, #bb8d56);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1.2rem;
  display: inline-block;
}

.nailu-diff-card-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #bb8d56;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}

.nailu-diff-card-desc {
  font-size: 1rem;
  color: #444;
  line-height: 1.6;
  max-width: 270px;
  margin: 0 auto;
}

.nailu-diff-card:hover {
  border-color: #bb8d56;
}

/* 🔸 Responsive */
@media (max-width: 768px) {
  .nailu-diff-card { width: 260px; padding: 2.5rem 1.8rem; }
  .nailu-diff-ticker-track { gap: 2rem; animation-duration: 40s; }
}

@media (max-width: 580px) {
  .nailu-diff-card { width: 220px; padding: 2rem 1.5rem; }
  .nailu-diff-heading { font-size: 1.5rem; line-height: 2.2rem; }
  .nailu-diff-description { font-size: 1rem; }

  .nailu-difference-section {
    padding: 7rem 3%;
  }

}

/* ===========================
   MISSION TIMELINE STYLES
=========================== */
.timeline-section {
  padding: 6rem 3%;
  position: relative;
  overflow: hidden;
  
  background: transparent;
  display: flex;
  flex-direction: column;
  color: #222;
}

.timeline-top {
  text-align: center;
  margin-bottom: 4rem;
}
.timeline-top .small {
  color: var(--color-primary, #bb8d56);
  font-size: 1rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}
.timeline-top h2 {
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--color-secondary);
  line-height: 1;
  margin-bottom: 0.8rem;

}
.timeline-top p {
  font-size: 1.2rem;
  line-height: 1.6;
  color: var(--color-secondary);
  opacity: 0.9;
}

/* Timeline structure */
.timeline-wrap {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}
.timeline-line {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 100%;
  background: linear-gradient(180deg, rgba(187,141,86,0.2), rgba(228,195,128,0.4), rgba(187,141,86,0.2));
  border-radius: 6px;
  box-shadow: 0 0 12px rgba(187,141,86,0.4);
  animation: steadyGlow 4s ease-in-out infinite alternate;
}
@keyframes steadyGlow {
  0% { box-shadow: 0 0 8px rgba(187,141,86,0.4); }
  100% { box-shadow: 0 0 22px rgba(228,195,128,0.6); }
}

/* Timeline items */
.timeline-item {
  position: relative;
  width: 50%;
  padding: 3rem 1rem;
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease;
}
.timeline-item:nth-child(odd) { left: 0; text-align: right; }
.timeline-item:nth-child(even) { left: 50%; }

/* Dots */
.timeline-dot {
  position: absolute;
  top: 40px;
  width: 16px;
  height: 16px;
  background: rgba(187,141,86,0.3);
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 0 0 rgba(187,141,86,0);
  transition: all 0.6s ease;
  z-index: 2;
}
.timeline-item:nth-child(odd) .timeline-dot { right: -8px; }
.timeline-item:nth-child(even) .timeline-dot { left: -8px; }
.timeline-dot.active {
  background: var(--color-primary, #bb8d56);
  box-shadow: 0 0 14px rgba(187,141,86,0.5);
  transform: scale(1.15);
}

/* Card */
.timeline-card {
  background: linear-gradient(135deg, var(--color-cloud), #ffffff);
      border-radius: 20px;
      border: 1px solid var(--color-light);
      padding: 2rem 1.5rem;
      display: flex;
      flex-direction: column;
      align-items: start;
      transition: all 0.35s ease;
      overflow: hidden;
      text-align: start;
      box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}
.timeline-year {
  color: var(--color-primary, #bb8d56);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
}
.timeline-text {
  color: #333;
  font-size: 0.98rem;
  line-height: 1.6;
}

/* In-view animation */
.timeline-item.in-view {
  opacity: 1;
  transform: translateY(0);
}
.timeline-item.in-view .timeline-card {
  opacity: 1;
  box-shadow: 0 10px 24px rgba(187,141,86,0.1);
}
.timeline-item.in-view .timeline-dot {
  background: var(--color-primary, #bb8d56);
  box-shadow: 0 0 16px rgba(187,141,86,0.5);
}

/* Responsive */
@media (max-width: 880px) {
  .timeline-item { width: 100%; text-align: left; left: 0; padding-left: 3rem; }
  .timeline-item:nth-child(odd), .timeline-item:nth-child(even) { left: 0; }
  .timeline-dot { left: 15px !important; right: auto; }
  .timeline-line { left: 22px; transform: none; }
}

/* Philosophy Section */
.philosophy-section {
  padding: 6rem 3%;
  text-align: center;
}

.philosophy-top h2 {
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--color-secondary);
  line-height: 1;
  margin-bottom: 0.8rem;

}

.philosophy-top h3 {
    font-size: 1rem;
  letter-spacing: 1px;
  font-weight: 400;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 0.8rem;

}

.philosophy-top p {
  font-size: 1.2rem;
  line-height: 1.6;
  color: var(--color-secondary);
  opacity: 0.9;
  margin-bottom: 2rem;

}

/* Cards layout */
.philosophy-cards {
  display: flex;
  flex-direction: row;
  gap: 3rem;
  justify-content: center;
}

.philosophy-card {
      background: linear-gradient(135deg, var(--color-cloud), #ffffff);
      border-radius: 20px;
      border: 1px solid var(--color-light);
      padding: 2rem 1.5rem;
      display: flex;
      flex-direction: column;
      align-items: center;
      transition: all 0.35s ease;
      overflow: hidden;
      box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}

.philosophy-card h4 {
  color: var(--gradient-champagne);
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
}

.philosophy-card p {
  color: var(--text);
  font-size: 0.98rem;
  line-height: 1.5;
}

/* Hover effect */
.philosophy-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(187,141,86,0.2);
}

/* Responsive */
@media (max-width: 768px) {
  .philosophy-section {
    padding: 7rem 3%;
  }
  .philosophy-cards {
    flex-direction: column;
    align-items: center;
  }

  .philosophy-top h2{
    font-size: 1.5rem;
  }

  .philosophy-top p{
    font-size: 1rem;
  }

  .philosophy-card {
    max-width: 100%;
  }
}


/* ==============================
   CTA SECTION
============================== */
.cta-section {
  position: relative;
  width: 100%;
  padding: 10rem 5% 12rem;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.cta-content {
  max-width: 800px;
  z-index: 2;
}
.cta-content span{
  font-size: 3rem;
   background: var(--teal);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.cta-content h3 {
  font-size: 1rem;
  color:var(--muted);
  font-weight: 400;
  letter-spacing: 1px;
  transform: uppercase;
  margin-bottom: 0.8rem;
}

.cta-content .cta-subtitle {
  font-size: 1.2rem;
  color: var(--teal-dark);
  font-weight: 600;
  margin-bottom: 0.8rem;
}

.cta-content .cta-description {
  font-size: 1.2rem;
  color:var(--teal-dark);
  font-weight: 300;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  padding: 0 1rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .cta-section {
    padding: 5rem 7% 7rem;
  }
  .cta-content h3 {
    font-size: 1rem;
  }
  .cta-content .cta-subtitle {
    font-size: 1.5rem;
  }
  .cta-content .cta-description {
    font-size: 1rem;
  }
  .cta-content span{
  font-size: 1.5rem;
}
}
