:where([class^="ri-"])::before {
  content: "\f3c2";
}
html{
    scroll-behavior: smooth;
overflow-x: hidden !important;
}
body {
  background-color: #121212;
  color: #ffffff;
  font-family: "Space Grotesk", sans-serif;
  overflow-x: hidden !important;
}
.headline {
  font-family: "Bodoni Moda", serif;
}
.custom-cursor {
  position: fixed;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: rgba(255, 215, 0, 0.5);
  pointer-events: none;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
  z-index: 9999;
  transition: width 0.3s, height 0.3s;
}
.cursor-trail {
  position: fixed;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: rgba(255, 215, 0, 0.3);
  pointer-events: none;
  z-index: 9998;
  transition: opacity 0.5s;
}
.nav-item {
  position: relative;
  overflow: hidden;
}
.nav-item::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: #dc143c;
  transition: width 0.3s ease;
}
.nav-item:hover::after {
  width: 100%;
}
.diagonal-section {
  clip-path: polygon(0 0, 100% 10%, 100% 90%, 0 100%);
  padding: 10% 0;
}
.reverse-diagonal {
  clip-path: polygon(0 10%, 100% 0, 100% 100%, 0 90%);
  padding: 10% 0;
}
.project-card {
  transition: transform 0.5s, box-shadow 0.5s;
}
.project-card:hover {
  transform: translateY(-10px) rotate(2deg);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3);
}
.floating {
  animation: floating 3s ease-in-out infinite;
}
@keyframes floating {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-15px);
  }
  100% {
    transform: translateY(0px);
  }
}
.spotlight {
  position: relative;
  overflow: hidden;
}
.spotlight::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(0, 0, 0, 0) 70%
  );
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
}
.spotlight:hover::before {
  opacity: 1;
}
.pulse-button {
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}
.curved-text {
  position: relative;
  height: 200px;
  width: 100%;
}
.curved-text span {
  position: absolute;
  transform-origin: 0 100px;
}
.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, #dc143c, #ffd700, #0066ff);
  z-index: 9997;
  transition: width 0.1s;
}
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 1s, transform 1s;
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}
.staggered-reveal > * {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.5s, transform 0.5s;
}
.staggered-reveal.active > *:nth-child(1) {
  transition-delay: 0.1s;
  opacity: 1;
  transform: translateY(0);
}
.staggered-reveal.active > *:nth-child(2) {
  transition-delay: 0.2s;
  opacity: 1;
  transform: translateY(0);
}
.staggered-reveal.active > *:nth-child(3) {
  transition-delay: 0.3s;
  opacity: 1;
  transform: translateY(0);
}
.staggered-reveal.active > *:nth-child(4) {
  transition-delay: 0.4s;
  opacity: 1;
  transform: translateY(0);
}
.staggered-reveal.active > *:nth-child(5) {
  transition-delay: 0.5s;
  opacity: 1;
  transform: translateY(0);
}
input,
textarea {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: white;
  transition: border-color 0.3s, box-shadow 0.3s;
}
input:focus,
textarea:focus {
  border-color: #dc143c;
  box-shadow: 0 0 0 2px rgba(220, 20, 60, 0.2);
  outline: none;
}
.motion-path {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* menu */
 /* Smooth transitions for mobile nav */
        .mobile-nav-overlay {
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.3s ease, visibility 0.3s ease;
        }
        
        .mobile-nav-overlay.active {
            opacity: 1;
            visibility: visible;
        }
        
        /* Smooth slide-in animation for mobile menu */
        .mobile-nav-content {
            transform: translateY(-20px);
            transition: transform 0.3s ease;
        }
        
        .mobile-nav-overlay.active .mobile-nav-content {
            transform: translateY(0);
        }
        
        /* Navbar backdrop blur effect */
        .navbar-bg {
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
        }
        
        /* Prevent body scroll when mobile nav is open */
        body.nav-open {
            overflow: hidden;
        }
        
        /* Hover effects */
        .nav-item {
            position: relative;
            transition: color 0.3s ease;
        }
        
        .nav-item::after {
            content: '';
            position: absolute;
            bottom: -4px;
            left: 0;
            width: 0;
            height: 2px;
            background-color: #3B82F6;
            transition: width 0.3s ease;
        }
        
        .nav-item:hover::after {
            width: 100%;
        }
        
        /* Mobile menu button animation */
        .menu-btn {
            transition: transform 0.2s ease;
        }
        
        .menu-btn:hover {
            transform: scale(1.1);
        }
        
        /* Responsive text sizing */
        @media (max-width: 640px) {
            .mobile-nav-link {
                font-size: 1.5rem;
            }
        }
        
        @media (min-width: 641px) and (max-width: 768px) {
            .mobile-nav-link {
                font-size: 1.75rem;
            }
        }

/* modal */
        @keyframes modal-fade-in {
            from { opacity: 0; transform: scale(0.96);}
            to { opacity: 1; transform: scale(1);}
        }
        .age-modal-animate {
            animation: modal-fade-in 0.5s cubic-bezier(.4,0,.2,1);
        }
        @keyframes modal-glow {
            0%,100% { box-shadow: 0 0 40px 10px #FFD70033, 0 0 0 0 #00F0FF22; }
            50% { box-shadow: 0 0 60px 20px #FFD70066, 0 0 40px 10px #00F0FF44; }
        }
        .age-modal-glow {
            animation: modal-glow 2.5s ease-in-out infinite;
        }
