/* Custom Properties */
:root {
    --dark-base: #0d1b2a;
    --dark-accent: #1b263b;
    --light-base: #e0e1dd;
    --light-accent: #f5f5f5;
    --neon-cyan: #00d4ff;
    --neon-purple: #9b5de5;
    --neon-green: #00ff99;
    --light-text: #e0e1dd;
    --dark-text: #0d1b2a;
    --primary: #9b5de5;
    --primary-dark: #7e3fc7;
}

/* Glass Effect */
.glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
}

/* Neon Effects */
.neon-text {
    color: var(--neon-purple);
    text-shadow: 0 0 5px var(--neon-purple), 0 0 10px var(--neon-purple), 0 0 15px var(--neon-purple);
}

.shadow-neon {
    box-shadow: 0 0 10px var(--neon-purple);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 1.2s ease-out forwards;
}

@keyframes pulse {

    0%,
    100% {
        text-shadow: 0 0 5px var(--neon-purple);
    }

    50% {
        text-shadow: 0 0 15px var(--neon-purple), 0 0 25px var(--neon-purple);
    }
}

.animate-pulse {
    animation: pulse 2s infinite;
}

.typing-animation {
    border-right: 3px solid var(--neon-purple);
    white-space: nowrap;
    overflow: hidden;
    animation: blink-caret 0.75s step-end infinite;
}

@keyframes blink-caret {

    from,
    to {
        border-color: transparent;
    }

    50% {
        border-color: inherit;
    }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Font */
.font-inter {
    font-family: 'Inter', sans-serif;
}

/* Hero Video */
#hero video {
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    object-fit: cover;
    z-index: -1;
}

/* Project Cards */
#project-grid>div {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#project-grid>div:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

#image-modal {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    transition: opacity 0.3s ease;
}

/* Modal Enhancements */
#image-modal img {
    /* opacity: 0; */
    max-width: 45vh;
    transform: scale(0.95);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

#image-modal.show img {
    opacity: 1;
    transform: scale(1);
}

/* Navbar Enhancements */
#navbar {
    background-color: rgba(255, 255, 255, 0.9);
}

#navbar.scrolled {
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}


/* Careers specific */
#career-grid>.career-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(250, 250, 250, 0.98));
    border-radius: 12px;
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(155, 93, 229, 0.08);
}

#career-grid>.career-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(20, 18, 60, 0.08);
}

.career-badge {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 13px;
    border: 1px solid rgba(155, 93, 229, 0.12);
}

.career-remote {
    color: #107C41;
    background: rgba(0, 0, 0, 0.02);
}

.career-onsite {
    color: #0B69FF;
    background: rgba(0, 0, 0, 0.02);
}

.career-role {
    font-size: 1.125rem;
    font-weight: 700;
    color: #111827;
}

.career-meta {
    font-size: 0.925rem;
    color: #6b7280;
    margin-top: 8px;
}

#job-modal {
    backdrop-filter: blur(6px);
}

#job-modal .rounded-2xl {
    box-shadow: 0 20px 50px rgba(2, 6, 23, 0.35);
}


/* General Enhancements */
body {
    padding-top: 4rem;
    /* Adjusted for fixed header */
}

section {
    /* transform: translateY(10px); */
    transition: opacity 0.8s ease, transform 0.8s ease;
}

section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    #hero h2 {
        text-align: center;
        font-size: 2.5rem;
    }

    #hero p {
        font-size: 1.5rem;
    }

    #project-grid {
        grid-template-columns: 1fr;
    }
}