
        /* --- ENHANCED LOADING SCREEN STYLES --- */
        .loading-screen {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100vh;
            background: #1a1a1a;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            z-index: 10000;
            transition: opacity 0.8s ease, visibility 0.8s ease;
            overflow: hidden;
        }

        .loading-screen.hidden {
            opacity: 0;
            visibility: hidden;
            pointer-events: none;
        }

        .particles {
            position: absolute;
            width: 100%;
            height: 100%;
            overflow: hidden;
        }

        .particle {
            position: absolute;
            width: 4px;
            height: 4px;
            background: rgba(102, 126, 234, 0.6);
            border-radius: 50%;
            animation: float 15s infinite;
            box-shadow: 0 0 10px rgba(102, 126, 234, 0.8);
        }

        @keyframes float {
            0%, 100% {
                transform: translateY(0) translateX(0);
                opacity: 0;
            }

            10% {
                opacity: 1;
            }

            90% {
                opacity: 1;
            }

            100% {
                transform: translateY(-100vh) translateX(100px);
                opacity: 0;
            }
        }

        .glow-orb {
            position: absolute;
            width: 400px;
            height: 400px;
            border-radius: 50%;
            background: radial-gradient(circle, rgba(102, 126, 234, 0.3) 0%, transparent 70%);
            filter: blur(60px);
            animation: pulse 4s ease-in-out infinite;
        }

        @keyframes pulse {
            0%, 100% {
                transform: scale(1);
                opacity: 0.5;
            }

            50% {
                transform: scale(1.2);
                opacity: 0.8;
            }
        }

        .loading-content {
            text-align: center;
            z-index: 2;
            animation: fadeInUp 0.8s ease;
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        .loading-title {
            font-size: 42px;
            font-weight: 400;
            color: white;
            margin-bottom: 15px;
            letter-spacing: 4px;
            min-height: 60px;
            position: relative;
            font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
            text-transform: uppercase;
        }

        .loading-title-highlight {
            font-size: 80px;
            font-weight: 800;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            display: block;
            margin-bottom: 30px;
            letter-spacing: 2px;
            min-height: 90px;
            position: relative;
            animation: gradientShift 3s ease infinite;
            font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
        }

        @keyframes gradientShift {
            0%, 100% {
                filter: hue-rotate(0deg);
            }

            50% {
                filter: hue-rotate(20deg);
            }
        }

        .loading-name-box {
            display: inline-block;
            padding: 14px 32px;
            background: rgba(255, 255, 255, 0.03);
            border: 2px solid rgba(102, 126, 234, 0.4);
            border-radius: 12px;
            margin-bottom: 50px;
            backdrop-filter: blur(10px);
            position: relative;
            overflow: hidden;
            animation: borderGlow 2s ease-in-out infinite;
        }

        @keyframes borderGlow {
            0%, 100% {
                box-shadow: 0 0 20px rgba(102, 126, 234, 0.3);
            }

            50% {
                box-shadow: 0 0 40px rgba(102, 126, 234, 0.6);
            }
        }

        .loading-name-box::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: linear-gradient(45deg, transparent, rgba(102, 126, 234, 0.1), transparent);
            animation: shimmer 3s infinite;
        }

        @keyframes shimmer {
            0% {
                transform: translateX(-100%) translateY(-100%) rotate(45deg);
            }

            100% {
                transform: translateX(100%) translateY(100%) rotate(45deg);
            }
        }

        .loading-name {
            font-size: 20px;
            color: rgba(255, 255, 255, 0.9);
            letter-spacing: 1px;
            position: relative;
            z-index: 1;
        }

        .loading-name-highlight {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            font-weight: 700;
        }

        .loading-button {
            display: inline-flex;
            align-items: center;
            gap: 12px;
            padding: 16px 36px;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            border: none;
            border-radius: 12px;
            font-size: 16px;
            font-weight: 600;
            letter-spacing: 0.5px;
            cursor: pointer;
            box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
            overflow: hidden;
            animation: buttonPulse 2s ease-in-out infinite;
        }

        @keyframes buttonPulse {
            0%, 100% {
                transform: scale(1);
            }

            50% {
                transform: scale(1.05);
            }
        }

        .loading-button:hover {
            transform: translateY(-3px) scale(1.05);
            box-shadow: 0 12px 35px rgba(102, 126, 234, 0.6);
            animation: none;
        }

        .loading-icon {
            font-size: 20px;
            animation: spin 2s linear infinite;
        }

        .loading-dots::after {
            content: '';
            animation: dots 1.5s steps(4, end) infinite;
        }

        @keyframes dots {
            0%, 20% {
                content: '';
            }

            40% {
                content: '.';
            }

            60% {
                content: '..';
            }

            80%, 100% {
                content: '...';
            }
        }

        .progress-container {
            width: 300px;
            height: 4px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 2px;
            margin-top: 40px;
            overflow: hidden;
            position: relative;
        }

        .progress-bar {
            height: 100%;
            background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
            border-radius: 2px;
            width: 0%;
            animation: loadProgress 3s ease-in-out forwards;
            box-shadow: 0 0 10px rgba(102, 126, 234, 0.8);
        }

        @keyframes loadProgress {
            0% {
                width: 0%;
            }

            100% {
                width: 100%;
            }
        }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }

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

        @keyframes spin {
            from {
                transform: rotate(0deg);
            }

            to {
                transform: rotate(360deg);
            }
        }

        body.loading .main-content {
            opacity: 0;
        }

        body.loaded .main-content {
            animation: fadeIn 0.8s ease;
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
            }

            to {
                opacity: 1;
            }
        }
 /* =================== MOBILE NAVIGATION MENU =================== */

/* Hamburger Button */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 100%;
    height: 3px;
    background: white;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Menu Overlay - FIXED */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    max-width: 300px;
    height: 100vh;
    background: rgba(25, 25, 25, 0.98);
    backdrop-filter: blur(20px);
    z-index: 999;
    padding: 100px 30px 30px;
    transition: right 0.4s ease;
    overflow-y: auto;
}

.mobile-menu.active {
    right: 0;
}

/* Mobile Menu Links - FORCE VISIBILITY */
.mobile-menu .nav-links {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.mobile-menu .nav-links li {
    display: block !important;
    list-style: none !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.mobile-menu .nav-links a {
    display: block !important;
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: 18px !important;
    font-weight: 500 !important;
    padding: 15px 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
    transition: all 0.3s ease !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.mobile-menu .nav-links a:hover {
    color: #667eea !important;
    padding-left: 10px !important;
}

/* =================== TABLET STYLES (769px - 1024px) =================== */
@media (min-width: 769px) and (max-width: 1024px) {
    
    /* Projects Tab Section */
    .content-card-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 25px;
        max-width: 100%;
    }
    
    .content-card {
        max-width: 100%;
        width: 100%;
    }
    
    .card-image-container {
        height: 220px;
    }
    
    .card-title {
        font-size: 18px;
    }
    
    .card-tech-stack {
        font-size: 12px;
    }
    
    .card-description {
        font-size: 14px;
    }
    
    .card-footer {
        flex-direction: row;
        gap: 10px;
    }
    
    .card-link-button {
        flex: 1;
        font-size: 12px;
        padding: 10px 15px;
        justify-content: center;
    }
}

/* =================== SMALLER TABLETS (769px - 900px) =================== */
@media (min-width: 769px) and (max-width: 900px) {
    .content-card-grid {
        grid-template-columns: 1fr !important;
        max-width: 600px;
        margin: 0 auto;
    }
}

        
            @media (max-width: 968px) {
                .mobile-menu-toggle {
        display: flex !important;
    }
    
    nav > .nav-links {
        display: none !important;
    }
    
    .mobile-menu {
        display: block;
    }
                h1 {
        font-size: 52px; /* increased size */
        white-space: normal; /* allow wrapping control */
        margin-bottom: 20px;

        
    }
    
    /* Hide the <br> tag on mobile to keep name on single line */
    h1 br {
        display: none;
    }
    h1 .name-first::after {
        content: " "; /* Adds proper space */
    }
    html, body {
        overflow-x: hidden !important;
        max-width: 100vw !important;
    }
    
    .nav-links {
        display: none !important;
    }
    
    .mobile-menu-toggle {
        display: flex !important;
    }
    
    /* Hide desktop navigation */
    nav > .nav-links {
        display: none !important;
    }
    
    /* HIDE ROBOT ON MOBILE */
    .spline-container {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
        width: 0 !important;
        height: 0 !important;
        position: absolute !important;
        left: -9999px !important;
    }
    
    spline-viewer {
        display: none !important;
        visibility: hidden !important;
    }
    
    .container {
        flex-direction: column;
        padding: 100px 20px 40px;

    }
    
    h1 {
        font-size: 42px;
        text-align: center;
    }
    
    /* Keep your other existing mobile styles... */
}

            .loading-title {
                font-size: 32px;
            }

            .loading-title-highlight {
                font-size: 52px;
            }

            .glow-orb {
                width: 250px;
                height: 250px;
            }
        

        /* --- Base Styles (No change from previous version) --- */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        html{
            overflow-x: hidden !important;
    width: 100%;
    max-width: 100vw;
        }

       body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    overflow-x: hidden !important;
    width: 100%;
    max-width: 100vw;
    background: #1a1a1a;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #1a1a1a;
    z-index: -1;
}

    /* Vanta.js Background - Fixed Version */
#vanta-bg {
    position: fixed;
    width: 100%;
    height: 100%;
    min-height: 100vh;
    top: 0;
    left: 0;
    z-index: 0;
    overflow: hidden;
}

