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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
    background-color: var(--bg-primary);
}

/* Update color variables */
:root {
    /* Light Theme */
    --primary-blue: #4f46e5;
    --secondary-blue: #6366f1;
    --dark-blue: #4338ca;
    --light-blue: #eef2ff;
    --white: #ffffff;
    --text-dark: #1e293b;
    --text-light: #64748b;
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --card-bg: #ffffff;
    --card-border: rgba(79, 70, 229, 0.1);
    --shadow-color: rgba(79, 70, 229, 0.1);
}

[data-theme="dark"] {
    /* Dark Theme - Soft Gray */
    --primary-blue: #ffffff;
    --secondary-blue: #e0e0e0;
    --dark-blue: #bdbdbd;
    --light-blue: #2d2d2d;
    --white: #ffffff;
    --text-dark: #ffffff;
    --text-light: #bdbdbd;
    --bg-primary: #1a1a1a;
    --bg-secondary: #2d2d2d;
    --card-bg: #2d2d2d;
    --card-border: rgba(255, 255, 255, 0.1);
    --shadow-color: rgba(0, 0, 0, 0.3);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background: var(--bg-primary);
    box-shadow: 0 2px 10px var(--shadow-color);
    z-index: 1000;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dice {
    display: inline-block;
    animation: rollDice 2s infinite;
}

@keyframes rollDice {
    0% {
        content: "🎲";
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
    15% {
        content: "🎲";
        opacity: 0;
        transform: scale(0.8) rotate(180deg);
    }
    16% {
        content: "⚁";
        opacity: 0;
        transform: scale(0.8) rotate(180deg);
    }
    17% {
        content: "⚂";
        opacity: 0;
        transform: scale(0.8) rotate(180deg);
    }
    18% {
        content: "⚃";
        opacity: 0;
        transform: scale(0.8) rotate(180deg);
    }
    19% {
        content: "⚄";
        opacity: 0;
        transform: scale(0.8) rotate(180deg);
    }
    20% {
        content: "⚅";
        opacity: 0;
        transform: scale(0.8) rotate(180deg);
    }
    21% {
        content: "🎲";
        opacity: 1;
        transform: scale(1) rotate(360deg);
    }
    100% {
        content: "🎲";
        opacity: 1;
        transform: scale(1) rotate(360deg);
    }
}

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

.nav-links li {
    margin: 0 1.5rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
}

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

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5%;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--white) 0%, var(--light-blue) 100%);
    text-align: center;
}

/* Particle Animation */
.hero::before,
.hero::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    pointer-events: none;
}

.hero::before {
    background: 
        radial-gradient(circle at 20% 20%, rgba(30, 136, 229, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(100, 181, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(21, 101, 192, 0.1) 0%, transparent 50%);
    animation: particleMove 20s linear infinite;
}

.hero::after {
    background-image: 
        radial-gradient(circle at 10% 10%, rgba(30, 136, 229, 0.05) 0%, transparent 30%),
        radial-gradient(circle at 90% 90%, rgba(100, 181, 246, 0.05) 0%, transparent 30%),
        radial-gradient(circle at 30% 70%, rgba(21, 101, 192, 0.05) 0%, transparent 30%),
        radial-gradient(circle at 70% 30%, rgba(30, 136, 229, 0.05) 0%, transparent 30%);
    animation: particleMove 15s linear infinite reverse;
}

@keyframes particleMove {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(5%, 5%) rotate(5deg);
    }
    50% {
        transform: translate(0, 10%) rotate(0deg);
    }
    75% {
        transform: translate(-5%, 5%) rotate(-5deg);
    }
    100% {
        transform: translate(0, 0) rotate(0deg);
    }
}

/* Floating Elements */
.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    pointer-events: none;
}

