/* Base Styles */
:root {
    --primary-color: #4361ee;
    --primary-dark: #3a56d4;
    --secondary-color: #2b2d42;
    --accent-color: #f72585;
    --light-color: #f8f9fa;
    --dark-color: #212529;
    --grey-color: #6c757d;
    --light-grey: #e9ecef;
    --container-width-lg: 80%;
    --container-width-md: 90%;
    --transition: all 0.3s ease;
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: 0;
    border: 0;
    text-decoration: none;
    list-style: none;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', 'Inter', Arial, sans-serif;
    line-height: 1.7;
    color: var(--dark-color);
    background: var(--light-color);
}

.container {
    width: var(--container-width-lg);
    margin: 0 auto;
}

h1, h2, h3, h4, h5 {
    font-family: 'Playfair Display', serif;
    line-height: 1.2;
}

h1 {
    font-size: 3.5rem;
    margin: 1rem 0;
}

h2 {
    font-size: 2.5rem;
    margin: 1.5rem 0 1rem;
}

h3 {
    font-size: 1.8rem;
    margin: 1.2rem 0 0.8rem;
}

h4 {
    font-size: 1.5rem;
    margin: 1rem 0 0.6rem;
}

h5 {
    font-size: 1.2rem;
    margin: 0.8rem 0 0.4rem;
}

a {
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

p {
    margin: 0.8rem 0;
}

img {
    display: block;
    width: 100%;
    object-fit: cover;
}

section {
    padding: 6rem 0;
}

section h2 {
    text-align: center;
    margin-bottom: 4rem;
}

.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: 4px;
    font-weight: 500;
    transition: var(--transition);
    cursor: pointer;
}

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

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

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

.btn.secondary:hover {
    background: var(--primary-color);
    color: var(--light-color);
    transform: translateY(-3px);
    box-shadow: var(--box-shadow);
}

/* Navigation */
nav {
    background: white;
    height: 5rem;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 1px 10px rgba(0, 0, 0, 0.05);
}

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

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-links a {
    color: var(--secondary-color);
    font-weight: 500;
    position: relative;
}

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

.nav-links a.active::after,
.nav-links a:hover::after {
    content: '';
    width: 70%;
    height: 3px;
    background: var(--primary-color);
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    transform: translateX(20%);
    border-radius: 5px;
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    padding: 10rem 0 6rem;
    background: linear-gradient(135deg, rgba(243, 244, 246, 0.8) 0%, rgba(227, 232, 240, 0.8) 100%);
    overflow: hidden;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content h1 {
    color: var(--secondary-color);
}

.hero-content h2 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 0;
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--dark-color);
    max-width: 90%;
}

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

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

.image-container {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    overflow: hidden;
    border: 10px solid white;
    box-shadow: var(--box-shadow);
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Highlights Section */
.highlights {
    background: white;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.highlight-card {
    background: var(--light-color);
    padding: 2.5rem 2rem;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    text-align: center;
}

.highlight-card:hover {
    transform: translateY(-10px);
}

.highlight-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.highlight-card h3 {
    margin-bottom: 1rem;
}

/* Featured Section */
.featured {
    background: var(--light-grey);
}

.featured .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.featured-content h2 {
    text-align: left;
    margin-bottom: 1.5rem;
}

.featured-content p {
    margin-bottom: 1.5rem;
}

.featured-image img {
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, rgba(243, 244, 246, 0.8) 0%, rgba(227, 232, 240, 0.8) 100%);
    padding: 12rem 0 4rem;
    text-align: center;
}

.page-header h1 {
    margin-bottom: 0.5rem;
}

.page-header p {
    font-size: 1.2rem;
    color: var(--primary-color);
}

/* About Page */
.about-story {
    padding: 5rem 0;
}

.about-story .container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
}

.about-image img {
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}

.about-content p {
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.about-principles {
    background: var(--light-grey);
}

.principles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.principle-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    text-align: center;
}

.principle-card:hover {
    transform: translateY(-10px);
}

.principle-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.principle-card h3 {
    margin-bottom: 1rem;
}

