/* Modern color scheme and variables */
:root {
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --accent-color: #3b82f6;
    --text-dark: #1f2937;
    --text-light: #f3f4f6;
    --background-light: #ffffff;
    --background-alt: #f9fafb;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* Smooth scrolling for navigation */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.8;
    color: var(--text-dark);
    background-color: var(--background-light);
}

/* Enhanced header styles */
header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--text-light);
    padding: 20px 0;
    box-shadow: var(--shadow);
}

/* Modern navigation */
nav {
    width: 100%;
    position: relative;
    z-index: 1000;
}

nav ul {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 8px;
    margin: 0 20px;
    padding: 5px;
}

nav ul li a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    padding: 12px 20px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

nav ul li a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

.nav-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--text-light);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 10px;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 20px;
}


/* Hero section enhancement */
.hero {
    text-align: center;
    padding: 40px 20px;
    background: rgba(255, 255, 255, 0.1);
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.hero p {
    font-size: 1.1rem;
    margin: 10px 0;
}

.hero a {
    color: var(--text-light);
    text-decoration: none;
    margin: 0 10px;
    padding: 5px 10px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.hero a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Section styling */
.section {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
    border-bottom: 1px solid #e5e7eb;
}

.section h2 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--accent-color);
    border-radius: 2px;
}

/* Skills section enhancement */
#skills ul li {
    background: var(--background-alt);
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

#skills ul li:hover {
    transform: translateX(10px);
}

#skills ul li i {
    color: var(--primary-color);
    margin-right: 15px;
    font-size: 1.2rem;
}

/* Projects section enhancement */
#projects ul li {
    background: var(--background-alt);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

#projects ul li:hover {
    transform: translateY(-5px);
}

#projects ul li strong {
    color: var(--primary-color);
    display: block;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

/* Experience section styling */
#experience h3, #experience h4 {
    color: var(--secondary-color);
    margin-top: 25px;
}

#experience p {
    margin-left: 20px;
    position: relative;
}

#experience p::before {
    content: '•';
    color: var(--accent-color);
    position: absolute;
    left: -20px;
}

/* Education section enhancement */
#education ul li {
    padding: 15px;
    border-left: 3px solid var(--accent-color);
    margin-bottom: 15px;
    background: var(--background-alt);
    border-radius: 0 8px 8px 0;
}

/* Footer enhancement */
footer {
    background: var(--text-dark);
    color: var(--text-light);
    padding: 20px;
    text-align: center;
}

/* Responsive enhancements */
@media screen and (max-width: 768px) {
    .nav-toggle {
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(10px);
        border-radius: 6px;
        padding: 10px 15px;
    }

    .nav-toggle {
        display: block;
        position: absolute;
        right: 20px;
        top: 10px;
        z-index: 1001;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--primary-color);
        flex-direction: column;
        padding: 20px;
        border-radius: 0 0 8px 8px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.show {
        display: flex;
    }

    .nav-menu li {
        width: 100%;
        text-align: center;
    }

    .nav-menu li a {
        display: block;
        padding: 15px;
        width: 100%;
    }

    .nav-menu li a:hover {
        background: rgba(255, 255, 255, 0.1);
    }

    nav ul.show {
        background: var(--primary-color);
        border-radius: 0 0 8px 8px;
        box-shadow: var(--shadow);
    }

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

    .section {
        padding: 30px 15px;
    }
}

/* Print styles for PDF generation */
@media print {
    body {
        background: white;
    }

    .section {
        page-break-inside: avoid;
    }

    nav, .nav-toggle {
        display: none;
    }
}

/* testing testing */