/* ===== CSS Reset & Base ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Neon Colors */
    --neon-cyan: #00f3ff;
    --neon-pink: #ff00ff;
    --neon-purple: #bc13fe;
    --neon-lime: #00ff00;
    --neon-orange: #ff8800;
    
    /* Background */
    --bg-dark: #0a0a0a;
    --bg-card: #111111;
    --bg-card-hover: #1a1a1a;
    
    /* Text */
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --text-muted: #666666;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== Neon Text Effects ===== */
.neon-text {
    color: var(--neon-cyan);
    text-shadow:
        0 0 8px var(--neon-cyan),
        0 0 15px var(--neon-cyan),
        0 0 25px var(--neon-cyan),
        0 0 40px var(--neon-cyan);
    animation: neon-pulse 2s ease-in-out infinite alternate;
}

.neon-text-pink {
    color: var(--neon-pink);
    text-shadow:
        0 0 5px var(--neon-pink),
        0 0 10px var(--neon-pink),
        0 0 20px var(--neon-pink);
}

.neon-text-cyan {
    color: var(--neon-cyan);
    text-shadow:
        0 0 5px var(--neon-cyan),
        0 0 10px var(--neon-cyan),
        0 0 20px var(--neon-cyan);
}

.neon-text-purple {
    color: var(--neon-purple);
    text-shadow:
        0 0 5px var(--neon-purple),
        0 0 10px var(--neon-purple),
        0 0 20px var(--neon-purple);
}

.neon-text-lime {
    color: var(--neon-lime);
    text-shadow:
        0 0 5px var(--neon-lime),
        0 0 10px var(--neon-lime),
        0 0 20px var(--neon-lime);
}

@keyframes neon-pulse {
    from {
        text-shadow:
            0 0 5px var(--neon-cyan),
            0 0 10px var(--neon-cyan),
            0 0 20px var(--neon-cyan);
    }
    to {
        text-shadow:
            0 0 10px var(--neon-cyan),
            0 0 20px var(--neon-cyan),
            0 0 30px var(--neon-cyan),
            0 0 40px var(--neon-cyan);
    }
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 243, 255, 0.2);
    z-index: 1000;
    padding: 15px 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-size: 28px;
    font-weight: 700;
    color: var(--neon-cyan);
    text-decoration: none;
    text-shadow: 0 0 5px var(--neon-cyan);
    transition: all 0.3s ease;
}

.nav-logo:hover {
    text-shadow: 0 0 10px var(--neon-cyan), 0 0 20px var(--neon-cyan);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--neon-cyan);
}

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

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--neon-cyan);
    box-shadow: 0 0 5px var(--neon-cyan);
    transition: all 0.3s ease;
}

/* ===== Hero Section ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 100px 20px;
}

.hero-content {
    text-align: center;
    z-index: 2;
}

.hero h1 {
    font-size: 4.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.subtitle {
    font-size: 1.5rem;
    color: var(--neon-pink);
    margin-bottom: 20px;
    font-weight: 400;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 40px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Opportunity Note - Subtle, elegant, smoke fade */
.opportunity-note {
    font-family: 'Rajdhani', sans-serif;
    font-style: italic;
    font-size: 1.1rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: 20px;
    opacity: 1;
    transform: translateY(0);
    filter: blur(0px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out, filter 0.8s ease-out;
}

.opportunity-note.smoke-fade {
    opacity: 0;
    transform: translateY(-15px);
    filter: blur(3px);
}

.hero-glow {
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 243, 255, 0.08) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 1;
}

/* ===== Buttons ===== */
.btn {
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    border: 2px solid transparent;
}

.btn-primary {
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
    color: var(--bg-dark);
    box-shadow: 0 0 10px rgba(0, 243, 255, 0.3);
    border-radius: 25px;
}

.btn-primary:hover {
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.4), 0 0 30px rgba(188, 19, 254, 0.3);
    transform: translateY(-3px);
    border-radius: 25px;
}

.btn-secondary {
    background: transparent;
    color: var(--neon-cyan);
    border: 2px solid var(--neon-cyan);
    box-shadow: 0 0 5px rgba(0, 243, 255, 0.2);
    border-radius: 25px;
}

.btn-secondary:hover {
    background: rgba(0, 243, 255, 0.1);
    box-shadow: 0 0 10px rgba(0, 243, 255, 0.3);
    border-radius: 25px;
}

.btn-outline {
    background: transparent;
    color: var(--neon-cyan);
    border: 2px solid var(--neon-cyan);
    padding: 15px 40px;
    font-size: 1.1rem;
    border-radius: 25px;
}

.btn-outline:hover {
    background: var(--neon-cyan);
    color: var(--bg-dark);
    box-shadow: 0 0 15px var(--neon-cyan);
    border-radius: 25px;
}

