:root {
    --bg-primary: #050505;
    --bg-secondary: #0A0A0C;
    --text-primary: rgba(255, 255, 255, 0.9);
    --text-secondary: rgba(255, 255, 255, 0.6);
    --accent-primary: #0050FF;
    --accent-secondary: #00D6FF;
    --font-main: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    --transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

canvas#hero-lightpass {
    position: fixed;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    object-fit: cover;
    /* Ensure fullscreen on mobile */
    max-width: 100%;
    max-height: 100%;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-primary);
    /* Keep base color as fallback */
    color: var(--text-primary);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    /* Prevent horizontal scroll on mobile */
    max-width: 100vw;
    position: relative;
}

/* ... skipped ... */

/* About Section */
.about {
    padding: 100px 0;
    position: relative;
    background-color: transparent;
    /* Changed from var(--bg-secondary) */
    overflow: hidden;
}

/* ... skipped ... */

/* Experience Section */
.experience {
    padding: 100px 0;
    background-color: transparent;
    /* Changed from var(--bg-primary) */
}

/* ... skipped ... */

/* Project Section */
.projects {
    padding: 100px 0;
    background-color: transparent;
    /* Changed from var(--bg-secondary) */
}

/* ... skipped ... */

/* Skills Section */
.skills {
    padding: 100px 0;
    background-color: transparent;
    /* Changed from var(--bg-primary) */
}

html {
    scroll-behavior: smooth;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 10000;
    /* Increased to ensure navbar is always on top */
    padding: 20px 40px;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    transition: var(--transition-smooth);
    left: 0;
    right: 0;
}

.nav-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: -0.02em;
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--text-primary);
}

.cta-button {
    text-decoration: none;
    color: var(--text-primary);
    padding: 10px 24px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition-smooth);
}

.cta-button:hover {
    border-color: var(--accent-secondary);
    box-shadow: 0 0 15px rgba(0, 214, 255, 0.2);
}

/* Floating Music Toggle Button - Bottom Right Corner */
.music-toggle-floating {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: var(--text-primary);
    padding: 15px 20px;
    border-radius: 50px;
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    z-index: 9999;
    /* Below navbar and menu */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.music-toggle-floating:hover {
    border-color: var(--accent-secondary);
    box-shadow: 0 0 25px rgba(0, 214, 255, 0.4);
    transform: scale(1.1);
    background: rgba(0, 80, 255, 0.2);
}

.music-toggle-floating.muted {
    opacity: 0.6;
    border-color: rgba(255, 255, 255, 0.1);
}

/* Global Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography Defaults */
h1,
h2,
h3 {
    color: var(--text-primary);
    letter-spacing: -0.03em;
}

.section-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 2rem;
    background: linear-gradient(180deg, #FFFFFF 0%, rgba(255, 255, 255, 0.5) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulseGradient {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.3;
    }

    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding-top: 60px;
    /* Offset for navbar */
}

.hero-content {
    text-align: center;
    z-index: 2;
    padding: 0 20px;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 800;
    line-height: 1.1;
    margin-top: 200px;
    margin-bottom: 24px;
    letter-spacing: -0.04em;
    background: linear-gradient(180deg, #FFFFFF 0%, rgba(255, 255, 255, 0.7) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0;
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.2s;
    position: relative;
    overflow: hidden;
}

/* Animated underline effect - DISABLED */
.hero-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
    transform: scaleX(0);
    transform-origin: left;
    animation: none;
    box-shadow: 0 0 10px var(--accent-secondary);
    display: none;
}

@keyframes expandWidth {
    to {
        transform: scaleX(1);
    }
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    color: var(--text-primary);
    margin-bottom: 16px;
    opacity: 0;
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.4s;
}

.hero-description {
    font-size: clamp(1rem, 1.5vw, 1.1rem);
    color: var(--text-secondary);
    margin-bottom: 48px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0;
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.6s;
}

.explore-button {
    display: inline-block;
    padding: 16px 40px;
    background: transparent;
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    position: relative;
    overflow: hidden;
    border: 1px solid transparent;
    background-image: linear-gradient(var(--bg-primary), var(--bg-primary)), linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
    background-origin: border-box;
    background-clip: padding-box, border-box;
    opacity: 0;
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.8s;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.explore-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(0, 80, 255, 0.4);
}

/* Background Gradients - REMOVED for Canvas */
/* 
.hero-background {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80vw;
    height: 80vw;
    background: radial-gradient(circle, rgba(0, 80, 255, 0.12) 0%, rgba(5, 5, 5, 0) 60%);
    pointer-events: none;
    z-index: 1;
    animation: pulseGradient 8s infinite ease-in-out;
} 
*/

