 :root {
            --background: hsl(210, 20%, 98%);
            --foreground: hsl(215, 25%, 15%);
            --card: hsl(0, 0%, 100%);
            --primary: rgb(202, 30, 30);
            --primary-glow: hsl(223, 75%, 47%);
            --secondary: hsl(210, 15%, 92%);
            --muted: hsl(210, 15%, 95%);
            --muted-foreground: hsl(215, 16%, 45%);
            --accent: hsl(25, 95%, 53%);
            --border: hsl(214, 20%, 90%);
            --radius: 0.75rem;
            --gradient-hero: linear-gradient(135deg, hsl(189, 85%, 42%) 0%, hsl(189, 85%, 55%) 100%);
            --gradient-subtle: linear-gradient(180deg, hsl(210, 20%, 98%) 0%, hsl(210, 20%, 96%) 100%);
            --shadow-soft: 0 4px 6px -1px hsla(215, 25%, 15%, 0.08), 0 2px 4px -1px hsla(215, 25%, 15%, 0.06);
            --shadow-medium: 0 10px 15px -3px hsla(215, 25%, 15%, 0.1), 0 4px 6px -2px hsla(215, 25%, 15%, 0.08);
            --shadow-glow: 0 0 40px hsla(189, 85%, 55%, 0.15);
            --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .dark {
            --background: hsl(215, 25%, 12%);
            --foreground: hsl(210, 20%, 98%);
            --card: hsl(215, 25%, 15%);
            --primary: hsl(189, 45%, 9%);
            --primary-glow: hsl(340, 100%, 58%);
            --secondary: hsl(215, 20%, 20%);
            --muted: hsl(215, 20%, 18%);
            --muted-foreground: hsl(215, 15%, 60%);
            --accent: hsl(25, 95%, 60%);
            --border: hsl(215, 20%, 22%);
            --gradient-hero: linear-gradient(135deg, hsl(189, 90%, 35%) 0%, hsl(189, 89%, 38%) 100%);
            --gradient-subtle: linear-gradient(180deg, hsl(215, 25%, 12%) 0%, hsl(215, 25%, 14%) 100%);
            --shadow-glow: 0 0 40px hsla(189, 85%, 55%, 0.25);
        }

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

        html {
            scroll-behavior: smooth;
        }

        body {
            font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
            background: var(--background);
            color: var(--foreground);
            line-height: 1.6;
            transition: var(--transition-smooth);
        }

        .container {
            width: 90%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 15px;
        }

        section {
            padding: 80px 0;
        }

        h1, h2, h3, h4 {
            margin-bottom: 1rem;
            line-height: 1.2;
        }

        p {
            margin-bottom: 1rem;
        }

        a {
            text-decoration: none;
            color: inherit;
        }

        img {
            max-width: 100%;
        }

        /* Button Styles */
        .btn {
            display: inline-block;
            padding: 12px 24px;
            border-radius: var(--radius);
            font-weight: 600;
            text-align: center;
            cursor: pointer;
            transition: var(--transition-smooth);
            border: none;
            font-size: 1rem;
        }

        .btn-primary {
            background: var(--gradient-hero);
            color: white;
            box-shadow: var(--shadow-soft);
        }

        .btn-primary:hover {
            box-shadow: var(--shadow-glow);
            transform: translateY(-2px);
        }

        .btn-outline {
            background: transparent;
            border: 2px solid var(--primary);
            color: var(--primary);
        }

        .btn-outline:hover {
            background: var(--primary);
            color: white;
        }

        /* Card Styles */
        .card {
            background: var(--card);
            border-radius: var(--radius);
            box-shadow: var(--shadow-soft);
            transition: var(--transition-smooth);
            overflow: hidden;
        }

        .card:hover {
            box-shadow: var(--shadow-medium);
        }

        /* Badge Styles */
        .badge {
            display: inline-block;
            padding: 4px 12px;
            border-radius: 20px;
            font-size: 0.8rem;
            font-weight: 500;
            background: hsla(189, 85%, 42%, 0.1);
            color: var(--primary);
        }

        /* Navigation */
        header {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            z-index: 1000;
            background: hsla(210, 20%, 98%, 0.8);
            backdrop-filter: blur(10px);
            border-bottom: 1px solid var(--border);
            transition: var(--transition-smooth);
        }

        .dark header {
            background: hsla(215, 25%, 12%, 0.8);
        }

        .navbar {
            display: flex;
            justify-content: space-between;
            align-items: center;
            height: 70px;
        }

        .logo {
            font-size: 1.5rem;
            font-weight: 700;
            background: var(--gradient-hero);
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
        }

        .nav-links {
            display: flex;
            gap: 2rem;
        }

        .nav-links a {
            font-weight: 500;
            transition: var(--transition-smooth);
            position: relative;
        }

        .nav-links a:hover {
            color: var(--primary);
        }

        .nav-links a::after {
            content: '';
            position: absolute;
            width: 0;
            height: 2px;
            bottom: -5px;
            left: 0;
            background: var(--primary);
            transition: var(--transition-smooth);
        }

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

        .hamburger {
            display: none;
            cursor: pointer;
            font-size: 1.5rem;
        }

        /* Hero Section */
        .hero {
            padding-top: 120px;
            padding-bottom: 80px;
            background: var(--gradient-subtle);
        }

        .hero-content {
            display: flex;
            align-items: center;
            gap: 3rem;
        }

        .hero-text {
            flex: 1;
        }

        .hero-image {
            flex-shrink: 0;
            position: relative;
        }

        .hero h1 {
            font-size: clamp(2.5rem, 5vw, 4rem);
            font-weight: 700;
            margin-bottom: 1.5rem;
        }

        .hero h1 span {
            background: var(--gradient-hero);
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
        }

        .hero p {
            font-size: 1.25rem;
            color: var(--muted-foreground);
            margin-bottom: 2rem;
        }

        .hero-buttons {
            display: flex;
            gap: 1rem;
            flex-wrap: wrap;
        }

        .profile-img {
            width: 300px;
            height: 300px;
            border-radius: 50%;
            object-fit: cover;
            border: 4px solid var(--card);
            box-shadow: var(--shadow-medium);
            position: relative;
        }

        .profile-img::before {
            content: '';
            position: absolute;
            inset: 0;
            background: var(--gradient-hero);
            border-radius: 50%;
            filter: blur(20px);
            opacity: 0.3;
            animation: pulse 2s infinite;
        }

        /* About Section */
        .about {
            background: var(--background);
        }

        .about h2 {
            text-align: center;
            font-size: 2.5rem;
            margin-bottom: 3rem;
        }

        .about-card {
            padding: 3rem;
            box-shadow: var(--shadow-medium);
        }

        .about-card:hover {
            box-shadow: var(--shadow-glow);
        }

        .about-card p {
            font-size: 1.1rem;
            color: var(--muted-foreground);
            line-height: 1.7;
        }

        /* Skills Section */
        .skills h2 {
            text-align: center;
            font-size: 2.5rem;
            margin-bottom: 3rem;
        }

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

        .skill-card {
            padding: 1.5rem;
            display: flex;
            align-items: center;
            gap: 1rem;
            cursor: pointer;
        }

        .skill-card:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-medium);
        }

        .skill-icon {
            font-size: 2rem;
            transition: var(--transition-smooth);
        }

        .skill-card:hover .skill-icon {
            transform: scale(1.1);
        }

        .skill-name {
            font-size: 1.25rem;
            font-weight: 600;
        }

        /* Projects Section */
        .projects {
            background: var(--background);
        }

        .projects h2 {
            text-align: center;
            font-size: 2.5rem;
            margin-bottom: 3rem;
        }

        .projects-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
        }

        .project-card {
            padding: 1.5rem;
            display: flex;
            flex-direction: column;
            height: 100%;
        }

        .project-card:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-glow);
        }

        .project-title {
            font-size: 1.5rem;
            font-weight: 700;
            margin-bottom: 1rem;
        }

        .project-description {
            color: var(--muted-foreground);
            flex-grow: 1;
            margin-bottom: 1.5rem;
        }

        .project-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
            margin-bottom: 1.5rem;
        }

        /* Contact Section */
        .contact h2 {
            text-align: center;
            font-size: 2.5rem;
            margin-bottom: 1rem;
        }

        .contact p {
            text-align: center;
            font-size: 1.25rem;
            color: var(--muted-foreground);
            margin-bottom: 3rem;
        }

        .contact-card {
            padding: 3rem;
            text-align: center;
        }

        .contact-buttons {
            display: flex;
            gap: 1rem;
            justify-content: center;
            flex-wrap: wrap;
        }

        /* Footer */
        footer {
            padding: 2rem 0;
            border-top: 1px solid var(--border);
            text-align: center;
            color: var(--muted-foreground);
        }

        /* Theme Toggle */
        .theme-toggle {
            position: fixed;
            bottom: 2rem;
            right: 2rem;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background: var(--card);
            border: 1px solid var(--border);
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            box-shadow: var(--shadow-soft);
            transition: var(--transition-smooth);
            z-index: 100;
        }
        

        .theme-toggle:hover {
            transform: scale(1.1);
        }

        /* Animations */
        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes slideInLeft {
            from {
                opacity: 0;
                transform: translateX(-50px);
            }
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

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

        @keyframes pulse {
            0%, 100% {
                opacity: 0.3;
            }
            50% {
                opacity: 0.5;
            }
        }
        /* Reveal Animations */
.reveal-left, .reveal-right, .reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: var(--transition-smooth);
}