/* CV Buttons - Radium Green Style */
.btn-cv {
    background: transparent;
    color: var(--neon-lime);
    border: 2px solid var(--neon-lime);
    box-shadow: 0 0 5px rgba(0, 255, 0, 0.2);
}

.btn-cv:hover {
    background: rgba(0, 255, 0, 0.1);
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.3);
    transform: translateY(-3px);
}

.btn-small {
    padding: 8px 20px;
    font-size: 0.9rem;
}

.btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ===== Section Titles ===== */
.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 60px;
    font-weight: 600;
}

/* ===== About Section ===== */
.about {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--bg-dark) 0%, rgba(17, 17, 17, 0.8) 100%);
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.stat-item {
    text-align: center;
    padding: 30px 20px;
    background: var(--bg-card);
    border-radius: 15px;
    border: 1px solid rgba(255, 0, 255, 0.2);
    box-shadow: 0 0 10px rgba(255, 0, 255, 0.08);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 15px rgba(255, 0, 255, 0.2);
    border-color: var(--neon-pink);
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ===== Skills Section ===== */
.skills {
    padding: 100px 0;
}

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

.skill-card {
    background: var(--bg-card);
    border-radius: 15px;
    padding: 30px;
    border: 1px solid rgba(0, 243, 255, 0.2);
    box-shadow: 0 0 10px rgba(0, 243, 255, 0.08);
    transition: all 0.3s ease;
}

.skill-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.2);
    border-color: var(--neon-cyan);
}

.skill-card h3 {
    color: var(--neon-cyan);
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.skill-card ul {
    list-style: none;
}

.skill-card li {
    color: var(--text-secondary);
    padding: 8px 0;
    padding-left: 20px;
    position: relative;
}

.skill-card li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--neon-cyan);
}

/* ===== Projects Section ===== */
.projects {
    padding: 100px 0;
    background: linear-gradient(180deg, rgba(17, 17, 17, 0.8) 0%, var(--bg-dark) 100%);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.project-card {
    position: relative;
    background: var(--bg-card);
    border-radius: 15px;
    padding: 30px;
    border: 1px solid rgba(188, 19, 254, 0.2);
    box-shadow: 0 0 10px rgba(188, 19, 254, 0.08);
    transition: all 0.3s ease;
    overflow: hidden;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 15px rgba(188, 19, 254, 0.2);
    border-color: var(--neon-purple);
}

.project-card:has(.btn-outline:hover) .project-preview {
    opacity: 1;
}

.project-card:has(.btn-outline:hover) .project-preview img {
    transform: scale(1.1);
}

/* Project Preview - Only covers description area */
.project-preview-container {
    position: relative;
    min-height: 80px;
    margin-bottom: 20px;
}

.project-preview-container .project-description {
    position: relative;
    z-index: 1;
}

.project-preview {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 8px;
    overflow: hidden;
    z-index: 2;
}

.project-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    background: var(--bg-dark);
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.project-header h3 {
    color: var(--neon-purple);
    font-size: 1.3rem;
}

.project-tag {
    background: rgba(188, 19, 254, 0.2);
    color: var(--neon-purple);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.project-description {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.6;
}

.github-link {
    text-align: center;
}

/* ===== Publications Section ===== */
.publications {
    padding: 100px 0;
}

.publication-card {
    background: var(--bg-card);
    border-radius: 15px;
    padding: 40px;
    border: 1px solid rgba(0, 255, 0, 0.2);
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.08);
    max-width: 800px;
    margin: 0 auto;
    transition: all 0.3s ease;
}

.publication-card:hover {
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.2);
    border-color: var(--neon-lime);
}

.publication-card h3 {
    color: var(--neon-lime);
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.publication-publisher {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.publication-description {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.6;
}

/* ===== Contact Section ===== */
.contact {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--bg-dark) 0%, rgba(17, 17, 17, 0.9) 100%);
}

.contact-content {
    display: flex;
    justify-content: center;
    width: 100%;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    background: var(--bg-card);
    padding: 25px;
    border-radius: 15px;
    border: 1px solid rgba(255, 0, 255, 0.2);
    box-shadow: 0 0 10px rgba(255, 0, 255, 0.08);
    transition: all 0.3s ease;
}

.contact-item:hover {
    box-shadow: 0 0 15px rgba(255, 0, 255, 0.2);
    border-color: var(--neon-pink);
}

