:root {
  /* Colors */
  --color-primary: #114232; /* Deep Green */
  --color-primary-light: #1b5b46;
  --color-secondary: #d4af37; /* Subtle Gold */
  --color-secondary-hover: #e0be50;
  --color-bg: #f9f8f4; /* Beige / Off-white */
  --color-bg-alt: #f1efea;
  --color-white: #ffffff;
  --color-text-main: #1d1d1f;
  --color-text-muted: #6e6e73;
  --color-border: rgba(17, 66, 50, 0.1);
  --color-error: #d93025;

  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Radii */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  /* Shadows (Soft & Premium) */
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.12);
  --shadow-glow: 0 0 20px rgba(212, 175, 55, 0.4); /* Gold glow */

  /* Glassmorphism */
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 255, 255, 0.5);

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.25, 1, 0.5, 1);
  --transition-normal: 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  --transition-slow: 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--color-text-main);
  background-color: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Typography Utilities */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.1;
  color: var(--color-primary);
  margin-bottom: 0.5em;
}

p {
  margin-bottom: 1rem;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-primary-light);
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 6rem 0;
}

.section-light {
  background-color: var(--color-white);
}

.text-center {
  text-align: center;
}

/* Flex Utilities */
.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.items-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.gap-sm { gap: 1rem; }
.gap-md { gap: 2rem; }
.gap-lg { gap: 4rem; }

/* Grid Utilities */
.grid {
  display: grid;
}

.grid-cols-1 { grid-template-columns: 1fr; }
@media (min-width: 768px) {
  .md\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 992px) {
  .owner-grid { grid-template-columns: 4.5fr 5.5fr; }
}

/* Animations */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Specific Page Sections */
/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.25rem 0;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
  transition: background var(--transition-fast), padding var(--transition-fast);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  padding: 1rem 0;
  box-shadow: var(--shadow-sm);
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo span {
  color: var(--color-secondary);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 5rem;
  background-image: url('assets/hero-bg.png');
  background-size: cover;
  background-position: center top;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(17, 66, 50, 0.9) 0%, rgba(17, 66, 50, 0.6) 100%);
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 992px) {
  .hero .container {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

.hero-content h1 {
  color: var(--color-white);
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 1.5rem;
  line-height: 1.1;
  text-wrap: balance;
}

#animated-word {
  display: inline-block;
  transition: opacity 0.15s ease-in-out;
}

.hero-content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.25rem;
  margin-bottom: 2rem;
  max-width: 500px;
}

.hero-features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.hero-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--color-white);
  font-weight: 500;
}

.hero-feature svg {
  color: var(--color-secondary);
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

/* Features/Steps */
.step-number {
  background-color: var(--color-primary);
  color: var(--color-white);
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

/* Footer */
.footer {
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.footer-nav ul {
  list-style: none;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.8);
}

.footer-nav a:hover {
  color: var(--color-secondary);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  text-align: center;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
}

/* Testimonial Carousel */
.testimonial-carousel-container {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.carousel-prev, .carousel-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  box-shadow: var(--shadow-sm);
  color: var(--color-primary);
  transition: all var(--transition-fast);
}

.carousel-prev { left: -24px; }
.carousel-next { right: -24px; }

.carousel-prev:hover, .carousel-next:hover {
  background-color: var(--color-primary);
  color: var(--color-secondary);
  box-shadow: var(--shadow-md);
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2.5rem;
}

.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(17, 66, 50, 0.2);
  border: none;
  cursor: pointer;
  transition: background-color var(--transition-fast), transform var(--transition-fast);
}

.carousel-dot.active {
  background-color: var(--color-secondary);
  transform: scale(1.3);
}

/* Interactive Map */
.us-interactive-map {
  display: block;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.05));
}

.us-interactive-map .state {
  fill: #a8cfbd; /* Light muted green for non-highlighted */
  transition: fill var(--transition-fast), filter var(--transition-fast);
}

.us-interactive-map .borders {
  stroke: var(--color-white);
  stroke-width: 1.5px;
}

.us-interactive-map .separator1 {
  stroke: var(--color-border);
  stroke-width: 2px;
}

.us-interactive-map path {
  outline: none;
}

/* Highlighted States */
.us-interactive-map .highlighted {
  fill: var(--color-secondary);
  cursor: pointer;
}

.us-interactive-map .highlighted:hover {
  fill: var(--color-secondary-hover);
  filter: brightness(0.9);
}

/* Map Tooltip */
.map-tooltip {
  position: absolute;
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.1s ease;
  transform: translate(-50%, -100%);
  margin-top: -10px;
  box-shadow: var(--shadow-md);
  z-index: 100;
  white-space: nowrap;
}

.map-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 6px;
  border-style: solid;
  border-color: var(--color-primary) transparent transparent transparent;
}

/* Floating Mobile CTA */
.floating-mobile-cta {
  display: none;
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background-color: var(--color-secondary);
  color: var(--color-primary);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.125rem;
  padding: 1rem 2rem;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  z-index: 999;
  text-align: center;
  width: calc(100% - 40px);
  max-width: 400px;
  opacity: 0;
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.6s ease-out;
}

.floating-mobile-cta.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

@media (max-width: 768px) {
  .floating-mobile-cta {
    display: block;
  }
  .carousel-prev, .carousel-next {
    display: none;
  }
}

/* Sister Company Section */
.sister-company-section {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 0;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://images.unsplash.com/photo-1500534314209-a25ddb2bd429?w=1600');
  background-size: cover;
  background-position: center;
}

.sister-company-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 60px;
  max-width: 700px;
  margin: 0 auto;
}

.sister-company-btn {
  display: inline-block;
  background-color: var(--color-secondary);
  color: var(--color-text-main);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.125rem;
  padding: 0.875rem 2.5rem;
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
  border: none;
}

.sister-company-btn:hover {
  background-color: var(--color-secondary-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
  color: var(--color-text-main);
}

/* Mobile Responsiveness Additions */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--color-primary);
  width: 32px;
  height: 32px;
  cursor: pointer;
}

@media (max-width: 768px) {
  /* Navbar */
  .mobile-menu-btn {
    display: block;
  }
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--color-white);
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
    gap: 1.5rem;
    align-items: flex-start;
  }
  .nav-links.active {
    display: flex;
  }
  
  /* Heading font sizes */
  h2, .section h2 {
    font-size: 32px !important;
  }
  #lead-form-section h2 {
    font-size: 28px !important;
  }

  /* Hero Section Mobile */
  .hero {
    padding-top: 7rem !important;
  }
  .hero-content h1 {
    font-size: 42px !important;
  }

  /* Owner Photo */
  .owner-photo {
    width: 100% !important;
    max-height: 400px !important;
    object-fit: cover !important;
    object-position: center top !important;
  }

  /* Sister Company */
  .sister-company-card {
    padding: 2rem !important;
  }
}


