/* Custom Styles & Animations */

/* 1. Glass Navigation */
.glass-nav {
    background: rgba(10, 15, 28, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* 2. Hero Background Grid */
.cyber-grid {
    background-size: 40px 40px;
    background-image: linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
                      linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    mask-image: radial-gradient(circle at center, black 40%, transparent 100%);
    -webkit-mask-image: radial-gradient(circle at center, black 40%, transparent 100%);
}

/* 3. Moving Blobs (The Glows) */
.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: float 20s infinite ease-in-out alternate;
}

.blob-1 {
    top: 10%;
    left: 20%;
    width: 300px;
    height: 300px;
    background: #3b82f6; /* Blue */
    animation-delay: 0s;
}

.blob-2 {
    bottom: 20%;
    right: 10%;
    width: 400px;
    height: 400px;
    background: #8b5cf6; /* Purple */
    animation-delay: -5s;
}

.blob-3 {
    top: 40%;
    left: 50%;
    width: 350px;
    height: 350px;
    background: #06b6d4; /* Cyan */
    animation-delay: -10s;
    transform: translate(-50%, -50%);
}

@keyframes float {
    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); }
}

/* 4. Gradient Text Animation */
.animate-gradient {
    background-size: 200% auto;
    animation: gradientMove 4s linear infinite;
}

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

/* 5. Cards Hover Effects */
.service-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.service-card:hover {
    transform: translateY(-10px);
    background: rgba(30, 41, 59, 0.8);
    border-color: #06b6d4;
    box-shadow: 0 20px 30px -10px rgba(6, 182, 212, 0.2);
}

/* 6. Tech Icons Hover */
.tech-icon-wrapper {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.tech-icon-wrapper:hover {
    transform: translateY(-10px) scale(1.1);
    filter: drop-shadow(0 0 15px rgba(59, 130, 246, 0.5));
}

/* 7. Social Links Hover */
.social-link:hover {
    transform: translateY(-3px);
    text-shadow: 0 0 10px rgba(6, 182, 212, 0.8);
}

/* 8. Logo */
.logo {
    width: 9%;
    min-width: 40px;
    max-width: 60px;
}

/* 9. Mobile Menu */
#mobile-menu {
    background: #0a0f1c;
}

#mobile-menu.active {
    transform: translateX(0);
}
