@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;600;700&family=IBM+Plex+Sans:wght@300;400;500;600&family=JetBrains+Mono:wght@400;600&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --neon-blue: #00f3ff;
    --neon-pink: #ff006e;
    --neon-purple: #8b00ff;
    --neon-green: #39ff14;
    --cyber-dark: #0a0a0f;
    --cyber-darker: #050508;
    --cyber-gray: #1a1a2e;
    --text-glow: #ffffff;
    --shadow: 0 0 20px rgba(0, 243, 255, 0.5);
}

body {
    font-family: 'Rajdhani', sans-serif;
    background: var(--cyber-dark);
    color: var(--text-glow);
    overflow-x: hidden;
    position: relative;
    zoom: 0.85;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        repeating-linear-gradient(
            0deg,
            rgba(0, 243, 255, 0.03) 0px,
            transparent 1px,
            transparent 2px,
            rgba(0, 243, 255, 0.03) 3px
        );
    pointer-events: none;
    z-index: 1;
    animation: scanlines 8s linear infinite;
}

@keyframes scanlines {
    0% { transform: translateY(0); }
    100% { transform: translateY(10px); }
}

/* Navbar */
.navbar {
    background: rgba(10, 10, 15, 0.9);
    backdrop-filter: blur(10px);
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid var(--neon-blue);
    box-shadow: 0 0 30px rgba(0, 243, 255, 0.3);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
}

.logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    font-weight: 900;
    color: var(--neon-blue);
    text-shadow:
        0 0 10px var(--neon-blue),
        0 0 20px var(--neon-blue),
        0 0 30px var(--neon-blue);
    letter-spacing: 3px;
    animation: glitch 3s infinite;
}

@keyframes glitch {
    0%, 90%, 100% { transform: translate(0); }
    91% { transform: translate(-2px, 2px); }
    92% { transform: translate(2px, -2px); }
    93% { transform: translate(-2px, 2px); }
    94% { transform: translate(2px, -2px); }
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--neon-blue);
    font-weight: 600;
    font-size: 1.1rem;
    padding: 0.5rem 1.5rem;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--neon-pink);
    transition: width 0.3s ease;
    box-shadow: 0 0 10px var(--neon-pink);
}

.nav-link:hover {
    color: var(--neon-pink);
    text-shadow: 0 0 10px var(--neon-pink);
}

.nav-link:hover::before {
    width: 100%;
}

/* Sections */
.section {
    min-height: 100vh;
    padding: 4rem 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    background-image:
        linear-gradient(rgba(0, 243, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 243, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
}

.container {
    max-width: 1200px;
    width: 100%;
}

.section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--neon-pink);
    text-align: center;
    margin-bottom: 3rem;
    text-transform: uppercase;
    letter-spacing: 5px;
    text-shadow:
        0 0 5px var(--neon-pink),
        0 0 10px var(--neon-pink);
}

.section-title.header-visible {
    animation: headerPulse 1s ease forwards;
}

@keyframes headerPulse {
    0% {
        text-shadow:
            0 0 5px var(--neon-pink),
            0 0 10px var(--neon-pink);
    }
    50% {
        text-shadow:
            0 0 15px var(--neon-pink),
            0 0 25px var(--neon-pink),
            0 0 35px var(--neon-pink);
    }
    100% {
        text-shadow:
            0 0 5px var(--neon-pink),
            0 0 10px var(--neon-pink);
    }
}

@keyframes glow-pulse {
    0%, 100% {
        text-shadow:
            0 0 5px var(--neon-pink),
            0 0 10px var(--neon-pink);
    }
    50% {
        text-shadow:
            0 0 8px var(--neon-pink),
            0 0 15px var(--neon-pink);
    }
}

/* Hero Section */
.hero-section {
    background: var(--cyber-dark);
    border-bottom: 2px solid var(--neon-blue);
    box-shadow: 0 0 30px rgba(0, 243, 255, 0.2);
}

.hero-content {
    display: flex;
    gap: 3rem;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}

