/* palette: teal-gold */
@property --count { syntax:'<integer>'; initial-value:0; inherits:false; }

:root {
  --primary-color: #004D40;
  --secondary-color: #006B5C;
  --accent-color: #C9A227;
  --background-color: #F0FAFE;
  --dark-color: #111111;
  --text-color: #333333;
  --border-color: rgba(255,255,255,0.12);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.2);
  --shadow-md: 0 4px 24px rgba(0,0,0,0.3);
  --shadow-lg: 0 8px 48px rgba(0,0,0,0.4);
  --radius-sm: 6px; --radius-md: 12px; --radius-lg: 20px; --radius-xl: 32px;
  --main-font: 'Nunito', sans-serif;
  --alt-font: 'Noto Sans', sans-serif;
}

/* Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  overflow-x: hidden;
  font-family: var(--alt-font);
  scroll-behavior: smooth;
}

/* DARK-PRO PRESET (LITERAL RULES) */
body,html{background:var(--secondary-color);color:#F0F0F0} 
section{background:var(--secondary-color);padding:72px 16px} 
@media(min-width:1024px){section{padding:88px 24px}} 
.card{background:rgba(255,255,255,0.06);border-top:3px solid var(--accent-color);border-radius:8px} 
p,.subtitle{color:rgba(240,240,240,0.75)} 
.btn:hover,.btn:focus{box-shadow:0 0 24px var(--accent-color)} 
section+section{border-top:1px solid rgba(255,255,255,0.08)}

/* Typography Scale */
h1 {
  font-size: clamp(32px, 6vw, 64px);
  font-weight: 700;
  line-height: 1.1;
  font-family: var(--main-font);
  color: #FFFFFF;
}

h2 {
  font-size: clamp(24px, 4vw, 42px);
  font-weight: 700;
  line-height: 1.2;
  font-family: var(--main-font);
  color: #FFFFFF;
  margin-bottom: 24px;
}

h3 {
  font-size: clamp(18px, 2.8vw, 28px);
  font-weight: 600;
  line-height: 1.3;
  font-family: var(--main-font);
  color: #FFFFFF;
}

p {
  font-size: clamp(14px, 1.6vw, 17px);
  line-height: 1.7;
}

.kicker {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-color);
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
}

/* Header Styles */
header {
  position: relative;
  background: var(--primary-color);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 16px;
  z-index: 1000;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
}

header img {
  height: 40px;
  width: auto;
}

/* Burger Menu & Nav */
.burger-btn {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  cursor: pointer;
  z-index: 1001;
}

.burger-btn .bar {
  display: block;
  width: 100%;
  height: 3px;
  background-color: #FFFFFF;
  transition: transform 0.3s, opacity 0.3s;
}

.site-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--primary-color);
  padding: 24px;
  box-shadow: var(--shadow-lg);
  z-index: 999;
}

.site-nav ul {
  display: flex;
  flex-direction: column;
  gap: 16px;
  list-style: none;
}

.site-nav a {
  color: #FFFFFF;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: color 0.2s;
}

.site-nav a:hover {
  color: var(--accent-color);
}

#menu-toggle:checked ~ .site-nav {
  display: block;
}

#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);
}

@media (min-width: 768px) {
  .burger-btn {
    display: none;
  }
  .site-nav {
    display: flex !important;
    position: static;
    padding: 0;
    box-shadow: none;
    background: transparent;
  }
  .site-nav ul {
    flex-direction: row;
    gap: 24px;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 28px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
  cursor: pointer;
}

.btn-primary {
  background-color: var(--accent-color);
  color: var(--dark-color);
}

.btn-outline {
  border: 2px solid #FFFFFF;
  color: #FFFFFF;
}

.btn:hover {
  transform: translateY(-2px);
}

/* Morphing Blob Hero Section */
#hero {
  min-height: 90vh;
  background-color: var(--secondary-color);
}

.blob {
  position: absolute;
  width: min(600px, 90vw);
  height: min(600px, 90vw);
  background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
  opacity: 0.12;
  animation: blob-morph 8s ease-in-out infinite;
  z-index: 0;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

@keyframes blob-morph {
  0%, 100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
  25% { border-radius: 30% 60% 70% 40% / 50% 60% 30% 70%; }
  50% { border-radius: 50% 50% 40% 60% / 40% 50% 60% 50%; }
  75% { border-radius: 40% 60% 50% 50% / 60% 40% 50% 60%; }
}

/* Testimonial Wall */
.testimonial-wall {
  column-count: 1;
  column-gap: 24px;
}

@media (min-width: 768px) {
  .testimonial-wall {
    column-count: 2;
  }
}

@media (min-width: 1024px) {
  .testimonial-wall {
    column-count: 3;
  }
}

.testimonial-item {
  display: inline-block;
  width: 100%;
  padding: 24px;
  margin-bottom: 24px;
  transition: transform 0.25s, box-shadow 0.25s;
}

.testimonial-item:hover {
  transform: translateY(-4px);
}

.stars {
  color: var(--accent-color);
}

/* Stats Counter Block */
.stat-num {
  font-size: clamp(3rem, 8vw, 6rem);
  --target: 0;
  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); }
}

/* Expert Quote Section */
#quote {
  min-height: 320px;
  background-image: linear-gradient(rgba(0, 77, 64, 0.95), rgba(0, 107, 92, 0.95)), url('./img/bg.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

#quote p {
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-family: var(--main-font);
  line-height: 1.5;
  color: #FFFFFF;
}

.quote-icon {
  font-size: 6rem;
  color: var(--accent-color);
  opacity: 0.3;
  line-height: 1;
  height: 50px;
  margin-bottom: 20px;
}

/* Topic Cards & Icons */
.icon-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background-color: var(--accent-color);
  color: var(--dark-color);
}

.image-wrapper img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

/* Contact & FAQ */
.contact-form-block input, 
.contact-form-block textarea {
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-color);
  color: #FFFFFF;
  transition: border-color 0.2s;
}

.contact-form-block input:focus, 
.contact-form-block textarea:focus {
  outline: none;
  border-color: var(--accent-color);
}

/* Scroll Reveal */
@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%;
}

/* Footer */
footer {
  background: var(--primary-color);
  padding: 48px 16px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

footer img[alt="logo"] {
  filter: brightness(0) invert(1);
  height: 36px;
  width: auto;
}

.footer-nav a {
  color: rgba(240, 240, 240, 0.75);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-nav a:hover {
  color: var(--accent-color);
}

.bg-gray-100,
.bg-white,
.bg-white h3,
.bg-yellow-100,
.bg-blue-100,
.bg-red-100,
.bg-green-100,
.bg-gray-100 p,
.bg-white p,
.bg-yellow-100 p,
.bg-blue-100 p,
.bg-red-100 p,
.bg-green-100 p {
  color: #111A13;
}
/* Cascade Delays */
.card:nth-child(1){animation-delay:0s} 
.card:nth-child(2){animation-delay:.12s}
.card:nth-child(3){animation-delay:.24s} 
.card:nth-child(4){animation-delay:.36s}