﻿/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #070b14;
}

::-webkit-scrollbar-thumb {
    background: #1e293b;
    border-radius: 4px;
}

    ::-webkit-scrollbar-thumb:hover {
        background: #38bdf8;
    }

/* Smooth Scrolling with Header Offset */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 5rem;
}

.header-logo {
    width: auto;
    height: 45px;
}

/* Navigation Link Hover Animation */
.nav-link {
    position: relative;
    padding-bottom: 4px;
    transition: color 0.3s ease;
}

    .nav-link::after {
        content: '';
        position: absolute;
        bottom: 0;
        right: 0;
        width: 0;
        height: 2px;
        background: linear-gradient(90deg, #38bdf8, #00d8ff);
        border-radius: 2px;
        box-shadow: 0 0 8px #00d8ff;
        transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .nav-link:hover::after,
    .nav-link.active-link::after {
        width: 100%;
        left: 0;
        right: auto;
    }

/* Glassmorphism Classes */
.glass-panel {
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(56, 189, 248, 0.15);
}

.glass-panel-hover {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

    .glass-panel-hover:hover {
        border-color: rgba(56, 189, 248, 0.45);
        box-shadow: 0 10px 30px -10px rgba(56, 189, 248, 0.3);
        transform: translateY(-4px);
    }

/* Gradient Text Effects */
.text-gradient {
    background: linear-gradient(135deg, #ffffff 0%, #38bdf8 50%, #00d8ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient-cyan {
    background: linear-gradient(135deg, #38bdf8 0%, #00d8ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Animated Glowing Orbs Background */
.orb-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    z-index: -1;
    pointer-events: none;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.25;
    animation: orbFloat 20s infinite alternate ease-in-out;
}

.orb-1 {
    top: 10%;
    right: 15%;
    width: 450px;
    height: 450px;
    background: #00d8ff;
}

.orb-2 {
    bottom: 20%;
    left: 10%;
    width: 500px;
    height: 500px;
    background: #0284c7;
    animation-delay: -7s;
}

.orb-3 {
    top: 50%;
    right: 40%;
    width: 350px;
    height: 350px;
    background: #0369a1;
    animation-delay: -12s;
}

@keyframes orbFloat {
    0% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(60px, -40px) scale(1.1);
    }

    100% {
        transform: translate(-40px, 50px) scale(0.95);
    }
}

/* Scroll Reveal Animation Styles */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

    .reveal.active {
        opacity: 1;
        transform: translateY(0);
    }

/* Glowing Border Pulse Animation */
@keyframes pulseBorder {
    0%, 100% {
        border-color: rgba(56, 189, 248, 0.2);
    }

    50% {
        border-color: rgba(56, 189, 248, 0.6);
    }
}

.pulse-border {
    animation: pulseBorder 4s infinite ease-in-out;
}