#vanta-bg canvas {
    min-height: 100vh !important;
    height: 100% !important;
    width: 100% !important;
}


        nav {
            position: fixed;
            top: 0;
            width: 100%;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 20px 60px;
            z-index: 1000;
            background: rgba(30, 30, 30, 0.5);
            backdrop-filter: blur(10px);
        }

        .logo {
            color: white;
            font-size: 18px;
            font-weight: 600;
            letter-spacing: 0.5px;
        }


        .nav-links {
            display: flex;
            gap: 40px;
            list-style: none;
        }

        .nav-links a {
            color: rgba(255, 255, 255, 0.7);
            text-decoration: none;
            font-size: 15px;
            transition: color 0.3s;
            position: relative;
            padding-bottom: 5px;
        }

        /* --- NAV BAR ACTIVE LINK STYLES (NEW/MODIFIED) --- */
        .nav-links a::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            /* Starts hidden */
            height: 2px;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            transition: width 0.3s ease;
        }

        .nav-links a:hover {
            color: white;
        }

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

        /* 🔥 NEW: Active class for current section */
        .nav-links a.active {
            color: white;
            /* Highlight text */
        }

        .nav-links a.active::after {
            width: 100%;
            /* Show underline */
        }

        /* --- END NAV BAR ACTIVE LINK STYLES --- */


       .container {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 80px;
    max-width: 1600px;
    margin: 0 auto;
    gap: 40px;
    overflow: hidden;
}

