  /* ── Base & Utilities ── */
  *, *::before, *::after { box-sizing: border-box; }
  html { scroll-behavior: smooth; scroll-padding-top: 80px; }
  body { overflow-x: hidden; }

  /* ── Scroll Reveal ── */
  @media (prefers-reduced-motion: no-preference) {
    .reveal {
      opacity: 0;
      transform: translateY(30px);
      transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .reveal.revealed {
      opacity: 1;
      transform: translateY(0);
    }
  }

  @media (prefers-reduced-motion: reduce) {
    .reveal {
      opacity: 1;
      transform: none;
      transition: none;
    }
  }

  /* ── Floating Stat Cards Animation ── */
  @media (prefers-reduced-motion: no-preference) {
    .stat-card {
      animation: floatCard 6s ease-in-out infinite;
    }
    .card-1 { animation-delay: 0s; }
    .card-2 { animation-delay: -1.5s; }
    .card-3 { animation-delay: -3s; }
    .card-4 { animation-delay: -4.5s; }

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

  /* ── Navbar ── */
  #navbar {
    background: transparent;
  }
  #navbar.scrolled {
    background: rgba(15, 23, 42, 0.92);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
  }
  #navbar.scrolled .nav-link {
    color: rgba(255, 255, 255, 0.85) !important;
  }
  #navbar.scrolled .nav-link:hover {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.1) !important;
  }

  /* ── Custom Scrollbar ── */
  ::-webkit-scrollbar { width: 8px; }
  ::-webkit-scrollbar-track { background: #f1f5f9; }
  ::-webkit-scrollbar-thumb { background: #0d9488; border-radius: 4px; }
  ::-webkit-scrollbar-thumb:hover { background: #0f766e; }

  /* ── Selection ── */
  ::selection { background: rgba(13, 148, 136, 0.2); color: #134e4a; }

  /* ── Focus Styles ── */
  a:focus-visible, button:focus-visible, input:focus-visible {
    outline: 2px solid #14b8a6;
    outline-offset: 2px;
    border-radius: 4px;
  }

  /* ── Mobile Menu Transition ── */
  #mobile-menu {
    animation: slideDown 0.3s ease-out;
  }
  @keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
  }

  /* ── Gallery Grid ── */
  .grid.grid-cols-2.md\:grid-cols-4 > div {
    display: flex;
    flex-direction: column;
  }

  /* ── Testimonial Cards ── */
  .reveal.bg-slate-50 {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  .reveal.bg-slate-50:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  }

  /* ── Activity Cards ── */
  .group:hover .group-hover\:scale-105 {
    transform: scale(1.05);
  }

  /* ── Button Hover Effects ── */
  a[href^="tel"], button[type="submit"] {
    position: relative;
    overflow: hidden;
  }
  a[href^="tel"]::after, button[type="submit"]::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
  }
  a[href^="tel"]:hover::after, button[type="submit"]:hover::after {
    opacity: 1;
  }

  /* ── Image Loading ── */
  img {
    background-color: #e2e8f0;
    transition: opacity 0.3s ease;
  }
  img[loading="lazy"] {
    opacity: 0;
  }
  img.loaded {
    opacity: 1;
  }
