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

  /* ── Navbar ── */
  #nav {
    background: transparent;
    transition: background 0.4s ease, box-shadow 0.4s ease, backdrop-filter 0.4s ease;
  }
  #nav.scrolled {
    background: rgba(254, 253, 248, 0.88);
    backdrop-filter: blur(16px);
    box-shadow: 0 1px 20px rgba(16, 185, 129, 0.08);
  }
  .nav-link::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: #10b981;
    transition: width 0.3s ease;
  }
  .nav-link:hover::after { width: 100%; }
  .nav-link { position: relative; }
  .nav-link::after { margin-top: 2px; }

  /* ── Floating Cards ── */
  @keyframes float-slow {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
  }
  @keyframes float-medium {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-7px); }
  }
  @keyframes float-fast {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-5px); }
  }
  .animate-float-slow { animation: float-slow 4s ease-in-out infinite; }
  .animate-float-medium { animation: float-medium 3s ease-in-out infinite 0.5s; }
  .animate-float-fast { animation: float-fast 2.5s ease-in-out infinite 1s; }

  /* ── Service Cards ── */
  .service-card {
    position: relative;
    overflow: hidden;
  }
  .service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #10b981, #34d399);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
  }
  .service-card:hover::before { transform: scaleX(1); }
  .service-card:hover { transform: translateY(-4px); box-shadow: 0 20px 60px rgba(16, 185, 129, 0.12); }

  /* ── Testimonial Cards ── */
  .testimonial-card {
    transition: transform 0.3s ease, background 0.3s ease;
  }
  .testimonial-card:hover { transform: translateY(-6px); }

  /* ── Scroll Reveal ── */
  .reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
  }
  .reveal.visible {
    opacity: 1;
    transform: translateY(0);
  }
  .reveal-delay-1 { transition-delay: 0.1s; }
  .reveal-delay-2 { transition-delay: 0.2s; }
  .reveal-delay-3 { transition-delay: 0.3s; }
  .reveal-delay-4 { transition-delay: 0.4s; }
  .reveal-delay-5 { transition-delay: 0.5s; }

  /* ── Mobile Menu ── */
  #mobile-menu.open {
    opacity: 1;
    pointer-events: all;
  }

  /* ── Custom Scrollbar ── */
  ::-webkit-scrollbar { width: 8px; }
  ::-webkit-scrollbar-track { background: #fefdf8; }
  ::-webkit-scrollbar-thumb { background: #a7f3d0; border-radius: 4px; }
  ::-webkit-scrollbar-thumb:hover { background: #34d399; }

  /* ── Selection ── */
  ::selection { background: #d1fae5; color: #064e3b; }

  /* ── Input autofill ── */
  input:-webkit-autofill,
  textarea:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 30px #fdf9ef inset !important;
    -webkit-text-fill-color: #1f2937 !important;
  }