.profile-photo-container {
    position: relative;
    text-align: center;
}

.profile-photo {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    border: 3px solid var(--neon-blue);
    box-shadow:
        0 0 20px var(--neon-blue),
        0 0 40px var(--neon-blue),
        inset 0 0 20px rgba(0, 243, 255, 0.2);
    object-fit: cover;
    background: var(--cyber-gray);
    transition: all 0.3s ease;
    position: relative;
}

.profile-photo::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--neon-blue), var(--neon-pink), var(--neon-purple));
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.profile-photo:hover {
    transform: scale(1.05);
}

.profile-photo:hover::before {
    opacity: 1;
    animation: spin 3s linear infinite;
}

@keyframes spin {
    100% { transform: rotate(360deg); }
}

.upload-btn {
    margin-top: 1rem;
    background: transparent;
    color: var(--neon-green);
    border: 2px solid var(--neon-green);
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 0 20px rgba(57, 255, 20, 0.3);
    transition: all 0.3s ease;
    font-family: 'Rajdhani', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: none;
}

.upload-btn:hover {
    background: var(--neon-green);
    color: var(--cyber-dark);
    box-shadow: 0 0 30px rgba(57, 255, 20, 0.6);
    transform: translateY(-2px);
}

.upload-btn:active {
    transform: translateY(0);
}

.hero-text {
    flex: 1;
    min-width: 300px;
}

.hero-subtitle {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    color: var(--neon-blue);
    margin-bottom: 1rem;
    text-shadow: 0 0 20px var(--neon-blue);
    letter-spacing: 3px;
}

.about-text {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    background: rgba(26, 26, 46, 0.6);
    padding: 1.5rem;
    border: 1px solid var(--neon-purple);
    border-left: 4px solid var(--neon-purple);
    box-shadow: 0 0 20px rgba(139, 0, 255, 0.2);
}

/* Experience Section */
.experience-section {
    background: var(--cyber-dark);
    border-bottom: 2px solid var(--neon-pink);
}

.timeline {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.timeline-item {
    background: rgba(26, 26, 46, 0.6);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border: 1px solid var(--neon-blue);
    border-left: 4px solid var(--neon-pink);
    box-shadow: 0 0 30px rgba(255, 0, 110, 0.2);
    position: relative;
    transition: all 0.3s ease;
}

.timeline-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 48%, var(--neon-pink) 49%, var(--neon-pink) 51%, transparent 52%);
    background-size: 10px 10px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.timeline-item:hover {
    transform: translateX(10px);
    border-left-width: 8px;
    box-shadow: 0 0 40px rgba(255, 0, 110, 0.4);
}

.timeline-item:hover::before {
    opacity: 0.05;
}

.timeline-content h3 {
    font-family: 'Orbitron', sans-serif;
    color: var(--neon-pink);
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 10px var(--neon-pink);
}