.floating-element {
    position: absolute;
    width: 10px;
    height: 10px;
    background: rgba(30, 136, 229, 0.1);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

.floating-element:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-element:nth-child(2) {
    top: 60%;
    left: 80%;
    animation-delay: 2s;
}

.floating-element:nth-child(3) {
    top: 40%;
    left: 40%;
    animation-delay: 4s;
}

.floating-element:nth-child(4) {
    top: 80%;
    left: 20%;
    animation-delay: 6s;
}

.floating-element:nth-child(5) {
    top: 30%;
    left: 70%;
    animation-delay: 1s;
}

.floating-element:nth-child(6) {
    top: 70%;
    left: 30%;
    animation-delay: 3s;
}

.floating-element:nth-child(7) {
    top: 50%;
    left: 60%;
    animation-delay: 5s;
}

.floating-element:nth-child(8) {
    top: 90%;
    left: 50%;
    animation-delay: 7s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0);
    }
    25% {
        transform: translate(20px, 20px);
    }
    50% {
        transform: translate(0, 40px);
    }
    75% {
        transform: translate(-20px, 20px);
    }
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Hero Section */
.hero h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    line-height: 1.2;
}

.hero h1 .highlight {
    color: var(--primary-blue);
    position: relative;
}

.hero h1 .highlight::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary-blue);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.hero h1 .highlight:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.typing-text {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 2.5rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.highlight {
    color: var(--primary-blue);
    position: relative;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary-blue);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.highlight:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 500px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.image-container {
    width: 300px;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transform-style: preserve-3d;
    transform: perspective(1000px);
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.image-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        transparent 70%,
        rgba(0, 0, 0, 0.3) 100%
    );
    pointer-events: none;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-right: 1rem;
    text-align: center;
    width: 200px;
}

.primary {
    background: var(--text-dark);
    color: var(--bg-primary);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.secondary {
    background: var(--bg-primary);
    color: var(--text-dark);
    border: 2px solid var(--text-dark);
}

.primary:hover {
    background: var(--bg-primary);
    color: var(--text-dark);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.secondary:hover {
    background: var(--text-dark);
    color: var(--bg-primary);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* About Section */
.about {
    padding: 5rem 5%;
    background: var(--white);
}

.about h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--text-light);
}

.stats {
    display: flex;
    justify-content: space-around;
    margin-top: 3rem;
}

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

.stat-item h3 {
    font-size: 2.5rem;
    color: #2d2d2d;
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: #2d2d2d;
    font-weight: 500;
}

/* Skills Section */
.skills {
    padding: 8rem 5%;
    background: var(--white);
    position: relative;
    overflow: hidden;
}

/* Background Animation for Skills Section */
.skills::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(45deg, rgba(30, 136, 229, 0.03) 25%, transparent 25%),
        linear-gradient(-45deg, rgba(30, 136, 229, 0.03) 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, rgba(30, 136, 229, 0.03) 75%),
        linear-gradient(-45deg, transparent 75%, rgba(30, 136, 229, 0.03) 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
    animation: backgroundMove 20s linear infinite;
    z-index: 1;
}

.skills::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 20%, rgba(30, 136, 229, 0.02) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(100, 181, 246, 0.02) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(21, 101, 192, 0.02) 0%, transparent 50%);
    animation: gradientMove 15s ease-in-out infinite alternate;
    z-index: 1;
}

@keyframes backgroundMove {
    0% {
        background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
    }
    100% {
        background-position: 20px 0, 20px 10px, 30px -10px, 10px 0px;
    }
}

@keyframes gradientMove {
    0% {
        transform: scale(1) rotate(0deg);
    }
    100% {
        transform: scale(1.1) rotate(5deg);
    }
}

/* Update skills container to be above the background */
.skills-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Update skill cards for better contrast with background */
.skill-category {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--card-border);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.skill-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(30, 136, 229, 0.1);
    position: relative;
    overflow: hidden;
}

.skill-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(30, 136, 229, 0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.skill-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.skill-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(45, 45, 45, 0.15);
    border-color: #2d2d2d;
    background: var(--white);
}

