/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color Palette - White and Blue Shades */
    --primary-white: #ffffff;
    --secondary-white: #fafbff;
    --light-blue: #e8f4fd;
    --medium-blue: #b3d9f7;
    --accent-blue: #4a90e2;
    --dark-blue: #2c5aa0;
    --navy-blue: #1a365d;
    --text-primary: #2d3748;
    --text-secondary: #4a5568;
    --text-muted: #718096;
    --border-color: #e2e8f0;
    --shadow-light: 0 4px 6px rgba(74, 144, 226, 0.1);
    --shadow-medium: 0 10px 25px rgba(74, 144, 226, 0.15);
    --shadow-heavy: 0 20px 40px rgba(74, 144, 226, 0.2);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--primary-white);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-brand {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent-blue);
    text-decoration: none;
    background: linear-gradient(135deg, var(--accent-blue), var(--dark-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--accent-blue);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-blue);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-white) 0%, var(--light-blue) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    scroll-margin-top: 0; /* Override default scroll margin for hero */
}

.hero::before {
    content: '';
    position: absolute;
    top: 20%;
    right: 5%;
    width: 30%;
    height: 60%;
    background: linear-gradient(135deg, var(--light-blue), var(--medium-blue));
    border-radius: 50%;
    opacity: 0.2;
    z-index: -1;
    transform: rotate(-15deg);
}

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

.hero-content {
    display: flex;
    align-items: center;
    gap: 4rem;
    width: 100%;
    z-index: 1;
}

.hero-text {
    flex: 1;
    max-width: 600px;
}

.hero-image {
    flex: 0 0 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile-photo {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--primary-white);
    box-shadow: var(--shadow-medium);
    transition: all 0.3s ease;
    background: var(--light-blue);
}

.profile-photo:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-heavy);
}

.hero-title {
    margin-bottom: 1.5rem;
}

.hero-name {
    display: block;
    font-size: 3.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--dark-blue), var(--accent-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.hero-subtitle {
    display: block;
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--text-secondary);
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-contact {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-item:hover {
    color: var(--accent-blue);
    transform: translateX(5px);
}

.contact-item i {
    color: var(--accent-blue);
    font-size: 1.1rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary {
    background: var(--accent-blue);
    color: white;
    box-shadow: var(--shadow-light);
}

.btn-primary:hover {
    background: var(--dark-blue);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.btn-secondary {
    background: transparent;
    color: var(--accent-blue);
    border: 2px solid var(--accent-blue);
}

.btn-secondary:hover {
    background: var(--accent-blue);
    color: white;
    transform: translateY(-2px);
}

/* Section Styles */
.section {
    padding: 5rem 0;
    position: relative;
    scroll-margin-top: 70px; /* Account for fixed navbar */
}

.section:nth-child(even) {
    background: var(--secondary-white);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, var(--dark-blue), var(--accent-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Education Section */
.education {
    padding-top: 6rem; /* Extra padding for first section after hero */
}

.education-card {
    background: var(--primary-white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    max-width: 800px;
    margin: 0 auto;
}

.education-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.education-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.education-header h3 {
    font-size: 1.8rem;
    color: var(--dark-blue);
    font-weight: 600;
}

.education-date {
    color: var(--accent-blue);
    font-weight: 600;
    background: var(--light-blue);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
}

.education-card h4 {
    font-size: 1.3rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.education-degree {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.education-details {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.education-major,
.education-minor {
    background: var(--light-blue);
    color: var(--dark-blue);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Skills Section */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.skill-category {
    background: var(--primary-white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.skill-category:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.skill-category h3 {
    font-size: 1.3rem;
    color: var(--dark-blue);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.skill-tag {
    background: var(--light-blue);
    color: var(--dark-blue);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.skill-tag:hover {
    background: var(--accent-blue);
    color: white;
    transform: translateY(-2px);
}

/* Experience Section */
.experience-timeline {
    max-width: 900px;
    margin: 0 auto;
}

.experience-item {
    background: var(--primary-white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-color);
    margin-bottom: 2rem;
    transition: all 0.3s ease;
    position: relative;
}

.experience-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.experience-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: linear-gradient(to bottom, var(--accent-blue), var(--dark-blue));
    border-radius: 2px;
}

.experience-header {
    margin-bottom: 1.5rem;
}

.experience-header h3 {
    font-size: 1.5rem;
    color: var(--dark-blue);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.experience-company {
    font-size: 1.2rem;
    color: var(--accent-blue);
    font-weight: 600;
    display: block;
    margin-bottom: 0.5rem;
}

.experience-date {
    color: var(--text-muted);
    font-size: 0.95rem;
    background: var(--light-blue);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    display: inline-block;
}

.experience-list {
    list-style: none;
    padding: 0;
}

.experience-list li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 1.5rem;
}

.experience-list li::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: var(--accent-blue);
    font-size: 0.8rem;
}

/* Projects Section */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.project-card {
    background: var(--primary-white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, var(--accent-blue), var(--dark-blue));
}

.project-header {
    margin-bottom: 1rem;
}

.project-header h3 {
    font-size: 1.3rem;
    color: var(--dark-blue);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.project-date {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.project-tag {
    background: var(--light-blue);
    color: var(--dark-blue);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.project-description {
    list-style: none;
    padding: 0;
}

.project-description li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 1.5rem;
}

.project-description li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent-blue);
    font-size: 1.2rem;
}

/* Personal Section */
.personal-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.hobby-category {
    background: var(--primary-white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-color);
    text-align: center;
    transition: all 0.3s ease;
}

.hobby-category:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.hobby-category h3 {
    color: var(--dark-blue);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.hobby-category p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Contact Section */
.contact {
    background: linear-gradient(135deg, var(--light-blue) 0%, var(--primary-white) 100%);
}

.contact-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.contact-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.contact-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.5rem;
    background: var(--primary-white);
    border-radius: 15px;
    text-decoration: none;
    color: var(--text-primary);
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    min-width: 150px;
}

.contact-link:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
    color: var(--accent-blue);
}

.contact-link i {
    font-size: 2rem;
    color: var(--accent-blue);
}

.contact-link span {
    font-weight: 600;
}

/* Footer */
.footer {
    background: var(--navy-blue);
    color: white;
    text-align: center;
    padding: 2rem 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .hero-image {
        flex: none;
        order: 2;
    }
    
    .hero-text {
        order: 1;
        text-align: center;
    }
    
    .profile-photo {
        width: 220px;
        height: 220px;
    }
    
    .hero-name {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-contact {
        gap: 0.75rem;
    }
    
    .section {
        padding: 3rem 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .education-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .education-details {
        flex-direction: column;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-links {
        flex-direction: column;
        align-items: center;
    }
    
    .personal-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .nav-container {
        padding: 0 15px;
    }
    
    .hero-content {
        gap: 1.5rem;
    }
    
    .profile-photo {
        width: 180px;
        height: 180px;
    }
    
    .hero-name {
        font-size: 2rem;
    }
    
    .education-card,
    .experience-item,
    .project-card,
    .skill-category,
    .hobby-category {
        padding: 1.5rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

/* Scroll animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section {
    animation: fadeInUp 0.6s ease-out;
}

/* Smooth transitions for all interactive elements */
* {
    transition: color 0.3s ease, background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
} 