.timeline-content h4 {
    color: var(--neon-blue);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.timeline-date {
    color: var(--neon-purple);
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.photo-gallery {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.photo-gallery:empty {
    display: none;
    margin-top: 0;
}

.add-photo-btn {
    background: transparent;
    color: var(--neon-green);
    border: 2px solid var(--neon-green);
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 0 15px rgba(57, 255, 20, 0.3);
    transition: all 0.3s ease;
    font-family: 'Rajdhani', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: none;
}

.add-photo-btn:hover {
    background: var(--neon-green);
    color: var(--cyber-dark);
    box-shadow: 0 0 25px rgba(57, 255, 20, 0.6);
}

.gallery-photo {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border: 2px solid var(--neon-blue);
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.3);
    transition: all 0.3s ease;
}

.gallery-photo:hover {
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(0, 243, 255, 0.6);
    border-color: var(--neon-pink);
}

/* Projects Section */
.projects-section {
    background: var(--cyber-dark);
    border-bottom: 2px solid var(--neon-purple);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.project-card {
    background: rgba(26, 26, 46, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid var(--neon-purple);
    box-shadow: 0 0 30px rgba(139, 0, 255, 0.2);
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.project-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 243, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 50px rgba(139, 0, 255, 0.5);
    border-color: var(--neon-pink);
}

.project-card:hover::after {
    left: 100%;
}

.project-image-container {
    position: relative;
    height: 200px;
    background: linear-gradient(135deg, var(--cyber-gray), var(--cyber-darker));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-bottom: 2px solid var(--neon-purple);
}

.project-image-container:has(.project-image[src=""]):has(.project-video[src=""]),
.project-image-container:has(.project-image[src=""]):has(.project-video:not([src])),
.project-image-container:has(.project-image:not([src])):has(.project-video[src=""]),
.project-image-container:has(.project-image:not([src])):has(.project-video:not([src])) {
    display: none;
    height: 0;
    border: none;
}

.project-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.project-image[src=""], .project-image:not([src]) {
    display: none;
}

.project-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.project-video:not([src]), .project-video[src=""] {
    display: none;
}

.project-card:hover .project-image {
    transform: scale(1.1);
}

.project-card:hover .project-video {
    transform: scale(1.1);
}

.upload-overlay-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -80%);
    background: rgba(10, 10, 15, 0.9);
    color: var(--neon-green);
    border: 2px solid var(--neon-green);
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 0 20px rgba(57, 255, 20, 0.3);
    transition: all 0.3s ease;
    font-family: 'Rajdhani', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: none;
}

.upload-overlay-btn:hover {
    background: var(--neon-green);
    color: var(--cyber-dark);
    box-shadow: 0 0 30px rgba(57, 255, 20, 0.6);
}

.upload-video-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, 20%);
    background: rgba(10, 10, 15, 0.9);
    color: var(--neon-purple);
    border: 2px solid var(--neon-purple);
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 0 20px rgba(139, 0, 255, 0.3);
    transition: all 0.3s ease;
    font-family: 'Rajdhani', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: none;
}

.upload-video-btn:hover {
    background: var(--neon-purple);
    color: var(--cyber-dark);
    box-shadow: 0 0 30px rgba(139, 0, 255, 0.6);
}

.project-content {
    padding: 1.5rem;
}

.project-content h3 {
    font-family: 'Orbitron', sans-serif;
    color: var(--neon-pink);
    font-size: 1.8rem;
    margin-bottom: 1rem;
    text-shadow: 0 0 10px var(--neon-pink);
}

.project-content p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.project-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.tag {
    background: transparent;
    color: var(--neon-blue);
    padding: 0.4rem 1rem;
    border: 1px solid var(--neon-blue);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 0 10px rgba(0, 243, 255, 0.2);
}

.project-links {
    display: flex;
    gap: 1rem;
}

.btn-cartoon {
    background: transparent;
    color: var(--neon-pink);
    text-decoration: none;
    padding: 0.8rem 1.5rem;
    border: 2px solid var(--neon-pink);
    font-weight: 700;
    box-shadow: 0 0 20px rgba(255, 0, 110, 0.3);
    transition: all 0.3s ease;
    display: inline-block;
    font-family: 'Rajdhani', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-cartoon:hover {
    background: var(--neon-pink);
    color: var(--cyber-dark);
    box-shadow: 0 0 30px rgba(255, 0, 110, 0.6);
}

.btn-cartoon:active {
    transform: scale(0.95);
}

.btn-secondary {
    color: var(--neon-blue);
    border-color: var(--neon-blue);
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.3);
}

.btn-secondary:hover {
    background: var(--neon-blue);
    color: var(--cyber-dark);
    box-shadow: 0 0 30px rgba(0, 243, 255, 0.6);
}

/* Education Section */
.education-section {
    background: var(--cyber-dark);
    border-bottom: 2px solid var(--neon-blue);
}

.education-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.education-card {
    background: rgba(26, 26, 46, 0.6);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border: 1px solid var(--neon-purple);
    border-top: 4px solid var(--neon-blue);
    box-shadow: 0 0 30px rgba(0, 243, 255, 0.2);
    transition: all 0.3s ease;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.education-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 50px rgba(0, 243, 255, 0.4);
    border-top-color: var(--neon-pink);
}

