:root {
  /* Calming Teal & Professional Palette */

  /* Primary Colors */
  --soft-teal: #7DBDB6;
  /* Calming, trustworthy main color */
  --soft-teal-alt: #6FB3AD;
  /* Alternative soft teal */
  --dusty-blue: #8BA5B0;
  /* Professional accent */
  --dusty-blue-alt: #B89AB2;
  /* Alternative dusty blue */
  --warm-cream: #FFF9F4;
  /* Soft background */
  --warm-cream-alt: #FAF7F2;
  /* Alternative warm cream */

  /* Secondary/Accent Colors */
  --coral-peach: #F0A693;
  /* Energetic CTAs and highlights */
  --coral-peach-alt: #E89B88;
  /* Alternative coral/peach */
  --sage-green: #A8BAA3;
  /* Secondary accent for variety */
  --deep-teal: #4A8B88;
  /* For headers or important text */
  --deep-teal-alt: #307B7A;
  /* Alternative deep teal */

  /* Neutrals */
  --warm-taupe: #E6DF08;
  /* Section backgrounds */
  --charcoal: #2F3E46;
  /* Main body text */
  --soft-gray: #767676;
  /* Secondary text */

  /* Backgrounds */
  --desert-sand: #FFFFFF;
  /* Clean white background */
  --warm-beige: var(--warm-cream);
  /* Subtle off-white for sections */
  --cream: var(--warm-cream-alt);
  /* Section background */

  /* Text */
  --text-dark: var(--charcoal);
  /* Main body text */
  --text-light: var(--soft-gray);
  /* Secondary text */

  /* Functional mappings */
  --primary: var(--soft-teal);
  --primary-dark: var(--deep-teal);
  --accent: var(--coral-peach);
  --accent-dark: var(--coral-peach-alt);
  
  /* Legacy mappings for compatibility */
  --terracotta: var(--soft-teal);
  --sunset-orange: var(--coral-peach);
  --dark-clay: var(--deep-teal);
  --sage: var(--soft-teal);
  --sage-dark: var(--deep-teal);
  --rosegold: var(--coral-peach);
  --rosegold-dark: var(--coral-peach-alt);
  --soft-white: var(--warm-cream);
  --light-gray: #E5E5E5;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  background: var(--desert-sand);
  color: var(--text-dark);
  line-height: 1.8;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}

html {
  overflow-x: hidden;
  max-width: 100vw;
}

h1,
h2,
h3 {
  font-family: "Playfair Display", serif;
  color: var(--text-dark);
  font-weight: 700;
}

/* Section width to match scrolled navbar */
section {
  margin: 0 auto;
}

/* Utility classes */
.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: all 1s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.slide-in-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: all 0.8s ease-out;
}

.slide-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.slide-in-right {
  opacity: 0;
  transform: translateX(60px);
  transition: all 0.8s ease-out;
}

.slide-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Responsive */
@media (max-width: 1024px) {

  .about-section,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .hero-content h1 {
    font-size: 3rem;
  }

  .stats-float {
    flex-direction: column;
    gap: 1rem;
    bottom: 40px;
  }
}

@media (max-width: 768px) {
  nav {
    padding: 0 1.5rem;
  }

  .nav-links a {
    margin-left: 1.5rem;
    font-size: 0.85rem;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-content p {
    font-size: 1.1rem;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .section-title,
  .about-content h2,
  .services-content h2,
  .contact-content h2 {
    font-size: 2.5rem;
  }

  .stats-float {
    display: none;
  }
}

/* Temporary debug */
/* section {
  border: 2px solid red;
}

#hero-container {
  border: 2px solid blue;
} */