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

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

  /* Selection color */
  ::selection {
    background-color: rgba(13, 148, 136, 0.2);
    color: #0f766e;
  }

  /* ========== NAVBAR ========== */
  #navbar {
    background: rgba(255, 255, 255, 0.0);
    transition: background 0.3s ease, box-shadow 0.3s ease;
  }

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

  #navbar.scrolled .nav-link {
    color: #475569;
  }

  /* ========== MOBILE MENU ========== */
  #mobile-menu {
    animation: slideDown 0.25s ease-out;
  }

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

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

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

  /* Staggered delays */
  .reveal:nth-child(1)  { transition-delay: 0s; }
  .reveal:nth-child(2)  { transition-delay: 0.1s; }
  .reveal:nth-child(3)  { transition-delay: 0.2s; }
  .reveal:nth-child(4)  { transition-delay: 0.3s; }
  .reveal:nth-child(5)  { transition-delay: 0.4s; }
  .reveal:nth-child(6)  { transition-delay: 0.5s; }

  /* Reduced motion */
  @media (prefers-reduced-motion: reduce) {
    .reveal {
      opacity: 1;
      transform: none;
      transition: none;
    }
    html {
      scroll-behavior: auto;
    }
  }

  /* ========== BACK TO TOP ========== */
  #back-to-top.visible {
    opacity: 1;
    pointer-events: auto;
  }

  /* ========== GALLERY HOVER ========== */
  .group:hover img {
    transform: scale(1.05);
  }

  /* ========== FORM FOCUS ========== */
  input:focus,
  textarea:focus {
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.15);
  }

  /* ========== BUTTON RIPPLE ========== */
  button, a {
    -webkit-tap-highlight-color: transparent;
  }

  /* ========== TEAL GRADIENT ACCENT ========== */
  .teal-gradient {
    background: linear-gradient(135deg, #0d9488 0%, #14b8a6 50%, #2dd4bf 100%);
  }

  /* ========== SMOOTH CARD BORDER ========== */
  .rounded-3xl {
    border-radius: 1.5rem;
  }

  /* ========== SUBTLE PATTERN ========== */
  body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: radial-gradient(circle at 1px 1px, rgba(13, 148, 136, 0.03) 1px, transparent 0);
    background-size: 40px 40px;
    pointer-events: none;
    z-index: -1;
  }