.education-icon {
    font-size: 4rem;
    background: linear-gradient(135deg, var(--neon-blue), var(--neon-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 10px var(--neon-blue));
}

.education-content {
    flex: 1;
}

.education-content h3 {
    font-family: 'Orbitron', sans-serif;
    color: var(--neon-blue);
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 10px var(--neon-blue);
}

.education-content h4 {
    color: var(--neon-purple);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.education-date {
    color: var(--neon-pink);
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.education-content p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

/* Skills Section */
.skills-section {
    background: var(--cyber-dark);
    border-bottom: 2px solid var(--neon-green);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.skill-category {
    background: rgba(26, 26, 46, 0.6);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border: 1px solid var(--neon-blue);
    border-top: 3px solid var(--neon-pink);
    box-shadow: 0 0 30px rgba(0, 243, 255, 0.2);
    transition: all 0.3s ease;
}

.skill-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 50px rgba(255, 0, 110, 0.4);
    border-top-color: var(--neon-blue);
}

.skill-category h3 {
    font-family: 'Orbitron', sans-serif;
    color: var(--neon-blue);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
    text-shadow: 0 0 15px var(--neon-blue);
    letter-spacing: 2px;
}

.skill-items {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.skill-bubble {
    background: transparent;
    color: var(--neon-purple);
    padding: 0.8rem 1.5rem;
    border: 2px solid var(--neon-purple);
    font-weight: 600;
    box-shadow: 0 0 15px rgba(139, 0, 255, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.skill-bubble::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: var(--neon-purple);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease;
    z-index: -1;
}

.skill-bubble:hover {
    color: var(--cyber-dark);
    box-shadow: 0 0 30px rgba(139, 0, 255, 0.6);
}

.skill-bubble:hover::before {
    width: 200px;
    height: 200px;
}

/* Contact Section */
.contact-section {
    background: var(--cyber-dark);
    border-bottom: 2px solid var(--neon-blue);
}

.contact-info-centered {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 600px;
    margin: 0 auto;
}

.contact-item {
    background: rgba(26, 26, 46, 0.6);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border: 1px solid var(--neon-blue);
    border-left: 3px solid var(--neon-purple);
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.2);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateX(10px);
    border-left-width: 6px;
    box-shadow: 0 0 30px rgba(139, 0, 255, 0.4);
}

.contact-icon {
    font-size: 2rem;
    background: transparent;
    padding: 1rem;
    border: 2px solid var(--neon-green);
    box-shadow: 0 0 15px rgba(57, 255, 20, 0.3);
}

.contact-item p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
}

/* Footer */
.footer {
    background: var(--cyber-darker);
    color: var(--neon-blue);
    text-align: center;
    padding: 2rem;
    border-top: 2px solid var(--neon-pink);
    box-shadow: 0 -5px 30px rgba(255, 0, 110, 0.3);
}

.footer p {
    margin: 0.5rem 0;
    font-size: 1.1rem;
    text-shadow: 0 0 10px var(--neon-blue);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        flex-direction: column;
        gap: 0.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .hero-content {
        flex-direction: column;
    }

    .profile-photo {
        width: 200px;
        height: 200px;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }
}

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

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

/* Cyberpunk Matrix Rain Background */
.matrix-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.05;
}

/* Photo Modal */
.photo-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(10px);
}

.photo-modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.photo-modal-image {
    max-width: 100%;
    max-height: 90vh;
    border: 3px solid var(--neon-blue);
    box-shadow:
        0 0 30px var(--neon-blue),
        0 0 60px var(--neon-blue),
        0 0 90px rgba(0, 243, 255, 0.5);
    animation: modalImageGlow 2s ease-in-out infinite;
}

@keyframes modalImageGlow {
    0%, 100% {
        box-shadow:
            0 0 30px var(--neon-blue),
            0 0 60px var(--neon-blue),
            0 0 90px rgba(0, 243, 255, 0.5);
    }
    50% {
        box-shadow:
            0 0 40px var(--neon-pink),
            0 0 80px var(--neon-pink),
            0 0 120px rgba(255, 0, 110, 0.5);
    }
}

.photo-modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    font-size: 3rem;
    color: var(--neon-pink);
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
    text-shadow: 0 0 20px var(--neon-pink);
    z-index: 10001;
}

