
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');
        @import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css');
        
        :root {
            --primary-color: #000000;
            --secondary-color: #f4f4f4;
            --accent-color: rgb(255, 77, 0);
            --accent-hover: #ff5900;
            --background-color: #ffffff;
            --text-color: #333333;
            --card-bg: #ffffff;
            --form-bg: #dadada;
            --footer-bg: #333333;
            --white: #ffffff;
            --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            --glow-shadow: 0 0 20px rgba(255, 77, 0, 0.3);
            --gradient-1: linear-gradient(45deg, rgb(255, 77, 0), #ff9500);
            --gradient-2: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        }

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

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

        /* Light theme animated background */
        .animated-bg {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -1;
            background: linear-gradient(-45deg, #f8f9fa, #e9ecef, #ffffff, #f1f3f4);
            background-size: 400% 400%;
            animation: gradientShift 15s ease infinite;
        }

        @keyframes gradientShift {
            0% { background-position: 0% 50%; }
            50% { background-position: 100% 50%; }
            100% { background-position: 0% 50%; }
        }

        /* Light theme floating particles */
        .particles {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -1;
            pointer-events: none;
        }

        .particle {
            position: absolute;
            width: 3px;
            height: 3px;
            background: var(--accent-color);
            border-radius: 50%;
            opacity: 0.4;
            animation: float 8s ease-in-out infinite;
        }

        @keyframes float {
            0%, 100% { transform: translateY(0px) rotate(0deg); opacity: 0.4; }
            50% { transform: translateY(-30px) rotate(180deg); opacity: 0.7; }
        }

        /* Light theme geometric shapes */
        .shapes {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -1;
            pointer-events: none;
            overflow: hidden;
        }

        .shape {
            position: absolute;
            border: 2px solid rgba(255, 77, 0, 0.2);
            animation: rotate 20s linear infinite;
        }

        .shape.triangle {
            width: 0;
            height: 0;
            border-left: 15px solid transparent;
            border-right: 15px solid transparent;
            border-bottom: 25px solid rgba(255, 77, 0, 0.2);
            border-radius: 0;
        }

        .shape.circle {
            border-radius: 50%;
            width: 40px;
            height: 40px;
        }

        .shape.square {
            width: 30px;
            height: 30px;
            border-radius: 5px;
        }

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

        /* Header with light theme */
        header {
            background: linear-gradient(135deg, var(--primary-color), #665f5f);
            color: var(--white);
            padding: 15px 30px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 1000;
            transition: all 0s ease;
            border-bottom: 1px solid rgba(255, 77, 0, 0.2);
            animation: slideDown 0.8s ease-out;
        }

        @keyframes slideDown {
            from {
                opacity: 0;
                transform: translateY(-100%);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        header.scrolled {
            padding: 10px 30px;
            background: rgba(0, 0, 0, 0.95);
            box-shadow: var(--shadow);
        }

        header::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 77, 0, 0.1), transparent);
            animation: shimmer 3s ease-in-out infinite;
        }

        @keyframes shimmer {
            0% {
                background-position: -200% 0;
            }
            100% {
                background-position: 200% 0;
            }
        }

        .logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-image {
    width: 80px;
    height: 60px;
    object-fit: contain; /* Preserves shape */
    box-shadow: none;
    transition: transform 0.3s ease;
}

.logo-image:hover {
    transform: scale(1.05);
}

h2 {
    font-weight: 700;
    letter-spacing: 1px;
    background: linear-gradient(45deg, var(--white), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: titleGlow 3s ease-in-out infinite alternate;
}

@keyframes titleGlow {
    from { filter: brightness(1); }
    to { filter: brightness(1.2); }
}


        /* Enhanced hamburger menu */
        .openbtn {
            font-size: 24px;
            cursor: pointer;
            background: transparent;
            color: var(--white);
            padding: 10px;
            border: 2px solid var(--accent-color);
            border-radius: 8px;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .openbtn::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: var(--gradient-1);
            transition: left 0.3s ease;
            z-index: -1;
        }

        .openbtn:hover::before {
            left: 0;
        }

        .openbtn:hover {
            color: white;
            transform: scale(1.05);
        }

        /* Light theme sidepanel */
        .sidepanel {
            height: 100%;
            width: 0;
            position: fixed;
            z-index: 1100;
            top: 0;
            left: 0;
            background: linear-gradient(135deg, rgba(55, 53, 53, 0.98), rgba(248, 249, 250, 0.98));
            backdrop-filter: blur(15px);
            overflow-x: hidden;
            padding-top: 60px;
            transition: width 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            box-shadow: 5px 0 20px rgba(0, 0, 0, 0.1);
        }
        
        .sidepanel a {
            padding: 15px 32px;
            text-decoration: none;
            font-size: 20px;
            color: var(--text-color);
            display: flex;
            align-items: center;
            gap: 15px;
            transition: all 0.3s ease;
            border-left: 3px solid transparent;
            position: relative;
            overflow: hidden;
        }

        .sidepanel a i {
            font-size: 18px;
            color: var(--accent-color);
        }

        .sidepanel a::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: rgba(255, 77, 0, 0.1);
            transition: left 0.3s ease;
            z-index: -1;
        }

        .sidepanel a:hover::before {
            left: 0;
        }

        .sidepanel a:hover {
            color: var(--accent-color);
            border-left-color: var(--accent-color);
            transform: translateX(10px);
        }

.closebtn {
    position: absolute;
    top: 10px;
    right: 10px; /* Adjusted closer to edge */
    font-size: 28px;
    color: var(--accent-color);
    cursor: pointer;
    z-index: 1001;
    transition: all 0.3s ease;
}

.closebtn:hover {
    transform: rotate(90deg) scale(1.2);
}



        /* Light theme Hero Section */
        .hero {
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            text-align: center;
            padding: 0 20px;
            position: relative;
            background: var(--gradient-2);
            color: white;
        }




        .hero-content {
            max-width: 800px;
            z-index: 2;
        }

        .hero h2 {
            font-size: 4rem;
            font-weight: 700;
            margin-bottom: 1rem;
            opacity: 0;
            animation: fadeInUp 1s ease 0.5s forwards;
        }

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

        .hero p {
            font-size: 1.4rem;
            margin-bottom: 2rem;
            opacity: 0;
            animation: fadeInUp 1s ease 0.8s forwards;
            max-width: 600px;
            margin-left: auto;
            margin-right: auto;
        }

        /* Hero illustration with cartoon style */
        .hero-illustration {
            position: absolute;
            right: 10%;
            top: 50%;
            transform: translateY(-50%);
            opacity: 0.2;
            z-index: 1;
            animation: floatHero 6s ease-in-out infinite;
            font-size: 150px;
        }

        @keyframes floatHero {
            0%, 100% { transform: translateY(-50%) rotate(0deg); }
            50% { transform: translateY(-60%) rotate(5deg); }
        }

        .hero-illustration::before {
            content: '👋';
            position: absolute;
            top: -20px;
            right: -10px;
            font-size: 40px;
            animation: wiggle 2s ease-in-out infinite;
        }

        .tech-icons {
            display: flex;
            justify-content: center;
            gap: 20px;
            margin: 30px 0;
            opacity: 0;
            animation: scaleIn 1s ease 1s forwards;
        }

        @keyframes scaleIn {
            from {
                opacity: 0;
                transform: scale(0.8);
            }
            to {
                opacity: 1;
                transform: scale(1);
            }
        }

        .tech-icon {
            width: 60px;
            height: 60px;
            background: rgba(255, 255, 255, 0.2);
            border: 2px solid var(--accent-color);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 24px;
            color: var(--accent-color);
            transition: all 0.3s ease;
            animation: floatTech 2s ease-in-out infinite;
        }

        @keyframes floatTech {
            0%, 100% { transform: translateY(0px); }
            50% { transform: translateY(-10px); }
        }

        .tech-icon:nth-child(even) {
            animation-delay: 0.5s;
        }

        .tech-icon:hover {
            transform: scale(1.2) rotate(360deg);
            background: var(--accent-color);
            color: white;
        }

        /* Light theme search container */
        .search-container {
            display: flex;
            justify-content: center;
            align-items: center;
            margin-top: 30px;
            opacity: 0;
            animation: scaleIn 1s ease 1.1s forwards;
        }

        .search-container input[type="text"] {
            width: 300px;
            height: 50px;
            padding: 15px 20px;
            border: 2px solid transparent;
            border-radius: 25px 0 0 25px;
            font-size: 16px;
            outline: none;
            background: rgba(255, 255, 255, 0.9);
            color: var(--text-color);
            backdrop-filter: blur(10px);
            transition: all 0.3s ease;
        }

        .search-container input[type="text"]:focus {
            border-color: var(--accent-color);
            background: rgba(255, 255, 255, 1);
            transform: scale(1.02);
            box-shadow: 0 0 15px rgba(255, 77, 0, 0.2);
        }

        .search-container input[type="text"]::placeholder {
            color: rgba(51, 51, 51, 0.7);
        }

        .search-btn {
            height: 50px;
            padding: 15px 25px;
            background: var(--gradient-1);
            color: white;
            border: none;
            cursor: pointer;
            font-size: 16px;
            border-radius: 0 25px 25px 0;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .search-btn::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 0;
            height: 0;
            background: rgba(255, 255, 255, 0.2);
            border-radius: 50%;
            transition: all 0.3s ease;
            transform: translate(-50%, -50%);
        }

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

        .search-btn:hover {
            transform: scale(1.05);
            box-shadow: var(--glow-shadow);
        }







        /* Light theme sections */
        .section {
            padding: 100px 20px;
            max-width: 1200px;
            margin: 0 auto;
            opacity: 0;
            transform: translateY(50px);
            transition: all 0.6s ease;
            background: var(--background-color);
        }

        .section.visible {
            opacity: 1;
            transform: translateY(0);
        }

        .section h2 {
            font-size: 3rem;
            text-align: center;
            margin-bottom: 20px;
            position: relative;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 20px;
            color: var(--text-color);
            background: none;
            -webkit-text-fill-color: var(--text-color);
        }

        .section h2::before,
        .section h2::after {
            content: '';
            flex: 1;
            height: 2px;
            background: var(--gradient-1);
            max-width: 100px;
        }

        .section h2 i {
            color: var(--accent-color);
            font-size: 2.5rem;
            animation: spin 3s linear infinite;
        }

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

        .section-subtitle {
            text-align: center;
            font-size: 1.1rem;
            color: rgba(51, 51, 51, 0.8);
            margin-bottom: 50px;
            max-width: 600px;
            margin-left: auto;
            margin-right: auto;
        }



.about-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.about-image img {
    width: 100%;
    max-width: 400px;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.about-text {
    flex: 1;
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(0, 0, 0, 0.9);
    text-align: left;
    min-width: 280px;
}

@media (max-width: 768px) {
    .about-content {
        flex-direction: column;
        text-align: center;
    }

    .about-text {
        text-align: center;
    }
}



        /* Light theme service cards */
       .services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background: var(--card-bg);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 77, 0, 0.2);
    box-shadow: var(--shadow);

    /* Add image background and gradient overlay */
    background-image: 
          linear-gradient(rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.1)),
        url('https://images.unsplash.com/photo-152220217d988-66273c2fd55f?auto=format&fit=crop&w=600&q=80');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

        .service-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: var(--gradient-1);
            opacity: 0;
            transition: opacity 0.3s ease;
            z-index: -1;
        }

        .service-card:hover::before {
            opacity: 0.05;
        }

        .service-card:hover {
            transform: translateY(-10px) scale(1.02);
            box-shadow: 0 20px 40px rgba(255, 77, 0, 0.15);
            border-color: var(--accent-color);
        }

        .service-icon {
            width: 80px;
            height: 80px;
            background: var(--gradient-1);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 20px;
            font-size: 32px;
            color: white;
            transition: all 0.3s ease;
        }

        .service-card:hover .service-icon {
            transform: scale(1.1) rotate(360deg);
        }

        .service-card h3 {
            font-size: 1.5rem;
            margin-bottom: 20px;
            color: var(--accent-color);
        }

        .service-card p {
            font-size: 1rem;
            line-height: 1.6;
            color: rgba(51, 51, 51, 0.8);
        }


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

        .project {
            background: var(--card-bg);
            padding: 30px;
            border-radius: 15px;
            transition: all 0.4s ease;
            position: relative;
            overflow: hidden;
            border: 1px solid rgba(255, 77, 0, 0.2);
            box-shadow: var(--shadow);
        }

        .project::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: conic-gradient(from 0deg, transparent, var(--accent-color), transparent);
            opacity: 0;
            transition: all 0.6s ease;
            animation: rotate 4s linear infinite;
        }

        .project:hover::before {
            opacity: 0.05;
        }

        .project:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 30px rgba(255, 77, 0, 0.15);
            border-color: var(--accent-color);
        }

        .project-icon {
            width: 60px;
            height: 60px;
            background: rgba(255, 77, 0, 0.1);
            border: 2px solid var(--accent-color);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 24px;
            color: var(--accent-color);
            margin-bottom: 20px;
            transition: all 0.3s ease;
        }

        .project:hover .project-icon {
            background: var(--accent-color);
            color: white;
            transform: scale(1.1);
        }

        .project h3 {
            font-size: 1.4rem;
            margin-bottom: 15px;
            color: var(--accent-color);
        }

        .project p {
            font-size: 0.95rem;
            line-height: 1.6;
            color: rgba(51, 51, 51, 0.8);
        }

        /* Light theme portfolio */
        .portfolio-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
            margin-top: 50px;
        }

        .portfolio-item {
            position: relative;
            border-radius: 15px;
            overflow: hidden;
            aspect-ratio: 16/9;
            cursor: pointer;
            transition: all 0.4s ease;
            background: var(--card-bg);
            display: flex;
            align-items: center;
            justify-content: center;
            border: 2px solid rgba(255, 77, 0, 0.2);
            box-shadow: var(--shadow);
        }

        .portfolio-item::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: var(--gradient-1);
            opacity: 0;
            transition: opacity 0.3s ease;
            z-index: 1;
        }

        .portfolio-item:hover::before {
            opacity: 0.8;
        }

        .portfolio-placeholder {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            color: var(--accent-color);
            font-size: 3rem;
            transition: all 0.3s ease;
        }

        .portfolio-item:hover .portfolio-placeholder {
            transform: scale(1.2);
            color: white;
        }

        .portfolio-item h3 {
            position: absolute;
            bottom: 20px;
            left: 20px;
            right: 20px;
            color: white;
            font-size: 1.3rem;
            z-index: 2;
            opacity: 0;
            transform: translateY(20px);
            transition: all 0.3s ease;
        }

        .portfolio-item:hover h3 {
            opacity: 1;
            transform: translateY(0);
        }


        /* Light theme footer */
        footer {
            background: linear-gradient(135deg, var(--footer-bg), #2a2a2a);
            padding: 50px 20px 20px;
            text-align: center;
            border-top: 1px solid rgba(255, 77, 0, 0.2);
            position: relative;
            color: var(--white);
            animation: fadeInUp 0.6s ease-out 1.8s both;
        }

        footer::before {
            content: '';
            position: absolute;
            top: -2px;
            left: 0;
            right: 0;
            height: 4px;
            background: linear-gradient(90deg, var(--accent-color), #ff9500, #4ecdc4, var(--accent-color));
            background-size: 300% 100%;
            animation: shimmer 2s ease-in-out infinite;
        }

        .footer-content {
            max-width: 1200px;
            margin: 0 auto;
        }

        .footer-icons {
            display: flex;
            justify-content: center;
            gap: 20px;
            margin-bottom: 30px;
        }

        .footer-icon {
            width: 50px;
            height: 50px;
            background: rgba(255, 77, 0, 0.1);
            border: 2px solid var(--accent-color);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 20px;
            color: var(--accent-color);
            transition: all 0.3s ease;
            cursor: pointer;
        }

        .footer-icon:hover {
            background: var(--accent-color);
            color: white;
            transform: scale(1.1) rotate(360deg);
        }

/* Enhanced scroll to top button */
        .scroll-top {
            position: fixed;
            bottom: 30px;
            right: 30px;
            width: 60px;
            height: 60px;
            background: var(--gradient-1);
            border: none;
            border-radius: 50%;
            color: white;
            font-size: 24px;
            cursor: pointer;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
            z-index: 1000;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 4px 15px rgba(255, 77, 0, 0.3);
        }

        .scroll-top.visible {
            opacity: 1;
            visibility: visible;
            transform: scale(1);
        }

        .scroll-top:hover {
            transform: scale(1.1);
            box-shadow: var(--glow-shadow);
            animation: pulse 0.5s ease-in-out;
        }

        @keyframes pulse {
            0% { transform: scale(1.1); }
            50% { transform: scale(1.2); }
            100% { transform: scale(1.1); }
        }

        /* Light theme mobile responsiveness */
        @media (max-width: 768px) {
            header {
                padding: 15px 20px;
            }

            .logo-icon {
                width: 50px;
                height: 50px;
                font-size: 24px;
            }

            h2 {
                font-size: 1.5rem;
            }

            .hero h2 {
                font-size: 2.5rem;
            }

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

            .hero-illustration {
                display: none;
            }

            .tech-icons {
                flex-wrap: wrap;
                justify-content: center;
            }

            .tech-icon {
                width: 50px;
                height: 50px;
                font-size: 20px;
            }

            .search-container {
                flex-direction: column;
                gap: 10px;
            }

            .search-container input[type="text"] {
                width: 100%;
                max-width: 300px;
                border-radius: 25px;
            }

            .search-btn {
                border-radius: 25px;
                width: 100%;
                max-width: 300px;
                justify-content: center;
            }

            .section {
                padding: 60px 20px;
            }

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

            .section h2::before,
            .section h2::after {
                max-width: 50px;
            }

            .services-grid,
            .projects-grid,
            .portfolio-grid {
                grid-template-columns: 1fr;
                gap: 20px;
            }

            .service-card,
            .project {
                padding: 30px 20px;
            }

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

            .footer-icons {
                flex-wrap: wrap;
                gap: 15px;
            }

            .scroll-top {
                width: 50px;
                height: 50px;
                bottom: 20px;
                right: 20px;
                font-size: 20px;
            }
        }

        /* Additional animations for enhanced UX */
        .typewriter {
            overflow: hidden;
            border-right: 0.15em solid var(--accent-color);
            white-space: nowrap;
            margin: 0 auto;
            letter-spacing: 0.15em;
            animation: typing 3.5s steps(40, end), blink-caret 0.75s step-end infinite;
        }

        @keyframes typing {
            from { width: 0; }
            to { width: 100%; }
        }

        @keyframes blink-caret {
            from, to { border-color: transparent; }
            50% { border-color: var(--accent-color); }
        }

        /* Parallax scrolling effect */
        .parallax-element {
            transform: translateZ(0);
            transition: transform 0.1s ease-out;
        }

        /* Stats section */
        .stats-section {
            background: rgba(252, 113, 49, 0.077);
            padding: 80px 20px;
            margin: 50px 0;
        }

        .stats-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 30px;
            max-width: 1000px;
            margin: 0 auto;
        }

        .stat-item {
            text-align: center;
            padding: 20px;
        }

        .stat-number {
            font-size: 3rem;
            font-weight: 700;
            color: var(--accent-color);
            display: block;
            margin-bottom: 10px;
        }

        .stat-label {
            font-size: 1.1rem;
            color: rgba(20, 20, 20, 0.8);
        }


            @media (max-width: 768px) {
        .stats-grid {
            display: flex;
            flex-direction: row;
            flex-wrap: nowrap;
            justify-content: space-between;
            gap: 10px;
            padding: 10px 0;
        }

        .stat-item {
            flex: 1 1 0;
            min-width: 0;
            text-align: center;
            padding: 10px;
        }

        .stat-number {
            font-size: 2rem; /* was 3rem */
            margin-bottom: 6px;
        }

        .stat-label {
            font-size: 0.85rem; /* reduce size */
            line-height: 1.2; /* add breathing space */
        }
        }



                            button, a {
                            outline: none;
                            -webkit-tap-highlight-color: transparent;
                            }

                            button:focus-visible, a:focus-visible {
                            outline: 2px solid var(--accent-color); /* optional: keep accessibility */
                            }


        /* Loading text */
        /* Transparent fullscreen overlay that doesn't block the background */
        .loading-screen {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(255, 255, 255, 0.05); /* very light overlay */
        backdrop-filter: blur(2px); /* optional blur effect */
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        z-index: 9999; /* stays above everything */
        }

        /* Spinner animation */
        .spinner {
        width: 40px;
        height: 40px;
        border: 4px solid rgba(255, 77, 0, 0.3);
        border-top-color: var(--accent-color, #ff4d00); /* fallback color */
        border-radius: 50%;
        animation: spin 1s linear infinite;
        margin-bottom: 15px;
        }

        /* Spinner text */
        .loading-text {
        font-size: 1.2rem;
        color: var(--accent-color, #ff4d00);
        font-weight: 500;
        letter-spacing: 1px;
        }

        /* Rotation animation */
        @keyframes spin {
        to {
            transform: rotate(360deg);
        }
        }



        /* Glitch effect for special text */
        .glitch {
            position: relative;
            color: var(--accent-color);
            font-size: 2rem;
            font-weight: bold;
            text-transform: uppercase;
            animation: glitch-skew 1s infinite linear alternate-reverse;
        }

        .glitch::before,
        .glitch::after {
            content: attr(data-text);
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
        }

        .glitch::before {
            animation: glitch-anim 2s infinite linear alternate-reverse;
            color: #ff0000;
            z-index: -1;
        }

        .glitch::after {
            animation: glitch-anim2 1s infinite linear alternate-reverse;
            color: #00ffff;
            z-index: -2;
        }

        @keyframes glitch-anim {
            0% {
                clip: rect(42px, 9999px, 44px, 0);
                transform: skew(0.85deg);
            }
            5% {
                clip: rect(12px, 9999px, 59px, 0);
                transform: skew(0.94deg);
            }
            10% {
                clip: rect(48px, 9999px, 29px, 0);
                transform: skew(0.81deg);
            }
            15% {
                clip: rect(42px, 9999px, 73px, 0);
                transform: skew(0.84deg);
            }
            20% {
                clip: rect(63px, 9999px, 27px, 0);
                transform: skew(0.83deg);
            }
            25% {
                clip: rect(34px, 9999px, 55px, 0);
                transform: skew(0.88deg);
            }
            30% {
                clip: rect(86px, 9999px, 73px, 0);
                transform: skew(0.67deg);
            }
            35% {
                clip: rect(20px, 9999px, 20px, 0);
                transform: skew(0.61deg);
            }
            40% {
                clip: rect(26px, 9999px, 60px, 0);
                transform: skew(0.41deg);
            }
            45% {
                clip: rect(25px, 9999px, 66px, 0);
                transform: skew(0.70deg);
            }
            50% {
                clip: rect(57px, 9999px, 98px, 0);
                transform: skew(0.58deg);
            }
            55% {
                clip: rect(5px, 9999px, 46px, 0);
                transform: skew(0.52deg);
            }
            60% {
                clip: rect(82px, 9999px, 31px, 0);
                transform: skew(0.47deg);
            }
            65% {
                clip: rect(54px, 9999px, 27px, 0);
                transform: skew(0.84deg);
            }
            70% {
                clip: rect(28px, 9999px, 99px, 0);
                transform: skew(0.34deg);
            }
            75% {
                clip: rect(45px, 9999px, 69px, 0);
                transform: skew(0.38deg);
            }
            80% {
                clip: rect(23px, 9999px, 85px, 0);
                transform: skew(0.97deg);
            }
            85% {
                clip: rect(54px, 9999px, 84px, 0);
                transform: skew(0.92deg);
            }
            90% {
                clip: rect(45px, 9999px, 71px, 0);
                transform: skew(0.99deg);
            }
            95% {
                clip: rect(37px, 9999px, 67px, 0);
                transform: skew(0.41deg);
            }
            100% {
                clip: rect(91px, 9999px, 82px, 0);
                transform: skew(0.96deg);
            }
        }

        @keyframes glitch-anim2 {
            0% {
                clip: rect(65px, 9999px, 100px, 0);
                transform: skew(0.30deg);
            }
            5% {
                clip: rect(52px, 9999px, 74px, 0);
                transform: skew(0.61deg);
            }
            10% {
                clip: rect(79px, 9999px, 85px, 0);
                transform: skew(0.52deg);
            }
            15% {
                clip: rect(31px, 9999px, 42px, 0);
                transform: skew(0.24deg);
            }
            20% {
                clip: rect(69px, 9999px, 18px, 0);
                transform: skew(0.41deg);
            }
            25% {
                clip: rect(94px, 9999px, 48px, 0);
                transform: skew(0.34deg);
            }
            30% {
                clip: rect(15px, 9999px, 16px, 0);
                transform: skew(0.22deg);
            }
            35% {
                clip: rect(36px, 9999px, 78px, 0);
                transform: skew(0.18deg);
            }
            40% {
                clip: rect(83px, 9999px, 54px, 0);
                transform: skew(0.63deg);
            }
            45% {
                clip: rect(61px, 9999px, 77px, 0);
                transform: skew(0.37deg);
            }
            50% {
                clip: rect(47px, 9999px, 73px, 0);
                transform: skew(0.44deg);
            }
            55% {
                clip: rect(32px, 9999px, 93px, 0);
                transform: skew(0.85deg);
            }
            60% {
                clip: rect(75px, 9999px, 39px, 0);
                transform: skew(0.79deg);
            }
            65% {
                clip: rect(18px, 9999px, 56px, 0);
                transform: skew(0.23deg);
            }
            70% {
                clip: rect(67px, 9999px, 70px, 0);
                transform: skew(0.15deg);
            }
            75% {
                clip: rect(49px, 9999px, 95px, 0);
                transform: skew(0.78deg);
            }
            80% {
                clip: rect(21px, 9999px, 33px, 0);
                transform: skew(0.87deg);
            }
            85% {
                clip: rect(84px, 9999px, 90px, 0);
                transform: skew(0.45deg);
            }
            90% {
                clip: rect(55px, 9999px, 87px, 0);
                transform: skew(0.66deg);
            }
            95% {
                clip: rect(29px, 9999px, 12px, 0);
                transform: skew(0.53deg);
            }
            100% {
                clip: rect(76px, 9999px, 62px, 0);
                transform: skew(0.78deg);
            }
        }

        @keyframes glitch-skew {
            0% {
                transform: skew(2deg);
            }
            10% {
                transform: skew(-1deg);
            }
            20% {
                transform: skew(0deg);
            }
            30% {
                transform: skew(1deg);
            }
            40% {
                transform: skew(0deg);
            }
            50% {
                transform: skew(-1deg);
            }
            60% {
                transform: skew(0deg);
            }
            70% {
                transform: skew(-2deg);
            }
            80% {
                transform: skew(0deg);
            }
            90% {
                transform: skew(1deg);
            }
            100% {
                transform: skew(0deg);
            }
        }

        /* Neon glow effect */
        .neon {
            color: var(--accent-color);
            text-shadow:
                0 0 5px var(--accent-color),
                0 0 10px var(--accent-color),
                0 0 15px var(--accent-color),
                0 0 20px var(--accent-color),
                0 0 35px var(--accent-color),
                0 0 40px var(--accent-color);
            animation: neon-flicker 1.5s infinite alternate;
        }

        @keyframes neon-flicker {
            0%, 18%, 22%, 25%, 53%, 57%, 100% {
                text-shadow:
                    0 0 5px var(--accent-color),
                    0 0 10px var(--accent-color),
                    0 0 15px var(--accent-color),
                    0 0 20px var(--accent-color),
                    0 0 35px var(--accent-color),
                    0 0 40px var(--accent-color);
            }
            20%, 24%, 55% {
                text-shadow: none;
            }
        }

        /* Matrix rain effect background */
        .matrix-bg {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -10;
            overflow: hidden;
            pointer-events: none;
        }

        .matrix-char {
            position: absolute;
            color: var(--accent-color);
            font-family: 'Courier New', monospace;
            font-size: 14px;
            opacity: 0.7;
            animation: matrix-fall 5s linear infinite;
        }

        @keyframes matrix-fall {
            0% {
                transform: translateY(-100vh);
                opacity: 1;
            }
            100% {
                transform: translateY(100vh);
                opacity: 0;
            }
        }

        /* Floating geometric shapes */
        .floating-shapes {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -5;
            pointer-events: none;
            overflow: hidden;
        }

        .floating-shape {
            position: absolute;
            opacity: 0.1;
            animation: float-random 15s linear infinite;
        }

        .floating-shape:nth-child(1) { animation-delay: 0s; }
        .floating-shape:nth-child(2) { animation-delay: 2s; }
        .floating-shape:nth-child(3) { animation-delay: 4s; }
        .floating-shape:nth-child(4) { animation-delay: 6s; }
        .floating-shape:nth-child(5) { animation-delay: 8s; }

        @keyframes float-random {
            0% {
                transform: translateY(100vh) translateX(0) rotate(0deg);
            }
            25% {
                transform: translateY(75vh) translateX(100px) rotate(90deg);
            }
            50% {
                transform: translateY(50vh) translateX(-50px) rotate(180deg);
            }
            75% {
                transform: translateY(25vh) translateX(75px) rotate(270deg);
            }
            100% {
                transform: translateY(-10vh) translateX(0) rotate(360deg);
            }
        }

        /* Gradient text effect */
        .gradient-text {
            background: var(--gradient-1);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            animation: gradient-shift 3s ease-in-out infinite;
        }

        @keyframes gradient-shift {
            0%, 100% {
                background: linear-gradient(45deg, var(--accent-color), #ff9500);
            }
            50% {
                background: linear-gradient(45deg, #ff9500, var(--accent-color));
            }
        }

        /* Smooth scrolling */
        html {
            scroll-behavior: smooth;
        }

        /* Custom scrollbar for webkit browsers */
        ::-webkit-scrollbar {
            width: 8px;
        }

        ::-webkit-scrollbar-track {
            background: #f1f1f1;
        }

        ::-webkit-scrollbar-thumb {
            background: var(--gradient-1);
            border-radius: 4px;
        }

        ::-webkit-scrollbar-thumb:hover {
            background: var(--accent-hover);
        }

        /* Animation delays for staggered effects */
        .stagger-1 { animation-delay: 0.1s; }
        .stagger-2 { animation-delay: 0.2s; }
        .stagger-3 { animation-delay: 0.3s; }
        .stagger-4 { animation-delay: 0.4s; }
        .stagger-5 { animation-delay: 0.5s; }
        .stagger-6 { animation-delay: 0.6s; }

        /* Print styles */
        @media print {
            .animated-bg,
            .particles,
            .shapes,
            .matrix-bg,
            .floating-shapes,
            .scroll-top {
                display: none !important;
            }

            header,
            footer {
                background: var(--primary-color) !important;
                color: var(--white) !important;
            }

            .section {
                page-break-inside: avoid;
            }
        }

        /* High contrast mode support */
        @media (prefers-contrast: high) {
            :root {
                --primary-color: #000000;
                --secondary-color: #ffffff;
                --accent-color: #0066cc;
                --background-color: #ffffff;
                --text-color: #000000;
                --card-bg: #ffffff;
            }
        }

        /* Reduced motion support */
        @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;
            }

            .animated-bg,
            .particles,
            .shapes,
            .matrix-bg,
            .floating-shapes {
                display: none !important;
            }
        }