/* palette: saffron-teal */
:root {
  --primary-color: #B08000;
  --secondary-color: #D4A000;
  --accent-color: #006064;
  --background-color: #FFF9E0;
  --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: 'DM Serif Display', serif;
  --alt-font: 'Inter', sans-serif;
}

/* Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--alt-font);
  background-color: var(--background-color);
  color: var(--text-color);
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: var(--main-font);
  color: var(--dark-color);
}

h1 {
  font-size: clamp(32px, 6vw, 64px);
  font-weight: 700;
  line-height: 1.15;
}

h2 {
  font-size: clamp(24px, 4vw, 42px);
  font-weight: 700;
  line-height: 1.2;
}

h3 {
  font-size: clamp(18px, 2.8vw, 28px);
  font-weight: 600;
  line-height: 1.3;
}

p {
  font-size: clamp(14px, 1.6vw, 17px);
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s ease;
}

/* 📱 MOBILE-FIRST BASE STYLES (320px+) */

/* SOFT-ORGANIC Preset Rules - Copied literally & expanded */
section {
  padding: 56px 16px;
  margin: 0;
}

@media(min-width:1024px) {
  section {
    padding: 72px 24px;
  }
}

body {
  line-height: 1.85;
}

.card {
  background-color: #ffffff;
  border-radius: 24px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05), 0 10px 40px rgba(0,0,0,0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.08), 0 16px 48px rgba(0,0,0,0.12);
}

.btn {
  border-radius: 9999px;
  padding: 14px 32px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  text-align: center;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background-color: var(--accent-color);
  color: #ffffff;
}

.btn-primary:hover {
  background-color: #004d4f;
  box-shadow: 0 4px 12px rgba(0, 96, 100, 0.3);
}

.btn-outline {
  border: 2px solid var(--accent-color);
  color: var(--accent-color);
  background-color: transparent;
}

.btn-outline:hover {
  background-color: rgba(0, 96, 100, 0.05);
}

.icon-circle {
  width: 52px;
  height: 52px;
  min-width: 52px;
  border-radius: 50%;
  background: var(--accent-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.5rem;
}

/* Header & Mobile Nav */
header {
  background-color: #ffffff;
  border-bottom: 1px solid var(--border-color);
  position: relative;
  z-index: 1000;
}

header .logo img {
  height: 40px;
  width: auto;
}

.burger-btn {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
  z-index: 1001;
}

.burger-btn .bar {
  width: 100%;
  height: 3px;
  background-color: var(--dark-color);
  border-radius: 3px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.site-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: #ffffff;
  border-bottom: 2px solid var(--primary-color);
  padding: 20px;
  box-shadow: var(--shadow-md);
  z-index: 999;
}

.site-nav ul {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.site-nav a {
  font-weight: 600;
  font-size: 16px;
  display: block;
  padding: 8px 0;
}

.site-nav a:hover {
  color: var(--primary-color);
}

#menu-toggle:checked ~ .site-nav {
  display: block;
}

/* Burger Animation when checked */
#menu-toggle:checked ~ .burger-btn .bar:first-child {
  transform: translateY(9px) rotate(45deg);
}

#menu-toggle:checked ~ .burger-btn .bar:nth-child(2) {
  opacity: 0;
}

#menu-toggle:checked ~ .burger-btn .bar:last-child {
  transform: translateY(-9px) rotate(-45deg);
}

/* 🎬 ANIMATIONS */

/* 1. Progress-bar animation */
@property --bar {
  syntax: '<integer>';
  initial-value: 0;
  inherits: false;
}

.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: var(--border-color);
  border-radius: 999px;
  overflow: hidden;
}

/* 2. Scroll-reveal sections */
@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%;
}

/* 3. Cascade Delay for Cards */
.card:nth-child(1) { animation-delay: 0s; }
.card:nth-child(2) { animation-delay: 0.12s; }
.card:nth-child(3) { animation-delay: 0.24s; }
.card:nth-child(4) { animation-delay: 0.36s; }

/* 4. Blob-morphing (Morphing Blob Hero) */
@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%;
  }
}

