/* ===========================
   CSS VARIABLES
=========================== */
:root {
    --bg: #f5f6fa;
    --bg-alt: #ffffff;
    --navy: #0a3d62;
    --navy-light: #1a5276;
    --teal: #00b894;
    --teal-hover: #00a381;
    --charcoal: #2d3436;
    --mid-gray: #636e72;
    --light-gray: #dfe6e9;
    --white: #ffffff;
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Lora', serif;
}

/* ===========================
   RESET & BASE
=========================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg);
    color: var(--charcoal);
    font-family: var(--font-body);
    line-height: 1.7;
}

/* ===========================
   NAVIGATION
=========================== */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    background-color: var(--navy);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    border-bottom: 3px solid var(--teal);
}

.nav-logo {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 1px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--light-gray);
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--teal);
}

/* ===========================
   HERO SECTION
=========================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 5% 4rem;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 184, 148, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    gap: 4rem;
}

.hero-text {
    flex: 1;
}

.hero-greeting {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--teal);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.hero-name {
    font-family: var(--font-heading);
    font-size: 3.8rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 1rem;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 300;
    color: var(--light-gray);
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
}

.divider {
    color: var(--teal);
    margin: 0 0.5rem;
}

.hero-bio {
    font-size: 1rem;
    color: var(--light-gray);
    max-width: 520px;
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

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

.btn-primary {
    background-color: var(--teal);
    color: var(--white);
    padding: 0.85rem 2rem;
    border-radius: 4px;
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-primary:hover {
    background-color: var(--teal-hover);
    transform: translateY(-2px);
}

.btn-secondary {
    border: 1px solid var(--teal);
    color: var(--teal);
    padding: 0.85rem 2rem;
    border-radius: 4px;
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

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

/* ===========================
   HERO IMAGE
=========================== */
.hero-image {
    flex-shrink: 0;
    width: 340px;
    height: 340px;
    position: relative;
}

.hero-image::before {
    content: '';
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    border: 2px solid #00b894;
    border-radius: 50%;
    z-index: 0;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 20%;
    border-radius: 50%;
    position: relative;
    z-index: 1;
}

/* ===========================
   STATS SECTION
=========================== */
.stats {
    background-color: var(--bg-alt);
    border-top: 1px solid var(--light-gray);
    border-bottom: 1px solid var(--light-gray);
    padding: 3rem 5%;
}

.stats-container {
    display: flex;
    justify-content: space-around;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
    gap: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-item h3 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--navy);
    line-height: 1;
    margin-bottom: 0.4rem;
}