.content {
    flex: 0 0 550px;
    max-width: 550px;
    margin-top: 30px;
    min-width: 0;
}
        .greeting {
            color: rgba(255, 255, 255, 0.8);
            font-size: 24px;
            margin-bottom: 15px;
            font-weight: 300;
            letter-spacing: 0.5px;
        }

      h1 {
    color: white;
    font-size: 82px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 25px;
    letter-spacing: -1px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

        .subtitle {
            color: rgba(255, 255, 255, 0.7);
            font-size: 26px;
            margin-bottom: 50px;
            font-weight: 400;
            min-height: 35px;
        }

        .typing-text {
            display: inline-block;
            border-right: 2px solid rgba(255, 255, 255, 0.7);
            padding-right: 5px;
            animation: blink 0.7s infinite;
        }

        @keyframes blink {

            0%,
            50% {
                border-color: rgba(255, 255, 255, 0.7);
            }

            51%,
            100% {
                border-color: transparent;
            }
        }

        .buttons {
            display: flex;
            gap: 20px;
            margin-bottom: 40px;
        }

        .btn {
            padding: 16px 36px;
            border: none;
            border-radius: 12px;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            gap: 10px;
            position: relative;
            overflow: hidden;
            letter-spacing: 0.3px;
        }

        .btn-primary {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
        }

        .btn-primary::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
            transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            z-index: -1;
        }

        .btn-primary:hover::before {
            left: 0;
        }

        .btn-primary:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 25px rgba(102, 126, 234, 0.6);
        }

        .btn-primary:active {
            transform: translateY(-1px);
            box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
        }

        .btn-primary svg {
            transition: transform 0.3s ease;
        }

        .btn-primary:hover svg {
            transform: scale(1.1) rotate(5deg);
        }

        .social-links {
            display: flex;
            gap: 18px;
        }

        .social-btn {
            width: 58px;
            height: 58px;
            background: rgba(255, 255, 255, 0.05);
            border: 1.5px solid rgba(255, 255, 255, 0.15);
            border-radius: 14px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            text-decoration: none;
            position: relative;
            overflow: hidden;
            backdrop-filter: blur(10px);
        }

        .social-btn::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 0;
            height: 0;
            border-radius: 50%;
            background: radial-gradient(circle, rgba(102, 126, 234, 0.3) 0%, transparent 70%);
            transform: translate(-50%, -50%);
            transition: width 0.4s ease, height 0.4s ease;
        }

        .social-btn:hover::before {
            width: 100px;
            height: 100px;
        }

        .social-btn:hover {
            background: rgba(102, 126, 234, 0.2);
            border-color: rgba(102, 126, 234, 0.5);
            transform: translateY(-4px);
            box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
        }

        .social-btn:active {
            transform: translateY(-2px);
        }

        .social-btn svg {
            width: 22px;
            height: 22px;
            fill: white;
            transition: all 0.3s ease;
            position: relative;
            z-index: 1;
        }

        .social-btn:hover svg {
            fill: #fff;
            transform: scale(1.15) rotate(5deg);
        }

        .spline-container {
            flex: 1;
            height: 650px;
            display: flex;
            align-items: center;
            justify-content: flex-end;
            position: relative;
            overflow: visible;
            padding-right: 0;
        }

        spline-viewer {
            width: 140%;
            height: 100%;
            transform: translateX(120px);
        }

        /* Hide Spline Logo CSS */
        spline-viewer::part(logo) {
            display: none !important;
            opacity: 0 !important;
            visibility: hidden !important;
        }

        spline-viewer #logo,
        spline-viewer [id*="logo"],
        spline-viewer [id*="Logo"],
        spline-viewer [class*="logo"],
        spline-viewer [class*="Logo"],
        spline-viewer a[href*="spline"],
        spline-viewer a[href*="Spline"] {
            display: none !important;
            opacity: 0 !important;
            visibility: hidden !important;
            pointer-events: none !important;
            width: 0 !important;
            height: 0 !important;
            position: absolute !important;
            left: -9999px !important;
        }

        /* End Hide Spline Logo CSS */

        /* --- NEW SCROLL INDICATOR STYLES --- */
        .scroll-indicator {
            position: fixed;
            bottom: 40px;
            left: 50%;
            transform: translateX(-50%);
            z-index: 100;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 10px;
            cursor: pointer;
            opacity: 1;
            /* Start visible */
            transition: opacity 0.5s ease, transform 0.5s ease;
            /* Fade-out transition */
        }

        /* New class to hide the indicator */
        .scroll-indicator.hidden {
            opacity: 0;
            pointer-events: none;
            /* Make it unclickable when hidden */
            transform: translateX(-50%) translateY(20px);
            /* Small upward move as it fades */
        }

        .scroll-indicator:hover {
            opacity: 1;
        }

        .scroll-text {
            color: rgba(255, 255, 255, 0.7);
            font-size: 12px;
            letter-spacing: 2px;
            text-transform: uppercase;
            font-weight: 500;
        }

        .scroll-icon {
            width: 30px;
            height: 50px;
            border: 2px solid rgba(255, 255, 255, 0.5);
            border-radius: 20px;
            position: relative;
            animation: bounce 2s infinite;
        }

        .scroll-icon::before {
            content: '';
            position: absolute;
            top: 8px;
            left: 50%;
            transform: translateX(-50%);
            width: 4px;
            height: 8px;
            background: rgba(255, 255, 255, 0.7);
            border-radius: 2px;
            animation: scroll 2s infinite;
        }

        @keyframes bounce {

            0%,
            100% {
                transform: translateY(0);
            }

            50% {
                transform: translateY(10px);
            }
        }

        @keyframes scroll {
            0% {
                opacity: 1;
                transform: translateX(-50%) translateY(0);
            }

            100% {
                opacity: 0;
                transform: translateX(-50%) translateY(20px);
            }
        }

        /* --- END NEW SCROLL INDICATOR STYLES --- */

        /* --- About Section Styles (Retaining 3px blur) --- */
        .about-section {
            min-height: 100vh;
            padding: 150px 80px 80px;
            position: relative;
            z-index: 1;
            display: flex;
            align-items: center;
            justify-content: center;
            width: 100vw;
            margin-left: calc(50% - 50vw);
            background: rgba(34, 34, 34, 0.15);
            backdrop-filter: blur(3px);
            /* Base blur rate: 3px */
            -webkit-backdrop-filter: blur(3px);
        }

        .about-container {
            max-width: 1400px;
            width: 100%;
            position: relative;
            margin-left: -10px;
        }

        .about-label {
            color: rgba(255, 255, 255, 0.5);
            font-size: 14px;
            letter-spacing: 3px;
            text-transform: uppercase;
            font-weight: 600;
            margin-bottom: 40px;
            display: inline-block;
            position: relative;
            opacity: 0;
            transform: translateY(-80px) scale(0.8);
            transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
        }

        .about-label.visible {
            opacity: 1;
            transform: translateY(0) scale(1);
        }

        .about-label.exiting {
            opacity: 0;
            transform: translateY(-100px) scale(0.7) rotate(-10deg);
            transition: all 0.7s cubic-bezier(0.6, -0.28, 0.74, 0.05);
            transition-delay: 0.5s;
        }

        .about-label::before {
            content: '';
            position: absolute;
            left: -60px;
            top: 50%;
            transform: translateY(-50%);
            width: 50px;
            height: 2px;
            background: linear-gradient(90deg, transparent, #667eea);
        }

        .about-grid {
            max-width: 1200px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: 30% 70%;
            gap: 60px;
            align-items: center;
        }

        .about-image-container {
            position: relative;
            width: 350px;
            height: 420px;
            opacity: 0;
            transform: translateX(-150px);
            transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
            transition-delay: 0.2s;
        }

        .about-image-container.visible {
            opacity: 1;
            transform: translateX(0);
        }

        .about-image-container.exiting {
            opacity: 0;
            transform: translateX(-250px) rotateY(-45deg) scale(0.6);
            transition: all 0.7s cubic-bezier(0.6, -0.28, 0.74, 0.05);
            transition-delay: 0.4s;
        }

        .about-image-wrapper {
            width: 100%;
            height: 100%;
            position: relative;
            border-radius: 20px;
            overflow: hidden;
            background: rgba(255, 255, 255, 0.03);
            border: 2px solid rgba(255, 255, 255, 0.1);
            transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .about-image-wrapper::before {
            content: '';
            position: absolute;
            top: -2px;
            left: -2px;
            right: -2px;
            bottom: -2px;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            border-radius: 20px;
            opacity: 0;
            transition: opacity 0.5s ease;
            z-index: -1;
        }

        .about-image-wrapper:hover::before {
            opacity: 1;
        }

        .about-image-wrapper:hover {
            transform: translateY(-8px);
            border-color: transparent;
            box-shadow: 0 20px 40px rgba(102, 126, 234, 0.3);
        }

        .about-image {
            width: 100%;
            height: 100%;
            object-fit: cover;
            filter: grayscale(100%);
            transition: filter 0.5s ease;
        }

        .about-image-wrapper:hover .about-image {
            filter: grayscale(0%);
        }

        .about-image-placeholder {
            width: 100%;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            background: rgba(255, 255, 255, 0.05);
            color: rgba(255, 255, 255, 0.3);
            font-size: 18px;
            letter-spacing: 1px;
        }

        .about-content {
            color: white;
            position: relative;

        }

        .about-title {
            font-size: 48px;
            font-weight: 700;
            line-height: 1.2;
            margin-bottom: 20px;
            letter-spacing: -1px;
            opacity: 0;
            transform: translateY(80px);
            transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
            transition-delay: 0.3s;
        }

        .about-title.visible {
            opacity: 1;
            transform: translateY(0);
        }

        .about-title.exiting {
            opacity: 0;
            transform: translateY(-80px);
            transition-delay: 0.5s;
        }

        .about-title span {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .about-description {
            color: rgba(255, 255, 255, 0.7);
            font-size: 16px;
            line-height: 1.6;
            margin-bottom: 25px;
            opacity: 0;
            transform: translateX(120px);
            transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .about-description:nth-of-type(1) {
            transition-delay: 0.4s;
        }

        .about-description:nth-of-type(2) {
            transition-delay: 0.5s;
        }

        .about-description.visible {
            opacity: 1;
            transform: translateX(0);
        }

        .about-description.exiting {
            opacity: 0;
            transform: translateX(200px) scale(0.75) rotateZ(5deg);
            transition: all 0.7s cubic-bezier(0.6, -0.28, 0.74, 0.05);
            transition-delay: 0.25s;
        }

        .about-description:nth-of-type(1).exiting {
            transition-delay: 0.3s;
        }

        .about-description:nth-of-type(2).exiting {
            transition-delay: 0.25s;
        }

        /* --- NEW STAT BOX STYLES --- */
        .about-stats {
            display: flex;
            gap: 20px;
            margin-top: 35px;
            margin-bottom: 40px;
            /* Space before buttons */

            /* Animation initial state */
            opacity: 0;
            transform: translateX(100px);
            transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
            transition-delay: 0.6s;
            /* Starts after descriptions */
        }

        .about-stats.visible {
            opacity: 1;
            transform: translateX(0);
        }

        .about-stats.exiting {
            opacity: 0;
            transform: translateY(80px) scale(0.7) rotateX(-20deg);
            transition: all 0.7s cubic-bezier(0.6, -0.28, 0.74, 0.05);
            transition-delay: 0.2s;
        }

        .stat-box {
            flex: 1;
            background: rgba(255, 255, 255, 0.05);
            padding: 20px 15px;
            border-radius: 12px;
            border: 1px solid rgba(255, 255, 255, 0.1);
            text-align: center;
            backdrop-filter: blur(5px);
            transition: all 0.3s ease;
            cursor: default;

            /* Stat box specific animation (inherits delay from parent) */
            opacity: 1;
            transform: translateY(0) scale(1);
        }

        .stat-box:hover {
            background: rgba(102, 126, 234, 0.1);
            border-color: rgba(102, 126, 234, 0.5);
            transform: translateY(-5px) scale(1);
            box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
        }

        .stat-number {
            font-size: 32px;
            font-weight: 800;
            margin-bottom: 5px;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .stat-label {
            font-size: 13px;
            font-weight: 500;
            color: rgba(255, 255, 255, 0.7);
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        /* --- END NEW STAT BOX STYLES --- */


        .about-buttons {
            display: flex;
            gap: 15px;
            margin-top: 0;
            /* Space is handled by .about-stats now */
            margin-bottom: 30px;
            opacity: 0;
            transform: translateX(100px);
            transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
            transition-delay: 1s;
            /* Adjusted delay to follow stats */
        }

        .about-buttons.visible {
            opacity: 1;
            transform: translateX(0);
        }

        .about-buttons.exiting {
            opacity: 0;
            transform: translateY(80px) scale(0.7) rotateX(-20deg);
            transition: all 0.7s cubic-bezier(0.6, -0.28, 0.74, 0.05);
            transition-delay: 0.2s;
        }

        .about-btn {
            padding: 14px 32px;
            border: none;
            border-radius: 12px;
            font-size: 15px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            gap: 8px;
            position: relative;
            overflow: hidden;
            letter-spacing: 0.3px;
        }

        .about-btn-primary {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
        }

        .about-btn-primary::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
            transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            z-index: -1;
        }

        .about-btn-primary:hover::before {
            left: 0;
        }

        .about-btn-primary:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 25px rgba(102, 126, 234, 0.6);
        }

        .about-btn-secondary {
            background: rgba(255, 255, 255, 0.05);
            color: white;
            border: 2px solid rgba(102, 126, 234, 0.5);
            box-shadow: 0 4px 15px rgba(102, 126, 234, 0.2);
        }

        .about-btn-secondary::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, rgba(102, 126, 234, 0.2) 0%, rgba(118, 75, 162, 0.2) 100%);
            transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            z-index: -1;
        }

        .about-btn-secondary:hover::before {
            left: 0;
        }

        .about-btn-secondary:hover {
            transform: translateY(-3px);
            border-color: rgba(102, 126, 234, 0.8);
            box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
        }

        .about-btn svg {
            transition: transform 0.3s ease;
        }

        .about-btn:hover svg {
            transform: scale(1.1) rotate(5deg);
        }

        /* --- SKILLS SECTION (Enhanced Keycap Design) --- */

        .skills-section {
            min-height: 100vh;
            padding: 150px 80px 80px;
            position: relative;
            z-index: 1;
            display: flex;
            align-items: center;
            justify-content: center;
            width: 100vw;
            margin-left: calc(50% - 50vw);
            background: rgba(34, 34, 34, 0.3);
            /* ✅ CORRECTED: Match blur rate with about section */
            backdrop-filter: blur(3px);
            -webkit-backdrop-filter: blur(3px);
        }

        .skills-container {
            max-width: 1400px;
            width: 100%;
            margin: 0 auto;
        }

        .skills-label {
            color: rgba(255, 255, 255, 0.5);
            font-size: 14px;
            letter-spacing: 3px;
            text-transform: uppercase;
            font-weight: 600;
            margin-bottom: 40px;
            display: block;
            position: relative;
            text-align: center;
            opacity: 0;
            transform: translateY(-80px) scale(0.8);
            transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
        }

        .skills-label.visible {
            opacity: 1;
            transform: translateY(0) scale(1);
        }

        .skills-label::before,
        .skills-label::after {
            content: '';
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: 15%;
            height: 2px;
        }

        .skills-label::before {
            left: 5%;
            background: linear-gradient(90deg, transparent, #667eea);
        }

        .skills-label::after {
            right: 5%;
            background: linear-gradient(90deg, #764ba2, transparent);
        }


        .skills-title {
            font-size: 48px;
            font-weight: 700;
            line-height: 1.2;
            margin-bottom: 50px;
            letter-spacing: -1px;
            color: white;
            text-align: center;
            opacity: 0;
            transform: translateY(80px);
            transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
            transition-delay: 0.2s;
        }

        .skills-title.visible {
            opacity: 1;
            transform: translateY(0);
        }

        .skills-title span {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .p-solve {
            font-size: 9px !important;
        }

        .skills-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
            gap: 15px;
            max-width: 900px;
            margin: 0 auto;
            padding: 20px;
            background: rgba(0, 0, 0, 0.25);
            border-radius: 20px;
            border: 1px solid rgba(255, 255, 255, 0.05);
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
        }

        /* Update the existing CSS styles in your <style> block */

        .skill-chip {
            height: 100px;
            width: 100%;
            padding: 0;
            background: #333;
            border: none;
            border-radius: 12px;
            color: white;
            font-size: 14px;
            font-weight: 500;
            cursor: pointer;
            position: relative;
            overflow: hidden;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            /* 💥 FIX APPLIED: Reduced transform transition to 0.05s for snappy hover-in/out */
            transition: box-shadow 0.3s ease, transform 0.05s ease-out;

            /* ENHANCED 3D SHADOW: Simulate depth and thickness */
            box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.5),
                0 8px 0 rgba(0, 0, 0, 0.6),
                /* Bottom shadow for thickness */
                0 10px 20px rgba(0, 0, 0, 0.4);

            /* Animation initial state */
            opacity: 0;
            transform: scale(0.8) translateY(20px);
        }

        /* --- START: ANIMATION FIX CSS --- */
        /* Ensures the icon/name is hidden while the keycap is in its pre-visible or exiting state */
        .skill-chip.exiting .skill-icon,
        .skill-chip.exiting .skill-name,
        .skill-chip:not(.visible) .skill-icon,
        .skill-chip:not(.visible) .skill-name {
            opacity: 0;
            transition: none;
        }

        /* Reveals icon/name when keycap is fully visible and not hovered */
        .skill-chip.visible .skill-icon,
        .skill-chip.visible .skill-name {
            opacity: 1;
            transition: opacity 0.3s ease;
        }

        /* --- END: ANIMATION FIX CSS --- */

        .skill-chip.visible {
            opacity: 1;
            transform: scale(1) translateY(0);
            /* 💥 CRITICAL FIX HERE: Override the long 'all 0.6s' for transform only, 
       so hover-out is snappy while the entrance is still smooth. */
            transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.05s ease-out,
                /* Quick transform for instant "get down" */
                box-shadow 0.3s ease;
        }

        /* ENHANCED HOVER: LIFT and GLOW */
        .skill-chip:hover {
            transform: translateY(-5px);
            /* Stronger lift - This will now be instant */
            box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.5),
                0 13px 0 rgba(0, 0, 0, 0.6),
                /* Adjusted bottom shadow */
                0 15px 30px rgba(102, 126, 234, 0.8),
                /* Stronger central shadow */
                0 0 15px rgba(102, 126, 234, 0.7);
            /* Neon glow effect */
        }

        /* Keycap Color Definitions based on your list */
        .skill-chip[data-skill="React"] {
            background: #61DAFB;
            color: #000;
        }

        .skill-chip[data-skill="JavaScript"] {
            background: #F7DF1E;
            color: #000;
        }

        .skill-chip[data-skill="HTML/CSS"] {
            background: #E34F26;
        }

        .skill-chip[data-skill="Bootstrap"] {
            background: #7952B3;
        }

        .skill-chip[data-skill="Tailwind CSS"] {
            background: #06B6D4;
        }

        .skill-chip[data-skill="Node.js"] {
            background: #68A063;
        }

        .skill-chip[data-skill="Express.js"] {
            background: #fff;
            color: #000;
        }

        .skill-chip[data-skill="REST API"] {
            background: #FF5A00;
        }

        .skill-chip[data-skill="Git & GitHub"] {
            background: #333;
            border: 1px solid #777;
        }

        .skill-chip[data-skill="SQL"] {
            background: #005E86;
        }

        .skill-chip[data-skill="MongoDB"] {
            background: #47A248;
        }

        .skill-chip[data-skill="Python"] {
            background: #3776AB;
        }

        .skill-chip[data-skill="Java"] {
            background: #007396;
        }

        .skill-chip[data-skill="C"] {
            background: #555555;
        }

        .skill-chip[data-skill="Problem Solving"] {
            background: #3c1363;
        }


        /* General Icon Styling for Font Awesome and custom SVGs */
        .skill-icon {
            width: 35px;
            height: 35px;
            font-size: 35px;
            /* For Font Awesome */
            fill: currentColor;
            color: currentColor;
            /* For Font Awesome */
            margin-bottom: 5px;
        }

        /* Adjust icon color for light keys */
        .skill-chip[data-skill="Express.js"] .skill-icon,
        .skill-chip[data-skill="JavaScript"] .skill-icon,
        .skill-chip[data-skill="React"] .skill-icon {
            color: #000;
        }

        /* Specific SVG overrides (fill color) */
        .skill-chip[data-skill="MongoDB"] .skill-icon {
            fill: white;
        }

        .skill-chip[data-skill="Node.js"] .skill-icon {
            fill: white;
        }


        .skill-name {
            font-size: 11px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            position: relative;
            z-index: 2;
            color: inherit;
        }

        /* FIX: Ensure multiline hover text is centered */
        .skill-chip::before {
            content: attr(data-skill);
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            display: flex;
            flex-direction: column;
            /* Allows vertical centering of the lines */
            align-items: center;
            justify-content: center;
            text-align: center;
            /* IMPORTANT: Centers wrapped lines */
            white-space: pre-wrap;
            /* Allows words to wrap naturally */

            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            font-size: 17px;
            /* Slightly larger text to look better */
            font-weight: 700;
            line-height: 1.1;
            /* Adjust line height for multiline text */
            letter-spacing: 1px;
            transform: scale(0.1);
            opacity: 0;
            transition: all 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55);
            border-radius: 12px;
            z-index: 3;
        }

        .skill-chip:hover::before {
            transform: scale(1);
            opacity: 1;
        }

        .skill-chip:hover .skill-icon,
        .skill-chip:hover .skill-name {
            opacity: 0;
        }

        /* --- NEW TABBED CONTENT STYLES (Projects/Experience/Achievements) --- */

        .tab-section {
            min-height: 100vh;
            padding: 150px 80px 80px;
            position: relative;
            z-index: 1;
            display: flex;
            align-items: flex-start;
            justify-content: center;
            width: 100vw;
            margin-left: calc(50% - 50vw);
            background: rgba(34, 34, 34, 0.4);
            /* ✅ CORRECTED: Match blur rate with about section */
            backdrop-filter: blur(3px);
            -webkit-backdrop-filter: blur(3px);
        }

        .tab-container {
            max-width: 1400px;
            width: 100%;
            margin: 0 auto;
            text-align: center;
        }

        /* MODIFIED: Tab Label (Portfolio) for distinct look - Left Aligned, different line gradient */
        /* Tab Label (Portfolio) - Vertical lines design */
        .tab-label {
            color: rgba(255, 255, 255, 0.5);
            font-size: 14px;
            letter-spacing: 3px;
            text-transform: uppercase;
            font-weight: 600;
            margin-bottom: 40px;
            display: block;
            position: relative;
            text-align: center;
            opacity: 0;
            transform: translateY(-80px) scale(0.8);
            transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
        }

        .tab-label.visible {
            opacity: 1;
            transform: translateY(0) scale(1);
        }

        /* Vertical lines on sides */
        /* Vertical lines on sides */
        .tab-label::before,
        .tab-label::after {
            content: '';
            position: absolute;
            top: -10px;
            width: 2px;
            height: 40px;
        }

        /* Left vertical line */
        .tab-label::before {
            left: 20%;
            background: linear-gradient(to bottom, transparent, #9b59b6, transparent);
        }

        /* Right vertical line */
        .tab-label::after {
            right: 20%;
            background: linear-gradient(to bottom, transparent, #3498db, transparent);
        }


        /* Tab Title - MODIFIED gradient for distinct look */
        .tab-title {
            font-size: 48px;
            font-weight: 700;
            line-height: 1.2;
            margin-bottom: 60px;
            letter-spacing: -1px;
            color: white;
            text-align: center;
            opacity: 0;
            transform: translateY(80px);
            transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
            transition-delay: 0.2s;
        }

        .tab-title.visible {
            opacity: 1;
            transform: translateY(0);
        }

        .tab-title span {
            /* NEW GRADIENT: From bright purple (#9b59b6) to bright blue (#3498db) */
            background: linear-gradient(135deg, #9b59b6 0%, #3498db 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .tab-headers {
            display: flex;
            justify-content: center;
            gap: 20px;
            margin-bottom: 50px;
            max-width: 800px;
            margin: 0px auto 50px auto;
            padding: 8px;
            background: rgba(0, 0, 0, 0.2);
            border-radius: 20px;
            border: 1px solid rgba(255, 255, 255, 0.08);
            box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.3);
            opacity: 0;
            transform: translateX(-100px);
            transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
            transition-delay: 0.5s;
        }

        .tab-headers.visible {
            opacity: 1;
            transform: translateX(0);
        }


        .tab-box {
            flex: 1;
            padding: 18px 15px;
            background: rgba(255, 255, 255, 0.03);
            border-radius: 14px;
            cursor: pointer;
            transition: all 0.2s ease-out;
            border: 1.5px solid rgba(255, 255, 255, 0.1);
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 8px;
            color: rgba(255, 255, 255, 0.6);
            position: relative;
            overflow: hidden;
        }

        .tab-box::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
            opacity: 0;
            transition: opacity 0.4s ease;
        }

        .tab-box:hover::before {
            opacity: 1;
        }

        .tab-box:hover {
            background: rgba(255, 255, 255, 0.08);
            color: white;
            transform: translateY(-3px);
            border-color: rgba(102, 126, 234, 0.4);
            box-shadow: 0 8px 20px rgba(102, 126, 234, 0.25);
        }

        .tab-box.active {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            border-color: transparent;
            box-shadow: 0 6px 25px rgba(102, 126, 234, 0.5),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
            transform: translateY(-2px) scale(1.02);
        }

        .tab-box.active::before {
            opacity: 0;
        }

        .tab-box i {
            font-size: 24px;
            transition: all 0.3s ease;
            position: relative;
            z-index: 1;
        }

        .tab-box:hover i {
            transform: scale(1.1);
        }

        .tab-box.active i {
            transform: scale(1.15);
            filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
        }

        .tab-box-title {
            font-size: 13px;
            font-weight: 600;
            letter-spacing: 0.8px;
            text-transform: uppercase;
            position: relative;
            z-index: 1;
        }

        /* Content Area */
        .tab-content-area {
            max-width: 1000px;
            margin: 0 auto;
            text-align: left;
            padding: 40px;
            background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.08) 100%);
            border-radius: 20px;
            border: 1px solid rgba(255, 255, 255, 0.12);
            max-height: 80vh;
            overflow-y: auto;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.05);
            overflow-x: hidden;
            position: relative;
            /* ✅ CORRECTED: Softer internal blur */
            backdrop-filter: blur(5px);
            opacity: 0;
            transform: translateX(100px);
            transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
            transition-delay: 0.8s;
        }

        .tab-content-area.visible {
            opacity: 1;
            transform: translateX(0);
        }

        /* Enhanced scrollbar styling */
        .tab-content-area::-webkit-scrollbar {
            width: 10px;
        }

        .tab-content-area::-webkit-scrollbar-track {
            background: rgba(0, 0, 0, 0.2);
            border-radius: 10px;
            margin: 10px 0;
        }

        .tab-content-area::-webkit-scrollbar-thumb {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            border-radius: 10px;
            border: 2px solid rgba(0, 0, 0, 0.2);
        }

        .tab-content-area::-webkit-scrollbar-thumb:hover {
            background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
            box-shadow: 0 0 10px rgba(102, 126, 234, 0.5);
        }


        .content-title {
            font-size: 28px;
            font-weight: 700;
            margin-bottom: 35px;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            border-bottom: 2px solid rgba(102, 126, 234, 0.3);
            padding-bottom: 15px;
            letter-spacing: -0.5px;
        }

        /* Cleanup: Remove old list styles from the new content area */
        .tab-content-area .project-item,
        .tab-content-area .experience-item,
        .tab-content-area .achievement-item {
            margin-bottom: 0;
            padding: 0;
            border-left: none;
            background: transparent;
            border-radius: 0;
        }

        /* Old styles retained for content inside the new cards */
        .experience-company {
            font-size: 15px;
            color: #667eea;
            font-weight: 500;
            margin-bottom: 10px;
        }

        .experience-details {
            margin-top: 10px;
            margin-left: 20px;
            color: rgba(255, 255, 255, 0.8);
            font-size: 15px;
        }

        .achievement-issuer {
            font-size: 14px;
            color: #667eea;
        }

        /* --- NEW CARD LAYOUT STYLES for Tab Content --- */

        /* Grid container for cards */
        .content-card-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 25px;
            padding: 10px 0;
            max-width: 100%;
        }

        /* Individual Card Style */
        .content-card {
            background: linear-gradient(135deg, rgba(40, 40, 40, 0.6) 0%, rgba(30, 30, 30, 0.8) 100%);
            border-radius: 16px;
            overflow: hidden;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            border: 1px solid rgba(255, 255, 255, 0.12);
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
            display: flex;
            flex-direction: column;
            position: relative;
        }

        .content-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 3px;
            background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
            opacity: 0;
            transition: opacity 0.4s ease;
        }

        .content-card:hover::before {
            opacity: 1;
        }

        .content-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 16px 40px rgba(102, 126, 234, 0.4);
            border-color: rgba(102, 126, 234, 0.4);
        }

        .card-image-container {
            height: 200px;
            overflow: hidden;
            position: relative;
            background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 10px;
            border-radius: 16px 16px 0 0;
            /* Only top corners rounded */
        }

        .card-image-placeholder {
            font-size: 14px;
            color: rgba(255, 255, 255, 0.5);
            text-align: center;
            padding: 20px;
            line-height: 1.6;
            font-weight: 500;
        }

        .card-image {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .content-card:hover .card-image {
            transform: scale(1.08);
        }

        .card-body {
            padding: 20px;
            flex-grow: 1;
        }

        .card-title-header {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            margin-bottom: 12px;
        }

        .card-title {
            font-size: 19px;
            font-weight: 700;
            color: white;
            line-height: 1.3;
            letter-spacing: -0.3px;
        }

        .card-tech-stack {
            font-size: 12px;
            font-weight: 600;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            margin-bottom: 8px;
            display: block;
            letter-spacing: 0.3px;
        }

        .card-date {
            font-size: 12px;
            color: rgba(255, 255, 255, 0.45);
            font-weight: 500;
            white-space: nowrap;
        }

        .card-description {
            font-size: 14px;
            color: rgba(255, 255, 255, 0.75);
            line-height: 1.6;
            margin-bottom: 20px;
            overflow: hidden;
            display: block;
            padding: 0;
            list-style: none;
        }

        .card-description li {
            position: relative;
            padding-left: 18px;
            margin-bottom: 8px;
            font-size: 13.5px;
        }

        .card-description li::before {
            content: '▸';
            color: #764ba2;
            font-weight: 900;
            position: absolute;
            left: 0;
            top: 0;
            font-size: 14px;
        }


        .card-footer {
            padding: 0 24px 24px;
            display: flex;
            gap: 12px;
            margin-top: auto;
        }

        /* Card Button Styling */
        .card-link-button {
            padding: 11px 18px;
            border-radius: 10px;
            font-size: 12px;
            font-weight: 600;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            gap: 6px;
            transition: all 0.2s ease-out;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .card-link-primary {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            box-shadow: 0 3px 12px rgba(102, 126, 234, 0.4);
            flex: 1;
            justify-content: center;
        }

        .card-link-secondary {
            background: rgba(255, 255, 255, 0.05);
            color: rgba(102, 126, 234, 0.9);
            border: 1.5px solid rgba(102, 126, 234, 0.4);
            flex: 1;
            justify-content: center;
        }

        .card-link-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
        }

        .card-link-secondary:hover {
            background: rgba(102, 126, 234, 0.15);
            transform: translateY(-2px);
            color: white;
            border-color: rgba(102, 126, 234, 0.6);
        }

        /* FIX: Ensure tab content is hidden/shown correctly with the new structure */
        .tab-content {
            position: relative;
            padding: 0;
            margin: 0;
            opacity: 0;
            transform: translateY(20px);
            transition: opacity 0.5s ease, transform 0.5s ease;
            display: none;
            visibility: hidden;
        }

        .tab-content.active {
            opacity: 1;
            transform: translateY(0);
            visibility: visible;
            display: block;
        }

        /* --- VERTICAL TIMELINE STYLES (New for Experience/Achievements) --- */
        .timeline-container {
            position: relative;
            max-width: 900px;
            margin: 0 auto;
            padding: 20px 0 20px 30px;
        }

        /* The vertical line - enhanced with gradient */
        .timeline-container::after {
            content: '';
            position: absolute;
            width: 3px;
            background: linear-gradient(to bottom,
                    #667eea 0%,
                    #764ba2 50%,
                    #667eea 100%);
            top: 0;
            bottom: 0;
            left: 25px;
            margin-left: -3px;
            border-radius: 5px;
            box-shadow: 0 0 10px rgba(102, 126, 234, 0.5);
        }

        .timeline-item {
            padding: 15px 15px 35px 50px;
            position: relative;
            background: transparent;
            margin-left: 20px;
        }

        /* The circles (dots) on the line - enhanced */
        .timeline-item::before {
            content: '';
            position: absolute;
            width: 16px;
            height: 16px;
            border: 3px solid #667eea;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            top: 25px;
            left: 17px;
            border-radius: 50%;
            z-index: 1;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            box-shadow: 0 0 0 0 rgba(102, 126, 234, 0.7);
        }

        .timeline-item:hover::before {
            transform: scale(1.5);
            box-shadow: 0 0 0 8px rgba(102, 126, 234, 0.2),
                0 0 15px rgba(102, 126, 234, 0.8);
            border-color: white;
        }

        .timeline-header {
            font-size: 19px;
            font-weight: 700;
            color: white;
            margin-bottom: 8px;
            letter-spacing: -0.3px;
            transition: color 0.3s ease;
        }

        .timeline-item:hover .timeline-header {
            color: #667eea;
        }

        .timeline-meta {
            font-size: 13px;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            margin-bottom: 15px;
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: 10px;
            flex-wrap: wrap;
        }

        .timeline-meta a {
            color: rgba(102, 126, 234, 0.8);
            text-decoration: none;
            font-weight: 600;
            padding: 4px 12px;
            background: rgba(102, 126, 234, 0.1);
            border-radius: 6px;
            border: 1px solid rgba(102, 126, 234, 0.3);
            transition: all 0.3s ease;
            font-size: 11px;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .timeline-meta a:hover {
            background: rgba(102, 126, 234, 0.2);
            border-color: rgba(102, 126, 234, 0.5);
            color: white;
            transform: translateY(-2px);
        }

        .timeline-description {
            font-size: 14px;
            color: rgba(255, 255, 255, 0.75);
            line-height: 1.7;
            padding: 0;
            margin: 0;
            list-style: none;
        }

        .timeline-description p {
            margin-bottom: 8px;
            position: relative;
            padding-left: 18px;
        }

        .timeline-description p::before {
            content: '→';
            position: absolute;
            left: 0;
            color: #764ba2;
            font-weight: 700;
        }

        .timeline-description a {
            font-weight: 600;
            text-decoration: none;
            display: inline-block;
            margin-top: 5px;
        }

        /* --- ACHIEVEMENT BADGE STYLES (Horizontal Layout) --- */
        .achievement-list {
            display: flex;
            flex-direction: column;
            gap: 20px;
            max-width: 900px;
            margin: 0 auto;
        }

        .achievement-badge {
            display: flex;
            gap: 20px;
            padding: 25px;
            background: linear-gradient(135deg, rgba(40, 40, 40, 0.6) 0%, rgba(30, 30, 30, 0.8) 100%);
            border-radius: 16px;
            border: 1px solid rgba(255, 255, 255, 0.12);
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
            overflow: hidden;
        }

        .achievement-badge::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 4px;
            height: 100%;
            background: linear-gradient(to bottom, #667eea 0%, #764ba2 100%);
            transition: width 0.4s ease;
        }

        .achievement-badge:hover {
            transform: translateX(8px);
            border-color: rgba(102, 126, 234, 0.4);
            box-shadow: 0 8px 30px rgba(102, 126, 234, 0.3);
        }

        .achievement-badge:hover::before {
            width: 100%;
            opacity: 0.1;
        }

        .achievement-icon {
            flex-shrink: 0;
            width: 60px;
            height: 60px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: linear-gradient(135deg, rgba(102, 126, 234, 0.2) 0%, rgba(118, 75, 162, 0.2) 100%);
            border-radius: 12px;
            border: 2px solid rgba(102, 126, 234, 0.3);
            transition: all 0.4s ease;
        }

        .achievement-icon i {
            font-size: 28px;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .achievement-badge:hover .achievement-icon {
            transform: scale(1.1) rotate(5deg);
            border-color: rgba(102, 126, 234, 0.6);
            box-shadow: 0 4px 20px rgba(102, 126, 234, 0.4);
        }

        .achievement-content {
            flex: 1;
        }

        .achievement-title {
            font-size: 18px;
            font-weight: 700;
            color: white;
            margin-bottom: 6px;
            letter-spacing: -0.3px;
        }

        .achievement-issuer {
            font-size: 13px;
            color: rgba(102, 126, 234, 0.9);
            font-weight: 600;
            margin-bottom: 4px;
        }

        .achievement-date {
            font-size: 12px;
            color: rgba(255, 255, 255, 0.5);
            margin-bottom: 12px;
            font-weight: 500;
        }

        .achievement-desc {
            font-size: 14px;
            color: rgba(255, 255, 255, 0.75);
            line-height: 1.6;
            margin-bottom: 12px;
        }

        /* 🔥 NEW Button Styling for Links 🔥 */
        .achievement-link {
            /* Base Link Styles */
            display: inline-flex;
            align-items: center;
            gap: 8px;
            font-size: 13px;
            font-weight: 600;
            text-decoration: none;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            text-transform: uppercase;
            letter-spacing: 0.5px;
            cursor: pointer;

            /* Button Appearance */
            background: rgba(102, 126, 234, 0.1);
            color: #667eea;
            padding: 8px 15px;
            border-radius: 8px;
            border: 1px solid rgba(102, 126, 234, 0.3);
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
            position: relative;
            overflow: hidden;
            margin-top: 5px;
            /* Added margin to push it down slightly from the description */
        }

        /* Gradient hover effect background */
        .achievement-link::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            opacity: 0;
            transition: opacity 0.3s ease;
            z-index: -1;
        }

        .achievement-link:hover {
            color: white;
            /* Text turns white on hover */
            transform: translateY(-3px);
            /* Lifts up */
            box-shadow: 0 5px 15px rgba(102, 126, 234, 0.5);
            border-color: transparent;
        }

        .achievement-link:hover::before {
            opacity: 1;
            /* Gradient background fades in */
        }

        /* Ensure the arrow icon uses the correct Font Awesome class */
        .achievement-link i {
            font-size: 12px;
        }

        /* --- CONTACT SECTION STYLES --- */
        .contact-section {
            min-height: 100vh;
            padding: 150px 80px 80px;
            position: relative;
            z-index: 1;
            display: flex;
            align-items: center;
            justify-content: center;
            width: 100vw;
            margin-left: calc(50% - 50vw);
            background: rgba(34, 34, 34, 0.5);
            backdrop-filter: blur(3px);
            -webkit-backdrop-filter: blur(3px);
        }

        .contact-container {
            max-width: 1400px;
            width: 100%;
            margin: 0 auto;
        }

        /* MODIFIED CONTACT LABEL (Unique Underline Design) */
        .contact-label {
            color: rgba(255, 255, 255, 0.5);
            font-size: 14px;
            letter-spacing: 3px;
            text-transform: uppercase;
            font-weight: 600;
            margin-bottom: 40px;
            display: block;
            position: relative;
            text-align: center;
            opacity: 0;
            transform: translateY(-80px) scale(0.8);
            transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
        }

        .contact-label.visible {
            opacity: 1;
            transform: translateY(0) scale(1);
        }

        .contact-label::before {
            content: '';
            position: absolute;
            bottom: -15px;
            /* Position below the text */
            left: 50%;
            /* Center the underline */
            transform: translateX(-50%);
            width: 60px;
            /* Initial width of the underline */
            height: 4px;
            /* Thicker line */
            background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
            /* Your gradient */
            border-radius: 2px;
            /* Soft rounded ends */
            transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
            /* Smooth animation for width/opacity */

            /* Subtle 3D-like shadow for embossed effect */
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.4),
                inset 0 -1px 2px rgba(255, 255, 255, 0.2),
                inset 0 1px 2px rgba(0, 0, 0, 0.5);

            opacity: 0;
            /* Hidden initially */
        }

        .contact-label.visible::before {
            width: 120px;
            /* Expands to a wider line */
            opacity: 1;
            /* Fades in */
            transition-delay: 0.3s;
            /* Delay its animation slightly after the text */
        }

        /* Remove ::after to ensure clean design */
        .contact-label::after {
            display: none;
        }

        /* END MODIFIED CONTACT LABEL */

        .contact-title {
            font-size: 48px;
            font-weight: 700;
            line-height: 1.2;
            margin-bottom: 20px;
            letter-spacing: -1px;
            color: white;
            text-align: center;
            opacity: 0;
            transform: translateY(80px);
            transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
            transition-delay: 0.2s;
        }

        .contact-title.visible {
            opacity: 1;
            transform: translateY(0);
        }

        .contact-title span {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .contact-subtitle {
            text-align: center;
            color: rgba(255, 255, 255, 0.7);
            font-size: 16px;
            margin-bottom: 60px;
            opacity: 0;
            transform: translateY(50px);
            transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
            transition-delay: 0.3s;
        }

        .contact-subtitle.visible {
            opacity: 1;
            transform: translateY(0);
        }

        .contact-content {
            display: grid;
            grid-template-columns: 1fr 1.2fr;
            gap: 50px;
            max-width: 1200px;
            margin: 0 auto;
        }

        .contact-info {
            opacity: 0;
            transform: translateX(-100px);
            transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
            transition-delay: 0.4s;
        }

        .contact-info.visible {
            opacity: 1;
            transform: translateX(0);
        }

        .contact-info-title {
            font-size: 28px;
            font-weight: 700;
            color: white;
            margin-bottom: 25px;
            letter-spacing: -0.5px;
        }

        .contact-info-text {
            color: rgba(255, 255, 255, 0.7);
            font-size: 15px;
            line-height: 1.7;
            margin-bottom: 35px;
        }

        .contact-methods {
            display: flex;
            flex-direction: column;
            gap: 20px;
            margin-bottom: 35px;
        }

        .contact-method {
            display: flex;
            align-items: center;
            gap: 18px;
            padding: 18px 22px;
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 14px;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            cursor: pointer;
            position: relative;
            overflow: hidden;
        }

        .contact-method::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
            transition: left 0.4s ease;
        }

        .contact-method:hover::before {
            left: 0;
        }

        .contact-method:hover {
            background: rgba(255, 255, 255, 0.08);
            border-color: rgba(102, 126, 234, 0.4);
            transform: translateX(10px);
            box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
        }

        .contact-method-icon {
            width: 45px;
            height: 45px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: linear-gradient(135deg, rgba(102, 126, 234, 0.2) 0%, rgba(118, 75, 162, 0.2) 100%);
            border-radius: 10px;
            flex-shrink: 0;
            position: relative;
            z-index: 1;
        }

        .contact-method-icon i {
            font-size: 20px;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .contact-method-content {
            position: relative;
            z-index: 1;
        }

        .contact-method-label {
            font-size: 12px;
            color: rgba(255, 255, 255, 0.5);
            text-transform: uppercase;
            letter-spacing: 0.5px;
            font-weight: 600;
            margin-bottom: 4px;
        }

        .contact-method-value {
            font-size: 15px;
            color: white;
            font-weight: 500;
        }

        .contact-social-links {
            display: flex;
            gap: 15px;
        }

        .contact-social-btn {
            width: 50px;
            height: 50px;
            background: rgba(255, 255, 255, 0.05);
            border: 1.5px solid rgba(255, 255, 255, 0.15);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            text-decoration: none;
            position: relative;
            overflow: hidden;
        }

        .contact-social-btn::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 0;
            height: 0;
            border-radius: 50%;
            background: radial-gradient(circle, rgba(102, 126, 234, 0.3) 0%, transparent 70%);
            transform: translate(-50%, -50%);
            transition: width 0.4s ease, height 0.4s ease;
        }

        .contact-social-btn:hover::before {
            width: 100px;
            height: 100px;
        }

        .contact-social-btn:hover {
            background: rgba(102, 126, 234, 0.2);
            border-color: rgba(102, 126, 234, 0.5);
            transform: translateY(-4px);
            box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
        }

        .contact-social-btn i {
            font-size: 20px;
            color: white;
            position: relative;
            z-index: 1;
            transition: all 0.3s ease;
        }

        .contact-social-btn:hover i {
            transform: scale(1.15) rotate(5deg);
        }

        .contact-form-wrapper {
            opacity: 0;
            transform: translateX(100px);
            transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
            transition-delay: 0.5s;
        }

        .contact-form-wrapper.visible {
            opacity: 1;
            transform: translateX(0);
        }

        .contact-form {
            background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.08) 100%);
            border: 1px solid rgba(255, 255, 255, 0.12);
            border-radius: 20px;
            padding: 40px;
            backdrop-filter: blur(5px);
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
        }

        .form-group {
            margin-bottom: 25px;
        }

        .form-label {
            display: block;
            color: white;
            font-size: 14px;
            font-weight: 600;
            margin-bottom: 10px;
            letter-spacing: 0.3px;
        }

        .form-input,
        .form-textarea {
            width: 100%;
            padding: 14px 18px;
            background: rgba(255, 255, 255, 0.05);
            border: 1.5px solid rgba(255, 255, 255, 0.1);
            border-radius: 12px;
            color: white;
            font-size: 15px;
            font-family: inherit;
            transition: all 0.3s ease;
            outline: none;
        }

        .form-input::placeholder,
        .form-textarea::placeholder {
            color: rgba(255, 255, 255, 0.4);
        }

        .form-input:focus,
        .form-textarea:focus {
            background: rgba(255, 255, 255, 0.08);
            border-color: rgba(102, 126, 234, 0.6);
            box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
        }

        .form-textarea {
            min-height: 150px;
            resize: vertical;
        }

        .form-row {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 20px;
        }

        .form-submit {
            width: 100%;
            padding: 16px 36px;
            border: none;
            border-radius: 12px;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            position: relative;
            overflow: hidden;
            letter-spacing: 0.3px;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
            margin-top: 10px;
        }

        .form-submit::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
            transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            z-index: -1;
        }

        .form-submit:hover::before {
            left: 0;
        }

        .form-submit:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 25px rgba(102, 126, 234, 0.6);
        }

        .form-submit:active {
            transform: translateY(-1px);
        }

        .form-submit i {
            transition: transform 0.3s ease;
        }

        .form-submit:hover i {
            transform: translateX(5px);
        }

        /* --- FOOTER SECTION STYLES --- */
        .footer-section {
            position: relative;
            z-index: 1;
            width: 100vw;
            margin-left: calc(50% - 50vw);
            background: linear-gradient(135deg, rgba(20, 20, 20, 0.95) 0%, rgba(30, 30, 30, 0.98) 100%);
            border-top: 1px solid rgba(102, 126, 234, 0.2);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
        }

        .footer-container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 60px 80px 30px;
        }

        .footer-content {
            display: grid;
            grid-template-columns: 1.5fr 1fr 1fr 1fr;
            gap: 50px;
            margin-bottom: 50px;
        }

        .footer-brand {
            max-width: 350px;
        }

        .footer-logo {
            font-size: 28px;
            font-weight: 700;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            margin-bottom: 20px;
            letter-spacing: -0.5px;
        }

        .footer-tagline {
            color: rgba(255, 255, 255, 0.7);
            font-size: 15px;
            line-height: 1.7;
            margin-bottom: 25px;
        }

        .footer-social {
            display: flex;
            gap: 12px;
        }

        .footer-social-btn {
            width: 42px;
            height: 42px;
            background: rgba(255, 255, 255, 0.05);
            border: 1.5px solid rgba(255, 255, 255, 0.1);
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            text-decoration: none;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
            overflow: hidden;
        }

        .footer-social-btn::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .footer-social-btn:hover {
            border-color: rgba(102, 126, 234, 0.5);
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
        }

        .footer-social-btn:hover::before {
            opacity: 1;
        }

        .footer-social-btn i {
            font-size: 18px;
            position: relative;
            z-index: 1;
            transition: transform 0.3s ease;
        }

        .footer-social-btn:hover i {
            transform: scale(1.1);
        }
