/* Global Styles */
:root {
    --primary-color: #3498db;
    --secondary-color: #2c3e50;
    --accent-color: #e74c3c;
    --light-color: #ecf0f1;
    --dark-color: #2c3e50;
    --text-color: #333;
    --background-color: #f9f9f9;
    --shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    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-color);
    background-color: var(--background-color);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--accent-color);
}

/* Header Styles */
header {
    background-color: var(--primary-color);
    color: white;
    padding: 60px 0 30px;
    text-align: center;
}

header h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

header .subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Navigation Styles */
nav {
    background-color: var(--secondary-color);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow);
}

nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
}

nav ul li {
    padding: 15px 0;
}

nav ul li a {
    color: white;
    padding: 15px 20px;
    font-weight: 500;
}

nav ul li a:hover {
    color: var(--light-color);
}

/* Main Content Styles */
main {
    padding: 40px 0;
}

.section {
    margin-bottom: 60px;
}

.section h2 {
    color: var(--secondary-color);
    font-size: 2rem;
    margin-bottom: 30px;
    padding-bottom: 10px;
    border-bottom: 3px solid var(--primary-color);
    display: inline-block;
}

.section-content {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

/* About Section */
.profile-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 30px;
}

.profile-image {
    flex: 0 0 200px;
}

.profile-image img {
    width: 100%;
    border-radius: 50%;
    box-shadow: var(--shadow);
}

.profile-text {
    flex: 1;
    min-width: 300px;
}

.profile-text p {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

/* Education Timeline */
.timeline {
    position: relative;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    width: 3px;
    background-color: var(--primary-color);
    top: 0;
    bottom: 0;
    left: 20px;
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
    padding-left: 60px;
}

.timeline-dot {
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: var(--primary-color);
    border-radius: 50%;
    left: 11px;
    top: 5px;
    z-index: 1;
}

.timeline-content {
    background-color: var(--light-color);
    padding: 20px;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.timeline-content h3 {
    color: var(--primary-color);
    margin-bottom: 5px;
}

.timeline-date {
    color: var(--accent-color);
    font-weight: 500;
    margin-bottom: 10px;
}

/* Honors List */
.honors-list {
    list-style: none;
}

.honors-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    gap: 20px;
}

.honors-list i {
    font-size: 1.5rem;
    color: var(--primary-color);
    background-color: var(--light-color);
    padding: 15px;
    border-radius: 50%;
    box-shadow: var(--shadow);
}

.honors-list h3 {
    color: var(--secondary-color);
    margin-bottom: 5px;
}

/* Contact Section */
.contact-info {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

/* Footer Styles */
footer {
    background-color: var(--secondary-color);
    color: white;
    text-align: center;
    padding: 20px 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    header h1 {
        font-size: 2.5rem;
    }
    
    nav ul {
        flex-direction: column;
        align-items: center;
    }
    
    nav ul li {
        width: 100%;
        text-align: center;
        padding: 10px 0;
    }
    
    .profile-container {
        flex-direction: column;
        text-align: center;
    }
    
    .profile-image {
        margin: 0 auto;
    }
    
    .timeline::before {
        left: 10px;
    }
    
    .timeline-item {
        padding-left: 40px;
    }
    
    .timeline-dot {
        width: 15px;
        height: 15px;
        left: 4px;
    }
    
    .honors-list li {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 2rem;
    }
    
    .section h2 {
        font-size: 1.5rem;
    }
    
    .section-content {
        padding: 20px;
    }
}