.skill-item:hover::before {
    transform: translateX(100%);
}

.skill-item:hover::after {
    opacity: 1;
}

.skill-item i,
.skill-item .django-icon,
.skill-item .typescript-icon {
    font-size: 2.2rem;
    color: #2d2d2d;
    margin-bottom: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
}

.skill-item:hover i,
.skill-item:hover .django-icon,
.skill-item:hover .typescript-icon {
    transform: scale(1.2) translateY(-3px);
    color: #2d2d2d;
}

.skill-item span {
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    text-align: center;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.skill-item:hover span {
    color: #2d2d2d;
    transform: translateY(2px);
}

/* Add floating elements */
.skills .floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    pointer-events: none;
}

.skills .floating-element {
    position: absolute;
    width: 6px;
    height: 6px;
    background: rgba(30, 136, 229, 0.1);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

.skills .floating-element:nth-child(1) {
    top: 15%;
    left: 5%;
    animation-delay: 0s;
}

.skills .floating-element:nth-child(2) {
    top: 75%;
    left: 85%;
    animation-delay: 3s;
}

.skills .floating-element:nth-child(3) {
    top: 45%;
    left: 35%;
    animation-delay: 6s;
}

.skills .floating-element:nth-child(4) {
    top: 85%;
    left: 15%;
    animation-delay: 9s;
}

.skills .floating-element:nth-child(5) {
    top: 25%;
    left: 75%;
    animation-delay: 2s;
}

.skills .floating-element:nth-child(6) {
    top: 65%;
    left: 25%;
    animation-delay: 5s;
}

.skills .floating-element:nth-child(7) {
    top: 35%;
    left: 55%;
    animation-delay: 8s;
}

.skills .floating-element:nth-child(8) {
    top: 95%;
    left: 45%;
    animation-delay: 11s;
}

.skills h2 {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 4rem;
    color: var(--text-dark);
    position: relative;
    padding-bottom: 1rem;
    font-weight: 700;
}

.skills h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-blue);
    border-radius: 2px;
}

.skills-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.skills-additional {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.category-header {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--light-blue);
}

.category-header i {
    font-size: 1.8rem;
    color: #2d2d2d;
    margin-right: 1rem;
}

.category-header h3 {
    font-size: 1.4rem;
    color: var(--text-dark);
    font-weight: 600;
    margin: 0;
}

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

.django-icon {
    display: inline-block;
    width: 2rem;
    height: 2rem;
    color: var(--primary-blue);
    margin-bottom: 0.8rem;
    transition: transform 0.3s ease;
}

.django-icon svg {
    width: 100%;
    height: 100%;
}

.typescript-icon {
    display: inline-block;
    width: 2rem;
    height: 2rem;
    color: var(--primary-blue);
    margin-bottom: 0.8rem;
    transition: transform 0.3s ease;
}

.typescript-icon svg {
    width: 100%;
    height: 100%;
}

/* Projects Section */
.projects {
    padding: 8rem 5%;
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.projects h2 {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 4rem;
    color: var(--text-dark);
    position: relative;
    padding-bottom: 1rem;
    font-weight: 700;
}

.projects h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-blue);
    border-radius: 2px;
}

/* Update projects grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Update project cards for better contrast with background */
.project-card {
    background: var(--card-bg);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--card-border);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.project-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/9;
}

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

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

.project-content {
    padding: 2rem;
    border-radius: 0 0 8px 8px;
}

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

.project-content p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.project-links {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(44, 62, 80, 0.9);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 2;
}

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

.project-links .btn {
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    text-align: center;
    width: 200px;
}

.project-links .btn.primary {
    background: var(--text-dark);
    color: var(--bg-primary);
    transform: translateY(0);
}

.project-links .btn.secondary {
    background: var(--bg-primary);
    color: var(--text-dark);
    border: 2px solid var(--text-dark);
    transform: translateY(0);
}

