:root {
            --primary-bg: #0a0a0a;
            --secondary-bg: #111111;
            --card-bg: rgba(17, 17, 17, 0.8);
            --accent-primary: #00d4ff;
            --accent-secondary: #ff006e;
            --accent-tertiary: #8b5cf6;
            --accent-quaternary: #f59e0b;
            --text-primary: #ffffff;
            --text-secondary: #a1a1aa;
            --text-accent: #00d4ff;
            --border-color: rgba(255, 255, 255, 0.1);
            --success-color: #10b981;
            --warning-color: #f59e0b;
            --error-color: #ef4444;
            --glass-bg: rgba(255, 255, 255, 0.05);
            --shadow-glow: 0 0 50px rgba(0, 212, 255, 0.3);
            --gradient-primary: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
            --gradient-secondary: linear-gradient(135deg, var(--accent-tertiary), var(--accent-quaternary));
            --gradient-mesh: radial-gradient(circle at 20% 50%, rgba(0, 212, 255, 0.1) 0%, transparent 50%),
                           radial-gradient(circle at 80% 20%, rgba(255, 0, 110, 0.1) 0%, transparent 50%),
                           radial-gradient(circle at 40% 80%, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
        }

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

        html {
            scroll-behavior: smooth;
        }

        body {
            font-family: 'Inter', sans-serif;
            background: var(--primary-bg);
            background-image: var(--gradient-mesh);
            color: var(--text-primary);
            line-height: 1.6;
            overflow-x: hidden;
            min-height: 100vh;
            position: relative;
        }

        body::before {
            content: '';
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: 
                radial-gradient(circle at 25% 25%, rgba(0, 212, 255, 0.03) 0%, transparent 50%),
                radial-gradient(circle at 75% 75%, rgba(255, 0, 110, 0.03) 0%, transparent 50%),
                radial-gradient(circle at 50% 50%, rgba(139, 92, 246, 0.02) 0%, transparent 50%);
            pointer-events: none;
            z-index: -1;
        }

        /* Enhanced Background with Animated Particles */
        .bg-particles {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
            z-index: -1;
        }

        .particle {
            position: absolute;
            width: 2px;
            height: 2px;
            background: var(--accent-primary);
            border-radius: 50%;
            animation: float-particles 20s infinite linear;
            opacity: 0.6;
            box-shadow: 0 0 6px var(--accent-primary);
        }

        .particle:nth-child(3n) {
            background: var(--accent-secondary);
            box-shadow: 0 0 6px var(--accent-secondary);
        }

        .particle:nth-child(5n) {
            background: var(--accent-tertiary);
            box-shadow: 0 0 6px var(--accent-tertiary);
        }

        @keyframes float-particles {
            0% {
                transform: translateY(100vh) translateX(0) rotate(0deg);
                opacity: 0;
            }
            10% {
                opacity: 0.6;
            }
            50% {
                transform: translateY(50vh) translateX(50px) rotate(180deg);
            }
            90% {
                opacity: 0.6;
            }
            100% {
                transform: translateY(-100vh) translateX(100px) rotate(360deg);
                opacity: 0;
            }
        }

        /* Floating Geometric Shapes */
        .floating-shapes {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
            z-index: -1;
        }

        .shape {
            position: absolute;
            opacity: 0.1;
            animation: float-shapes 30s infinite linear;
        }

        .shape.triangle {
            width: 0;
            height: 0;
            border-left: 20px solid transparent;
            border-right: 15px solid transparent;
            border-bottom: 25px solid var(--accent-primary);
        }

        .shape.circle {
            width: 20px;
            height: 20px;
            border-radius: 50%;
            background: var(--accent-secondary);
        }

        .shape.square {
            width: 18px;
            height: 18px;
            background: var(--accent-tertiary);
            transform: rotate(45deg);
        }

        @keyframes float-shapes {
            0% {
                transform: translateY(100vh) translateX(0) rotate(0deg);
                opacity: 0;
            }
            10% {
                opacity: 0.1;
            }
            90% {
                opacity: 0.1;
            }
            100% {
                transform: translateY(-100vh) translateX(200px) rotate(360deg);
                opacity: 0;
            }
        }
           :root {
            --primary-bg: #0a0a0a;
            --secondary-bg: #111111;
            --accent-primary: #00d4ff;
            --accent-secondary: #ff006e;
            --accent-tertiary: #8b5cf6;
            --text-primary: #ffffff;
            --text-secondary: #a1a1aa;
            --glass-bg: rgba(255, 255, 255, 0.05);
            --border-color: rgba(255, 255, 255, 0.1);
            --success-color: #10b981;
        }

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

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

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

        .hero-section {
            max-width: 1400px;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 6rem;
            align-items: center;
            width: 100%;
            z-index: 1;
        }

        
        /* Hero Content */
        .hero-content h1 {
            font-size: 4rem;
            font-weight: 800;
            margin-bottom: 1.5rem;
            line-height: 1.2;
        }

        .hero-content .greeting {
            background: linear-gradient(135deg, var(--text-primary), var(--text-secondary));
            background-clip: text;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .hero-content .name {
            background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
            background-clip: text;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            text-shadow: 0 0 50px rgba(0, 212, 255, 0.3);
        }

        .hero-subtitle {
            font-size: 1.4rem;
            color: var(--text-secondary);
            margin-bottom: 1rem;
            font-weight: 300;
        }

        .typing-animation {
            font-size: 2.2rem;
            font-weight: 600;
            background: linear-gradient(135deg, var(--accent-primary), var(--accent-tertiary));
            background-clip: text;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            margin-bottom: 3rem;
            min-height: 80px;
            display: flex;
            align-items: center;
        }

        /* Status Badge - Improved positioning */
        .status {
            position: absolute;
            top: 10%;
            right: 5%;
            display: flex;
            align-items: center;
            gap: 0.75rem;
            background: var(--glass-bg);
            backdrop-filter: blur(10px);
            padding: 0.75rem 1.5rem;
            border-radius: 50px;
            border: 1px solid rgba(16, 185, 129, 0.3);
            font-size: 0.9rem;
            color: var(--success-color);
            box-shadow: 0 8px 32px rgba(16, 185, 129, 0.2);
            z-index: 10;
        }

        .status-dot {
            width: 10px;
            height: 10px;
            background: var(--success-color);
            border-radius: 50%;
            animation: pulse-dot 2s infinite;
            box-shadow: 0 0 10px var(--success-color);
        }

        @keyframes pulse-dot {
            0%, 100% { opacity: 1; transform: scale(1); }
            50% { opacity: 0.7; transform: scale(1.2); }
        }

        /* Buttons */
        .hero-buttons {
            display: flex;
            gap: 1.5rem;
            flex-wrap: wrap;
            margin-bottom: 2rem;
        }

        .btn {
            padding: 1.2rem 2.5rem;
            border-radius: 12px;
            text-decoration: none;
            font-weight: 600;
            font-size: 1rem;
            transition: all 0.3s ease;
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            position: relative;
            overflow: hidden;
            border: none;
            cursor: pointer;
        }

        .btn-primary {
            background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
            color: white;
            box-shadow: 0 8px 32px rgba(0, 212, 255, 0.3);
        }

        .btn-primary:hover {
            transform: translateY(-3px);
            box-shadow: 0 15px 40px rgba(0, 212, 255, 0.4);
        }

        .btn-secondary {
            background: var(--glass-bg);
            color: var(--accent-primary);
            border: 2px solid var(--accent-primary);
            backdrop-filter: blur(10px);
        }

        .btn-secondary:hover {
            transform: translateY(-3px);
            background: var(--accent-primary);
            color: white;
            box-shadow: 0 15px 40px rgba(0, 212, 255, 0.4);
        }

        /* Hero Stats */
        .hero-stats {
            display: flex;
            gap: 2rem;
            margin-top: 2rem;
        }

        .hero-stat {
            text-align: center;
        }

        .hero-stat-number {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--accent-primary);
            display: block;
        }

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

        /* IMPROVED Hero Image Section */
        .hero-image {
            position: relative;
            display: flex;
            justify-content: center;
            align-items: center;
            min-height: 500px;
        }

        .profile-container {
            position: relative;
            display: flex;
            justify-content: center;
            align-items: center;
            width: 100%;
            height: 100%;
        }

        /* FIXED Profile Image */
        .profile-img {
            width: 350px;
            height: 350px;
            border-radius: 50%;
            object-fit: cover;
            object-position: center;
            border: 4px solid var(--accent-primary);
            box-shadow: 
                0 0 60px rgba(0, 212, 255, 0.4),
                0 0 100px rgba(0, 212, 255, 0.2),
                inset 0 0 20px rgba(0, 212, 255, 0.1);
            transition: all 0.4s ease;
            position: relative;
            z-index: 5;
            background: var(--primary-bg);
        }

        .profile-img:hover {
            transform: scale(1.05);
            box-shadow: 
                0 0 80px rgba(0, 212, 255, 0.6),
                0 0 120px rgba(0, 212, 255, 0.3),
                inset 0 0 30px rgba(0, 212, 255, 0.2);
        }
        /* IMPROVED Tech Float Tags */
        .tech-float {
            position: absolute;
            background: var(--glass-bg);
            backdrop-filter: blur(15px);
            padding: 0.8rem 1.5rem;
            border-radius: 50px;
            border: 1px solid var(--accent-primary);
            font-weight: 600;
            font-size: 0.9rem;
            color: var(--accent-primary);
            animation: float 6s ease-in-out infinite;
            box-shadow: 0 8px 32px rgba(0, 212, 255, 0.2);
            transition: all 0.3s ease;
            cursor: pointer;
            z-index: 4;
            white-space: nowrap;
        }

        .tech-float:hover {
            transform: translateY(-5px) scale(1.1);
            box-shadow: 0 15px 40px rgba(0, 212, 255, 0.4);
            border-color: var(--accent-secondary);
            color: var(--accent-secondary);
        }

        /* Positioned tech tags to avoid overlap */
        .tech-float:nth-child(4) {
            top: 8%;
            right: 2%;
            animation-delay: -2s;
            background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(0, 212, 255, 0.05));
        }

        .tech-float:nth-child(5) {
            bottom: 12%;
            left: 3%;
            animation-delay: -4s;
            border-color: var(--accent-secondary);
            color: var(--accent-secondary);
            background: linear-gradient(135deg, rgba(255, 0, 110, 0.1), rgba(255, 0, 110, 0.05));
        }

        .tech-float:nth-child(6) {
            top: 50%;
            right: -8%;
            animation-delay: -1s;
            border-color: var(--accent-tertiary);
            color: var(--accent-tertiary);
            background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(139, 92, 246, 0.05));
        }

        @keyframes float {
            0%, 100% { transform: translateY(0px) rotate(0deg); }
            33% { transform: translateY(-20px) rotate(3deg); }
            66% { transform: translateY(-10px) rotate(-2deg); }
        }

        /* Background glow effects */
        .hero::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 800px;
            height: 800px;
            background: radial-gradient(circle, rgba(0, 212, 255, 0.08) 0%, transparent 70%);
            border-radius: 50%;
            animation: pulse-glow 4s ease-in-out infinite;
            position: fixed;
        }

        .hero::after {
            content: '';
            position: absolute;
            top: 20%;
            right: 10%;
            width: 400px;
            height: 400px;
            background: radial-gradient(circle, rgba(255, 0, 110, 0.06) 0%, transparent 70%);
            border-radius: 50%;
            animation: pulse-glow 6s ease-in-out infinite reverse;
        }

        @keyframes pulse-glow {
            0%, 100% { 
                transform: translate(-50%, -50%) scale(1); 
                opacity: 0.5; 
            }
            50% { 
                transform: translate(-50%, -50%) scale(1.2); 
                opacity: 0.8; 
            }
        }
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
            background: #0a0a0a;
            color: #ffffff;
            line-height: 1.6;
            overflow-x: hidden;
        }

        /* Gallery Section */
        .gallery-section {
            padding: 6rem 2rem;
            max-width: 1400px;
            margin: 0 auto;
            position: relative;
        }

        .section-header {
            text-align: center;
            margin-bottom: 5rem;
        }

        .section-title {
            font-size: 3rem;
            text-align: center;
            font-weight: 700;
            margin-bottom: 1.5rem;
            background: linear-gradient(135deg, #00d4ff, #ff006e);
            background-clip: text;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .section-subtitle {
            font-size: 1.3rem;
            color: #a1a1aa;
            max-width: 700px;
            margin: 0 auto;
            line-height: 1.8;
        }

        /* Infinite Scroll Gallery */
        .gallery-container {
            position: relative;
            overflow: hidden;
            padding: 2rem 0;
        }

        .gallery-track {
            display: flex;
            gap: 2rem;
            animation: infiniteScroll 40s linear infinite;
            width: fit-content;
        }

        .gallery-track:hover {
            animation-play-state: paused;
        }

        @keyframes infiniteScroll {
            0% { transform: translateX(0); }
            100% { transform: translateX(-50%); }
        }

        .gallery-item {
            flex-shrink: 0;
            width: 350px;
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 20px;
            overflow: hidden;
            transition: all 0.4s ease;
            position: relative;
            backdrop-filter: blur(20px);
            cursor: pointer;
        }

        .gallery-item:hover {
            transform: translateY(-10px) scale(1.05);
            border-color: #00d4ff;
            box-shadow: 0 25px 60px rgba(0, 212, 255, 0.3);
        }

        .gallery-image {
            width: 100%;
            height: 250px;
            background: linear-gradient(135deg, #00d4ff, #ff006e);
            position: relative;
            overflow: hidden;
        }

        .gallery-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: all 0.5s ease;
        }

        .gallery-item:hover .gallery-image img {
            transform: scale(1.1);
        }
        
        /* Zoom overlay */
        .zoom-overlay {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.8);
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            transition: all 0.3s ease;
        }

        .gallery-item:hover .zoom-overlay {
            opacity: 1;
        }

        .zoom-icon {
            color: #00d4ff;
            font-size: 2rem;
            animation: pulse 2s infinite;
        }

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

        .gallery-content {
            padding: 2rem;
            position: relative;
        }

        .gallery-content::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 3px;
            background: linear-gradient(90deg, #00d4ff, #ff006e);
            opacity: 0;
            transition: opacity 0.4s ease;
        }

        .gallery-item:hover .gallery-content::before {
            opacity: 1;
        }

        .gallery-title {
            font-size: 1.4rem;
            font-weight: 600;
            color: #ffffff;
            margin-bottom: 0.8rem;
        }

        .gallery-description {
            color: #a1a1aa;
            line-height: 1.6;
            font-size: 0.95rem;
        }

        /* Modal for full image view */
        .modal {
            display: none;
            position: fixed;
            z-index: 1000;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.9);
            backdrop-filter: blur(10px);
        }

        .modal-content {
            position: relative;
            margin: auto;
            padding: 2rem;
            width: 90%;
            max-width: 800px;
            top: 50%;
            transform: translateY(-50%);
            text-align: center;
        }

        .modal-image {
            max-width: 100%;
            max-height: 70vh;
            border-radius: 16px;
            box-shadow: 0 25px 60px rgba(0, 212, 255, 0.3);
        }

        .modal-title {
            font-size: 1.8rem;
            color: #00d4ff;
            margin: 1.5rem 0 1rem;
        }

        .modal-description {
            color: #a1a1aa;
            font-size: 1.1rem;
            line-height: 1.7;
            max-width: 600px;
            margin: 0 auto;
        }

        .close {
            position: absolute;
            top: 2rem;
            right: 2rem;
            color: #fff;
            font-size: 2rem;
            font-weight: bold;
            cursor: pointer;
            background: rgba(0, 0, 0, 0.5);
            border-radius: 50%;
            width: 50px;
            height: 50px;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
        }

        .close:hover {
            background: #00d4ff;
            color: #000;
        }

        /* Navigation dots */
        .gallery-navigation {
            display: flex;
            justify-content: center;
            gap: 1rem;
            margin-top: 3rem;
        }

        .nav-dot {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.3);
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .nav-dot.active,
        .nav-dot:hover {
            background: #00d4ff;
            transform: scale(1.2);
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            .section-title {
                font-size: 2.2rem;
            }

            .gallery-section {
                padding: 3rem 1rem;
            }

            .gallery-item {
                width: 280px;
            }

            .gallery-image {
                height: 200px;
            }

            .gallery-content {
                padding: 1.5rem;
            }

            .modal-content {
                padding: 1rem;
                width: 95%;
            }

            .close {
                top: 1rem;
                right: 1rem;
                width: 40px;
                height: 40px;
                font-size: 1.5rem;
            }
        }

        @media (max-width: 480px) {
            .section-title {
                font-size: 1.8rem;
            }

            .gallery-item {
                width: 250px;
            }

            .gallery-track {
                gap: 1rem;
            }
        }
        /* Responsive Design */
        @media (max-width: 1024px) {
            .hero-section {
                grid-template-columns: 1fr;
                text-align: center;
                gap: 4rem;
            }

            .hero-content h1 {
                font-size: 3.5rem;
            }

            .profile-img {
                width: 300px;
                height: 300px;
            }

            .orbit-ring.ring1 {
                width: 360px;
                height: 360px;
            }

            .orbit-ring.ring2 {
                width: 420px;
                height: 420px;
            }

            .orbit-ring.ring3 {
                width: 480px;
                height: 480px;
            }

            .status {
                position: relative;
                top: 0;
                right: 0;
                margin-bottom: 2rem;
                display: inline-flex;
            }

            .tech-float:nth-child(6) {
                right: -5%;
            }
        }

        @media (max-width: 768px) {
            .hero {
                padding: 1rem;
            }

            .hero-content h1 {
                font-size: 2.5rem;
            }

            .hero-subtitle {
                font-size: 1.1rem;
            }

            .typing-animation {
                font-size: 1.8rem;
            }

            .profile-img {
                width: 250px;
                height: 250px;
            }

            .orbit-ring.ring1 {
                width: 300px;
                height: 300px;
            }

            .orbit-ring.ring2 {
                width: 350px;
                height: 350px;
            }

            .orbit-ring.ring3 {
                width: 400px;
                height: 400px;
            }

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

            .btn {
                width: 100%;
                max-width: 280px;
                justify-content: center;
            }

            .hero-stats {
                flex-direction: column;
                gap: 1rem;
                align-items: center;
            }

            .tech-float {
                font-size: 0.8rem;
                padding: 0.6rem 1rem;
            }

            .tech-float:nth-child(4) {
                top: 5%;
                right: 5%;
            }

            .tech-float:nth-child(5) {
                bottom: 8%;
                left: 8%;
            }

            .tech-float:nth-child(6) {
                top: 45%;
                right: 0%;
            }
        }

        @media (max-width: 480px) {
            .hero-content h1 {
                font-size: 2rem;
            }

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

            .orbit-ring.ring1 {
                width: 250px;
                height: 250px;
            }

            .orbit-ring.ring2 {
                width: 290px;
                height: 290px;
            }

            .orbit-ring.ring3 {
                width: 330px;
                height: 330px;
            }
        }

        /*  Article Section Styling */