.reveal-left {
  transform: translateX(-60px);
}

.reveal-right {
  transform: translateX(60px);
}

.reveal.active,
.reveal-left.active,
.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
  transform: translateY(0);
}


        .fade-in {
            opacity: 0;
            animation: fadeIn 1s ease forwards;
        }

        .slide-in-left {
            opacity: 0;
            animation: slideInLeft 1s ease forwards;
        }

        .slide-in-right {
            opacity: 0;
            animation: slideInRight 1s ease forwards;
        }

        .delay-1 {
            animation-delay: 0.2s;
        }

        .delay-2 {
            animation-delay: 0.4s;
        }

        .delay-3 {
            animation-delay: 0.6s;
        }

        /* Responsive Styles */
        @media (max-width: 992px) {
            .hero-content {
                flex-direction: column;
                text-align: center;
            }

            .hero-buttons {
                justify-content: center;
            }

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

        @media (max-width: 768px) {
            .nav-links {
                display: none;
                position: absolute;
                top: 100%;
                left: 0;
                width: 100%;
                background: var(--card);
                flex-direction: column;
                padding: 1rem;
                box-shadow: var(--shadow-medium);
            }

            .nav-links.active {
                display: flex;
            }

            .hamburger {
                display: block;
            }

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

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

            .contact-buttons .btn {
                width: 100%;
                max-width: 250px;
            }
        }

        @media (max-width: 576px) {
            section {
                padding: 60px 0;
            }

            .hero {
                padding-top: 100px;
            }

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

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

            .hero-buttons .btn {
                width: 100%;
                max-width: 250px;
            }
        }