.photo-modal-close:hover {
    color: var(--neon-blue);
    text-shadow: 0 0 30px var(--neon-blue);
    transform: scale(1.2) rotate(90deg);
}

.gallery-photo {
    cursor: pointer;
}

.project-image {
    cursor: pointer;
}
/* --- Make project cards align neatly (content sticks to bottom) --- */
.projects-grid {
    align-items: stretch; /* makes all cards equal height in each row */
}

.project-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.project-image-container {
    flex-shrink: 0; /* keep media block at the top */
}

.project-content {
    display: flex;
    flex-direction: column;
    flex: 1;              /* take remaining height */
    padding: 1.5rem;      /* keep your existing padding */
}

.project-tags {
    margin-top: auto;     /* pushes tags to bottom */
}

/* Optional: tighten bullet spacing so cards look cleaner */
.project-content ul {
    margin: 0 0 1rem 1.2rem;
    padding: 0;
}

.project-content li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}
/* ================================
   Professional Futuristic Theme
   Paste at END of style.css
   ================================ */

/* 1) New design tokens */
:root{
  --bg: #0b1020;
  --bg-2: #0f1730;
  --surface: rgba(255,255,255,0.06);
  --surface-2: rgba(255,255,255,0.09);
  --border: rgba(255,255,255,0.14);
  --border-strong: rgba(255,255,255,0.22);
  --text: rgba(255,255,255,0.92);
  --muted: rgba(255,255,255,0.70);
  --muted-2: rgba(255,255,255,0.55);

  /* Accent (clean “tech” blue) */
  --accent: #4da3ff;
  --accent-2: #7dd3fc;

  /* Shadows */
  --shadow-soft: 0 10px 30px rgba(0,0,0,0.35);
  --shadow-hover: 0 14px 40px rgba(0,0,0,0.45);
}

/* 2) Global background + remove scanlines */
body{
  background: radial-gradient(1200px 600px at 20% 0%, rgba(77,163,255,0.18), transparent 60%),
              radial-gradient(900px 500px at 90% 10%, rgba(125,211,252,0.14), transparent 55%),
              linear-gradient(180deg, var(--bg), var(--bg-2));
  color: var(--text);
  zoom: 1; /* optional: remove your 0.85 zoom */
}

body::before{
  content: none !important; /* disables scanlines */
}

/* 3) Navbar: clean glass */
.navbar{
  background: rgba(10,16,32,0.65) !important;
  border-bottom: 1px solid var(--border) !important;
  box-shadow: var(--shadow-soft) !important;
}

.logo{
  color: var(--text) !important;
  text-shadow: none !important;
  animation: none !important; /* disables glitch */
  letter-spacing: 1px !important;
}

/* Nav links */
.nav-link{
  color: var(--muted) !important;
  border: 1px solid transparent !important;
  text-shadow: none !important;
}

.nav-link::before{
  background: var(--accent) !important;
  box-shadow: none !important;
}

.nav-link:hover{
  color: var(--text) !important;
}

/* 4) Section titles: modern, not neon */
.section-title{
  color: var(--text) !important;
  text-shadow: none !important;
  letter-spacing: 2px !important;
  font-weight: 700 !important;
}

/* 5) Cards: professional glass */
.timeline-item,
.project-card,
.education-card,
.skill-category,
.contact-item,
.about-text{
  background: var(--surface) !important;
  border: 1px solid var(--border) !important;
  box-shadow: var(--shadow-soft) !important;
  backdrop-filter: blur(12px);
}

/* Remove loud “striped” overlays */
.timeline-item::before,
.project-card::after{
  display: none !important;
}

