::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: rgba(131, 131, 131, 0.4);
    border-radius: 10px;
    border: 2px solid transparent;
    background-clip: content-box;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(105, 105, 105, 0.6);
}

body {
    font-family: 'Inter', sans-serif;
    scroll-behavior: smooth;
    background-color: #000000;
    color: white;
}

/* Glass Effect */
.glass-effect {
    background: rgba(32, 32, 32, 0.7);
    backdrop-filter: blur(400px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Navigation */
nav {
    transition: all 0.3s ease;
}

.nav-dock-link {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 16px 16px;
    border-radius: 12px;
    transition: all 0.3s ease;
    color: white;
}

.nav-dock-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.nav-tooltip {
    position: absolute;
    top: 100%;
    background: rgba(30, 30, 30, 0.9);
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 14px;
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
    white-space: nowrap;
    margin-top: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-dock-link:hover .nav-tooltip {
    opacity: 1;
    transform: translateY(5px);
}

/* Cursor Glow */
.cursor-glow {
    position: fixed;
    width: 1800px;
    height: 1800px;
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: -999999;
    background: radial-gradient(
        circle, 
        rgba(255, 255, 255, 0.048) 30%, 
        rgba(255, 255, 255, 0) 30%
    );
    filter: blur(1000px);
    transition: transform 0.2s ease, opacity 0.3s ease;
}

.cursor-glow.active {
    transform: translate(-50%, -50%) scale(1.5);
    filter: blur(120px);
}

/* Project Cards */
.project-card {
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.project-card:hover {
    border-color: rgba(133, 133, 133, 0.5);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Profile Image */
#about img {
    border-radius: 11px;
}

/* Section Borders */
section {
    z-index: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 100px 0;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
    animation: fadeIn 0.6s ease-out forwards;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    nav {
        padding: 10px 0;
    }
    .nav-dock-link {
        padding: 8px 12px;
    }
    section {
        padding: 60px 0;
    }
    .cursor-glow {
        width: 400px;
        height: 400px;
    }
}

.download-btn {
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.3) !important;
    transition: all 0.3s ease !important;
}

.download-btn:hover {

    box-shadow: 0 0 15px rgba(255, 255, 255, 0.4) !important;
}

/* CTA Buttons */
.cta-primary {
    background: linear-gradient(135deg, #ffffff 0%, #ffffff 100%);
    color: black;
    box-shadow: 0 0px 10px rgba(121, 121, 121, 0.4);
}

.cta-primary:hover {
    box-shadow: 0 0px 15px rgba(255, 255, 255, 0.4);
}

.cta-secondary {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    color: white;
}

.cta-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Background Animation */
@keyframes float {
    0%, 100% { transform: translateY(0) translateX(0); }
    50% { transform: translateY(-20px) translateX(10px); }
}

@keyframes float-delay {
    0%, 100% { transform: translateY(0) translateX(0); }
    50% { transform: translateY(15px) translateX(-10px); }
}

.animate-float {
    animation: float 8s ease-in-out infinite;
}

.animate-float-delay {
    animation: float-delay 10s ease-in-out infinite;
}

/* Navigation */
nav {
    transition: all 0.3s ease;
    height: 50px; /* Fixed height */
    display: flex;
    align-items: center; /* Vertically center contents */
}

.nav-dock-link {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8px 16px; /* Adjusted padding */
    border-radius: px;
    transition: all 0.3s ease;
    color: white;
    height: 100%; /* Take full height of nav */
}

/* Adjust tooltip positioning */
.nav-tooltip {
    top: calc(100% + 10px); /* Position below the 50px nav */
}
