/* TechVault Next-Gen Aesthetic Styles */

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f0f2f5;
}
::-webkit-scrollbar-thumb {
    background: #c1c1c6;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #a1a1a6;
}

/* Glassmorphism Utilities */
.glass-nav {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.glass-card {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.glass-btn {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.glass-btn:hover {
    background: rgba(255, 255, 255, 0.8);
}

/* Ambient Orbs Animation */
.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    animation: drift 20s infinite ease-in-out alternate;
    opacity: 0.6;
}

@keyframes drift {
    0% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -50px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
    100% { transform: translate(0, 0) scale(1); }
}

.animation-delay-0 { animation-delay: 0s; }
.animation-delay-2000 { animation-delay: -2s; }
.animation-delay-4000 { animation-delay: -4s; }

/* Glowing Wrapper for Form */
.glowing-wrapper {
    position: relative;
    background: linear-gradient(
        45deg,
        #0071e3,
        #00f2fe,
        #4facfe,
        #f093fb,
        #0071e3
    );
    background-size: 400% 400%;
    animation: gradientBorder 8s ease infinite;
    box-shadow: 0 10px 40px rgba(0, 113, 227, 0.2);
}

@keyframes gradientBorder {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Base Animations */
.animate-fade-in-up {
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
    transform: translateY(20px);
}

.animate-float-slow {
    animation: floatSlow 6s ease-in-out infinite;
}

@keyframes floatSlow {
    0% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Staggered Card Entrance */
.card-enter {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
    animation: cardEnter 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes cardEnter {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Dynamic delays for grid items */
.card-delay-0 { animation-delay: 0.1s; }
.card-delay-1 { animation-delay: 0.2s; }
.card-delay-2 { animation-delay: 0.3s; }
.card-delay-3 { animation-delay: 0.4s; }
.card-delay-4 { animation-delay: 0.5s; }
.card-delay-5 { animation-delay: 0.6s; }

/* Line Clamp */
.line-clamp-1 {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