/* Hover states: subtle */
.timeline-item:hover,
.project-card:hover,
.education-card:hover,
.skill-category:hover,
.contact-item:hover{
  transform: translateY(-4px) !important;
  box-shadow: var(--shadow-hover) !important;
  border-color: var(--border-strong) !important;
}

/* 6) Headings inside cards */
.timeline-content h3,
.project-content h3,
.education-content h3,
.skill-category h3{
  color: var(--text) !important;
  text-shadow: none !important;
}

.timeline-content h4,
.hero-subtitle,
.education-content h4{
  color: var(--muted) !important;
  text-shadow: none !important;
}

.timeline-date,
.education-date{
  color: var(--muted-2) !important;
}

/* 7) Project media frame: clean */
.project-image-container{
  border-bottom: 1px solid var(--border) !important;
  background: rgba(255,255,255,0.04) !important;
}

/* 8) Tags: pill chips */
.tag{
  border: 1px solid rgba(77,163,255,0.45) !important;
  color: var(--accent-2) !important;
  box-shadow: none !important;
  border-radius: 999px;
}

/* 9) Buttons: modern */
.btn-cartoon,
.add-photo-btn,
.upload-btn,
.upload-overlay-btn,
.upload-video-btn{
  border-radius: 12px;
  box-shadow: none !important;
}

.btn-cartoon{
  border: 1px solid rgba(77,163,255,0.55) !important;
  color: var(--text) !important;
}

.btn-cartoon:hover{
  background: rgba(77,163,255,0.16) !important;
  color: var(--text) !important;
}

/* 10) Remove neon borders on images */
.profile-photo{
  border: 1px solid var(--border) !important;
  box-shadow: var(--shadow-soft) !important;
}

.gallery-photo{
  border: 1px solid var(--border) !important;
  box-shadow: none !important;
}

/* 11) Lists/bullets readability */
.project-content ul,
.timeline-content ul{
  color: var(--muted) !important;
}

.project-content li,
.timeline-content li{
  line-height: 1.6;
}

/* 12) Footer */
.footer{
  background: rgba(10,16,32,0.65) !important;
  border-top: 1px solid var(--border) !important;
  box-shadow: none !important;
}

.footer p{
  color: var(--muted) !important;
  text-shadow: none !important;
}
/* --- Font refresh (unique + professional) --- */
body {
  font-family: "IBM Plex Sans", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif !important;
}

.section-title,
.logo,
.hero-subtitle,
.timeline-content h3,
.project-content h3,
.education-content h3,
.skill-category h3 {
  font-family: "Sora", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif !important;
  letter-spacing: 0.5px !important;
}

/* Optional: a subtle “technical” feel for metadata */
.timeline-date,
.education-date,
.tag {
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace !important;
  letter-spacing: 0.2px !important;
}
/* ================================
   Futuristic Background Pattern
   ================================ */

body {
  background:
    radial-gradient(circle at 1px 1px, rgba(255,255,255,0.08) 1px, transparent 0),
    linear-gradient(180deg, #0b1020, #0f1730);
  background-size: 32px 32px, auto;
  background-attachment: fixed;
}
/* ================================
   Enable patterned background
   ================================ */

/* Kill old section backgrounds */
.section,
.hero-section,
.experience-section,
.projects-section,
.education-section,
.skills-section,
.contact-section {
  background: transparent !important;
}

/* Ensure sections don't paint grids */
.section {
  background-image: none !important;
}

/* New professional futuristic background */
body {
  background:
    radial-gradient(1200px 600px at 10% 10%, rgba(77,163,255,0.18), transparent 60%),
    radial-gradient(1000px 500px at 90% 20%, rgba(125,211,252,0.14), transparent 55%),
    linear-gradient(
      rgba(255,255,255,0.035) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(255,255,255,0.035) 1px,
      transparent 1px
    ),
    linear-gradient(180deg, #0b1020, #0f1730);
  background-size:
    auto,
    auto,
    48px 48px,
    48px 48px,
    auto;
  background-attachment: fixed;
}

