/* Base Styles */
:root {
    --primary: #2563eb;
    --primary-color: #2563eb; /* Added for consistency */
    --dark: #1e293b;
    --text-color: #1e293b; /* Added for consistency */
    --light: #f8fafc;
    --light-bg: #f5f7ff; /* Added missing variable */
    --gray: #94a3b8;
    --white: #ffffff; /* Added missing variable */
    --transition: all 0.3s ease; /* Added missing variable */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--light);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Navigation */
nav {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    z-index: 100;
    padding: 20px 0;
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary);
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 30px;
}

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

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

.hamburger {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--dark);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    text-align: center;
    background: linear-gradient(135deg, var(--light-bg) 0%, #e8ecff 100%);
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero h1 span {
    color: var(--primary);
}

.tagline {
    font-size: 1.2rem;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto 30px;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.btn, .btn-outline {
    padding: 12px 24px;
    border-radius: 5px;

    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

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

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

.btn:hover, .btn-outline:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Skills Section */
.skills {
    padding: 80px 0;
    background-color: #f9f9f9;
}

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

.skills-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
}

.skill-category {
    flex: 1;
    min-width: 300px;
    background: var(--white);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.skill-category h3 {
    margin-bottom: 20px;
    font-size: 1.5rem;
    color: #444;
}

.skill-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.skill-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.skill-item i {
    font-size: 1.2rem;
    color: #555;
}

.skill-item span {
    font-weight: 600;
    color: var(--dark);
}

.skill-bar {
    width: 100%;
    height: 8px;
    background: #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
}

.skill-level {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), #6a11cb);
    border-radius: 4px;
}

/* Projects Section */
.projects {
    padding: 80px 0;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.project-card {
    position: relative;
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform var(--transition);
}

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

.project-image {
    height: 200px;
    overflow: hidden;
}

.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-details {
    padding: 20px;
}

.tech-stack {
    display: flex;
    gap: 10px;
    margin: 20px 0;
}

.tech-stack span {
    background-color: #e2e8f0;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
}

/* Contact Section */
.contact {
    padding-top: 100px;
    background-color: var(--light-bg);
    text-align: center;
}

.contact h2 {
    margin-bottom: 20px;
    font-size: 2.5rem;
    color: var(--dark);
}

.contact-container {
    max-width: 600px;
    margin: 0 auto;
}

.contact-info {
    margin: 40px 0;
}

.contact-item {
    margin: 25px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary);
}

.contact-item span {
    font-size: 1.1rem;
    color: var(--dark);
}

/* Footer */
footer {
    background-color: var(--dark);
    color: var(--white);
    padding: 30px 0;
    text-align: center;
    width: 100vw;
    position: relative;
    left: 0;
    right: 0;
    margin-left: calc(-50vw + 50%);
}

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

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.social-links a {
    color: var(--white); /* Changed from --dark to match footer */
    font-size: 1.5rem;
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--primary);
    transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--white);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 30px;
        transition: var(--transition);
    }

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

    .hamburger {
        display: block;
    }

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

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

    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .skill-category {
        min-width: 100%;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }

    .btn, .btn-outline {
        width: 100%;
        text-align: center;
    }
}

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

section {
    animation: fadeIn 0.8s ease forwards;
}

.padding0 {
    padding-top: 20px;
}

.status-indicator {
    display: inline-block;
    width: 10px;
    height: 10px;
    background-color: limegreen;
    border-radius: 50%;
    margin-left: 8px;
    margin-bottom: 1px;
    box-shadow: 0 0 6px 2px limegreen;
}

