/* palette: charcoal-teal */
:root {
  --primary-color: #1C2A35;
  --secondary-color: #37474F;
  --accent-color: #00695C;
  --background-color: #F5F8F8;
  --dark-color: #111111;
  --text-color: #333333;
  --border-color: rgba(0,0,0,0.15);
  --shadow-color: rgba(0,0,0,0.1);
  --main-font: 'Nunito', sans-serif;
  --alt-font: 'DM Sans', sans-serif;
}

/* SOFT-ORGANIC Key presets */
.card {
  border-radius: 24px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05), 0 10px 40px rgba(0,0,0,0.08);
  background: #ffffff;
  transition: transform 0.25s, box-shadow 0.25s;
}
.card:hover {
  transform: translateY(-4px);
}
.btn {
  border-radius: 9999px;
  transition: transform 0.15s, box-shadow 0.15s;
}
.btn:hover {
  transform: translateY(-2px);
}
.icon-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent-color);
  display: flex;
  align-items: center;
  justify-content: center;
}
body {
  line-height: 1.8;
  font-family: var(--alt-font);
  background-color: var(--background-color);
  color: var(--text-color);
  overflow-x: hidden;
}

/* Typography Scale */
h1 {
  font-size: clamp(32px, 6vw, 64px);
  font-weight: 700;
  line-height: 1.2;
}
h2 {
  font-size: clamp(24px, 4vw, 42px);
  font-weight: 700;
  line-height: 1.3;
}
h3 {
  font-size: clamp(18px, 2.8vw, 28px);
  font-weight: 600;
  line-height: 1.4;
}
h4 {
  font-size: clamp(15px, 2vw, 20px);
  font-weight: 600;
}
p {
  font-size: clamp(14px, 1.6vw, 17px);
  line-height: 1.8;
}

.font-heading {
  font-family: var(--main-font);
  color: var(--primary-color);
}
.font-text {
  font-family: var(--alt-font);
}

/* Hero Animation */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.hero-content {
  animation: fadeUp 0.8s ease-out forwards;
}

/* Scroll-reveal (Chrome 115+) */
@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%;
}

/* 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; }
.card:nth-child(5) { animation-delay: 0.48s; }

/* Buttons */
.btn-primary {
  background-color: var(--accent-color);
  color: #ffffff;
}
.btn-primary:hover {
  background-color: #004d40;
  box-shadow: 0 10px 20px rgba(0, 105, 92, 0.2);
}

/* Header & Mobile Burger Menu */
.site-header {
  background: var(--secondary-color);
  position: relative;
  width: 100%;
  z-index: 1000;
}
.header-inner {
  display: flex;
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 24px;
  justify-content: space-between;
  align-items: center;
}
.site-header .logo img {
  max-height: 44px;
  width: auto;
}
.burger-btn {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 16px;
  min-width: 44px;
  min-height: 44px;
  padding: 14px 10px;
  cursor: pointer;
}
.burger-btn .bar {
  display: block;
  width: 24px;
  height: 2px;
  background-color: #ffffff;
  transition: transform 0.28s, opacity 0.28s;
}
.site-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--secondary-color);
  z-index: 999;
  padding: 16px 24px;
  box-shadow: 0 10px 15px rgba(0,0,0,0.1);
}
.site-nav ul {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.site-nav a {
  color: #ffffff;
  font-weight: 500;
  transition: opacity 0.2s;
}
.site-nav a:hover {
  opacity: 0.8;
}

#menu-toggle:checked ~ .site-nav {
  display: block;
}
#menu-toggle:checked ~ .burger-btn .bar:first-child {
  transform: translateY(7px) rotate(45deg);
}
#menu-toggle:checked ~ .burger-btn .bar:nth-child(2) {
  opacity: 0;
}
#menu-toggle:checked ~ .burger-btn .bar:last-child {
  transform: translateY(-7px) rotate(-45deg);
}

@media (min-width: 768px) {
  .burger-btn {
    display: none;
  }
  .site-nav {
    display: flex !important;
    position: static;
    padding: 0;
    box-shadow: none;
  }
  .site-nav ul {
    flex-direction: row;
    gap: 24px;
  }
}

/* Hero Section Styles */
.hero-section {
  min-height: 72vh;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: #ffffff;
  position: relative;
  padding: 0;
}
.hero-section h1 {
  color: #ffffff;
}
.circle-image-container {
  width: clamp(280px, 40vw, 450px);
  height: clamp(280px, 40vw, 450px);
  border-radius: 50%;
  overflow: hidden;
  border: 8px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}
.hero-circle-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Grids Mobile-First */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .features-grid > .card:nth-child(4),
  .features-grid > .card:nth-child(5) {
    grid-column: span 1;
  }
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 768px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 768px) {
  .faq-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* About Section */
.about-img {
  border-radius: 32px;
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Stats Section */
.stat-number {
  font-size: clamp(48px, 6vw, 72px);
  font-weight: 700;
  color: #ffffff;
}

/* Footer logo filter */
footer img[alt="logo"] {
  filter: brightness(0) invert(1);
  max-height: 44px;
  width: auto;
}

#stats,
.site-footer {
  background: var(--accent-color);
}

/* Section paddings & containers */
section {
  padding: 48px 16px;
}
@media (min-width: 768px) {
  section {
    padding: 80px 24px;
  }
}
.container {
  max-width: 1200px;
  margin: 0 auto;
}