/* Reset default styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Base styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

/* Navigation */
nav {
    background-color: #2c3e50;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav h1 {
    color: white;
    font-size: 1.5rem;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

nav a:hover {
    color: #3498db;
}

/* Sections */
section {
    padding: 6rem 0 4rem 0;
}

section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2c3e50;
}

/* Home Section */
#home {
    background: linear-gradient(135deg, #2c3e50, #3498db);
    color: white;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.profile {
    text-align: center;
}

.profile h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.profile h2 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: rgba(255,255,255,0.9);
}

.contact-info {
    margin: 2rem 0;
}

.contact-info p {
    margin: 0.5rem 0;
}

.contact-info a {
    color: white;
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

.summary {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
    background-color: rgba(255,255,255,0.1);
    padding: 2rem;
    border-radius: 10px;
}

/* Education Section */
.education-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.education-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.education-card:hover {
    transform: translateY(-5px);
}

.education-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.date {
    color: #666;
    font-style: italic;
    margin-bottom: 1rem;
}

.grades h4 {
    color: #3498db;
    margin: 1rem 0;
}

.grades ul {
    list-style-position: inside;
}

/* Experience Section */
.experience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.experience-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.experience-item {
    margin-bottom: 2rem;
}

.experience-item h4 {
    color: #3498db;
    margin-bottom: 1rem;
}

.experience-item ul {
    list-style-position: inside;
}

/* Interests Section */
.interests-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.interest-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.interest-card:hover {
    transform: translateY(-5px);
}

.interest-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

/* Footer */
footer {
    background-color: #2c3e50;
    color: white;
    text-align: center;
    padding: 2rem 0;
    margin-top: 4rem;
}

/* Icons */
.fas, .fab {
    margin-right: 0.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-content {
        flex-direction: column;
        text-align: center;
    }

    nav ul {
        margin-top: 1rem;
        flex-direction: column;
        gap: 1rem;
    }

    .profile h1 {
        font-size: 2rem;
    }

    .profile h2 {
        font-size: 1.2rem;
    }

    section h2 {
        font-size: 2rem;
    }

    .container {
        padding: 1rem;
    }
}