.article-section {
    padding: 80px 20px;
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: #222;
    opacity: 0;
    transform: translateY(-20px);
    animation: fadeInUp 1s forwards;
}

.section-subtitle {
    font-size: 1rem;
    margin-bottom: 40px;
    color: #555;
    opacity: 0;
    transform: translateY(-20px);
    animation: fadeInUp 1s 0.3s forwards; /* delayed animation */
}

/* Grid layout */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    justify-items: center;
}

/* Article Cards */
.article-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.1);
    padding: 20px;
    width: 100%;
    max-width: 320px;
    text-align: left;
    transition: transform 0.4s ease, box-shadow 0.4s ease, background 0.4s ease;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s forwards;
}

.article-card:nth-child(1) { animation-delay: 0.1s; }
.article-card:nth-child(2) { animation-delay: 0.2s; }
.article-card:nth-child(3) { animation-delay: 0.3s; }
.article-card:nth-child(4) { animation-delay: 0.4s; }
.article-card:nth-child(5) { animation-delay: 0.5s; }

.article-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 12px 25px rgba(0,0,0,0.15);
    background-color: #f0f8ff;
}

/* Article text */
.article-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #222;
}

.article-summary {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 15px;
}

.read-more {
    text-decoration: none;
    color: #0077b5;
    font-weight: 600;
    transition: color 0.3s, margin-left 0.3s;
}

.read-more:hover {
    color: #005582;
    margin-left: 5px;
}

