  /* Base */
  *, *::before, *::after {
    box-sizing: border-box;
  }

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

  body {
    overflow-x: hidden;
  }

  /* Scroll Animations */
  .scroll-animate {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }

  @media (prefers-reduced-motion: no-preference) {
    .scroll-animate {
      opacity: 0;
      transform: translateY(30px);
    }

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

  /* Staggered delays */
  .scroll-animate:nth-child(1) { transition-delay: 0.05s; }
  .scroll-animate:nth-child(2) { transition-delay: 0.1s; }
  .scroll-animate:nth-child(3) { transition-delay: 0.15s; }
  .scroll-animate:nth-child(4) { transition-delay: 0.2s; }
  .scroll-animate:nth-child(5) { transition-delay: 0.25s; }
  .scroll-animate:nth-child(6) { transition-delay: 0.3s; }

  /* Custom scrollbar */
  ::-webkit-scrollbar {
    width: 8px;
  }
  ::-webkit-scrollbar-track {
    background: #020617;
  }
  ::-webkit-scrollbar-thumb {
    background: #1e293b;
    border-radius: 4px;
  }
  ::-webkit-scrollbar-thumb:hover {
    background: #334155;
  }

  /* Gold gradient text helper */
  .gold-gradient-text {
    background: linear-gradient(135deg, #f0d4a8, #d4a574, #c4945a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }

  /* Selection */
  ::selection {
    background: rgba(45, 212, 191, 0.3);
    color: #f0fdfa;
  }

  /* Select styling */
  select option {
    background: #0f172a;
    color: #e2e8f0;
  }

  /* Mobile menu animation */
  #mobile-menu {
    animation: slideDown 0.3s ease forwards;
  }

  @keyframes slideDown {
    from {
      opacity: 0;
      max-height: 0;
    }
    to {
      opacity: 1;
      max-height: 400px;
    }
  }

  /* Navbar glass effect when scrolled */
  #navbar.scrolled {
    background: rgba(2, 6, 23, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(45, 212, 191, 0.1);
  }

  /* Gallery hover overlay */
  .group img {
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  }

  /* Input autofill styling */
  input:-webkit-autofill,
  textarea:-webkit-autofill,
  select:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 30px #0f172a inset !important;
    -webkit-text-fill-color: #f1f5f9 !important;
  }