#footer-column-contact, #footer-column-portfolio{
    margin-left: 15px;
}

        .footer-column {
            display: flex;
            flex-direction: column;
        }

        .footer-column-title {
            
            font-size: 16px;
            font-weight: 700;
            color: white;
            margin-bottom: 20px;
            letter-spacing: 0.5px;
        }

        .footer-links {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

        .footer-link {
            color: rgba(255, 255, 255, 0.6);
            text-decoration: none;
            font-size: 14px;
            transition: all 0.3s ease;
            display: inline-flex;
            align-items: center;
            gap: 8px;
            position: relative;
            padding-left: 0;
        }

        .footer-link::before {
            content: '→';
            opacity: 0;
            transform: translateX(-10px);
            transition: all 0.3s ease;
            color: #667eea;
        }

        .footer-link:hover {
            color: white;
            padding-left: 18px;
        }

        .footer-link:hover::before {
            opacity: 1;
            transform: translateX(0);
        }

        .footer-bottom {
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            padding-top: 30px;
            display: flex;
            justify-content: center;
            align-items: center;
            flex-wrap: wrap;
            gap: 20px;
        }

        .footer-copyright {
            color: rgba(255, 255, 255, 0.5);
            font-size: 14px;
        }

        .footer-copyright a {
            color: #667eea;
            text-decoration: none;
            font-weight: 600;
            transition: color 0.3s ease;
        }

        .footer-copyright a:hover {
            color: #764ba2;
        }

        .footer-bottom-links {
            display: flex;
            gap: 25px;
        }

        .footer-bottom-link {
            color: rgba(255, 255, 255, 0.5);
            text-decoration: none;
            font-size: 13px;
            transition: color 0.3s ease;
        }

        .footer-bottom-link:hover {
            color: white;
        }

        .back-to-top {
            position: fixed;
            bottom: 30px;
            right: 30px;
            width: 50px;
            height: 50px;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            border: none;
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            opacity: 0;
            visibility: hidden;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            z-index: 1000;
            box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
        }

        .back-to-top.visible {
            opacity: 1;
            visibility: visible;
        }

        .back-to-top:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 25px rgba(102, 126, 234, 0.6);
        }

        .back-to-top i {
            color: white;
            font-size: 20px;
            transition: transform 0.3s ease;
        }

        .back-to-top:hover i {
            transform: translateY(-3px);
        }

        /*
        =========================================================
        🔥🔥🔥 MODIFIED & ENHANCED MEDIA QUERIES 🔥🔥🔥
        (Targeting screens up to 968px and specifically mobile 600px)
        =========================================================
        */
        /* Large Tablet (Max-width: 1200px) */