/* Fade-in animation */
@keyframes fadeInUp {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}


        /* Additional improvements for image quality */
        .profile-img {
            image-rendering: -webkit-optimize-contrast;
            image-rendering: crisp-edges;
            backface-visibility: hidden;
            -webkit-backface-visibility: hidden;
        }

        /* High DPI display optimizations */
        @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
            .profile-img {
                image-rendering: auto;
            }
        }
        /* Advanced Cursor */
        .cursor {
            position: fixed;
            width: 8px;
            height: 8px;
            background: var(--accent-primary);
            border-radius: 50%;
            pointer-events: none;
            z-index: 9999;
            transition: all 0.1s ease;
            mix-blend-mode: difference;
            box-shadow: 0 0 20px var(--accent-primary);
        }

        .cursor-follower {
            position: fixed;
            width: 30px;
            height: 30px;
            border: 2px solid rgba(0, 212, 255, 0.5);
            border-radius: 50%;
            pointer-events: none;
            z-index: 9998;
            transition: all 0.15s cubic-bezier(0.22, 1, 0.36, 1);
            backdrop-filter: blur(2px);
        }

        .cursor-hover .cursor {
            transform: scale(1.5);
            background: var(--accent-secondary);
            box-shadow: 0 0 30px var(--accent-secondary);
        }

        .cursor-hover .cursor-follower {
            transform: scale(2);
            border-color: var(--accent-secondary);
            backdrop-filter: blur(4px);
        }

        .cursor-click .cursor {
            transform: scale(0.8);
            background: var(--accent-tertiary);
        }

        .cursor-click .cursor-follower {
            transform: scale(1.5);
            border-color: var(--accent-tertiary);
        }

        @media (hover: none) and (pointer: coarse) {
            .cursor, .cursor-follower { display: none; }
        }

        /* Enhanced Navigation */
        nav {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 1000;
            background: rgba(10, 10, 10, 0.9);
            backdrop-filter: blur(20px);
            padding: 1rem 0;
            border-bottom: 1px solid var(--border-color);
            transition: all 0.3s ease;
            box-shadow: 0 4px 32px rgba(0, 0, 0, 0.3);
        }

        nav.scrolled {
            background: rgba(10, 10, 10, 0.95);
            backdrop-filter: blur(30px);
            border-bottom: 1px solid rgba(0, 212, 255, 0.2);
            box-shadow: 0 8px 40px rgba(0, 212, 255, 0.1);
        }

        .nav-container {
            max-width: 1400px;
            margin: 0 auto;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0 2rem;
        }
        
        .logo {
            font-family: 'JetBrains Mono', monospace;
            font-weight: 700;
            font-size: 1.5rem;
            background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
            background-clip: text;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            text-shadow: 0 0 30px rgba(0, 212, 255, 0.3);
        }

        .nav-links {
            display: flex;
            list-style: none;
            gap: 2.5rem;
        }

        .nav-links a {
            color: var(--text-secondary);
            text-decoration: none;
            font-weight: 500;
            font-size: 0.95rem;
            transition: all 0.3s ease;
            position: relative;
            padding: 0.5rem 0;
        }

        .nav-links a::before {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 2px;
            background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
            transition: width 0.3s ease;
        }

        .nav-links a:hover {
            color: var(--accent-primary);
            text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
        }

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

        /* Enhanced Mobile Menu */
        .mobile-menu-toggle {
            display: none;
            flex-direction: column;
            cursor: pointer;
            padding: 0.5rem;
            gap: 4px;
        }

        .mobile-menu-toggle span {
            width: 25px;
            height: 2px;
            background: var(--text-primary);
            transition: all 0.3s ease;
            border-radius: 2px;
        }

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

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

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

        .theme-toggle {
            background: var(--glass-bg);
            border: 1px solid var(--border-color);
            border-radius: 12px;
            width: 45px;
            height: 45px;
            font-size: 18px;
            cursor: pointer;
            backdrop-filter: blur(10px);
            transition: all 0.3s ease;
            color: var(--text-primary);
            margin-left: 1rem;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            overflow: hidden;
        }

        .theme-toggle::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.2), transparent);
            transition: left 0.5s;
        }

        .theme-toggle:hover::before {
            left: 100%;
        }

        .theme-toggle:hover {
            transform: scale(1.1) rotate(180deg);
            box-shadow: var(--shadow-glow);
            border-color: var(--accent-primary);
        }

        /* Search Toggle */
        .search-toggle {
            background: var(--glass-bg);
            border: 1px solid var(--border-color);
            border-radius: 12px;
            width: 45px;
            height: 45px;
            font-size: 16px;
            cursor: pointer;
            backdrop-filter: blur(10px);
            transition: all 0.3s ease;
            color: var(--text-primary);
            margin-left: 0.5rem;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .search-toggle:hover {
            transform: scale(1.1);
            box-shadow: var(--shadow-glow);
            border-color: var(--accent-secondary);
        }

        @media (max-width: 768px) {
            .nav-container {
                padding: 0 1rem;
            }

            .nav-links {
                position: fixed;
                top: 70px;
                left: -100%;
                width: 100%;
                height: calc(100vh - 70px);
                background: rgba(10, 10, 10, 0.98);
                backdrop-filter: blur(20px);
                flex-direction: column;
                justify-content: flex-start;
                align-items: center;
                padding-top: 3rem;
                transition: left 0.4s ease;
                gap: 2rem;
            }

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

            .nav-links a {
                font-size: 1.3rem;
                padding: 1rem 2rem;
                border-radius: 12px;
                width: 200px;
                text-align: center;
                border: 1px solid transparent;
            }

            .nav-links a:hover {
                background: var(--glass-bg);
                border-color: var(--accent-primary);
            }

            .mobile-menu-toggle {
                display: flex;
            }
        }

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

        .hero::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 800px;
            height: 800px;
            background: radial-gradient(circle, rgba(0, 212, 255, 0.1) 0%, transparent 70%);
            border-radius: 50%;
            animation: pulse-glow 4s ease-in-out infinite;
        }

        .hero::after {
            content: '';
            position: absolute;
            top: 20%;
            right: 10%;
            width: 400px;
            height: 400px;
            background: radial-gradient(circle, rgba(255, 0, 110, 0.08) 0%, transparent 70%);
            border-radius: 50%;
            animation: pulse-glow 6s ease-in-out infinite reverse;
        }

        @keyframes pulse-glow {
            0%, 100% { 
                transform: translate(-50%, -50%) scale(1); 
                opacity: 0.5; 
            }
            50% { 
                transform: translate(-50%, -50%) scale(1.2); 
                opacity: 0.8; 
            }
        }

        .status {
            position: absolute;
            top: 120px;
            right: 2rem;
            display: flex;
            align-items: center;
            gap: 0.75rem;
            background: var(--glass-bg);
            backdrop-filter: blur(10px);
            padding: 0.75rem 1.5rem;
            border-radius: 50px;
            border: 1px solid rgba(16, 185, 129, 0.3);
            font-size: 0.9rem;
            color: var(--success-color);
            box-shadow: 0 8px 32px rgba(16, 185, 129, 0.2);
        }

        .status-dot {
            width: 10px;
            height: 10px;
            background: var(--success-color);
            border-radius: 50%;
            animation: pulse-dot 2s infinite;
            box-shadow: 0 0 10px var(--success-color);
        }

        @keyframes pulse-dot {
            0%, 100% { opacity: 1; transform: scale(1); }
            50% { opacity: 0.7; transform: scale(1.2); }
        }

        .hero-section {
            max-width: 1400px;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 6rem;
            align-items: center;
            width: 100%;
            z-index: 1;
        }

        .hero-content h1 {
            font-size: 4rem;
            font-weight: 800;
            margin-bottom: 1.5rem;
            line-height: 1.2;
        }

        .hero-content .greeting {
            background: linear-gradient(135deg, var(--text-primary), var(--text-secondary));
            background-clip: text;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .hero-content .name {
            background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
            background-clip: text;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            text-shadow: 0 0 50px rgba(0, 212, 255, 0.3);
        }

        .hero-subtitle {
            font-size: 1.4rem;
            color: var(--text-secondary);
            margin-bottom: 1rem;
            font-weight: 300;
        }

        .typing-animation {
            font-size: 2.2rem;
            font-weight: 600;
            background: linear-gradient(135deg, var(--accent-primary), var(--accent-tertiary));
            background-clip: text;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            margin-bottom: 3rem;
            min-height: 80px;
            display: flex;
            align-items: center;
        }

        .hero-buttons {
            display: flex;
            gap: 1.5rem;
            flex-wrap: wrap;
            margin-bottom: 2rem;
        }

        .btn {
            padding: 1.2rem 2.5rem;
            border-radius: 12px;
            text-decoration: none;
            font-weight: 600;
            font-size: 1rem;
            transition: all 0.3s ease;
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            position: relative;
            overflow: hidden;
            border: none;
            cursor: pointer;
        }

        .btn::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
            transition: left 0.5s;
        }

        .btn:hover::before {
            left: 100%;
        }

        .btn-primary {
            background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
            color: white;
            box-shadow: 0 8px 32px rgba(0, 212, 255, 0.3);
        }

        .btn-primary:hover {
            transform: translateY(-3px);
            box-shadow: 0 15px 40px rgba(0, 212, 255, 0.4);
        }

        .btn-secondary {
            background: var(--glass-bg);
            color: var(--accent-primary);
            border: 2px solid var(--accent-primary);
            backdrop-filter: blur(10px);
        }

        .btn-secondary:hover {
            transform: translateY(-3px);
            background: var(--accent-primary);
            color: white;
            box-shadow: 0 15px 40px rgba(0, 212, 255, 0.4);
        }

        .hero-stats {
            display: flex;
            gap: 2rem;
            margin-top: 2rem;
        }

        .hero-stat {
            text-align: center;
        }

        .hero-stat-number {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--accent-primary);
            display: block;
        }

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

        /* Enhanced Hero Image */
        .hero-image {
            position: relative;
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .profile-container {
            position: relative;
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .profile-img {
            width: 400px;
            height: 400px;
            border-radius: 50%;
            object-fit: cover;
            border: 4px solid var(--accent-primary);
            box-shadow: 0 0 100px rgba(0, 212, 255, 0.4);
            transition: all 0.3s ease;
            position: relative;
            z-index: 2;
        }

        .profile-img::before {
            content: '';
            position: absolute;
            top: -10px;
            left: -10px;
            right: -10px;
            bottom: -10px;
            border-radius: 50%;
            background: linear-gradient(45deg, var(--accent-primary), var(--accent-secondary), var(--accent-tertiary));
            z-index: -1;
            animation: rotate-border 3s linear infinite;
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .profile-img:hover::before {
            opacity: 1;
        }

        .profile-img:hover {
            transform: scale(1.05);
            box-shadow: 0 0 150px rgba(0, 212, 255, 0.6);
        }

        @keyframes rotate-border {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        .orbit-ring {
            position: absolute;
            border: 2px solid rgba(0, 212, 255, 0.3);
            border-radius: 50%;
            animation: rotate 20s linear infinite;
        }

        .orbit-ring:nth-child(2) {
            width: 480px;
            height: 480px;
            animation-duration: 25s;
        }

        .orbit-ring:nth-child(3) {
            width: 560px;
            height: 560px;
            animation-duration: 30s;
            animation-direction: reverse;
        }

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

        .tech-float {
            position: absolute;
            background: var(--glass-bg);
            backdrop-filter: blur(10px);
            padding: 0.8rem 1.5rem;
            border-radius: 50px;
            border: 1px solid var(--accent-primary);
            font-weight: 600;
            font-size: 0.9rem;
            color: var(--accent-primary);
            animation: float 6s ease-in-out infinite;
            box-shadow: 0 8px 32px rgba(0, 212, 255, 0.2);
            transition: all 0.3s ease;
            cursor: pointer;
            position: relative;
            overflow: hidden;
        }

        .tech-float::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.2), transparent);
            transition: left 0.5s;
        }

        .tech-float:hover::before {
            left: 100%;
        }

        .tech-float:hover {
            transform: translateY(-5px) scale(1.1);
            box-shadow: 0 15px 40px rgba(0, 212, 255, 0.4);
            border-color: var(--accent-secondary);
            color: var(--accent-secondary);
        }

        .tech-float:nth-child(4) {
            top: 10%;
            right: 10%;
            animation-delay: -2s;
        }

        .tech-float:nth-child(5) {
            bottom: 15%;
            left: 5%;
            animation-delay: -4s;
        }

        .tech-float:nth-child(6) {
            top: 60%;
            right: -5%;
            animation-delay: -1s;
        }

        @keyframes float {
            0%, 100% { transform: translateY(0px) rotate(0deg); }
            33% { transform: translateY(-20px) rotate(5deg); }
            66% { transform: translateY(-10px) rotate(-3deg); }
        }

        /* Mobile Hero Adjustments */
        @media (max-width: 1024px) {
            .hero-section {
                grid-template-columns: 1fr;
                text-align: center;
                gap: 3rem;
            }

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

            .profile-img {
                width: 320px;
                height: 320px;
            }

            .orbit-ring:nth-child(2) {
                width: 400px;
                height: 400px;
            }

            .orbit-ring:nth-child(3) {
                width: 480px;
                height: 480px;
            }

            .status {
                position: relative;
                top: 0;
                right: 0;
                margin-bottom: 2rem;
                display: inline-flex;
            }
        }

        @media (max-width: 480px) {
            .hero-content h1 {
                font-size: 2.2rem;
            }

            .hero-subtitle {
                font-size: 1.1rem;
            }

            .typing-animation {
                font-size: 1.8rem;
            }

            .profile-img {
                width: 250px;
                height: 250px;
            }

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

            .btn {
                padding: 1rem 2rem;
                font-size: 0.9rem;
                width: 100%;
                max-width: 250px;
            }
        }

        /* Enhanced Sections */
        .section {
            padding: 6rem 2rem;
            max-width: 1400px;
            margin: 0 auto;
            position: relative;
        }

        .section-header {
            text-align: center;
            margin-bottom: 5rem;
        }

        .section-title {
            font-size: 3rem;
            font-weight: 700;
            margin-bottom: 1.5rem;
            background: linear-gradient(135deg, var(--text-primary), var(--accent-primary));
            background-clip: text;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .section-subtitle {
            font-size: 1.3rem;
            color: var(--text-secondary);
            max-width: 700px;
            margin: 0 auto;
            line-height: 1.8;
        }

        /* Enhanced Stats Grid */
        .stats-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2rem;
            margin-top: 4rem;
        }

        .stat-card {
            background: var(--glass-bg);
            backdrop-filter: blur(20px);
            border: 1px solid var(--border-color);
            border-radius: 20px;
            padding: 2.5rem;
            text-align: center;
            transition: all 0.4s ease;
            position: relative;
            overflow: hidden;
        }

        .stat-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 2px;
            background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
            transform: scaleX(0);
            transition: transform 0.4s ease;
        }

        .stat-card:hover::before {
            transform: scaleX(1);
        }

        .stat-card:hover {
            transform: translateY(-10px);
            border-color: var(--accent-primary);
            box-shadow: 0 20px 60px rgba(0, 212, 255, 0.2);
        }

        .stat-number {
            font-size: 3.5rem;
            font-weight: 800;
            background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
            background-clip: text;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            margin-bottom: 1rem;
        }

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

        /* Enhanced Skills Section */
        .skills-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
            gap: 2.5rem;
        }

        .skill-category {
            background: var(--glass-bg);
            backdrop-filter: blur(20px);
            border: 1px solid var(--border-color);
            border-radius: 20px;
            padding: 2.5rem;
            transition: all 0.4s ease;
            position: relative;
        }

        .skill-category::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(255, 0, 110, 0.1));
            opacity: 0;
            transition: opacity 0.4s ease;
            border-radius: 20px;
        }

        .skill-category:hover::before {
            opacity: 1;
        }

        .skill-category:hover {
            transform: translateY(-8px);
            border-color: var(--accent-primary);
            box-shadow: 0 20px 60px rgba(0, 212, 255, 0.15);
        }

        .skill-category h3 {
            color: var(--accent-primary);
            margin-bottom: 2rem;
            font-size: 1.4rem;
            font-weight: 600;
        }

        .skill-items {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(70px, 1fr));
            gap: 1.5rem;
        }

        .skill-logo {
            width: 70px;
            height: 70px;
            background: var(--glass-bg);
            backdrop-filter: blur(10px);
            border: 1px solid var(--border-color);
            border-radius: 16px;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
            position: relative;
        }

        .skill-logo img {
            width: 60%;
            height: 60%;
            object-fit: contain;
            transition: all 0.3s ease;
        }

        .skill-logo:hover {
            transform: scale(1.1) rotateY(10deg);
            border-color: var(--accent-primary);
            box-shadow: 0 15px 40px rgba(0, 212, 255, 0.3);
        }

        .skill-logo:hover img {
            transform: scale(1.1);
        }

        /* Enhanced Projects Grid */
        .projects-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
            gap: 3rem;
        }

        .project-card {
            background: var(--glass-bg);
            backdrop-filter: blur(20px);
            border: 1px solid var(--border-color);
            border-radius: 24px;
            overflow: hidden;
            transition: all 0.5s ease;
            position: relative;
        }

        .project-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(255, 0, 110, 0.1));
            opacity: 0;
            transition: opacity 0.5s ease;
        }

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

        .project-card:hover {
            transform: translateY(-15px) rotateX(5deg);
            border-color: var(--accent-primary);
            box-shadow: 0 30px 80px rgba(0, 212, 255, 0.3);
        }

        .project-image {
            height: 220px;
            background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
            position: relative;
            overflow: hidden;
        }

        .project-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: all 0.5s ease;
        }

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

        .project-overlay {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.8);
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 1rem;
            opacity: 0;
            transition: all 0.3s ease;
        }

        .project-card:hover .project-overlay {
            opacity: 1;
        }

        .project-content {
            padding: 2.5rem;
            position: relative;
            z-index: 2;
        }

        .project-content h3 {
            color: var(--text-primary);
            margin-bottom: 1rem;
            font-size: 1.4rem;
            font-weight: 600;
        }

        .project-content p {
            color: var(--text-secondary);
            margin-bottom: 2rem;
            line-height: 1.7;
        }

        .tech-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 0.75rem;
        }

        .tech-tag {
            background: rgba(0, 212, 255, 0.1);
            color: var(--accent-primary);
            padding: 0.4rem 1rem;
            border-radius: 20px;
            font-size: 0.85rem;
            border: 1px solid rgba(0, 212, 255, 0.3);
            transition: all 0.3s ease;
        }

        .tech-tag:hover {
            background: var(--accent-primary);
            color: var(--primary-bg);
            transform: translateY(-2px);
        }

        /* Enhanced Timeline */
        .timeline {
            position: relative;
            max-width: 1000px;
            margin: 0 auto;
        }

        .timeline::after {
            content: '';
            position: absolute;
            width: 3px;
            background: linear-gradient(180deg, var(--accent-primary), var(--accent-secondary));
            top: 0;
            bottom: 0;
            left: 50%;
            margin-left: -1.5px;
            border-radius: 3px;
        }

        .timeline-item {
            padding: 15px 50px;
            position: relative;
            background-color: inherit;
            width: 50%;
        }

        .timeline-item::after {
            content: '';
            position: absolute;
            width: 25px;
            height: 25px;
            right: -12.5px;
            background: var(--accent-primary);
            border: 4px solid var(--primary-bg);
            border-radius: 50%;
            top: 20px;
            box-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
            z-index: 2;
        }

        .timeline-item.left {
            left: 0;
        }

        .timeline-item.right {
            left: 50%;
        }

        .timeline-item.right::after {
            left: -12.5px;
        }

        .timeline-content {
            padding: 2.5rem;
            background: var(--glass-bg);
            border: 1px solid var(--border-color);
            border-radius: 20px;
            backdrop-filter: blur(20px);
            transition: all 0.4s ease;
            position: relative;
        }

        .timeline-content::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 3px;
            background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
            border-radius: 20px 20px 0 0;
        }

        .timeline-content:hover {
            transform: translateY(-5px);
            box-shadow: 0 20px 60px rgba(0, 212, 255, 0.2);
            border-color: var(--accent-primary);
        }

        .timeline-date {
            color: var(--accent-primary);
            font-weight: 600;
            font-size: 1.1rem;
            margin-bottom: 1rem;
            font-family: 'JetBrains Mono', monospace;
        }

        /* Mobile Timeline */
        @media (max-width: 768px) {
            .timeline::after {
                left: 31px;
            }

            .timeline-item {
                width: 100%;
                padding-left: 80px;
                padding-right: 25px;
            }

            .timeline-item::after {
                left: 18.5px;
            }

            .timeline-item.right {
                left: 0%;
            }
        }

        /* Enhanced Achievement Section */
        .tabs {
            display: flex;
            justify-content: center;
            gap: 1rem;
            margin-bottom: 4rem;
        }

        .tab-btn {
            padding: 1.2rem 2.5rem;
            background: var(--glass-bg);
            color: var(--text-secondary);
            border: 2px solid var(--border-color);
            border-radius: 12px;
            cursor: pointer;
            transition: all 0.3s ease;
            font-weight: 600;
            font-size: 1rem;
            backdrop-filter: blur(10px);
            position: relative;
            overflow: hidden;
        }

        .tab-btn::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.2), transparent);
            transition: left 0.5s;
        }

        .tab-btn:hover::before {
            left: 100%;
        }

        .tab-btn.active,
        .tab-btn:hover {
            background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
            color: white;
            border-color: var(--accent-primary);
            box-shadow: 0 8px 32px rgba(0, 212, 255, 0.3);
            transform: translateY(-2px);
        }

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

        .card {
            background: var(--glass-bg);
            backdrop-filter: blur(20px);
            border: 1px solid var(--border-color);
            border-radius: 20px;
            padding: 2.5rem;
            text-align: center;
            transition: all 0.4s ease;
            position: relative;
            overflow: hidden;
        }

        .card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(135deg, rgba(0, 212, 255, 0.05), rgba(255, 0, 110, 0.05));
            opacity: 0;
            transition: opacity 0.4s ease;
        }

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

        .card:hover {
            transform: translateY(-10px) rotateX(5deg);
            border-color: var(--accent-primary);
            box-shadow: 0 25px 60px rgba(0, 212, 255, 0.2);
        }

        .certificate-img {
            width: 100%;
            height: 220px;
            object-fit: cover;
            border-radius: 16px;
            margin-bottom: 1.5rem;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
            transition: all 0.3s ease;
            border: 2px solid var(--border-color);
        }

        .card:hover .certificate-img {
            transform: scale(1.05);
            border-color: var(--accent-primary);
            box-shadow: 0 15px 40px rgba(0, 212, 255, 0.3);
        }

        .card h3 {
            color: var(--accent-primary);
            margin-bottom: 1rem;
            font-size: 1.4rem;
            font-weight: 600;
        }

        .card p {
            color: var(--text-secondary);
            line-height: 1.7;
        }

        /* Enhanced Contact Section */
        .contact-container {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 4rem;
            margin-top: 4rem;
        }

        .contact-info .card,
        .contact-form {
            background: var(--glass-bg);
            backdrop-filter: blur(20px);
            border: 1px solid var(--border-color);
            border-radius: 20px;
            padding: 3rem;
            transition: all 0.4s ease;
        }

        .contact-info .card:hover,
        .contact-form:hover {
            border-color: var(--accent-primary);
            box-shadow: 0 20px 60px rgba(0, 212, 255, 0.1);
        }

        .contact-item {
            margin-bottom: 1.5rem;
            color: var(--text-secondary);
            display: flex;
            align-items: center;
            gap: 1rem;
            padding: 1rem;
            background: rgba(0, 212, 255, 0.05);
            border-radius: 12px;
            border: 1px solid rgba(0, 212, 255, 0.1);
            transition: all 0.3s ease;
        }

        .contact-item:hover {
            background: rgba(0, 212, 255, 0.1);
            border-color: var(--accent-primary);
            transform: translateX(5px);
        }

        .contact-item i {
            color: var(--accent-primary);
            font-size: 1.2rem;
            width: 24px;
            text-align: center;
        }

        .contact-item strong {
            color: var(--text-primary);
            font-weight: 600;
        }

     .social-links {
    display: flex;
    justify-content: center; /* centers them horizontally */
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.social-links a {
    color: var(--text-primary);
    text-decoration: none;
    padding: 0.8rem 1.5rem;
    border: 1px solid var(--accent-primary);
    border-radius: 25px;
    background: rgba(0, 212, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 0.5rem;

    /* Smooth animations */
    transition: all 0.4s ease, transform 0.3s ease-in-out;
    position: relative;
    overflow: hidden;
}

/* Gradient hover animation */
.social-links a::before {
    content: "";
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(120deg, #00d4ff, #00aaff, #0066ff);
    transition: all 0.4s ease;
    z-index: 0;
}

/* Animate gradient sliding in */
.social-links a:hover::before {
    left: 0;
}

/* Ensure text + icons stay above gradient */
.social-links a span, 
.social-links a i {
    position: relative;
    z-index: 1;
}

.social-links a:hover {
    color: var(--primary-bg);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 12px 35px rgba(0, 212, 255, 0.5);
}


        .form-group {
            margin-bottom: 2rem;
            position: relative;
        }

        .form-group label {
            display: block;
            margin-bottom: 0.5rem;
            color: var(--text-primary);
            font-weight: 500;
        }

        .form-group input,
        .form-group textarea {
            width: 100%;
            padding: 1.2rem 1.5rem;
            background: rgba(255, 255, 255, 0.05);
            border: 2px solid var(--border-color);
            border-radius: 12px;
            color: var(--text-primary);
            font-family: inherit;
            transition: all 0.3s ease;
            font-size: 1rem;
        }

        .form-group input:focus,
        .form-group textarea:focus {
            outline: none;
            border-color: var(--accent-primary);
            box-shadow: 0 0 0 4px rgba(0, 212, 255, 0.1);
            background: rgba(255, 255, 255, 0.08);
        }

        .form-group input::placeholder,
        .form-group textarea::placeholder {
            color: var(--text-secondary);
        }

        .form-submit {
            width: 100%;
            margin-top: 1rem;
        }

        /* Mobile Contact */
        @media (max-width: 768px) {
            .contact-container {
                grid-template-columns: 1fr;
                gap: 2rem;
            }

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

            .tab-btn {
                width: 250px;
            }
        }

        /* Enhanced Footer */
        .footer {
            background: var(--secondary-bg);
            border-top: 1px solid var(--border-color);
            padding: 4rem 0 2rem;
            margin-top: 6rem;
            position: relative;
        }

        .footer::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 3px;
            background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary), var(--accent-tertiary));
        }
        .footer-container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 2rem;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 3rem;
        }

        .footer-section h2 {
            color: var(--accent-primary);
            margin-bottom: 1.5rem;
            font-size: 1.5rem;
        }

        .footer-section p,
        .footer-section li {
            color: var(--text-secondary);
            margin-bottom: 0.8rem;
            line-height: 1.7;
        }

        .footer-section ul {
            list-style: none;
        }

        .footer-section a {
            color: var(--text-secondary);
            text-decoration: none;
            transition: all 0.3s ease;
            position: relative;
        }

        .footer-section a:hover {
            color: var(--accent-primary);
            transform: translateX(5px);
        }

        .social-icons {
            display: flex;
            gap: 1rem;
            margin-top: 1.5rem;
        }

        .social-icons a {
            width: 50px;
            height: 50px;
            background: var(--glass-bg);
            border: 1px solid var(--border-color);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
            backdrop-filter: blur(10px);
        }

        .social-icons a:hover {
            background: var(--accent-primary);
            transform: translateY(-5px);
            box-shadow: 0 10px 30px rgba(0, 212, 255, 0.4);
            border-color: var(--accent-primary);
        }

        .footer-bottom {
            text-align: center;
            padding: 2rem;
            border-top: 1px solid var(--border-color);
            margin-top: 3rem;
        }

        .made-with-love {
            background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
            background-clip: text;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            font-weight: 600;
            font-size: 1.1rem;
        }

        .policies {
            margin-top: 1rem;
            font-size: 0.9rem;
        }

        .policies a {
            color: var(--text-secondary);
            text-decoration: none;
            margin: 0 0.75rem;
            transition: color 0.3s ease;
        }

        .policies a:hover {
            color: var(--accent-primary);
        }

        /* Scroll Progress */
        .scroll-progress {
            position: fixed;
            top: 0;
            left: 0;
            width: 0%;
            height: 4px;
            background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary), var(--accent-tertiary));
            z-index: 9999;
            transition: width 0.1s ease;
        }

        /* Loading Animation */
        .loading {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: var(--primary-bg);
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            z-index: 10000;
            transition: all 1s ease;
        }

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

        .loader {
            width: 60px;
            height: 60px;
            border: 4px solid rgba(0, 212, 255, 0.3);
            border-top: 4px solid var(--accent-primary);
            border-radius: 50%;
            animation: spin 1s linear infinite;
            margin-bottom: 2rem;
        }

        .loading-text {
            color: var(--accent-primary);
            font-size: 1.2rem;
            font-weight: 600;
            font-family: 'JetBrains Mono', monospace;
            animation: pulse-text 1.5s ease-in-out infinite;
        }

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

        @keyframes pulse-text {
            0%, 100% { opacity: 0.7; }
            50% { opacity: 1; }
        }

        /* Enhanced Animations */
        .fade-in {
            opacity: 0;
            transform: translateY(40px);
            transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
        }

        .fade-in.visible {
            opacity: 1;
            transform: translateY(0);
        }

        .slide-in-left {
            opacity: 0;
            transform: translateX(-50px);
            transition: all 0.8s ease;
        }

        .slide-in-left.visible {
            opacity: 1;
            transform: translateX(0);
        }

        .slide-in-right {
            opacity: 0;
            transform: translateX(50px);
            transition: all 0.8s ease;
        }

        .slide-in-right.visible {
            opacity: 1;
            transform: translateX(0);
        }

        /* Alert System */
        .alert {
            position: fixed;
            top: 20px;
            right: 20px;
            z-index: 10001;
            padding: 1rem 1.5rem;
            border-radius: 12px;
            box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
            max-width: 400px;
            animation: slideInRight 0.4s ease-out;
            backdrop-filter: blur(20px);
            border: 1px solid var(--border-color);
        }

        .alert-success {
            background: rgba(16, 185, 129, 0.9);
            border-color: var(--success-color);
        }

        .alert-error {
            background: rgba(239, 68, 68, 0.9);
            border-color: #ef4444;
        }

        .alert-info {
            background: rgba(0, 212, 255, 0.9);
            border-color: var(--accent-primary);
        }

        .alert-content {
            display: flex;
            align-items: flex-start;
            gap: 1rem;
            color: white;
        }

        .alert-icon {
            font-size: 1.2rem;
            flex-shrink: 0;
        }

        .alert-close {
            background: none;
            border: none;
            color: white;
            cursor: pointer;
            padding: 0.25rem 0.5rem;
            margin-left: auto;
            opacity: 0.8;
            font-size: 1.2rem;
            line-height: 1;
            border-radius: 4px;
            transition: all 0.3s ease;
        }

        .alert-close:hover {
            opacity: 1;
            background: rgba(255, 255, 255, 0.2);
        }

        @keyframes slideInRight {
            from { transform: translateX(100%); opacity: 0; }
            to { transform: translateX(0); opacity: 1; }
        }

        .field-error {
            color: #ef4444;
            font-size: 0.85rem;
            margin-top: 0.5rem;
            padding: 0.5rem;
            background: rgba(239, 68, 68, 0.1);
            border-radius: 6px;
            border: 1px solid rgba(239, 68, 68, 0.3);
        }

        /* Search Overlay */
        .search-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.95);
            backdrop-filter: blur(20px);
            z-index: 2000;
            display: none;
            opacity: 0;
            transition: all 0.3s ease;
        }

        .search-overlay.active {
            display: flex;
            opacity: 1;
        }

        .search-container {
            width: 100%;
            max-width: 800px;
            margin: auto;
            padding: 2rem;
        }

        .search-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 2rem;
        }

        .search-header h3 {
            color: var(--accent-primary);
            font-size: 1.5rem;
            font-weight: 600;
        }

        .search-close {
            background: none;
            border: none;
            color: var(--text-primary);
            font-size: 1.5rem;
            cursor: pointer;
            padding: 0.5rem;
            border-radius: 8px;
            transition: all 0.3s ease;
        }

        .search-close:hover {
            background: var(--glass-bg);
            color: var(--accent-primary);
        }

        .search-input-container {
            position: relative;
            margin-bottom: 2rem;
        }

        .search-input-container input {
            width: 100%;
            padding: 1.5rem 3rem 1.5rem 1.5rem;
            background: var(--glass-bg);
            border: 2px solid var(--border-color);
            border-radius: 16px;
            color: var(--text-primary);
            font-size: 1.2rem;
            backdrop-filter: blur(10px);
            transition: all 0.3s ease;
        }

        .search-input-container input:focus {
            outline: none;
            border-color: var(--accent-primary);
            box-shadow: 0 0 0 4px rgba(0, 212, 255, 0.1);
        }

        .search-icon {
            position: absolute;
            right: 1.5rem;
            top: 50%;
            transform: translateY(-50%);
            color: var(--text-secondary);
            font-size: 1.2rem;
        }

        .search-suggestions h4 {
            color: var(--text-secondary);
            margin-bottom: 1rem;
            font-size: 1rem;
        }

        .suggestion-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 0.75rem;
        }

        .suggestion-tag {
            background: var(--glass-bg);
            color: var(--text-primary);
            padding: 0.5rem 1rem;
            border-radius: 20px;
            border: 1px solid var(--border-color);
            cursor: pointer;
            transition: all 0.3s ease;
            font-size: 0.9rem;
        }

        .suggestion-tag:hover {
            background: var(--accent-primary);
            color: var(--primary-bg);
            border-color: var(--accent-primary);
            transform: translateY(-2px);
        }

        .search-results {
            max-height: 400px;
            overflow-y: auto;
        }

        .search-result-item {
            background: var(--glass-bg);
            border: 1px solid var(--border-color);
            border-radius: 12px;
            padding: 1.5rem;
            margin-bottom: 1rem;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .search-result-item:hover {
            border-color: var(--accent-primary);
            transform: translateY(-2px);
            box-shadow: 0 8px 32px rgba(0, 212, 255, 0.1);
        }

        .search-result-title {
            color: var(--accent-primary);
            font-weight: 600;
            margin-bottom: 0.5rem;
        }

        .search-result-description {
            color: var(--text-secondary);
            font-size: 0.9rem;
        }

        /* Light theme styles */
        .light-theme {
            --primary-bg: #ffffff;
            --secondary-bg: #f8fafc;
            --card-bg: rgba(248, 250, 252, 0.8);
            --text-primary: #1e293b;
            --text-secondary: #64748b;
            --text-accent: #0f172a;
            --border-color: rgba(148, 163, 184, 0.2);
            --glass-bg: rgba(248, 250, 252, 0.6);
        }

        /* Accessibility Improvements */
        @media (prefers-reduced-motion: reduce) {
            *, *::before, *::after {
                animation-duration: 0.01ms !important;
                animation-iteration-count: 1 !important;
                transition-duration: 0.01ms !important;
                scroll-behavior: auto !important;
            }
        }

        @media (prefers-color-scheme: light) {
            :root {
                --primary-bg: #ffffff;
                --secondary-bg: #f8fafc;
                --card-bg: rgba(248, 250, 252, 0.8);
                --text-primary: #1e293b;
                --text-secondary: #64748b;
                --text-accent: #0f172a;
                --border-color: rgba(148, 163, 184, 0.2);
                --glass-bg: rgba(248, 250, 252, 0.6);
            }
        }

        /* Focus indicators for accessibility */
        *:focus {
            outline: 2px solid var(--accent-primary);
            outline-offset: 2px;
        }

        .btn:focus,
        .nav-links a:focus,
        .theme-toggle:focus,
        .search-toggle:focus {
            outline: 2px solid var(--accent-primary);
            outline-offset: 2px;
        }

        /* Skip to content link */
        .skip-link {
            position: absolute;
            top: -40px;
            left: 6px;
            background: var(--accent-primary);
            color: var(--primary-bg);
            padding: 8px;
            text-decoration: none;
            border-radius: 4px;
            z-index: 10000;
            font-weight: 600;
        }

        .skip-link:focus {
            top: 6px;
        }

        /* High contrast mode support */
        @media (prefers-contrast: high) {
            :root {
                --border-color: rgba(255, 255, 255, 0.3);
                --glass-bg: rgba(255, 255, 255, 0.1);
            }
        }

        /* Mobile-First Responsive Design */
        @media (max-width: 480px) {
            .section {
                padding: 2rem 1rem;
            }

            .section-title {
                font-size: 1.8rem;
                line-height: 1.3;
            }

            .section-subtitle {
                font-size: 1rem;
                line-height: 1.6;
            }

            .hero-content h1 {
                font-size: 1.8rem;
            }

            .hero-subtitle {
                font-size: 1rem;
            }

            .typing-animation {
                font-size: 1.4rem;
                min-height: 60px;
            }

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

            .btn {
                padding: 0.8rem 1.5rem;
                font-size: 0.9rem;
                width: 100%;
                max-width: 280px;
                justify-content: center;
            }

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

            .orbit-ring:nth-child(2) {
                width: 240px;
                height: 240px;
            }

            .orbit-ring:nth-child(3) {
                width: 280px;
                height: 280px;
            }

            .tech-float {
                font-size: 0.8rem;
                padding: 0.6rem 1rem;
            }

            .projects-grid,
            .skills-grid,
            .card-container {
                grid-template-columns: 1fr;
                gap: 1.5rem;
            }

            .stats-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 1rem;
            }

            .stat-card {
                padding: 1.5rem;
            }

            .stat-number {
                font-size: 2.5rem;
            }

            .skill-category {
                padding: 1.5rem;
            }

            .skill-items {
                grid-template-columns: repeat(3, 1fr);
                gap: 1rem;
            }

            .skill-logo {
                width: 60px;
                height: 60px;
            }

            .project-card {
                margin-bottom: 1rem;
            }

            .project-content {
                padding: 1.5rem;
            }

            .contact-container {
                grid-template-columns: 1fr;
                gap: 1.5rem;
            }

            .contact-info .card,
            .contact-form {
                padding: 1.5rem;
            }

            .footer-container {
                grid-template-columns: 1fr;
                text-align: center;
                padding: 0 1rem;
                gap: 2rem;
            }

            .nav-container {
                padding: 0 1rem;
            }

            .nav-links {
                gap: 1.5rem;
            }

            .nav-links a {
                font-size: 1.1rem;
                padding: 0.8rem 1.5rem;
            }

            .search-container {
                padding: 1rem;
            }

            .search-input-container input {
                font-size: 1rem;
                padding: 1rem 2.5rem 1rem 1rem;
            }

            .tabs {
                flex-direction: column;
                gap: 0.5rem;
            }

            .tab-btn {
                width: 100%;
                padding: 1rem;
                font-size: 0.9rem;
            }

            .timeline-item {
                padding: 10px 30px;
            }

            .timeline-content {
                padding: 1.5rem;
            }

            .hero-stats {
                flex-direction: column;
                gap: 1rem;
                margin-top: 1.5rem;
            }

            .hero-stat {
                text-align: center;
            }

            .hero-stat-number {
                font-size: 1.2rem;
            }

            .hero-stat-label {
                font-size: 0.8rem;
            }
        }

        @media (max-width: 768px) and (min-width: 481px) {
            .section {
                padding: 3rem 1.5rem;
            }

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

            .hero-content h1 {
                font-size: 2.2rem;
            }

            .profile-img {
                width: 280px;
                height: 280px;
            }

            .projects-grid,
            .skills-grid,
            .card-container {
                grid-template-columns: 1fr;
            }

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

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

            .nav-links {
                position: fixed;
                top: 70px;
                left: -100%;
                width: 100%;
                height: calc(100vh - 70px);
                background: rgba(10, 10, 10, 0.98);
                backdrop-filter: blur(20px);
                flex-direction: column;
                justify-content: flex-start;
                align-items: center;
                padding-top: 3rem;
                transition: left 0.4s ease;
                gap: 2rem;
            }

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

            .mobile-menu-toggle {
                display: flex;
            }
        }

        @media (max-width: 1024px) and (min-width: 769px) {
            .section {
                padding: 4rem 2rem;
            }

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

            .hero-section {
                grid-template-columns: 1fr;
                text-align: center;
                gap: 3rem;
            }

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

            .profile-img {
                width: 320px;
                height: 320px;
            }

            .projects-grid {
                grid-template-columns: repeat(2, 1fr);
            }

            .skills-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        /* Touch-friendly improvements */
        @media (hover: none) and (pointer: coarse) {
            .btn, .card, .project-card, .stat-card, .skill-logo {
                min-height: 44px;
                min-width: 44px;
            }

            .nav-links a {
                padding: 1rem 2rem;
                min-height: 44px;
                display: flex;
                align-items: center;
                justify-content: center;
            }

            .theme-toggle, .search-toggle {
                min-width: 44px;
                min-height: 44px;
            }

            .cursor, .cursor-follower {
                display: none;
            }

            /* Remove hover effects on touch devices */
            .btn:hover, .card:hover, .project-card:hover, .stat-card:hover, .skill-logo:hover {
                transform: none;
            }
        }

        /* High DPI display optimizations */
        @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
            .profile-img, .certificate-img {
                image-rendering: -webkit-optimize-contrast;
                image-rendering: crisp-edges;
            }
        }

        /* Landscape mobile optimizations */
        @media (max-height: 500px) and (orientation: landscape) {
            .hero {
                min-height: 100vh;
                padding: 1rem;
            }

            .hero-content h1 {
                font-size: 1.8rem;
                margin-bottom: 0.5rem;
            }

            .hero-subtitle {
                font-size: 0.9rem;
                margin-bottom: 0.5rem;
            }

            .typing-animation {
                font-size: 1.2rem;
                min-height: 40px;
                margin-bottom: 1rem;
            }

            .hero-buttons {
                margin-bottom: 1rem;
            }

            .hero-stats {
                margin-top: 1rem;
            }

            .profile-img {
                width: 150px;
                height: 150px;
            }
            .social-links{
                align-items: center;
                bottom: 20px;

            } 
        }
        .article-card {
    width: 350px;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.article-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 12px 24px rgba(0,0,0,0.18);
}