.stat-item p {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    color: var(--mid-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===========================
   FOOTER
=========================== */
.footer {
    background-color: var(--navy);
    border-top: 3px solid var(--teal);
    padding: 2rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer p {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    color: var(--light-gray);
}

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

.footer-links a {
    text-decoration: none;
    color: var(--light-gray);
    font-family: var(--font-heading);
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

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

/* ===========================
   PAGE HEADER
=========================== */
.page-header {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    padding: 6rem 5% 4rem;
    text-align: center;
}

.page-header-content .page-label {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    color: var(--teal);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.page-header-content h1 {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: var(--white);
}

/* ===========================
   ABOUT SECTION
=========================== */
.about {
    padding: 5rem 5%;
    background-color: var(--bg);
}

.about-container {
    display: flex;
    align-items: flex-start;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.about-image {
    flex-shrink: 0;
    width: 320px;
    height: 380px;
    position: relative;
}

.about-image::before {
    content: '';
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    border: 2px solid var(--teal);
    border-radius: 8px;
    z-index: 0;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    border-radius: 8px;
    position: relative;
    z-index: 1;
}

.about-text p {
    font-size: 1rem;
    color: var(--charcoal);
    margin-bottom: 1.5rem;
    line-height: 1.9;
}

.about-buttons {
    display: flex;
    gap: 1.2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

/* ===========================
   EDUCATION SECTION
=========================== */
.education {
    background-color: var(--bg-alt);
    padding: 5rem 5%;
    border-top: 1px solid var(--light-gray);
}

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

.section-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 2.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--teal);
}

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

.education-card {
    background-color: var(--bg);
    border: 1px solid var(--light-gray);
    border-radius: 8px;
    padding: 2rem;
    border-left: 4px solid var(--teal);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.education-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(10, 61, 98, 0.1);
}

.edu-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.education-card h3 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 0.4rem;
}

.edu-school {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    color: var(--teal);
    margin-bottom: 0.3rem;
}

.edu-date {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    color: var(--mid-gray);
}

/* ===========================
   SKILLS SECTION
=========================== */
.skills-section {
    padding: 5rem 5%;
    background-color: var(--bg);
}

.skills-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.skill-category {
    background-color: var(--bg-alt);
    border-radius: 8px;
    padding: 2rem;
    border-left: 4px solid var(--teal);
    box-shadow: 0 2px 12px rgba(10, 61, 98, 0.06);
}

.skill-category-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.skill-icon {
    font-size: 1.8rem;
}

.skill-category-header h2 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--navy);
}

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

.skill-tag {
    background-color: var(--bg);
    border: 1px solid var(--light-gray);
    color: var(--charcoal);
    font-family: var(--font-heading);
    font-size: 0.85rem;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    transition: all 0.2s ease;
}

.skill-tag:hover {
    background-color: var(--navy);
    color: var(--white);
    border-color: var(--navy);
}

.skill-tag.in-progress {
    border-color: var(--teal);
    color: var(--teal);
    background-color: rgba(0, 184, 148, 0.05);
}

.skill-tag.in-progress:hover {
    background-color: var(--teal);
    color: var(--white);
}

/* ===========================
   RESUME SECTION
=========================== */
.resume-section {
    padding: 5rem 5%;
    background-color: var(--bg);
}

.resume-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: start;
}

.resume-block {
    margin-bottom: 2.5rem;
}

.resume-block p {
    font-size: 0.95rem;
    color: var(--charcoal);
    line-height: 1.8;
}

.resume-block-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--teal);
}

.resume-entry {
    margin-bottom: 2rem;
}

.resume-entry-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.25rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.resume-entry-header h3 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--navy);
}

.resume-date {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    color: var(--teal);
    font-weight: 500;
}

.resume-subtitle {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    color: var(--mid-gray);
    margin-bottom: 0.75rem;
}

.resume-coursework {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    color: var(--mid-gray);
    font-style: italic;
    margin-top: 0.25rem;
}

.resume-bullets {
    padding-left: 1.2rem;
    list-style: disc;
}

.resume-bullets li {
    font-size: 0.9rem;
    color: var(--charcoal);
    line-height: 1.7;
    margin-bottom: 0.5rem;
}

.resume-list {
    padding-left: 1.2rem;
    list-style: none;
}

.resume-list li {
    font-size: 0.9rem;
    color: var(--charcoal);
    line-height: 1.7;
    margin-bottom: 0.5rem;
    padding-left: 0.5rem;
    border-left: 2px solid var(--teal);
}

@media (max-width: 768px) {
    .resume-container {
        grid-template-columns: 1fr;
    }
}
/* ===========================
   CONTACT SECTION
=========================== */
.contact-section {
    padding: 5rem 5%;
    background-color: var(--bg);
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: start;
}

.contact-info h2 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 1rem;
}

.contact-info p {
    font-size: 0.95rem;
    color: var(--charcoal);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.contact-label {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--teal);
    font-weight: 600;
}

.contact-item a,
.contact-item span {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    color: var(--charcoal);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--teal);
}

.contact-form-wrapper {
    background-color: var(--bg-alt);
    border-radius: 8px;
    padding: 2.5rem;
    border: 1px solid var(--light-gray);
    box-shadow: 0 2px 12px rgba(10, 61, 98, 0.06);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--navy);
}