/* About Section */
.about {
    padding: 100px 0;
    position: relative;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.6) 50%, rgba(0, 0, 0, 0) 100%);
    overflow: hidden;
}

/* Subtle Grid Background for About - Reduced opacity */
.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.2;
    /* Reduced opacity */
    pointer-events: none;
}

.about .section-description {
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    color: var(--text-secondary);
    max-width: 800px;
    line-height: 1.6;
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition-smooth);
}

.about.visible .section-description {
    opacity: 1;
    transform: translateY(0);
}

/* Skills Section */
.skills {
    padding: 100px 0;
    background-color: transparent;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

@media (max-width: 1024px) {
    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .skills-grid {
        grid-template-columns: 1fr;
    }
}

.skill-category {
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition-smooth);
    text-align: center;
    padding: 30px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.skill-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 15px;
    filter: brightness(0.9);
    transition: all 0.3s ease;
}

.skill-category:hover .skill-icon {
    filter: brightness(1.1);
    transform: scale(1.15);
}

.skills.visible .skill-category {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger skill categories */
.skills.visible .skill-category:nth-child(1) {
    transition-delay: 0.1s;
}

.skills.visible .skill-category:nth-child(2) {
    transition-delay: 0.2s;
}

.skills.visible .skill-category:nth-child(3) {
    transition-delay: 0.3s;
}

.skills.visible .skill-category:nth-child(4) {
    transition-delay: 0.4s;
}

.skills.visible .skill-category:nth-child(5) {
    transition-delay: 0.5s;
}

.skill-category h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--text-primary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 10px;
    display: inline-block;
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--text-primary);
    font-weight: 600;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.skill-tags span {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px 18px;
    border-radius: 12px;
    color: var(--text-secondary);
    font-weight: 500;
    transition: var(--transition-smooth);
    cursor: default;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
}

.skill-tags span img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.skill-tags span:hover {
    background: rgba(0, 80, 255, 0.15);
    border-color: var(--accent-primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 80, 255, 0.2);
}

/* CTA Section */
.cta {
    padding: 150px 0;
    background: radial-gradient(circle at center, rgba(0, 80, 255, 0.1) 0%, rgba(5, 5, 5, 1) 70%);
    text-align: center;
}

.cta-title {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(180deg, #FFFFFF 0%, rgba(255, 255, 255, 0.5) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cta-subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 50px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.cta-button {
    padding: 15px 35px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-smooth);
    font-size: 1.1rem;
}

.cta-button.primary {
    background: white;
    color: black;
    border: 1px solid white;
}

.cta-button.primary:hover {
    background: var(--accent-secondary);
    border-color: var(--accent-secondary);
    color: black;
    box-shadow: 0 0 30px rgba(0, 214, 255, 0.4);
}

.cta-button.secondary {
    background: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.cta-button.secondary:hover {
    border-color: white;
    background: rgba(255, 255, 255, 0.05);
}

/* Footer (Simple) */
footer {
    padding: 40px;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background-color: var(--bg-primary);
}

/* Experience Section */
.experience {
    padding: 100px 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.7) 50%, rgba(0, 0, 0, 0) 100%);
}

.experience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.experience-card {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 20px;
    transition: var(--transition-smooth);
    opacity: 0;
    transform: translateY(30px);
    cursor: default;
}