.project-links .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.project-links .btn i {
    margin-right: 0.4rem;
    font-size: 0.9rem;
}

/* Update floating elements for projects section */
.projects .floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.projects .floating-element {
    position: absolute;
    width: 6px;
    height: 6px;
    background: rgba(30, 136, 229, 0.1);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

.projects .floating-element:nth-child(1) {
    top: 15%;
    left: 5%;
    animation-delay: 0s;
}

.projects .floating-element:nth-child(2) {
    top: 75%;
    left: 85%;
    animation-delay: 3s;
}

.projects .floating-element:nth-child(3) {
    top: 45%;
    left: 35%;
    animation-delay: 6s;
}

.projects .floating-element:nth-child(4) {
    top: 85%;
    left: 15%;
    animation-delay: 9s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0);
    }
    25% {
        transform: translate(20px, 20px);
    }
    50% {
        transform: translate(0, 40px);
    }
    75% {
        transform: translate(-20px, 20px);
    }
}

/* Contact Section */
.contact {
    padding: 5rem 5%;
    background: var(--bg-secondary);
}

.contact h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

.contact-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-item i {
    font-size: 1.5rem;
    color: #2d2d2d;
}

.contact-form {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(30, 136, 229, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--card-border);
    border-radius: 5px;
    font-size: 1rem;
    background: var(--bg-primary);
    color: var(--text-dark);
}

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

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

/* Footer */
.footer {
    background: #2d2d2d;
    color: white;
    padding: 2rem 5%;
    text-align: center;
}

.social-links {
    margin-bottom: 1rem;
}

.social-links a {
    color: white;
    font-size: 1.5rem;
    margin: 0 1rem;
    transition: color 0.3s ease;
}

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

/* Mobile Navigation */
.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    margin: 5px;
    transition: all 0.3s ease;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .nav-links {
        position: fixed;
        right: -100%;
        top: 70px;
        height: calc(100vh - 70px);
        background: var(--bg-primary);
        flex-direction: column;
        width: 100%;
        text-align: center;
        transition: 0.5s;
    }

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

    .nav-links li {
        margin: 2rem 0;
    }

    .burger {
        display: block;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 100px;
    }

    .hero-content {
        padding-right: 0;
        margin-bottom: 2rem;
    }

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

    .typing-text {
        font-size: 1.5rem;
    }

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

    .btn {
        width: 180px;
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
        margin-right: 0;
    }

    .stats {
        flex-direction: column;
        gap: 2rem;
    }

    .hero-image {
        max-width: 300px;
        margin: 2rem auto;
    }

    .image-container {
        width: 250px;
        height: 350px;
    }

    .skills {
        padding: 5rem 5%;
    }

    .skills h2 {
        font-size: 2.2rem;
        margin-bottom: 3rem;
    }

    .skills-main,
    .skills-additional {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .skill-category {
        padding: 1.5rem;
    }

    .category-header {
        margin-bottom: 1.5rem;
    }

    .category-header i {
        font-size: 1.5rem;
    }

    .category-header h3 {
        font-size: 1.2rem;
    }

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

    .skill-item {
        padding: 1rem;
    }

    .skill-item i {
        font-size: 1.8rem;
    }

    .projects {
        padding: 5rem 5%;
    }

    .projects h2 {
        font-size: 2.2rem;
        margin-bottom: 3rem;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .project-content {
        padding: 1.5rem;
    }

    .project-content h3 {
        font-size: 1.3rem;
    }

    .project-links {
        position: absolute;
        opacity: 1;
        background: rgba(44, 62, 80, 0.95);
        padding: 1rem;
    }

    .project-links .btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
        width: 180px;
    }

    .split-line {
        animation: waveText 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    }
}

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