.form-group input,
.form-group textarea {
    padding: 0.75rem 1rem;
    border: 1px solid var(--light-gray);
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--charcoal);
    background-color: var(--bg);
    transition: border-color 0.3s ease;
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--teal);
}

.form-group textarea {
    resize: vertical;
}

@media (max-width: 768px) {
    .contact-container {
        grid-template-columns: 1fr;
    }
}

/* ===========================
   ACTIVE NAV LINK
=========================== */
.nav-links a.active {
    color: var(--teal);
}

/* ===========================
   RESPONSIVE
=========================== */
@media (max-width: 768px) {

    /* Navigation */
    .navbar {
        flex-direction: column;
        padding: 1rem 5%;
        gap: 0.75rem;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.75rem;
    }

    .nav-links li a {
        font-size: 0.85rem;
    }

    /* Hero */
    .hero {
        padding-top: 10rem;
    }

    .hero-content {
        flex-direction: column-reverse;
        text-align: center;
    }

    .hero-name {
        font-size: 2.2rem;
    }

    .hero-title {
        font-size: 0.95rem;
    }

    .hero-image {
        width: 220px;
        height: 220px;
        margin: 0 auto;
    }

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

    .hero-bio {
        margin: 0 auto 2.5rem;
    }

    /* Stats */
    .stats-container {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }

    /* About */
    .about-container {
        grid-template-columns: 1fr;
    }

    .about-image {
        width: 90%;
        height: 350px;
        margin: 0 auto;
    }

    .education-grid {
        grid-template-columns: 1fr;
    }

    /* Skills */
    .skills-grid {
        grid-template-columns: 1fr;
    }

    /* Resume */
    .resume-container {
        grid-template-columns: 1fr;
    }

    /* Contact */
    .contact-container {
        grid-template-columns: 1fr;
    }

    /* Projects */
    .project-card {
        padding: 1.5rem;
    }

    .findings-grid {
        grid-template-columns: 1fr;
    }

    .finding-stat {
        font-size: 1.5rem;
    }

    /* Page Header */
    .page-header {
        padding: 8rem 5% 3rem;
    }

    .page-header-content h1 {
        font-size: 2rem;
    }

    /* Footer */
    .footer {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .footer-links {
        justify-content: center;
    }
}

/* ===========================
   PROJECTS SECTION
=========================== */

.page-header-content h1 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
}

.page-header-content p {
    font-size: 1rem;
    color: rgba(255,255,255,0.75);
    max-width: 600px;
    margin: 0 auto;
}

.projects-section {
    padding: 5rem 5%;
    background-color: var(--bg);
}

.projects-container {
    max-width: 1100px;
    margin: 0 auto;
}

.project-card {
    background-color: var(--bg-alt);
    border: 1px solid var(--light-gray);
    border-radius: 8px;
    padding: 3rem;
    box-shadow: 0 2px 12px rgba(10, 61, 98, 0.06);
}

.project-meta {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1rem;
}

.project-type {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--teal);
    font-weight: 600;
}

.project-year {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    color: var(--mid-gray);
}

.project-title {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 1rem;
}

.project-description {
    font-size: 0.95rem;
    color: var(--charcoal);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.project-tools {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2.5rem;
}

.tool-tag {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 500;
    background-color: var(--navy);
    color: #ffffff;
    padding: 0.3rem 0.9rem;
    border-radius: 20px;
}

.findings-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--teal);
}

.findings-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.finding-item {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.finding-stat {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--teal);
}

.finding-label {
    font-size: 0.875rem;
    color: var(--charcoal);
    line-height: 1.6;
}

.project-dashboard-preview {
    margin-bottom: 2rem;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid var(--light-gray);
}

.project-actions {
    display: flex;
    gap: 1rem;
}

@media (max-width: 768px) {
    .findings-grid {
        grid-template-columns: 1fr;
    }
}