.contact-label {
    display: block;
    color: var(--neon-pink);
    font-size: 0.9rem;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-value {
    color: var(--text-primary);
    font-size: 1.1rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-value:hover {
    color: var(--neon-cyan);
}

.social-links {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    width: 100%;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    text-align: center;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    font-size: 0.85rem;
    line-height: 1;
    height: fit-content;
    transition: all 0.3s ease;
    position: relative;
}

.social-link.github {
    background: var(--bg-card);
    color: var(--text-primary);
    border: 2px solid #ffffff;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.15);
}

.social-link.github:hover {
    background: transparent;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
}

.social-link.gmail {
    background: var(--bg-card);
    color: var(--text-primary);
    border: 2px solid #EA4335;
    box-shadow: 0 0 8px rgba(234, 67, 53, 0.15);
    padding: 4px 10px;
    gap: 6px;
}

.social-link.gmail:hover {
    background: #EA4335;
    box-shadow: 0 0 15px rgba(234, 67, 53, 0.4);
    color: #fff;
}

.social-link.linkedin {
    background: var(--bg-card);
    color: var(--text-primary);
    border: 2px solid #0077b5;
    box-shadow: 0 0 10px rgba(0, 119, 181, 0.2);
}

.social-link.linkedin:hover {
    background: #0077b5;
    box-shadow: 0 0 15px rgba(0, 119, 181, 0.3);
}

.social-link.orcid {
    background: var(--bg-card);
    color: var(--text-primary);
    border: 2px solid #a6ce39;
    box-shadow: 0 0 8px rgba(166, 206, 57, 0.15);
}

.social-link.orcid:hover {
    background: #a6ce39;
    box-shadow: 0 0 15px rgba(166, 206, 57, 0.4);
}

.social-link.orcid:hover span {
    color: #000;
}

/* ===== Arratai Split Button ===== */
.arratai-split-btn {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
    height: fit-content;
    border-radius: 6px;
    overflow: visible;
    position: relative;
}

/* Left Segment: Icon */
.arratai-icon-segment {
    background: #EDC934;
    border: 2px solid #EDC934;
    border-radius: 6px 0 0 6px;
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 8px rgba(237, 201, 52, 0.15);
    transition: all 0.3s ease-in-out;
}

.arratai-icon-segment img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Right Segment: Text */
.arratai-split-btn span {
    background: var(--bg-card);
    border: 2px solid #EDC934;
    border-left: none;
    border-radius: 0 6px 6px 0;
    padding: 0 10px;
    display: flex;
    align-items: center;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.85rem;
    height: 34px;
    box-shadow: 0 0 8px rgba(237, 201, 52, 0.15);
    transition: all 0.3s ease-in-out;
}

/* Hover Effects - Professional (no jump, soft glow) */
.arratai-split-btn:hover .arratai-icon-segment {
    border-radius: 6px 0 0 6px;
    box-shadow: 0 0 15px rgba(237, 201, 52, 0.3);
}

.arratai-split-btn:hover span {
    background: #EDC934;
    border-radius: 0 6px 6px 0;
    box-shadow: 0 0 15px rgba(237, 201, 52, 0.3);
    color: #000;
}

/* Arratai hover text show/hide - simple */
.arratai-split-btn .arratai-hover {
    display: none;
}

.arratai-split-btn:hover .arratai-default {
    display: none;
}

.arratai-split-btn:hover .arratai-hover {
    display: inline;
}

/* Mobile Mode */
@media (max-width: 768px) {
    .arratai-split-btn .arratai-default,
    .arratai-split-btn .arratai-hover {
        display: none;
    }
    
    .arratai-icon-segment {
        border-radius: 6px;
        width: 40px;
        height: 40px;
    }
    
    /* Hide hover text on mobile */
    .social-link .hover-text {
        display: none;
    }
    
    /* Hide Arratai hover text on mobile */
    .arratai-split-btn .arratai-hover {
        display: none !important;
    }
    
    /* On hover, ensure all corners are rounded */
    .arratai-split-btn:hover .arratai-icon-segment {
        border-radius: 6px;
    }
}

/* Social Link Icons */
.social-link svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.social-link.github,
.social-link.linkedin,
.social-link.orcid {
    padding: 5px 10px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    width: fit-content;
    height: fit-content;
}

.social-link span {
    font-size: 0.85rem;
    line-height: 1;
}

/* Smooth hover transitions */
.social-link .hover-text,
.social-link .default-text,
.arratai-split-btn .arratai-default,
.arratai-split-btn .arratai-hover {
    visibility: visible;
    opacity: 1;
    transition: opacity 0.3s ease-in-out;
}

.social-link .hover-text,
.arratai-split-btn .arratai-hover {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    white-space: nowrap;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
    transition: opacity 0.3s ease-in-out;
}

.social-link:hover .hover-text,
.social-link:hover .default-text,
.arratai-split-btn:hover .arratai-hover,
.arratai-split-btn:hover .arratai-default {
    visibility: visible;
    opacity: 1;
    position: static;
    transform: none;
}

.social-link:hover .default-text,
.arratai-split-btn:hover .arratai-default {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    transform: translateX(-50%);
    left: 50%;
}

/* ===== CV Download Section ===== */
.cv-download {
    padding: 100px 0;
    background: linear-gradient(180deg, rgba(17, 17, 17, 0.9) 0%, var(--bg-dark) 100%);
    text-align: center;
}

.cv-content {
    max-width: 600px;
    margin: 0 auto;
}

.cv-description {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.cv-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.cv-note {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.neon-text-orange {
    color: #ff8800;
    text-shadow: 0 0 5px #ff8800, 0 0 10px #ff8800, 0 0 20px #ff8800;
}

/* ===== Footer ===== */
.footer {
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid rgba(0, 243, 255, 0.2);
}

.footer p {
    color: var(--text-muted);
    margin-bottom: 10px;
}

.footer-tagline {
    font-size: 0.9rem;
}

.neon-heart {
    color: var(--neon-pink);
    text-shadow: 0 0 5px var(--neon-pink);
    animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

/* ===== Responsive Design ===== */
@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(10, 10, 10, 0.95);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 20px 0;
        border-bottom: 1px solid rgba(0, 243, 255, 0.2);
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .about-stats {
        grid-template-columns: repeat(3, 1fr);
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .social-links {
        flex-direction: row;
        justify-content: center;
    }

    /* Hide username when squeezed */
    .social-link span {
        display: none;
    }

    .social-link.github,
    .social-link.linkedin,
    .social-link.orcid {
        padding: 8px 10px;
    }

    @media (max-width: 768px) {
        .hero h1 {
            font-size: 2.5rem;
        }

        .subtitle {
            font-size: 1.2rem;
        }

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

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

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

        .about-stats {
            grid-template-columns: 1fr;
        }

        /* Social icons - hide username when squeezed (tablet/mobile), square-ish */
        .social-link span {
            display: none;
        }

        .social-link.github,
        .social-link.linkedin,
        .social-link.orcid,
        .social-link.gmail {
            padding: 8px 10px;
        }

        .social-links {
            flex-direction: row;
        }
        
        /* Hide Arratai text on mobile */
        .arratai-split-btn .arratai-default,
        .arratai-split-btn .arratai-hover {
            display: none;
        }
        
        .arratai-icon-segment {
            border-radius: 6px;
            width: 40px;
            height: 40px;
        }
        
        /* Hide hover text on mobile */
        .social-link .hover-text {
            display: none;
        }
        
        /* Hide Arratai hover text on mobile */
        .arratai-split-btn .arratai-hover {
            display: none !important;
        }
        
        /* On hover, ensure all corners are rounded */
        .arratai-split-btn:hover .arratai-icon-segment {
            border-radius: 6px;
        }
    }
    
    /* Tablet specific: hide Arratai text */
    .arratai-split-btn .arratai-default,
    .arratai-split-btn .arratai-hover {
        display: none;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cv-buttons {
        flex-direction: row;
        align-items: center;
    }

    .cv-description {
        font-size: 1rem;
        padding: 0 20px;
    }
}

/* ===== Skill Progress Bars ===== */
.skill-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    margin-top: 10px;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.3);
}

.skill-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--neon-cyan), var(--neon-purple));
    border-radius: 4px;
    box-shadow: 0 0 10px var(--neon-cyan);
    transform-origin: left;
    animation: skill-fill 1.5s ease-out forwards;
}

@keyframes skill-fill {
    from {
        transform: scaleX(0);
    }
    to {
        transform: scaleX(1);
    }
}

/* Different skill levels */
.skill-90 { width: 90%; }
.skill-85 { width: 85%; }
.skill-80 { width: 80%; }
.skill-75 { width: 75%; }

/* ===== Section Base Styles for Animations ===== */
section {
    will-change: opacity, transform;
}

/* ===== Scroll Animations ===== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Title reveal animation */
.section-title {
    position: relative;
    overflow: hidden;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--neon-cyan), var(--neon-pink));
    transition: width 0.6s ease, left 0.6s ease;
}

.section-title.title-revealed::after {
    width: 100px;
    left: calc(50% - 50px);
}

/* Enhanced card hover effects */
.skill-card,
.project-card,
.contact-item,
.stat-item {
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.skill-card:hover,
.project-card:hover {
    transform: translateY(-10px) scale(1.02);
}

/* Typing cursor for hero */
.subtitle {
    border-right: 3px solid var(--neon-cyan);
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% { border-color: var(--neon-cyan); }
    51%, 100% { border-color: transparent; }
}

/* ===== Scrollbar ===== */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--neon-cyan);
    border-radius: 5px;
    box-shadow: 0 0 6px var(--neon-cyan);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--neon-pink);
    box-shadow: 0 0 6px var(--neon-pink);
}