/* Image Section with Fixed Shape */
.article-image {
    width: 100%;          /* take full card width */
    height: 220px;        /* fixed height */
    overflow: hidden;
    position: relative;
    border-radius: 12px 12px 0 0; /* rounded corners only at top */
}

/* Image Always Perfect */
.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;    /* ensures no distortion */
    display: block;
    transition: transform 0.5s ease;
}

/* Hover Zoom */
.article-card:hover .article-image img {
    transform: scale(1.1);
}

.article-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

/* Gradient overlay for better text contrast */
.article-image::after {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.15), rgba(0,0,0,0.5));
    opacity: 0;
    transition: opacity 0.4s ease;
}
.article-card:hover .article-image::after {
    opacity: 1;
}

.article-content {
    padding: 18px;
    text-align: left;
}

.article-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 12px 0;
    color: #222;
    transition: color 0.3s ease;
}

.article-card:hover .article-title {
    color: #0073e6;
}

.article-summary {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 20px;
    line-height: 1.5;
}

/* Fancy Button */
.read {
    background: linear-gradient(135deg, #0073e6, #00c6ff);
    color: white;
    border: none;
    padding: 10px 18px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,115,230,0.4);
}

.read:hover {
    background: linear-gradient(135deg, #005bb5, #0094ff);
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0,115,230,0.6);
}
.article-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* Download Button Style */
.download {
    background: linear-gradient(135deg, #ff7e5f, #feb47b);
    color: white;
    border: none;
    padding: 10px 18px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(255,126,95,0.4);
}

.download:hover {
    background: linear-gradient(135deg, #ff5e3a, #ff9966);
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(255,126,95,0.6);
}

/*  badge Section Title */
#badges {
  text-align: center;
  padding: 80px 20px;
}

#badges .section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #00c8ff; /* neon cyan */
  margin-bottom: 12px;
  text-shadow: 0px 0px 12px rgba(0, 200, 255, 0.6);
}

