  /* ===== BASE & RESET ===== */
  *, *::before, *::after {
    box-sizing: border-box;
  }

  html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
  }

  body {
    overflow-x: hidden;
  }

  /* ===== NAVBAR ===== */
  .nav-logo-text {
    color: #0D7377;
    transition: color 0.4s ease;
  }

  .nav-logo-sub {
    color: #52a8a8;
    transition: color 0.4s ease;
  }

  #navbar.scrolled .nav-logo-text {
    color: #0D7377;
  }

  #navbar.scrolled .nav-logo-sub {
    color: #0D7377;
  }

  #navbar.scrolled {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.06);
  }

  #navbar.scrolled .nav-link {
    color: #4f3f36;
  }

  #navbar.scrolled .nav-link:hover {
    color: #0D7377;
  }

  #navbar.scrolled .menu-line {
    background: #0D7377;
  }

  /* ===== MOBILE MENU ===== */
  #mobileMenu.open {
    opacity: 1;
    pointer-events: all;
  }

  .mobile-link {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.3s ease, transform 0.3s ease;
  }

  #mobileMenu.open .mobile-link {
    opacity: 1;
    transform: translateY(0);
  }

  #mobileMenu.open .mobile-link:nth-child(1) { transition-delay: 0.05s; }
  #mobileMenu.open .mobile-link:nth-child(2) { transition-delay: 0.1s; }
  #mobileMenu.open .mobile-link:nth-child(3) { transition-delay: 0.15s; }
  #mobileMenu.open .mobile-link:nth-child(4) { transition-delay: 0.2s; }
  #mobileMenu.open .mobile-link:nth-child(5) { transition-delay: 0.25s; }

  /* Menu button animation */
  #menuBtn.active .menu-line:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  #menuBtn.active .menu-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }

  #menuBtn.active .menu-line:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
    width: 24px;
  }

  /* ===== FLOATING STAT CARDS ===== */
  .stat-card {
    animation: floatCard 4s ease-in-out infinite;
    will-change: transform;
  }

  @keyframes floatCard {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
  }

  /* ===== REVEAL ANIMATIONS ===== */
  .reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }

  .reveal[data-reveal] {
    opacity: 0;
    transform: translateY(24px);
  }

  .reveal[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
  }

  /* ===== HERO TEXT ANIMATION ===== */
  #hero h1 {
    animation: heroFadeIn 1s ease forwards;
  }

  #hero p {
    animation: heroFadeIn 1s ease 0.2s forwards;
    opacity: 0;
  }

  #hero a {
    animation: heroFadeIn 1s ease 0.4s forwards;
    opacity: 0;
  }

  @keyframes heroFadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
  }

  /* ===== SCROLLBAR ===== */
  ::-webkit-scrollbar {
    width: 8px;
  }

  ::-webkit-scrollbar-track {
    background: #f5f0eb;
  }

  ::-webkit-scrollbar-thumb {
    background: #0D7377;
    border-radius: 4px;
  }

  ::-webkit-scrollbar-thumb:hover {
    background: #0a5c5f;
  }

  /* ===== REDUCED MOTION ===== */
  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
    }

    html {
      scroll-behavior: auto;
    }

    .reveal[data-reveal] {
      opacity: 1;
      transform: none;
    }

    .stat-card {
      animation: none;
    }
  }

  /* ===== SELECTION ===== */
  ::selection {
    background: #0D7377;
    color: #fff;
  }