.principle-card p {
    font-size: 1rem;
    color: var(--dark-color);
}

/* Resume Page */
.resume-section {
    margin-top: 2rem;
    margin-bottom: 2rem;
    padding: 3rem 0 4rem 0;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 24px rgba(67, 97, 238, 0.07);
}

.resume-header {
    text-align: center;
    margin-bottom: 3rem;
}

.resume-title {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 0.5rem;
}

.resume-contact {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1.5rem;
}

.resume-contact p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    font-weight: 500;
}

.resume-summary, .resume-experience, .resume-skills, .resume-education {
    margin-bottom: 4rem;
}

.experience-item {
    margin-bottom: 2.5rem;
    border-left: 3px solid var(--primary-color);
    padding-left: 1.5rem;
    background: #f8f9fa;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(67, 97, 238, 0.04);
}

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

.experience-title h4 {
    margin-bottom: 0.3rem;
}

.position {
    font-weight: 500;
    color: var(--primary-color);
}

.duration {
    font-style: italic;
    color: var(--grey-color);
}

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

.experience-section h5 {
    color: var(--secondary-color);
    border-bottom: 1px solid var(--light-grey);
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

.experience-section ul {
    list-style: disc;
    margin-left: 1.5rem;
    margin-bottom: 0.8rem;
    line-height: 1.7;
}

.experience-section li {
    margin-bottom: 0.5rem;
    font-size: 1.05rem;
}

.experience-section li strong {
    color: var(--accent-color);
    font-weight: 700;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.skill-category h4 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.skill-category ul {
    list-style: disc;
    margin-left: 1.5rem;
}

.skill-category li {
    margin-bottom: 0.5rem;
}

.resume-cta {
    text-align: center;
    margin-top: 3rem;
}

.resume-cta .btn {
    font-size: 1.2rem;
    padding: 1rem 2.5rem;
    background: var(--accent-color);
    color: #fff;
    border: none;
    margin-top: 2rem;
    box-shadow: 0 2px 8px rgba(67, 97, 238, 0.08);
}

.resume-cta .btn:hover {
    background: var(--primary-dark);
    color: #fff;
}

/* Contact Page */
.contact-section {
    padding: 5rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h2 {
    text-align: left;
}

.contact-methods {
    margin-top: 3rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

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

.contact-method h3 {
    margin-bottom: 0.4rem;
    font-size: 2rem;
}

.contact-form h2 {
    text-align: left;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    background: var(--light-grey);
    border-radius: 4px;
    font-family: 'Inter', sans-serif;
}

.form-group textarea {
    resize: vertical;
}

/* Footer */
footer {
    background: var(--secondary-color);
    color: var(--light-color);
    padding: 4rem 0 1rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
}

.footer-logo h3 {
    margin-bottom: 0.5rem;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: var(--light-color);
    font-size: 1.5rem;
    transition: var(--transition);
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Media Queries */
@media screen and (max-width: 1024px) {
    .container {
        width: var(--container-width-md);
    }

    h1 {
        font-size: 2.8rem;
    }

    h2 {
        font-size: 2rem;
    }

    .hero .container,
    .featured .container,
    .about-story .container,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-image,
    .about-image {
        display: none;
    }

    .hero-content,
    .featured-content {
        text-align: center;
    }

    .hero-content p {
        max-width: 100%;
    }

    .hero-buttons {
        justify-content: center;
    }

    .resume-contact {
        flex-direction: column;
        gap: 0.5rem;
    }
}

@media screen and (max-width: 600px) {
    .nav-links {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    section {
        padding: 4rem 0;
    }

    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    .hero {
        padding: 8rem 0 4rem;
    }

    .page-header {
        padding: 8rem 0 3rem;
    }

    .experience-header {
        flex-direction: column;
    }

    .duration {
        margin-top: 0.3rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .resume-section {
        padding: 1.5rem 0.5rem 2rem 0.5rem;
    }

    .experience-item {
        padding-left: 0.7rem;
    }

    .resume-section h3 {
        font-size: 1.3rem;
    }
}