#badges .section-subtitle {
  font-size: 1rem;
  color: #ccc;
  margin-bottom: 50px;
}

/* Grid Layout */
.badges-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 35px;
  justify-items: center;
}

/* Badge Card */
.badge-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(0, 200, 255, 0.3);
  border-radius: 16px;
  padding: 25px;
  text-align: center;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 0 15px rgba(0, 200, 255, 0.1);
}

.badge-card:hover {
  transform: translateY(-10px) scale(1.05);
  border-color: #00c8ff;
  box-shadow: 0 0 25px rgba(0, 200, 255, 0.5);
}

/* Badge Image */
.badge {
  width: 130px;
  height: auto;
  margin-bottom: 15px;
  transition: transform 0.3s ease;
}

.badge-card:hover .badge {
  transform: rotate(3deg) scale(1.1);
}

/* Badge Text */
.badge-card p {
  font-size: 0.95rem;
  font-weight: 600;
  color: #e6faff;
  margin: 0;
}
.social-icons {
    display: flex;
    gap: 20px; /* space between icons */
}

.social-icons a i {
    font-size: 2rem;       /* icon size */
    color: #ff9800;        /* main theme color */
    transition: transform 0.3s, color 0.3s; /* smooth hover */
}

/* Hover effect */
.social-icons a:hover i {
    transform: scale(1.3); /* enlarge slightly */
    color: #ffa726;        /* lighter shade */
    cursor: pointer;
}
/*Testimonial section*/
.testimonial-section {
  padding: 80px 20px;
  text-align: center;

}

