:root {
    --primary-color: #7C3AED;
    --bg-dark: #0F172A;
    --bg-card: #1E293B;
    --text-primary: #E2E8F0;
    --text-secondary: #94A3B8;
    --accent: #8B5CF6;
}

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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    background-color: var(--bg-dark);
    color: var(--text-primary);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Typography */
h1 {
    font-size: 3.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    color: var(--primary-color);
}

/* Navbar Styles */
.navbar {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem;
    position: fixed;
    width: 100%;
    top: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
}

.logo {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 600;
}

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

.nav-links li a {
    color: var(--text-primary);
    text-decoration: none;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
}

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

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    gap: 4rem;
}

.hero-text {
    flex: 1;
}

.hero-image {
    flex: 1;
    text-align: center;
}

.hero-image img {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--primary-color);
}

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

/* Sections */
section {
    padding: 6rem 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

/* Project Cards  */
.projects-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.project-card {
    background: var(--bg-card);
    border-radius: 1rem;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
}

.project-content {
    padding: 2rem;
}

.tech-stack {
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-stack span {
    background: var(--primary-color);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 2rem;
    font-size: 0.9rem;
}

/* Skills Grid */
.skills-card {
    background: var(--gradient);
    padding: 3rem;
    border-radius: 1rem;
    border: 1px solid rgba(255, 101, 0, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

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

.skill-item {
    background: var(--color-black);
    padding: 1.5rem;
    border-radius: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 101, 0, 0.1);
}

.skill-item:hover {
    transform: translateY(-5px);
    border-color: var(--color-orange);
    box-shadow: 0 5px 15px rgba(255, 101, 0, 0.2);
}

.skill-icon {
    width: 48px;
    height: 48px;
    transition: all 0.3s ease;
}

.skill-item span {
    font-size: 0.9rem;
    font-weight: 500;
    color: #fff;
}


.html {
    fill: #E44D26;
}

.css {
    fill: #1572B6;
}

.js {
    fill: #F7DF1E;
}

.python {
    fill: #3776AB;
}

.c {
    fill: #A8B9CC;
}

.cpp {
    fill: #00599C;
}

.sql {
    fill: #4479A1;
}

.git {
    fill: #F05032;
}

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

@media (max-width: 768px) {
    .skills-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 1rem;
    }

    .skill-item {
        padding: 1rem;
    }

    .skill-icon {
        width: 36px;
        height: 36px;
    }
}

.c {
    fill: #659AD2;
}

.cpp {
    fill: #004482;
}


.skill-item:hover .c,
.skill-item:hover .cpp {
    filter: brightness(1.2);
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 1rem;
}

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

label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

input, textarea {
    width: 100%;
    padding: 0.8rem;
    background: var(--bg-dark);
    border: 1px solid var(--text-secondary);
    border-radius: 0.5rem;
    color: var(--text-primary);
    transition: border-color 0.3s ease;
}

input:focus, textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

textarea {
    height: 150px;
    resize: vertical;
}

button {
    background: var(--primary-color);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-weight: 500;
    width: 100%;
}

button:hover {
    background: var(--accent);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        background: var(--bg-dark);
        flex-direction: column;
        text-align: center;
        padding: 1rem 0;
    }

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

    .hamburger {
        display: flex;
        flex-direction: column;
        gap: 4px;
    }

    .hamburger span {
        width: 25px;
        height: 2px;
        background: var(--text-primary);
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .hero-image img {
        width: 300px;
        height: 300px;
    }

    h1 {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }
}
a{
    text-decoration: none;
    color: white;
}