.fade-in {
    animation: fadeIn 0.5s ease forwards;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

/* Theme Toggle Button */
.theme-toggle {
    cursor: pointer;
    padding: 0.5rem;
    margin-right: 1rem;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.theme-toggle i {
    font-size: 1.2rem;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.theme-toggle:hover {
    background: var(--bg-secondary);
}

[data-theme="dark"] .theme-toggle i {
    color: var(--text-light);
}

/* Update dark theme specific styles */
[data-theme="dark"] .skill-item {
    background: var(--bg-primary);
    border-color: var(--card-border);
}

[data-theme="dark"] .skill-item:hover {
    background: var(--bg-secondary);
    border-color: #2d2d2d;
}

[data-theme="dark"] .project-card {
    background: var(--bg-primary);
    border-color: var(--card-border);
}

[data-theme="dark"] .project-card:hover {
    background: var(--bg-secondary);
    border-color: #2d2d2d;
}

[data-theme="dark"] .contact-form {
    background: var(--bg-primary);
    border: 1px solid var(--card-border);
}

[data-theme="dark"] .form-group input,
[data-theme="dark"] .form-group textarea {
    background: var(--bg-secondary);
    border-color: var(--card-border);
    color: var(--text-dark);
}

[data-theme="dark"] .form-group input::placeholder,
[data-theme="dark"] .form-group textarea::placeholder {
    color: var(--text-light);
}

[data-theme="dark"] .nav-links {
    background: var(--bg-primary);
}

[data-theme="dark"] .nav-links a {
    color: var(--text-dark);
}

[data-theme="dark"] .nav-links a:hover {
    color: var(--white);
}

[data-theme="dark"] .burger div {
    background-color: var(--text-dark);
}

[data-theme="dark"] .footer {
    background: #2d2d2d;
}

[data-theme="dark"] .social-links a {
    color: var(--white);
}

[data-theme="dark"] .social-links a:hover {
    color: var(--text-light);
}

[data-theme="dark"] h2 {
    color: #2d2d2d;
}

[data-theme="dark"] .about h2,
[data-theme="dark"] .skills h2,
[data-theme="dark"] .projects h2,
[data-theme="dark"] .contact h2 {
    color: #2d2d2d;
}

[data-theme="dark"] .about h2::after,
[data-theme="dark"] .skills h2::after,
[data-theme="dark"] .projects h2::after,
[data-theme="dark"] .contact h2::after {
    background: #2d2d2d;
}

[data-theme="dark"] .about-text p {
    color: #2d2d2d;
}

[data-theme="dark"] .about h2 {
    color: #2d2d2d;
}

[data-theme="dark"] .about h2::after {
    background: #2d2d2d;
}

[data-theme="dark"] .stat-item h3 {
    color: #2d2d2d;
}

[data-theme="dark"] .stat-item p {
    color: #2d2d2d;
}

/* Update section headers */
.about h2,
.skills h2,
.projects h2,
.contact h2 {
    color: #2d2d2d;
}

.about h2::after,
.skills h2::after,
.projects h2::after,
.contact h2::after {
    background: #2d2d2d;
}

/* Remove the dark theme overrides */
[data-theme="dark"] h2,
[data-theme="dark"] .about h2,
[data-theme="dark"] .skills h2,
[data-theme="dark"] .projects h2,
[data-theme="dark"] .contact h2 {
    color: #2d2d2d;
}

[data-theme="dark"] .about h2::after,
[data-theme="dark"] .skills h2::after,
[data-theme="dark"] .projects h2::after,
[data-theme="dark"] .contact h2::after {
    background: #2d2d2d;
}

[data-theme="dark"] .contact-item i {
    color: var(--white);
}

[data-theme="dark"] .category-header i {
    color: var(--white);
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #2d2d2d;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    z-index: 1000;
}

.scroll-to-top:hover {
    background: #1a1a1a;
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.scroll-to-top.visible {
    display: flex;
}

[data-theme="dark"] .scroll-to-top {
    background: #2d2d2d;
}

[data-theme="dark"] .scroll-to-top:hover {
    background: #1a1a1a;
} 