.section-title {
  font-size: 2.8rem;
  font-weight: 700;
 
  -webkit-background-clip: text;
  color: transparent;
}

.section-subtitle {
  color: #bfbfbf;
  margin-bottom: 40px;
  font-size: 1.1rem;
}

.testimonial-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  max-width: 1100px;
  margin: 0 auto;
}

.testimonial-card {
  
  backdrop-filter: blur(12px);
  border-radius: 18px;
  padding: 25px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4);
}

.testimonial-content p {
  color: #e5e5e5;
  font-size: 1rem;
  line-height: 1.6;
  font-style: italic;
}

.testimonial-author {
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-author img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  
}

.testimonial-author h4 {
  margin: 0;
  color: #fff;
  font-size: 1rem;
}

.testimonial-author span {
  font-size: 0.9rem;
  color: #9f9f9f;
}

/* INTERSTELLAR NEBULA BACKGROUND — ENHANCED */
.interstellar-bg {
  position: fixed;
  inset: 0;
  z-index: -20;
  pointer-events: none;

  background:
    radial-gradient(circle at 20% 30%, rgba(210, 130, 255, 0.45), transparent 60%),
    radial-gradient(circle at 80% 70%, rgba(100, 170, 255, 0.40), transparent 60%),
    radial-gradient(circle at 50% 50%, rgba(0, 230, 255, 0.35), transparent 60%),
    radial-gradient(circle at 40% 80%, rgba(255, 160, 240, 0.30), transparent 65%),
    radial-gradient(circle at 60% 20%, rgba(90, 90, 255, 0.20), transparent 70%);

  filter: blur(130px) brightness(1.35) saturate(1.3);
  animation: interstellarMove 28s infinite alternate ease-in-out;
}

