/* Palette: Aqua-Amber */
:root {
  --primary-color: #005C60;
  --secondary-color: #007B82;
  --accent-color: #E8A020;
  --background-color: #ECF9FA;
  --dark-color: #111111;
  --text-color: #333333;
  --border-color: rgba(0,0,0,0.12);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 24px rgba(0,0,0,0.12);
  --shadow-lg: 0 8px 48px rgba(0,0,0,0.16);
  --radius-sm: 6px; 
  --radius-md: 12px; 
  --radius-lg: 20px; 
  --radius-xl: 32px;
  --main-font: 'Oswald', sans-serif;
  --alt-font: 'Noto Sans', sans-serif;
}

/* WARM-MINIMAL Preset Rules applied literally */
section{padding:60px 16px;margin:0} 
@media(min-width:1024px){section{padding:72px 24px}} 
body{background:#FDFAF5;color:#2C2416;line-height:1.8;font-family:var(--alt-font);overflow-x:hidden} 
section:nth-child(even){background:#F8F2E8} 
.card{background:#fff;border-radius:12px;box-shadow:0 2px 20px rgba(44,36,22,0.08);border:none} 
h1,h2,h3{color:var(--primary-color);font-family:var(--main-font);line-height:1.2} 
.btn{border-radius:8px;background:var(--primary-color);color:#fff;font-weight:600;display:inline-block;padding:12px 28px;text-align:center;text-decoration:none;transition:transform .15s,box-shadow .15s;min-height:44px} 
.btn:hover{transform:translateY(-2px);box-shadow:0 4px 12px rgba(0,0,0,0.15)}
hr{border:none;border-top:1px solid rgba(44,36,22,0.12);margin:32px 0}

/* CSS Properties for Animations */
@property --count { syntax:'<integer>'; initial-value:0; inherits:false; }
@property --bar { syntax:'<integer>'; initial-value:0; inherits:false; }

.stat-num {
  animation: count-up 2s ease-out forwards;
  animation-timeline: view(); 
  animation-range: entry 0% entry 60%;
  counter-reset: n var(--count);
}
.stat-num::after { content: counter(n); }
@keyframes count-up { from{--count:0} to{--count:var(--target)} }

.bar-fill {
  width: calc(var(--bar) * 1%);
  animation: fill-bar 1.5s ease-out forwards;
  animation-timeline: view(); 
  animation-range: entry 0% entry 50%;
  background: var(--accent-color); 
  height:12px; 
  border-radius:999px;
}
@keyframes fill-bar { from{--bar:0} to{--bar:var(--pct)} }
.bar-track { background:rgba(0,0,0,0.08); border-radius:999px; overflow:hidden; }

@keyframes reveal-up { from{opacity:0;transform:translateY(32px)} to{opacity:1;transform:translateY(0)} }
.reveal {
  animation: reveal-up linear both;
  animation-timeline: view(); 
  animation-range: entry 0% entry 30%;
}

/* Typography scale */
h1 { font-size: clamp(32px, 5vw, 56px); font-weight: 700; }
h2 { font-size: clamp(24px, 3.5vw, 38px); font-weight: 700; }
h3 { font-size: clamp(18px, 2.5vw, 24px); font-weight: 600; }
p { font-size: clamp(14px, 1.6vw, 17px); }

.container { max-width: 1200px; margin: 0 auto; }

/* Header & Mobile Nav */
header {
  background: #fff;
  border-bottom: 1px solid rgba(44,36,22,0.1);
  position: relative;
  z-index: 100;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: 1200px;
  margin: 0 auto;
}
.logo img { max-height: 40px; width: auto; }
.burger-btn {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  cursor: pointer;
}
.burger-btn .bar {
  height: 3px;
  width: 100%;
  background: var(--primary-color);
  border-radius: 2px;
  transition: all 0.3s ease;
}
#menu-toggle:checked ~ .burger-btn .bar:nth-child(1) { transform: translateY(8.5px) rotate(45deg); }
#menu-toggle:checked ~ .burger-btn .bar:nth-child(2) { opacity: 0; }
#menu-toggle:checked ~ .burger-btn .bar:nth-child(3) { transform: translateY(-8.5px) rotate(-45deg); }

.site-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  padding: 20px;
}
#menu-toggle:checked ~ .site-nav { display: block; }
.site-nav ul { list-style: none; padding: 0; margin: 0; }
.site-nav li { margin-bottom: 12px; }
.site-nav a { text-decoration: none; color: var(--text-color); font-weight: 600; transition: color 0.2s; }
.site-nav a:hover { color: var(--primary-color); }

@media(min-width: 768px) {
  .burger-btn { display: none; }
  .site-nav { display: flex !important; position: static; box-shadow: none; padding: 0; background: transparent; }
  .site-nav ul { display: flex; gap: 24px; }
  .site-nav li { margin-bottom: 0; }
}

/* Hero: Stats-anchored */
.hero-section {
  padding: 0 !important;
  min-height: 78vh;
  display: flex;
  flex-direction: column;
}
.hero-top {
  background-image: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('./img/bg.jpg');
  background-size: cover;
  background-position: center;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 24px;
  text-align: center;
  color: #fff;
}
.hero-content { max-width: 800px; }
.hero-content h1 { color: #fff; margin-bottom: 16px; }
.hero-subtitle { font-size: clamp(16px, 2vw, 20px); color: #f0f0f0; margin-bottom: 28px; }
.hero-btn { background: var(--accent-color); color: #111; }
.hero-btn:hover { background: #d48f18; color: #111; }

.hero-stats-bar {
  background: var(--primary-color);
  color: #fff;
  padding: 24px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  text-align: center;
}
@media(min-width: 768px) {
  .hero-stats-bar { grid-template-columns: repeat(4, 1fr); }
}
.stat-item { padding: 10px; }
.stat-num, .stat-unit { font-size: clamp(28px, 4vw, 42px); font-family: var(--main-font); font-weight: 700; color: var(--accent-color); }
.stat-label { font-size: 14px; opacity: 0.9; margin-top: 4px; }

/* How It Works Steps */
.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media(min-width: 768px) { .steps-grid { grid-template-columns: repeat(2, 1fr); } }
@media(min-width: 1024px) { .steps-grid { grid-template-columns: repeat(4, 1fr); } }

.step-card {
  padding: 32px 24px;
  position: relative;
}
.step-number {
  font-family: var(--main-font);
  font-size: 48px;
  font-weight: 900;
  color: var(--accent-color);
  line-height: 1;
  display: block;
  margin-bottom: 12px;
}

/* Timeline Layout */
.timeline-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media(min-width: 1024px) {
  .timeline-layout { grid-template-columns: 1fr 1fr; align-items: center; }
}
.timeline-img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  object-fit: cover;
  max-height: 480px;
}
.timeline-container {
  border-left: 3px solid var(--primary-color);
  padding-left: 24px;
  margin-left: 12px;
}
.timeline-item {
  position: relative;
  margin-bottom: 24px;
}
.timeline-marker {
  position: absolute;
  left: -33px;
  top: 16px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--accent-color);
  border: 3px solid #fff;
}
.timeline-content { padding: 20px; }
.timeline-age {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent-color);
  margin-bottom: 6px;
}

/* Progress Section */
.progress-grid {
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.progress-info {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-weight: 600;
}

/* Dense Icon Grid */
.icon-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
@media(min-width: 640px) { .icon-grid { grid-template-columns: repeat(4, 1fr); } }
.icon-card {
  padding: 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.icon-card i {
  font-size: 32px;
  color: var(--primary-color);
}
.icon-card span {
  font-size: 14px;
  font-weight: 600;
}

/* CTA Banner */
.cta-section {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)) !important;
  color: #fff;
  padding: 60px 24px !important;
}
.cta-section h2 { color: #fff; margin-bottom: 16px; }
.cta-section p { max-width: 600px; margin: 0 auto 28px auto; opacity: 0.9; }
.btn-cta-outline {
  border: 2px solid #fff;
  background: transparent;
  color: #fff;
}
.btn-cta-outline:hover {
  background: #fff;
  color: var(--primary-color);
}

/* Contact & FAQ */
.contact-faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media(min-width: 1024px) {
  .contact-faq-grid { grid-template-columns: 1fr 1fr; }
}
.contact-info, .contact-form-wrap { padding: 32px; }
.info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
  align-items: flex-start;
}
.info-item i {
  font-size: 20px;
  color: var(--accent-color);
  margin-top: 4px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-group label { font-size: 14px; font-weight: 600; }
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-family: inherit;
}
.checkbox-group {
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
}
.checkbox-group input { margin-top: 4px; }
.checkbox-group label { font-size: 12px; font-weight: normal; }

.faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media(min-width: 768px) {
  .faq-grid { grid-template-columns: repeat(2, 1fr); }
}
.faq-card { padding: 24px; }
.faq-card h3 { margin-bottom: 10px; }

/* Footer */
footer {
  background: var(--dark-color);
  color: #fff;
  padding: 40px 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}
@media(min-width: 768px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}
footer img[alt="logo"] { filter: brightness(0) invert(1); max-height: 36px; }
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}
.footer-nav a {
  color: #ccc;
  text-decoration: none;
  font-size: 14px;
}
.footer-nav a:hover { color: #fff; }
.footer-copy { font-size: 13px; color: #888; }