/* Section Kickers & Titles */
.section-kicker {
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--primary-color);
  font-weight: 700;
  display: block;
  margin-bottom: 8px;
}

.section-title {
  margin-bottom: 16px;
  color: var(--dark-color);
}

.section-desc {
  max-width: 600px;
  margin: 0 auto;
  color: #666666;
}

/* HERO SECTION (morphing-blob) */
.hero-section {
  min-height: 86vh;
  background-color: var(--background-color);
  padding: 80px 16px;
  text-align: center;
}

.hero-section .blob {
  position: absolute;
  width: min(500px, 85vw);
  height: min(500px, 85vw);
  background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
  opacity: 0.15;
  animation: blob-morph 8s ease-in-out infinite;
  z-index: 1;
}

.hero-content {
  max-width: 800px;
}

.hero-title {
  margin-bottom: 24px;
}

.hero-subtitle {
  color: #555555;
  max-width: 650px;
  margin: 0 auto;
}

/* TIMELINE SECTION */
.timeline-container {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding-left: 24px;
  border-left: 3px dashed var(--secondary-color);
}

.timeline-item {
  position: relative;
}

.timeline-badge {
  position: absolute;
  left: -40px;
  top: 12px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
}

.timeline-content {
  padding: 24px;
}

.timeline-content h3 {
  margin-bottom: 12px;
  font-size: 20px;
}

/* ABOUT SECTION */
.about-img {
  border-radius: var(--radius-lg);
  max-height: 480px;
  width: 100%;
  object-fit: cover;
}

.about-list li {
  font-weight: 600;
  display: flex;
  align-items: center;
}

.text-accent {
  color: var(--accent-color);
}

/* TESTIMONIALS SECTION */
.testimonial-wall {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.testimonial-card {
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-text {
  font-style: italic;
  color: #444444;
}

.author-info {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--border-color);
  padding-top: 12px;
  font-size: 13px;
}

.author-name {
  font-weight: 700;
  color: var(--dark-color);
}

.author-city {
  color: #777777;
}

/* STATS STRIP SECTION */
.stats-strip-section {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  padding: 48px 16px;
}

.stat-number {
  font-family: var(--main-font);
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 1;
  display: block;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 14px;
  opacity: 0.9;
}

/* CONTACT + FAQ SECTION */
.contact-faq-section {
  background-color: #ffffff;
}

.form-input {
  border: 1px solid var(--border-color);
  background-color: var(--background-color);
  font-family: var(--alt-font);
  font-size: 14px;
  color: var(--dark-color);
  transition: border-color 0.2s ease;
}

.form-input:focus {
  outline: none;
  border-color: var(--accent-color);
}

.faq-item {
  box-shadow: var(--shadow-sm);
}

/* FOOTER */
footer {
  background-color: var(--dark-color);
  color: #f5f5f5;
  border-top: 4px solid var(--primary-color);
}

footer img {
  height: 36px;
  filter: brightness(0) invert(1);
}

footer a:hover {
  color: var(--secondary-color);
}

/* 💻 DESKTOP MEDIA QUERIES (768px+ and 1024px+) */
@media (min-width: 768px) {
  .burger-btn {
    display: none;
  }

  .site-nav {
    display: flex !important;
    position: static;
    background-color: transparent;
    border-bottom: none;
    padding: 0;
    box-shadow: none;
  }

  .site-nav ul {
    flex-direction: row;
    gap: 24px;
  }

  .site-nav a {
    padding: 0;
  }

  /* Timeline Desktop */
  .timeline-container {
    padding-left: 0;
    border-left: none;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }

  .timeline-container::before {
    content: '';
    position: absolute;
    top: 28px;
    left: 10%;
    right: 10%;
    height: 3px;
    background-color: var(--secondary-color);
    z-index: 1;
  }

  .timeline-badge {
    position: static;
    margin: 0 auto 16px auto;
    z-index: 2;
  }

  /* Testimonial Wall Grid */
  .testimonial-wall {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .testimonial-wall {
    grid-template-columns: repeat(3, 1fr);
  }

  .stats-strip-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}