/* Smooth Nebula Motion */
@keyframes interstellarMove {
  0%   { transform: translate(-50px, -40px) scale(1); }
  50%  { transform: translate(60px, 50px) scale(1.12); }
  100% { transform: translate(-30px, -20px) scale(1.03); }
}

/* STARFIELD CANVAS — MOVING, TWINKLING, COLORFUL */
#interstellar-stars {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw !important;
  height: 100vh !important;
  z-index: -15;
  pointer-events: none;

  opacity: 0.30; /* stronger visibility */
  animation: starDrift 50s linear infinite;
}

/* Slow drifting of the entire starfield */
@keyframes starDrift {
  0% { transform: translate(0, 0); }
  100% { transform: translate(-60px, -40px); }
}
/* MAIN BADGE */
.status {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  
  /* Glassmorphism */
  background: rgba(30, 30, 30, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  padding: 12px 22px;
  border-radius: 50px;

  /* Neon Border */
  border: 1.5px solid rgba(0,255,127,0.25);
  box-shadow: 0 4px 25px rgba(0,255,127,0.08),
              inset 0 0 10px rgba(0,255,127,0.05);

  color: #fff;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.6px;
  cursor: pointer;
  transition: 0.35s ease-in-out;
}

/* Hover Effect */
.status:hover {
  transform: translateY(-4px) scale(1.03);
  border-color: #00ff7f;
  box-shadow: 0 10px 35px rgba(0,255,127,0.25),
              0 0 10px rgba(0,255,127,0.15);
}

/* Neon Dot */
.status-dot {
  width: 14px;
  height: 14px;
  background: #00ff7f;
  border-radius: 50%;
  box-shadow: 0 0 10px #00ff7f, 
              0 0 20px #00ff7f, 
              0 0 30px rgba(0,255,127,0.7);
  animation: glowPulse 1.5s infinite;
}

@keyframes glowPulse {
  0%   { box-shadow: 0 0 8px #00ff7f; }
  50%  { box-shadow: 0 0 18px #00ff7f; }
  100% { box-shadow: 0 0 8px #00ff7f; }
}

.status-text {
  white-space: nowrap;
  text-shadow: 0 0 5px rgba(0,255,127,0.4);
}

/* DROPDOWN MENU */
.status-menu {
  position: absolute;
  top: 60px;
  right: 0;
  width: 180px;

  display: none;
  flex-direction: column;

  background: rgba(20, 20, 20, 0.75);
  backdrop-filter: blur(12px);
  border-radius: 12px;

  border: 1px solid rgba(255, 255, 255, 0.1);

  box-shadow: 0 12px 30px rgba(0,0,0,0.4);

  /* Animation */
  opacity: 0;
  transform: translateY(10px);
  transition: 0.3s ease-in-out;
}

.status-menu.show {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}

.status-menu a {
  padding: 14px 20px;
  font-size: 15px;
  color: #e0e0e0;
  text-decoration: none;
  transition: 0.25s ease-in-out;
}

.status-menu a:hover {
  background: rgba(0,255,127,0.25);
  color: #0e0e0e;
}

/* RESPONSIVE */
@media (max-width: 480px) {
  .status {
    font-size: 14px;
    padding: 9px 16px;
  }

  .status-dot {
    width: 11px;
    height: 11px;
  }

  .status-menu {
    width: 160px;
    top: 56px;
  }
}

@media (max-width: 360px) {
  .status {
    padding: 8px 14px;
    gap: 8px;
  }
}
/* ===============================
   Winter Snowfall – Background
   =============================== */

#winter-snow {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    /* Always behind content */
    z-index: -10;

    /* Prevent interaction issues */
    pointer-events: none;

    /* Prevent scroll-based redraw jitter */
    will-change: transform;
    transform: translateZ(0);

    /* High-DPI clarity */
    image-rendering: auto;

    /* Soft winter blending */
    mix-blend-mode: screen;
}

/* Ensure canvas scales crisply */
@media (min-resolution: 2dppx) {
    #winter-snow {
        image-rendering: crisp-edges;
    }
}

/* Accessibility: respect reduced motion */
@media (prefers-reduced-motion: reduce) {
    #winter-snow {
        display: none;
    }
}
/* =============================== boot =============================== */
.loading {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: radial-gradient(ellipse at 50% 50%, #0a0e1a 0%, #000000 100%);
  color: #cfefff;
  overflow: hidden;
  padding: 20px;
}

/* Multi-layered starfield with depth and motion */
.loading::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: 
    /* Large distant stars - slow movement */
    radial-gradient(2px 2px at 10% 20%, rgba(255, 255, 255, 0.9), transparent),
    radial-gradient(1px 1px at 25% 40%, rgba(200, 220, 255, 0.8), transparent),
    radial-gradient(2px 2px at 40% 10%, rgba(255, 255, 255, 0.9), transparent),
    radial-gradient(1px 1px at 55% 65%, rgba(180, 200, 255, 0.7), transparent),
    radial-gradient(2px 2px at 70% 35%, rgba(255, 255, 255, 1), transparent),
    radial-gradient(1px 1px at 85% 75%, rgba(220, 230, 255, 0.8), transparent),
    radial-gradient(2px 2px at 15% 80%, rgba(255, 255, 255, 0.9), transparent),
    radial-gradient(1px 1px at 90% 15%, rgba(200, 210, 255, 0.7), transparent),
    /* Medium stars - medium speed */
    radial-gradient(1.5px 1.5px at 30% 55%, rgba(255, 255, 255, 0.95), transparent),
    radial-gradient(1px 1px at 50% 25%, rgba(180, 200, 255, 0.8), transparent),
    radial-gradient(1.5px 1.5px at 75% 60%, rgba(255, 255, 255, 0.9), transparent),
    radial-gradient(1px 1px at 20% 70%, rgba(220, 230, 255, 0.75), transparent),
    radial-gradient(1.5px 1.5px at 60% 85%, rgba(255, 255, 255, 0.95), transparent),
    radial-gradient(1px 1px at 80% 45%, rgba(200, 220, 255, 0.8), transparent),
    /* Small close stars - fast movement */
    radial-gradient(1px 1px at 35% 30%, rgba(255, 255, 255, 1), transparent),
    radial-gradient(1px 1px at 65% 50%, rgba(255, 255, 255, 0.9), transparent),
    radial-gradient(1px 1px at 45% 90%, rgba(240, 245, 255, 0.95), transparent),
    radial-gradient(1px 1px at 95% 35%, rgba(255, 255, 255, 0.9), transparent);
  background-size: 200% 200%;
  background-position: 0% 0%;
  animation: galaxy-drift 25s linear infinite;
  pointer-events: none;
  opacity: 1;
}

/* Additional star layer for depth */
.loading::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: 
    /* Tiny fast-moving stars */
    radial-gradient(1px 1px at 12% 15%, rgba(255, 255, 255, 0.6), transparent),
    radial-gradient(1px 1px at 28% 48%, rgba(230, 240, 255, 0.5), transparent),
    radial-gradient(1px 1px at 42% 72%, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(1px 1px at 58% 22%, rgba(220, 235, 255, 0.6), transparent),
    radial-gradient(1px 1px at 72% 88%, rgba(255, 255, 255, 0.65), transparent),
    radial-gradient(1px 1px at 88% 52%, rgba(240, 245, 255, 0.55), transparent),
    radial-gradient(1px 1px at 18% 62%, rgba(255, 255, 255, 0.6), transparent),
    radial-gradient(1px 1px at 92% 28%, rgba(230, 240, 255, 0.5), transparent),
    radial-gradient(1px 1px at 38% 38%, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(1px 1px at 68% 78%, rgba(220, 235, 255, 0.6), transparent),
    radial-gradient(1px 1px at 5% 45%, rgba(255, 255, 255, 0.65), transparent),
    radial-gradient(1px 1px at 52% 8%, rgba(240, 245, 255, 0.55), transparent);
  background-size: 300% 300%;
  background-position: 0% 0%;
  animation: stars-rush 15s linear infinite;
  pointer-events: none;
  opacity: 0.8;
}

@keyframes galaxy-drift {
  0% {
    background-position: 0% 0%;
    transform: rotate(0deg);
  }
  100% {
    background-position: 200% 200%;
    transform: rotate(360deg);
  }
}

@keyframes stars-rush {
  0% {
    background-position: 0% 0%;
  }
  100% {
    background-position: 300% 300%;
  }
}

/* Enhanced loader ring with galaxy theme */
.loader {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 3px solid rgba(80, 120, 200, 0.2);
  border-top-color: #6db3ff;
  border-right-color: rgba(109, 179, 255, 0.6);
  animation: spin 1s cubic-bezier(0.68, -0.55, 0.265, 1.55) infinite;
  margin-bottom: 28px;
  box-shadow: 0 0 30px rgba(109, 179, 255, 0.5), 
              0 0 60px rgba(109, 179, 255, 0.3),
              inset 0 0 25px rgba(109, 179, 255, 0.2);
  position: relative;
  z-index: 10;
}

.loader::after {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  border: 2px solid transparent;
  border-top-color: rgba(143, 200, 255, 0.6);
  animation: spin 1.5s linear infinite reverse;
}

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

/* Loading title with enhanced glow effect */
.loading-text {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: clamp(0.75rem, 2vw, 0.9rem);
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #a8d0ff;
  margin-bottom: 24px;
  text-shadow: 0 0 15px rgba(109, 179, 255, 0.8), 
               0 0 30px rgba(109, 179, 255, 0.5),
               0 0 45px rgba(109, 179, 255, 0.3);
  animation: pulse-glow 2s ease-in-out infinite;
  position: relative;
  z-index: 10;
}

@keyframes pulse-glow {
  0%,
  100% {
    opacity: 1;
    text-shadow: 0 0 15px rgba(109, 179, 255, 0.8), 
                 0 0 30px rgba(109, 179, 255, 0.5),
                 0 0 45px rgba(109, 179, 255, 0.3);
  }
  50% {
    opacity: 0.9;
    text-shadow: 0 0 20px rgba(109, 179, 255, 1), 
                 0 0 40px rgba(109, 179, 255, 0.6),
                 0 0 60px rgba(109, 179, 255, 0.4);
  }
}

/* Enhanced boot log with galaxy theme */
.boot-log {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: clamp(0.65rem, 1.5vw, 0.75rem);
  line-height: 1.7;
  color: rgba(180, 210, 255, 0.95);
  background: linear-gradient(
    135deg,
    rgba(30, 50, 100, 0.25) 0%,
    rgba(10, 20, 50, 0.35) 50%,
    rgba(20, 40, 80, 0.3) 100%
  );
  border: 1px solid rgba(80, 120, 200, 0.5);
  border-radius: 16px;
  padding: clamp(12px, 3vw, 18px) clamp(14px, 3.5vw, 20px);
  min-width: min(320px, 90vw);
  max-width: min(480px, 90vw);
  box-shadow: 0 0 40px rgba(60, 100, 180, 0.4), 
              0 8px 32px rgba(0, 0, 0, 0.6),
              inset 0 0 0 1px rgba(100, 150, 255, 0.2), 
              inset 0 2px 8px rgba(80, 120, 200, 0.1);
  backdrop-filter: blur(12px);
  animation: log-appear 0.6s ease-out;
  position: relative;
  z-index: 10;
}

@keyframes log-appear {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Smooth exit animation */
.loading.fade-out {
  opacity: 0;
  visibility: hidden;
  transform: scale(0.98);
  transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1),
    visibility 1s cubic-bezier(0.4, 0, 0.2, 1),
    transform 1s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Tablet responsive (portrait) */
@media (max-width: 768px) and (orientation: portrait) {
  .loader {
    width: 56px;
    height: 56px;
    border-width: 2.5px;
    margin-bottom: 24px;
  }

  .loading-text {
    letter-spacing: 0.25em;
    margin-bottom: 20px;
  }

  .boot-log {
    min-width: min(280px, 85vw);
    max-width: 85vw;
    border-radius: 14px;
  }
}

/* Mobile responsive */
@media (max-width: 480px) {
  .loading {
    padding: 16px;
  }

  .loader {
    width: 48px;
    height: 48px;
    border-width: 2px;
    margin-bottom: 20px;
  }

  .loader::after {
    inset: 6px;
  }

  .loading-text {
    letter-spacing: 0.2em;
    margin-bottom: 18px;
  }

  .boot-log {
    min-width: min(260px, 90vw);
    max-width: 90vw;
    border-radius: 12px;
    line-height: 1.6;
  }
}

/* Landscape mobile optimization */
@media (max-height: 500px) and (orientation: landscape) {
  .loader {
    width: 40px;
    height: 40px;
    margin-bottom: 12px;
  }

  .loading-text {
    margin-bottom: 12px;
  }

  .boot-log {
    padding: 10px 14px;
    max-height: 60vh;
    overflow-y: auto;
  }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .loading {
    background-size: 100% 100%;
  }

  .boot-log {
    border-width: 0.5px;
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  .loader,
  .loader::after,
  .loading::before,
  .loading::after,
  .loading-text {
    animation-duration: 10s !important;
    animation-iteration-count: 1 !important;
  }

  .loading.fade-out {
    transition-duration: 0.3s;
  }
}
#realtime-clock {
    position: relative;

    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 0.85rem;
    letter-spacing: 0.18em;

    color: rgba(210,235,255,0.95);

    padding: 8px 14px;

    /* Glass + tech panel */
    background:
        linear-gradient(
            135deg,
            rgba(255,255,255,0.10),
            rgba(255,255,255,0.02)
        );

    border: 1px solid rgba(140,180,255,0.35);
    border-radius: 12px;

    backdrop-filter: blur(10px) saturate(130%);
    -webkit-backdrop-filter: blur(10px) saturate(130%);

    /* Precision glow */
    box-shadow:
        0 0 18px rgba(120,170,255,0.35),
        inset 0 0 0 1px rgba(255,255,255,0.08),
        inset 0 1px 0 rgba(255,255,255,0.25);

    width: fit-content;
    isolation: isolate;
}

/* ───────── Tech corner cuts ───────── */
#realtime-clock::before,
#realtime-clock::after {
    content: "";
    position: absolute;
    pointer-events: none;
}

/* top-left cut */
#realtime-clock::before {
    top: -1px;
    left: -1px;
    width: 12px;
    height: 12px;
    border-top: 2px solid rgba(160,200,255,0.9);
    border-left: 2px solid rgba(160,200,255,0.9);
    border-radius: 6px 0 0 0;
}

/* bottom-right cut */
#realtime-clock::after {
    bottom: -1px;
    right: -1px;
    width: 12px;
    height: 12px;
    border-bottom: 2px solid rgba(160,200,255,0.9);
    border-right: 2px solid rgba(160,200,255,0.9);
    border-radius: 0 0 6px 0;
}
.logo {
  position: relative;
  display: inline-block;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-weight: 600;
  font-size: 1.6rem;
  letter-spacing: 0.08em;
  color: #e5e7eb;
}