.experience.visible .experience-card {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered transition delay for cards */
.experience.visible .experience-card:nth-child(1) {
    transition-delay: 0.1s;
}

.experience.visible .experience-card:nth-child(2) {
    transition-delay: 0.2s;
}

.experience.visible .experience-card:nth-child(3) {
    transition-delay: 0.3s;
}

.experience.visible .experience-card:nth-child(4) {
    transition-delay: 0.4s;
}

.experience-card:hover {
    transform: translateY(-10px) !important;
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.card-header {
    margin-bottom: 20px;
}

.experience-card .role {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 5px;
}

.experience-card .company {
    color: var(--accent-secondary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.experience-card .description {
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-size: 1rem;
}

/* Project Section */
.projects {
    padding: 100px 0;
    background-color: transparent;
}

.projects-grid {
    display: flex;
    flex-direction: column;
    gap: 120px;
    margin-top: 60px;
}

.project-item {
    display: flex;
    align-items: center;
    gap: 60px;
    opacity: 0;
    transform: translateY(40px);
    transition: var(--transition-smooth);
}

.projects.visible .project-item {
    opacity: 1;
    transform: translateY(0);
}

.project-item.reverse {
    flex-direction: row-reverse;
}

.project-content {
    flex: 1;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.project-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: white;
}

.project-tagline {
    font-size: 1.2rem;
    color: var(--accent-secondary);
    margin-bottom: 20px;
    font-weight: 500;
}

.project-description {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 30px;
    line-height: 1.7;
}

.project-visual {
    flex: 1;
    height: 400px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
    /* Box shadow for depth */
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
}

.project-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-item:hover .project-visual img {
    transform: scale(1.05);
}

@media (max-width: 768px) {

    .project-item,
    .project-item.reverse {
        flex-direction: column-reverse;
        gap: 40px;
    }

    .project-visual {
        width: 100%;
        height: 300px;
    }
}

/* Remove old CSS animation styles - keeping for reference but commented out */
/*
.blockchain-visual .blockchain-grid {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    border: 2px solid rgba(0, 80, 255, 0.3);
    border-radius: 20px;
    animation: rotateBox 10s infinite linear;
}
*/

/* Visual Simulations */
.blockchain-visual .blockchain-grid {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    border: 2px solid rgba(0, 80, 255, 0.3);
    border-radius: 20px;
    animation: rotateBox 10s infinite linear;
}

.blockchain-visual .blockchain-grid::before {
    content: '';
    position: absolute;
    inset: -20px;
    border: 2px solid rgba(0, 214, 255, 0.2);
    border-radius: 30px;
    animation: rotateBox 15s infinite reverse linear;
}

@keyframes rotateBox {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.ai-visual .ai-network {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle, rgba(0, 214, 255, 0.1) 2px, transparent 2px);
    background-size: 30px 30px;
    mask-image: radial-gradient(circle, black 40%, transparent 80%);
    -webkit-mask-image: radial-gradient(circle, black 40%, transparent 80%);
}

.healthcare-visual .pulse-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    background: rgba(0, 255, 100, 0.1);
    /* Greenish for health */
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(0, 255, 100, 0.4);
    animation: pulseHealth 2s infinite;
}

@keyframes pulseHealth {
    0% {
        transform: translate(-50%, -50%) scale(0.95);
        box-shadow: 0 0 0 0 rgba(0, 255, 100, 0.4);
    }

    70% {
        transform: translate(-50%, -50%) scale(1);
        box-shadow: 0 0 0 20px rgba(0, 255, 100, 0);
    }

    100% {
        transform: translate(-50%, -50%) scale(0.95);
        box-shadow: 0 0 0 0 rgba(0, 255, 100, 0);
    }
}

/* Tags for Projects */
.tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.tags span {
    background: rgba(0, 80, 255, 0.1);
    border: 1px solid rgba(0, 80, 255, 0.3);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--accent-secondary);
    font-weight: 500;
}

/* ============================================
   HAMBURGER MENU STYLES
   ============================================ */

.hamburger {
    display: none;
    flex-direction: column;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
    transition: var(--transition-smooth);
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ============================================
   MOBILE RESPONSIVE STYLES
   ============================================ */

/* Tablet Styles */
@media (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }

    .section-title {
        font-size: 3rem;
    }

    .hero-title {
        margin-top: 150px;
    }

    .project-content {
        padding: 30px;
    }

    .project-visual {
        height: 350px;
    }
}

/* Mobile Styles */
@media (max-width: 768px) {

    /* Hamburger Menu */
    .hamburger {
        display: flex;
        order: 2;
    }

    /* Navbar Mobile */
    .navbar {
        padding: 15px 20px;
    }

    .nav-content {
        position: relative;
    }

    .logo {
        font-size: 1rem;
        order: 1;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        max-width: 300px;
        height: 100vh;
        background: rgba(0, 0, 0, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 80px 30px 30px;
        gap: 25px;
        transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        border-left: 1px solid rgba(255, 255, 255, 0.1);
        z-index: 10001;
        /* Higher than navbar to appear on top */
        overflow-y: auto;
        /* Allow scrolling if menu is too long */
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 1.1rem;
        padding: 12px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        width: 100%;
    }

    .nav-cta {
        display: none;
    }

    /* Mobile Overlay */
    .nav-links::before {
        content: '';
        position: fixed;
        top: 0;
        left: -100vw;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, 0.5);
        opacity: 0;
        transition: opacity 0.4s ease;
        pointer-events: none;
    }

    .nav-links.active::before {
        left: 0;
        opacity: 1;
    }

    /* Container */
    .container {
        padding: 0 20px;
    }

    /* Hero Section Mobile */
    .hero {
        padding: 100px 0 60px;
        min-height: 100vh;
    }

    .hero-title {
        font-size: 2.5rem !important;
        margin-top: 120px;
        margin-bottom: 20px;
    }

    .hero-subtitle {
        font-size: 1.1rem !important;
        margin-bottom: 14px;
    }

    .hero-description {
        font-size: 1rem !important;
        margin-bottom: 35px;
        padding: 0 10px;
    }

    .explore-button {
        padding: 16px 36px;
        font-size: 1rem;
    }

    /* Section Titles Mobile */
    .section-title {
        font-size: 2.5rem !important;
        margin-bottom: 1.5rem;
    }

    /* About Section Mobile */
    .about {
        padding: 80px 0;
    }

    .about .section-description {
        font-size: 1.1rem !important;
        line-height: 1.7;
    }

    /* Experience Section Mobile */
    .experience {
        padding: 80px 0;
    }

    .experience-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        margin-top: 40px;
    }

    .experience-card {
        padding: 30px;
    }

    .experience-card .role {
        font-size: 1.3rem;
    }

    .experience-card .description {
        font-size: 0.95rem;
    }

    /* Projects Section Mobile */
    .projects {
        padding: 80px 0;
    }

    .projects-grid {
        gap: 80px;
        margin-top: 40px;
    }

    .project-item,
    .project-item.reverse {
        flex-direction: column-reverse;
        gap: 30px;
    }

    .project-content {
        padding: 30px 25px;
    }

    .project-title {
        font-size: 2rem;
    }

    .project-tagline {
        font-size: 1.1rem;
    }

    .project-description {
        font-size: 1rem;
        line-height: 1.6;
    }

    .project-visual {
        width: 100%;
        height: 280px;
    }

    /* Skills Section Mobile */
    .skills {
        padding: 80px 0;
    }

    .skills-grid {
        margin-top: 40px;
    }

    .skill-category {
        padding: 25px;
    }

    .skill-category h3 {
        font-size: 1.2rem !important;
    }

    .skill-tags {
        gap: 10px;
    }

    .skill-tags span {
        font-size: 0.9rem;
        padding: 10px 16px;
    }

    .skill-tags span img {
        width: 18px;
        height: 18px;
    }

    /* CTA Section Mobile */
    .cta {
        padding: 100px 0;
    }

    .cta-title {
        font-size: 2.5rem !important;
        margin-bottom: 15px;
    }

    .cta-subtitle {
        font-size: 1.2rem;
        margin-bottom: 35px;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

    .cta-button {
        width: 100%;
        max-width: 300px;
        text-align: center;
        padding: 16px 32px;
        font-size: 1.05rem;
    }

    /* Music Toggle Mobile */
    .music-toggle-floating {
        bottom: 20px;
        right: 20px;
        padding: 12px 16px;
        font-size: 1.3rem;
    }

    /* Footer Mobile */
    footer {
        padding: 35px 20px;
        font-size: 0.9rem;
    }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
    .navbar {
        padding: 12px 15px;
    }

    .logo {
        font-size: 0.9rem;
    }

    .hamburger span {
        width: 22px;
    }

    .nav-links {
        width: 80%;
        padding: 70px 25px 25px;
    }

    .nav-links a {
        font-size: 1rem;
        padding: 10px 0;
    }

    .container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 2rem !important;
        margin-top: 80px;
        /* Reduced for better mobile visibility */
    }

    .hero-subtitle {
        font-size: 1rem !important;
    }

    .hero-description {
        font-size: 0.95rem !important;
        padding: 0 10px;
        /* Add horizontal padding for readability */
    }

    .explore-button {
        padding: 14px 30px;
        font-size: 0.95rem;
    }

    .section-title {
        font-size: 2rem !important;
    }

    .about .section-description {
        font-size: 1rem !important;
    }

    .experience-card {
        padding: 25px 20px;
    }

    .experience-card .role {
        font-size: 1.2rem;
    }

    .project-content {
        padding: 25px 20px;
    }

    .project-title {
        font-size: 1.7rem;
    }

    .project-tagline {
        font-size: 1rem;
    }

    .project-description {
        font-size: 0.95rem;
    }

    .project-visual {
        height: 240px;
    }

    .skill-category {
        padding: 20px;
    }

    .skill-icon {
        width: 52px;
        height: 52px;
    }

    .skill-category h3 {
        font-size: 1.1rem !important;
    }

    .skill-tags span {
        font-size: 0.85rem;
        padding: 8px 14px;
    }

    .skill-tags span img {
        width: 16px;
        height: 16px;
    }

    .cta-title {
        font-size: 2rem !important;
    }

    .cta-subtitle {
        font-size: 1.1rem;
    }

    .cta-button {
        padding: 14px 28px;
        font-size: 1rem;
    }

    .music-toggle-floating {
        bottom: 15px;
        right: 15px;
        padding: 10px 14px;
        font-size: 1.2rem;
    }
}

/* Extra Small Devices */
@media (max-width: 360px) {
    .hero-title {
        font-size: 1.8rem !important;
    }

    .section-title {
        font-size: 1.8rem !important;
    }

    .project-title {
        font-size: 1.5rem;
    }

    .cta-title {
        font-size: 1.8rem !important;
    }
}