        /* Variables for theming */
        :root {
            --primary: #4361ee;
            --secondary: #3a0ca3;
            --light-bg: #f8f9fa;
            --dark-bg: #121212;
            --light-text: #f8f9fa;
            --dark-text: #212529;
            --shadow: rgba(0, 0, 0, 0.1);
            --transition: all 0.3s ease;
            --border-radius: 8px;
        }

        .light-mode {
            --bg-color: var(--light-bg);
            --text-color: var(--dark-text);
            --card-bg: #ffffff;
            --shadow-color: rgba(0, 0, 0, 0.1);
        }

        .dark-mode {
            --bg-color: var(--dark-bg);
            --text-color: var(--light-text);
            --card-bg: #1e1e1e;
            --shadow-color: rgba(255, 255, 255, 0.05);
        }

        /* Base Styles */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            scroll-behavior: smooth;
        }

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background-color: var(--bg-color);
            color: var(--text-color);
            transition: var(--transition);
            overflow-x: hidden;
        }

        a {
            text-decoration: none;
            color: var(--primary);
            transition: var(--transition);
        }

        a:hover {
            color: var(--secondary);
            transform: translateY(-2px);
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        .btn {
            display: inline-block;
            padding: 12px 30px;
            background: var(--primary);
            color: white;
            border-radius: var(--border-radius);
            font-weight: 600;
            cursor: pointer;
            transition: var(--transition);
            border: none;
            box-shadow: 0 4px 6px var(--shadow-color);
        }

        .btn:hover {
            background: var(--secondary);
            transform: translateY(-3px);
            box-shadow: 0 6px 10px var(--shadow-color);
        }

        section {
            padding: 100px 0;
            min-height: 100vh;
            display: flex;
            align-items: center;
            position: relative;
            overflow: hidden;
        }

        .section-title {
            font-size: 36px;
            margin-bottom: 30px;
            position: relative;
            display: inline-block;
        }

        .section-title::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 0;
            width: 60px;
            height: 4px;
            background: var(--primary);
            transition: var(--transition);
        }

        .section-title:hover::after {
            width: 100%;
        }

        /* Header & Navigation */
        header {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            z-index: 1000;
            background-color: var(--bg-color);
            box-shadow: 0 2px 10px var(--shadow-color);
            transition: var(--transition);
        }

        .header-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 20px 0;
        }

        .logo {
            font-size: 24px;
            font-weight: 700;
            color: var(--primary);
            display: flex;
            align-items: center;
        }

        .logo span {
            color: var(--secondary);
            margin-left: 5px;
        }

        nav ul {
            display: flex;
            list-style: none;
        }

        nav ul li {
            margin-left: 30px;
        }

        nav ul li a {
            color: var(--text-color);
            font-weight: 500;
            position: relative;
        }

        nav ul li a::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 0;
            width: 0;
            height: 2px;
            background: var(--primary);
            transition: var(--transition);
        }

        nav ul li a:hover::after,
        nav ul li a.active::after {
            width: 100%;
        }

        .theme-toggle {
            background: none;
            border: none;
            cursor: pointer;
            color: var(--text-color);
            font-size: 22px;
            transition: var(--transition);
            margin-left: 20px;
        }

        .theme-toggle:hover {
            transform: rotate(30deg);
        }

        .mobile-menu-btn {
            display: none;
            background: none;
            border: none;
            cursor: pointer;
            color: var(--text-color);
            font-size: 24px;
        }

        /* Hero Section */
        #home {
            position: relative;
            text-align: center;
            display: flex;
            flex-direction: column;
            justify-content: center;
            background-size: cover;
            background-position: center;
        }

        .hero-content {
            max-width: 800px;
            margin: 0 auto;
            opacity: 0;
            transform: translateY(50px);
            animation: fadeInUp 1s ease forwards 0.5s;
        }

        .hero-title {
            font-size: 64px;
            font-weight: 700;
            margin-bottom: 20px;
            background: linear-gradient(45deg, var(--primary), var(--secondary));
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
        }

        .hero-subtitle {
            font-size: 24px;
            color: var(--text-color);
            margin-bottom: 40px;
            opacity: 0;
            animation: fadeIn 1s ease forwards 1s;
        }

        .scroll-down {
            position: absolute;
            bottom: 40px;
            left: 50%;
            transform: translateX(-50%);
            animation: bounce 2s infinite;
            font-size: 30px;
            color: var(--primary);
        }

        /* About Section */
        #about {
            background-color: var(--bg-color);
        }

        .about-content {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 40px;
            align-items: center;
        }

        .about-image {
            position: relative;
            overflow: hidden;
            border-radius: var(--border-radius);
            box-shadow: 0 10px 30px var(--shadow-color);
            opacity: 0;
            transform: translateX(-50px);
            transition: var(--transition);
        }

        .about-image.visible {
            opacity: 1;
            transform: translateX(0);
        }

        .about-image img {
            width: 100%;
            height: auto;
            transition: var(--transition);
        }

        .about-image:hover img {
            transform: scale(1.05);
        }

        .about-text {
            opacity: 0;
            transform: translateX(50px);
            transition: var(--transition);
        }

        .about-text.visible {
            opacity: 1;
            transform: translateX(0);
        }

        .about-text p {
            margin-bottom: 30px;
            line-height: 1.8;
            font-size: 18px;
        }

        .counters {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 20px;
            margin-top: 40px;
        }

        .counter-box {
            background: var(--card-bg);
            padding: 20px;
            border-radius: var(--border-radius);
            text-align: center;
            box-shadow: 0 5px 15px var(--shadow-color);
            transition: var(--transition);
        }

        .counter-box:hover {
            transform: translateY(-10px);
        }

        .counter-value {
            font-size: 40px;
            font-weight: 700;
            color: var(--primary);
            margin-bottom: 10px;
        }

        .counter-title {
            font-size: 14px;
            color: var(--text-color);
        }

        /* Projects Section */
        #projects {
            background-color: var(--bg-color);
        }

        .projects-content {
            opacity: 0;
            transform: translateY(50px);
            transition: var(--transition);
        }

        .projects-content.visible {
            opacity: 1;
            transform: translateY(0);
        }

        .project-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
            margin-top: 50px;
        }

        .project-card {
            background: var(--card-bg);
            border-radius: var(--border-radius);
            overflow: hidden;
            box-shadow: 0 10px 30px var(--shadow-color);
            transition: var(--transition);
            opacity: 0;
            transform: scale(0.9);
        }

        .project-card.visible {
            opacity: 1;
            transform: scale(1);
        }

        .project-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 35px var(--shadow-color);
        }

        .project-image {
            height: 200px;
            overflow: hidden;
            position: relative;
        }

        .project-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: var(--transition);
        }

        .project-card:hover .project-image img {
            transform: scale(1.1);
        }

        .project-content {
            padding: 20px;
        }

        .project-title {
            font-size: 20px;
            margin-bottom: 10px;
            color: var(--text-color);
        }

        .project-desc {
            font-size: 14px;
            color: var(--text-color);
            margin-bottom: 20px;
            line-height: 1.6;
        }

        .project-links {
            display: flex;
            justify-content: space-between;
        }

        .project-links a {
            display: flex;
            align-items: center;
            font-size: 14px;
            font-weight: 600;
        }

        .project-links a i {
            margin-right: 5px;
        }

        /* Skills Section */
        #skills {
            background-color: var(--bg-color);
        }

        .skills-content {
            opacity: 0;
            transform: translateY(50px);
            transition: var(--transition);
        }

        .skills-content.visible {
            opacity: 1;
            transform: translateY(0);
        }

        .skills-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 30px;
            margin-top: 50px;
        }

        .skill-item {
            position: relative;
            overflow: hidden;
            padding: 30px;
            background: var(--card-bg);
            border-radius: var(--border-radius);
            box-shadow: 0 10px 30px var(--shadow-color);
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
            transition: var(--transition);
            opacity: 0;
            transform: scale(0.9);
        }

        .skill-item.visible {
            opacity: 1;
            transform: scale(1);
        }

        .skill-item:hover {
            transform: translateY(-10px);
        }

        .skill-icon {
            font-size: 40px;
            color: var(--primary);
            margin-bottom: 20px;
            transition: var(--transition);
        }

        .skill-item:hover .skill-icon {
            transform: rotate(10deg) scale(1.2);
        }

        .skill-name {
            font-size: 18px;
            font-weight: 600;
            margin-bottom: 15px;
        }

        .skill-level-container {
            width: 100%;
            height: 100px;
            position: relative;
        }

        .skill-level {
            width: 100px;
            height: 100px;
            position: relative;
            margin: 0 auto;
        }

        .skill-progress {
            stroke-dasharray: 283;
            stroke-dashoffset: 283;
            transition: stroke-dashoffset 1.5s ease;
        }

        .skill-percentage {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            font-size: 18px;
            font-weight: 700;
            color: var(--primary);
        }

        /* Contact Section */
        #contact {
            background-color: var(--bg-color);
        }

        .contact-content {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 50px;
            opacity: 0;
            transform: translateY(50px);
            transition: var(--transition);
        }

        .contact-content.visible {
            opacity: 1;
            transform: translateY(0);
        }

        .contact-info {
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        .contact-heading {
            font-size: 24px;
            margin-bottom: 20px;
        }

        .contact-text {
            margin-bottom: 30px;
            line-height: 1.8;
        }

        .contact-links {
            display: flex;
            flex-wrap: wrap;
            gap: 15px;
            margin-top: 30px;
        }

        .contact-link {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 12px 20px;
            background: var(--card-bg);
            border-radius: var(--border-radius);
            color: var(--text-color);
            transition: var(--transition);
            box-shadow: 0 5px 15px var(--shadow-color);
        }

        .contact-link:hover {
            background: var(--primary);
            color: white;
            transform: translateY(-5px);
        }

        .contact-form {
            background: var(--card-bg);
            padding: 40px;
            border-radius: var(--border-radius);
            box-shadow: 0 10px 30px var(--shadow-color);
        }

        .form-group {
            margin-bottom: 20px;
        }

        .form-control {
            width: 100%;
            padding: 12px 20px;
            background: var(--bg-color);
            border: 1px solid var(--shadow-color);
            border-radius: var(--border-radius);
            font-size: 16px;
            color: var(--text-color);
            transition: var(--transition);
        }

        .form-control:focus {
            outline: none;
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.3);
        }

        textarea.form-control {
            resize: none;
            height: 150px;
        }

        /* Footer */
        footer {
            background-color: var(--bg-color);
            padding: 30px 0;
            text-align: center;
            border-top: 1px solid var(--shadow-color);
        }

        .footer-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .footer-text {
            font-size: 14px;
        }

        .social-links {
            display: flex;
            gap: 15px;
        }

        .social-link {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            background: var(--card-bg);
            border-radius: 50%;
            color: var(--text-color);
            font-size: 18px;
            transition: var(--transition);
            box-shadow: 0 5px 15px var(--shadow-color);
        }

        .social-link:hover {
            background: var(--primary);
            color: white;
            transform: translateY(-5px);
        }

        /* Animations */
        @keyframes fadeIn {
            from {
                opacity: 0;
            }
            to {
                opacity: 1;
            }
        }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(50px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes bounce {
            0%, 20%, 50%, 80%, 100% {
                transform: translateY(0) translateX(-50%);
            }
            40% {
                transform: translateY(-20px) translateX(-50%);
            }
            60% {
                transform: translateY(-10px) translateX(-50%);
            }
        }

        /* Responsive Design */
        @media (max-width: 992px) {
            .hero-title {
                font-size: 48px;
            }
            .about-content,
            .contact-content {
                grid-template-columns: 1fr;
                gap: 40px;
            }
            .about-image {
                margin-bottom: 30px;
            }
        }

        @media (max-width: 768px) {
            section {
                padding: 80px 0;
            }
            .container {
                padding: 0 15px;
            }
            .hero-title {
                font-size: 36px;
            }
            .hero-subtitle {
                font-size: 18px;
            }
            .mobile-menu-btn {
                display: block;
            }
            nav {
                position: fixed;
                top: 80px;
                left: 0;
                width: 100%;
                background: var(--bg-color);
                box-shadow: 0 10px 20px var(--shadow-color);
                clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
                transition: var(--transition);
                padding: 20px 0;
            }
            nav.active {
                clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
            }
            nav ul {
                flex-direction: column;
                align-items: center;
            }
            nav ul li {
                margin: 15px 0;
            }
            .counters {
                grid-template-columns: 1fr;
            }
        }

        @media (max-width: 576px) {
            .hero-title {
                font-size: 32px;
            }
            .section-title {
                font-size: 28px;
            }
            .project-grid,
            .skills-grid {
                grid-template-columns: 1fr;
            }
            .contact-form {
                padding: 20px;
            }
            .footer-content {
                flex-direction: column;
                gap: 20px;
            }
        }