/* Santa hat */
.logo::before {
  content: "";
  position: absolute;
  width: 34px;                 /* slightly bigger */
  height: 34px;
  background: url("assets/santahats.png") no-repeat center / contain;

  /* Positioned on top of first 'A' */
  top: -22px;
  left: 6px;

  transform: rotate(-14deg);   /* more natural angle */
  pointer-events: none;
}

/* Mobile refinement */
@media (max-width: 480px) {
  .logo::before {
    width: 26px;
    height: 26px;
    top: -18px;
    left: 4px;
  }
}

/* Disable after December */
.no-hat::before {
  display: none;
}
/* ===============================
   FLYING SANTA 
================================ */

#navbar {
  position: fixed;
  overflow: hidden;
}

#navbar .flying-santa {
  position: absolute;
  top: 10px;             /* aligned with logo */
  left: -80px;           /* smooth entry */

  width: 100px;           /* medium size */
  height: auto;

  opacity: 0.95;         /* clearly visible */
  pointer-events: none;
  z-index: 10;

  animation: santaFlyAcross 14s linear forwards; /* medium speed */
}

@keyframes santaFlyAcross {
  0% {
    transform: translateX(0);
    opacity: 0;
  }
  6% {
    opacity: 0.95;
  }
  94% {
    opacity: 0.95;
  }
  100% {
    transform: translateX(115vw);
    opacity: 0;
  }
}

/* Mobile tuning */
@media (max-width: 768px) {
  #navbar .flying-santa {
    width: 26px;
    top: 10px;
    animation-duration: 16s;
  }
}
body {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;

    -webkit-user-drag: none;
}
/* ===============================
   GLOBAL BASE
=============================== */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: radial-gradient(circle at top, #020617, #000);
  color: #e5e7eb;
  overflow-x: hidden;
  position: relative;
}

/* ===============================
   BACKGROUND FIREWORKS
=============================== */
#newyear-fireworks {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
}

/* ===============================
   NEW YEAR WISH
=============================== */
#newyear-wish {
  position: fixed;
  inset: 0;
  z-index: 0;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  text-align: center;
  pointer-events: none;

  animation: wishFade 10s ease-in-out infinite;
}

#newyear-wish h1 {
  font-size: clamp(2.2rem, 6vw, 4rem);
  font-weight: 800;
  margin: 0;
  letter-spacing: 0.05em;
}

#newyear-wish h1 span {
  color: #ffd93d;
}

/* ===============================
   NEW YEAR WISH – BACKGROUND TEXT
=============================== */
#newyear-wish {
  position: fixed;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);

  z-index: -1;              /* Push behind main content */
  pointer-events: none;
  text-align: center;

  opacity: 0.75;            /* Soft background presence */
}

/* Medium, clean heading */
#newyear-wish h1 {
  margin: 0;
  font-size: clamp(1.4rem, 3.8vw, 2rem);
  font-weight: 600;
  letter-spacing: 0.04em;
}

#newyear-wish h1 span {
  color: #ffd93d;
}

/* Medium subtitle */
#newyear-wish p {
  margin-top: 0.25rem;
  font-size: clamp(0.9rem, 2.8vw, 1.1rem);
  font-weight: 400;
  opacity: 0.85;
}

/* ===============================
   SAMPLE CONTENT
=============================== */
.content {
  position: relative;
  z-index: 1;               
  padding: 5rem 2rem;
  text-align: center;
}
