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

  ::selection {
    background: rgba(95, 184, 138, 0.3);
    color: #10213a;
  }

  /* ─── Scroll Reveal (progressive enhancement) ─── */
  @media (prefers-reduced-motion: no-preference) {
    .reveal {
      opacity: 0;
      transform: translateY(32px);
      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);
    }
    .reveal:nth-child(2) { transition-delay: 0.1s; }
    .reveal:nth-child(3) { transition-delay: 0.2s; }
    .reveal:nth-child(4) { transition-delay: 0.3s; }
  }

  /* ─── Floating Card Animations ─── */
  @media (prefers-reduced-motion: no-preference) {
    .floating-card {
      animation: float 6s ease-in-out infinite;
    }
    .card-1 { animation-delay: 0s; }
    .card-2 { animation-delay: -2s; }
    .card-3 { animation-delay: -4s; }
  }

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

  /* ─── Scroll Indicator ─── */
  @media (prefers-reduced-motion: no-preference) {
    .animate-scroll-indicator {
      animation: scrollDown 1.5s ease-in-out infinite;
    }
    @keyframes scrollDown {
      0% { top: -16px; opacity: 0; }
      50% { opacity: 1; }
      100% { top: 48px; opacity: 0; }
    }
  }

  /* ─── Navbar ─── */
  #navbar {
    background: transparent;
    transition: background 0.4s ease, box-shadow 0.4s ease, backdrop-filter 0.4s ease;
  }
  #navbar.scrolled {
    background: rgba(240, 243, 249, 0.92);
    backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(16, 33, 58, 0.08);
  }

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

  /* ─── Nav Links Hover ─── */
  .nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: #5fb88a;
    transition: width 0.3s ease;
  }
  .nav-link {
    position: relative;
  }
  .nav-link:hover::after {
    width: 100%;
  }

  /* ─── Custom Scrollbar ─── */
  ::-webkit-scrollbar { width: 8px; }
  ::-webkit-scrollbar-track { background: #f0f3f9; }
  ::-webkit-scrollbar-thumb { background: #95d4b6; border-radius: 4px; }
  ::-webkit-scrollbar-thumb:hover { background: #5fb88a; }

  /* ─── Divider Accent ─── */
  .section-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(95, 184, 138, 0.3), transparent);
  }

  /* ─── Image Hover Zoom Container ─── */
  .overflow-hidden {
    position: relative;
  }
  .overflow-hidden img {
    will-change: transform;
  }

  /* ─── Print Styles ─── */
  @media print {
    nav, #contact, .floating-card { display: none; }
    body { color: #000; background: #fff; }
  }
