  /* ========== CUSTOM STYLES ========== */

  /* Smooth scrolling */
  html {
    scroll-behavior: smooth;
  }

  /* Selection color */
  ::selection {
    background-color: #99f6e4;
    color: #134e4a;
  }

  /* ========== NAVBAR ========== */
  #navbar {
    background: transparent;
    transition: background 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
  }

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

  /* ========== SCROLL REVEAL ========== */
  .scroll-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  }

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

    .scroll-reveal.revealed {
      opacity: 1;
      transform: translateY(0);
    }
  }

  /* Stagger delays */
  .scroll-reveal[data-delay="1"] { transition-delay: 0.1s; }
  .scroll-reveal[data-delay="2"] { transition-delay: 0.2s; }
  .scroll-reveal[data-delay="3"] { transition-delay: 0.3s; }
  .scroll-reveal[data-delay="4"] { transition-delay: 0.4s; }

  /* ========== MOBILE MENU ========== */
  #mobile-menu {
    animation: slideDown 0.25s cubic-bezier(0.22, 1, 0.36, 1);
  }

  @keyframes slideDown {
    from {
      opacity: 0;
      transform: translateY(-8px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  /* ========== BUTTON HOVER EFFECTS ========== */
  a[href="#contact"],
  button[type="submit"] {
    position: relative;
    overflow: hidden;
  }

  a[href="#contact"]::after,
  button[type="submit"]::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.2s ease;
  }

  a[href="#contact"]:hover::after,
  button[type="submit"]:hover::after {
    opacity: 1;
  }

  /* ========== IMAGE HOVER ========== */
  .group img {
    will-change: transform;
  }

  /* ========== FOCUS STYLES ========== */
  input:focus,
  textarea:focus,
  select:focus {
    outline: none;
  }

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

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

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

  ::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
  }

  /* ========== HERO IMAGE ========== */
  .hero-img-float {
    animation: float 6s ease-in-out infinite;
  }

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

  /* ========== LOADING STATE ========== */
  .btn-loading {
    pointer-events: none;
    opacity: 0.7;
  }

  .btn-loading::after {
    content: '';
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255,255,255,0.4);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
  }

  @keyframes spin {
    to { transform: rotate(360deg); }
  }