/* Large Tablet (Max-width: 1200px) */
/* =================== TABLET & SMALLER DESKTOP (Max-width: 1300px) =================== */
@media (max-width: 1300px) {
    /* Hide Spline on tablets and smaller screens */
    .spline-container {
        display: none !important;
        visibility: hidden !important;
    }
    
    .container {
        padding: 120px 40px 40px;
        gap: 30px;
    }
    
    .content {
        flex: 1;
        max-width: 100%;
    }
    
    /* About Section - Switch to single column */
    .about-section,
    .skills-section,
    .tab-section,
    .contact-section {
        padding: 120px 40px 60px;
    }
    
    .about-container {
        max-width: 100%;
        overflow-x: hidden;
        margin-left: 0;
    }
    
    .about-grid {
        grid-template-columns: 1fr !important;
        gap: 40px;
        max-width: 900px;
        margin: 0 auto;
        padding: 0 20px;
    }
    
    .about-image-container {
        width: 100%;
        max-width: 320px;
        height: 380px;
        margin: 0 auto;
    }
    
    .about-content {
        max-width: 100%;
        padding: 0 10px;
        text-align: center;
    }
    
    .about-title {
        font-size: 44px;
        word-wrap: break-word;
        overflow-wrap: break-word;
        text-align: center;
    }
    
    .about-description {
        font-size: 15px;
        word-wrap: break-word;
        overflow-wrap: break-word;
        text-align: center;
    }
    
    .about-stats {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
        margin: 30px auto;
    }
    
    .stat-box {
        flex: 1 1 calc(50% - 15px);
        min-width: 150px;
        max-width: 220px;
    }
    
    .about-buttons {
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
    }
    
    .about-btn {
        flex: 1 1 calc(50% - 6px);
        min-width: 160px;
        max-width: 220px;
        justify-content: center;
    }
    
    h1 {
        font-size: 68px;
    }
}

        @media (max-width: 968px) {
    /* GLOBAL RESET & PADDING */
         
       .container {
    display: flex;
    flex-direction: column;
    justify-content: center;  /* Vertically center the content */
    align-items: center;      /* Horizontally center the content */
    min-height: 100vh;        /* Full viewport height */
    padding: 0 20px;          /* Adjust padding */
    max-width: 100%;
    margin-top: 0;            /* Remove any margin on top */
}


   .content {
        max-width: 100%;
        width: 100%;
        padding: 0 10px;
        margin: 0 !important;
        text-align: center;
        transform: translateY(30px); /* Push content down by 30px */
        margin-top: 60px !important; 
    }


    h1 {
        font-size: 48px;
        margin-bottom: 20px;
    }
    
    h1 br {
        display: none; /* keeps name on single line */
    }

    .greeting, .subtitle {
        font-size: 20px;
        margin-bottom: 15px;
    }
    .buttons {
        justify-content: center;
        margin-top: 10px; /* add top margin to buttons */
    }
    nav {
        padding: 15px 20px;
        flex-wrap: wrap;
    }
    
    .logo {
        font-size: 16px;
    }

    .nav-links {
        display: none;
    }
    
    /* HOME SECTION (Initial View) */
    .container {
        flex-direction: column;
        padding: 120px 20px 40px;
        gap: 50px;
        min-height: 80vh;
    }

    .content {
    flex: 1;
    max-width: 100%;
    margin-top: 0;
    padding: 0 10px;
}

.greeting {
    font-size: 18px;
}

h1 {
    font-size: 46px;
    margin-bottom: 15px;
    line-height: 1.2;
}

.subtitle {
    font-size: 18px;
    margin-bottom: 30px;
}
    
    .buttons {
        justify-content: center;
    }

    .social-links {
        justify-content: center;
    }

    .btn {
        padding: 14px 28px;
        font-size: 15px;
    }

    .social-btn {
        width: 52px;
        height: 52px;
    }

    /* HIDE SPLINE ROBOT ON MOBILE (CRITICAL FIX) */
    .spline-container {
        display: none;
    }

    /* SCROLL INDICATOR */
    .scroll-indicator {
        bottom: 20px;
        
    }

    /* ABOUT, SKILLS, PROJECTS, CONTACT SECTIONS */
    .about-section,
    .skills-section,
    .tab-section,
    .contact-section {
        padding: 100px 20px 60px;
        min-height: auto;
    }

    .about-title,
    .skills-title,
    .tab-title,
    .contact-title {
        font-size: 40px;
        margin-bottom: 40px;
    }
    
    /* ABOUT SECTION */
    /* ABOUT SECTION */
.about-grid {
    grid-template-columns: 1fr;
    gap: 35px;
    text-align: center;
}

.about-image-container {
    width: 100%;
    max-width: 250px;
    height: 300px;
    margin: 0 auto;
}

.about-content {
    text-align: center;
    padding: 0 15px;
}

.about-label::before {
    display: none;
}

.about-title {
    font-size: 36px;
}

.about-description {
    font-size: 15px;
}

.about-buttons {
    flex-direction: row;
    flex-wrap: wrap;
    max-width: 100%;
    margin: 0px auto 25px auto;
    justify-content: center;
    gap: 12px;
}

.about-btn {
    flex: 1 1 calc(50% - 6px);
    min-width: 140px;
    max-width: 200px;
    justify-content: center;
    padding: 12px 20px;
    font-size: 13px;
}

    /* Mobile styles for new stats */
    /* Mobile styles for new stats */
.about-stats {
    flex-direction: row;
    gap: 12px;
    margin-top: 25px;
    margin-bottom: 25px;
    max-width: 100%;
    justify-content: center;
}

.stat-box {
    flex: 1 1 calc(50% - 6px);
    max-width: 160px;
    padding: 15px 12px;
}

.stat-number {
    font-size: 28px;
}

.stat-label {
    font-size: 11px;
}

    /* SKILLS SECTION */
    .skills-label::before,
    .skills-label::after {
        display: none;
    }

    .skills-grid {
        grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
        gap: 12px;
        padding: 15px;
    }

    .skill-chip {
        height: 85px;
        border-radius: 10px;
    }

    .skill-icon {
        width: 28px;
        height: 28px;
        font-size: 28px;
    }

    .skill-name {
        font-size: 10px;
    }
    
    .skill-chip::before {
        font-size: 13px;
        line-height: 1.2;
        border-radius: 10px;
    }
    
    .p-solve {
        font-size: 8px !important;
    }

    /* PROJECTS / TABS SECTION */
    .tab-headers {
        flex-direction: column;
        gap: 10px;
        max-width: 100%;
        margin: 0 auto 30px auto;
        padding: 10px;
        border-radius: 15px;
    }

    .tab-box {
        flex-direction: row;
        gap: 12px;
        justify-content: center;
        padding: 12px;
    }

    .tab-box i {
        font-size: 20px;
        margin-bottom: 0;
    }

    .tab-box-title {
        font-size: 12px;
    }

    .tab-label::before,
    .tab-label::after {
        display: none;
    }

    .tab-content-area {
        padding: 20px 15px;
        min-height: 300px;
        max-height: 65vh;
    }

    /* Card Mobile Adjustments */
    .content-card-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .card-image-container {
        height: 160px;
    }
    
    .card-body {
        padding: 18px;
    }
    
    .card-title {
        font-size: 17px;
    }
    
    .card-description {
        font-size: 13px;
    }

    .card-footer {
        flex-direction: row;
        gap: 10px;
        padding: 0 18px 18px;
    }
    
    .card-link-button {
        flex: 1;
        font-size: 11px;
        padding: 10px 14px;
    }

    /* Timeline (Experience/Achievements) */
    .timeline-container::after {
        left: 15px;
    }

    .timeline-item {
        padding-left: 35px;
        margin-left: 0;
    }

    .timeline-item::before {
        left: 7px;
    }
    
    /* Achievement Badges */
    .achievement-badge {
        flex-direction: column;
        gap: 15px;
        padding: 20px;
    }

    .achievement-icon {
        width: 50px;
        height: 50px;
    }

    .achievement-icon i {
        font-size: 24px;
    }
    
    /* CONTACT SECTION */
    .contact-label::before {
        display: none;
    }

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

    .contact-form {
        padding: 25px 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .form-group {
        margin-bottom: 20px;
    }
    
    .form-input,
    .form-textarea {
        font-size: 14px;
        padding: 12px 16px;
    }

    .contact-methods {
        gap: 15px;
    }
    
    .contact-method {
        padding: 15px 18px;
    }
    
    .contact-method:hover {
        transform: translateX(0);
    }
    
    .contact-social-links {
        justify-content: center;
    }

   /* FOOTER */
.footer-section {
    padding: 0;
}

.footer-container {
    padding: 30px 20px 15px !important;
}

.footer-content {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 15px !important;
    text-align: center;
    margin-bottom: 25px !important;
}

.footer-brand {
    grid-column: 1 / -1;
    max-width: 100% !important;
    text-align: center;
    margin-bottom: 15px;
}

.footer-logo {
    text-align: center;
    font-size: 20px !important;
    margin-bottom: 10px !important;
}

.footer-tagline {
    text-align: center;
    font-size: 13px !important;
    margin-bottom: 12px !important;
    line-height: 1.5;
}

.footer-social {
    justify-content: center !important;
    display: flex;
    gap: 8px !important;
}

.footer-social-btn {
    width: 36px !important;
    height: 36px !important;
}

.footer-social-btn i {
    font-size: 14px !important;
}

.footer-column {
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-column-title {
    text-align: center;
    font-size: 14px !important;
    font-weight: 600;
    margin-bottom: 10px !important;
    width: 100%;
}

.footer-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px !important;
    text-align: center;
    width: 100%;
}

.footer-link {
    text-align: center;
    display: block;
    width: auto;
    font-size: 11px !important;
    padding: 3px 0 !important;
}

.footer-link::before {
    display: none !important;
}

.footer-link:hover {
    padding-left: 0 !important;
}

.footer-bottom {
    flex-direction: column !important;
    text-align: center;
    gap: 10px !important;
    padding-top: 15px !important;
    margin-top: 15px !important;
}

.footer-copyright {
    text-align: center;
    font-size: 12px !important;
}

.footer-bottom-links {
    flex-direction: row !important;
    gap: 12px !important;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-bottom-link {
    font-size: 11px !important;
}
#footer-column-portfolio, #footer-column-contact{
    margin-left: 0px;
}

.back-to-top {
    bottom: 15px;
    right: 15px;
    width: 45px;
    height: 45px;
}

.back-to-top i {
    font-size: 18px;
}
}
        
        /* Small Mobile Optimization (Max-width: 480px) */
        /* Small Mobile Optimization (Max-width: 480px) */
@media (max-width: 480px) {
     h1 {
        font-size: 38px;
        line-height: 1.15;
    }
    
    .greeting {
        font-size: 16px;
    }
    
    .subtitle {
        font-size: 16px;
    }
    
     .about-title,
    .skills-title,
    .tab-title,
    .contact-title {
        font-size: 30px;
    }
    
    .about-image-container {
        max-width: 220px;
        height: 280px;
    }
    
    .about-description {
        font-size: 14px;
    }
    
    .buttons {
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }
    
    .about-btn {
        flex: 1 1 100%;
        max-width: 100%;
        width: 100%;
    }
}
