/* NAVIGATION BAR */

.site-header {
    width: 100%;
    background-color: #ffffff;
    border-bottom: 1px solid #e5e5e5;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 30px;

    display: flex;
    justify-content: space-between;
    align-items: center;
}   

/* WEBSITE NAME */

.nav-logo {
    font-size: 24px;
    font-weight: 700;
    color: #222;
    text-decoration: none;
}

/* NAVIGATION LINKS */

.nav-links {
    display: flex;
    align-items: center;
    gap: 35px;

    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-size: 20px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #0077b6;
}

/* HAMBURGER BUTTON */

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
}

/* MOBILE NAVIGATION */

@media (max-width: 768px) {

    .navbar {
        padding: 15px 20px;
        flex-wrap: wrap;
    }

    .menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;

        width: 100%;
        padding: 20px 0;
    }

    .nav-links.active {
        display: flex;
    }
}
.professional-summary {
    width: 100%;
    padding: 40px 5% 10px;
    box-sizing: border-box;

}
.prof-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
}
.prof-text {
    text-align: left;
}
.prof-text h1 {
    font-size: 2.3rem;
    margin-bottom: 20px;
}
.prof-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 15px;

}
.picture {
    width: 100%;
}
.picture img{
    width: 100%;
    max-width: 450px;
    height: auto;
    display: block;
    border-radius: 12px;
}
.education {
    width: 100%;
    padding: 10px 5%;
    background-color: white;
    box-sizing: border-box;
}
.education-container {
    max-width: 1200px;
    margin: 0 auto;
}
.education-container h1 {
    font-size: 2.3rem;
    margin-bottom: 20px;
    color: #243746
}
.education-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}
.education-card {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    border-left: 4px solid #2c6675;
    box-shadow: 0 4px 12px rgba(0,0,0,0.6);
    transition: transform 0.3s ease;
}
.education-card:hover {
    transform: translateY(-5px);
}
.education-year {
    display: block;
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c6675;
    margin-bottom: 15px;
}
.education-card h2 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color:#243746
}
.education-card h3{
    font-size: 1rem;
    margin-bottom: 15px;
    font-weight: 500;
    color: #555;
}
.education-card p{
    font-size: 0.95rem;
    line-height: 1.7;
    color: #666
}
@media (max-width: 768px) {

    .education {
        padding: 50px 20px;
    }

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

    .education-container h2 {
        font-size: 1.8rem;
    }

    .education-card {
        padding: 25px;
    }
}
/* MY INTERESTS SECTION */

.interests-section {
    width: 100%;
    padding: 60px 5%;
    box-sizing: border-box;
    background-color: white;
}

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

/* HEADING */

.interests-container h2 {
    font-size: 2.3rem;
    color: #243746;
    margin-bottom: 20px;
}

/* INTRODUCTION */

.interests-intro {
    max-width: 800px;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 40px;
    color: #555;
}

/* GRID */

.interests-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 25px;
}

/* CARDS */

.interest-card {
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.10);
    transition: transform 0.3s ease;
}

.interest-card:hover {
    transform: translateY(-5px);
}

/* IMAGES */

.interest-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

/* TEXT CONTENT */

.interest-content {
    padding: 25px;
}

.interest-content h3 {
    font-size: 1.3rem;
    color: #243746;
    margin-bottom: 15px;
}

.interest-content p {
    font-size: 1rem;
    line-height: 1.7;
    color: #555;
}
.core-competencies h2 {
    font-size: 2rem;
    margin-bottom: 30px;
}
.competencies-grid {
   display: grid;

    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;
    align-items: stretch;
}
.competency-card {
    background: #f7f8fa;
    padding: 15px 30px 30px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    margin-top: 0;
}
.competency-card h2 {
    margin-bottom: 8px;
    font-size: 20px;
    color: #243746
}
.competency-card p{
    line-height: 1.6;
}
.experience-section h2 {
    font-size: 2rem;
    margin-bottom: 30px;
}
.experience-card {
    padding: 30px;
    margin-bottom: 25px;
    background: #ffffff;
    border-left: 4px solid #243746;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    border-radius: 8px;
}
.experience-card h3 {
    margin-bottom: 10px;
}
.experience-card span {
    color: #666;
    font-size: 1.1rem;
}
.experience-card p{
    margin-top: 20px;
    line-height: 1.8;
    font-size: 10px;
}
.experience-card ul {
    padding-left: 25px;
    margin-top: 20px;
}

.experience-card li {
    line-height: 1.3;
    margin-bottom: 18px;
}
/* TABLET */
@media (max-width: 900px) {
    .competencies-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* MOBILE */

@media (max-width: 600px) {

    .competencies-grid {
        grid-template-columns: 1fr;
    }
    .competency-card,
    .experience-card {
        padding: 22px;
    }

}
.publications h3 {
    font-size: 2rem;
}
.publications li {
    line-height: 1.3;
}
/* PUBLIC HEALTH PROJECTS */

.public-health-projects {
    width: 100%;
    max-width: 1400px;
    margin: 40px 0;
    padding: 20px 40px;
    padding-left: 0;
    box-sizing: border-box;
    text-align: left;
}
/* SECTION HEADING */

.public-health-projects h2 {
    font-size: 32px;
    color: black;
    margin-bottom: 40px;
}

/* PROJECTS CONTAINER */

.projects-container {
    display: flex;
    flex-direction: column;
}

/* INDIVIDUAL PROJECT */

.project-card {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 50px;
    align-items: center;

    padding: 40px 0;
    border-bottom: 1px solid #ddd;
}

/* PROJECT TEXT */

.project-content {
    min-width: 0;
}

.project-year {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: #777;
    margin-bottom: 12px;
}

.project-content h3 {
    font-size: 26px;
    color: #333;
    margin-bottom: 20px;
}

.project-content p {
    font-size: 17px;
    line-height: 1.8;
    color: #555;
    max-width: 650px;
}

/* PROJECT IMAGE */

.project-image {
    width: 100%;
}

.project-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
    display: block;
}

/* REMOVE LAST DIVIDER */

.project-card:last-child {
    border-bottom: none;
}

@media (max-width: 768px) {

    .navbar {
        display: flex;
        justify-content: space-between;
        align-items: center;
        position: relative;
        padding: 15px 20px;
    }

    .nav-logo {
        font-size: 18px;
    }

    .menu-toggle {
        display: block;
        cursor: pointer;
        z-index: 1001;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        align-items: center;
        gap: 0;
        padding: 15px 0;
        box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
    }

    .nav-links a {
        display: block;
        padding: 12px 20px;
    }
}
/* PUBLIC HEALTH PROJECTS - MOBILE */

.project-card {
    grid-template-columns: 1fr;
    gap: 25px;
    padding: 30px 0;
}

.project-content {
    width: 100%;
    min-width: 0;
}

.project-content h3 {
    font-size: 1.5rem;
    line-height: 1.3;
}

.project-content p {
    font-size: 1rem;
    line-height: 1.7;
}

.project-image {
    width: 100%;
}

.project-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}
/* MOBILE RESPONSIVE LAYOUT */

@media (max-width: 768px) {

    .interests-container {
        display: grid;
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 20px;
    }

    .interest-card {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .interest-card img {
        width: 100%;
        height: 220px;
        object-fit: cover;
    }

    .interest-card h3 {
        font-size: 24px;
    }

    .interest-card p {
        font-size: 16px;
        line-height: 1.6;
    }
}
@media (max-width: 768px) {

    .prof-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 30px;
        padding: 20px;
    }

    .prof-text {
        width: 100%;
        max-width: 100%;
    }

    .prof-text p {
        font-size: 17px;
        line-height: 1.7;
    }

    .picture {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .picture img {
        width: 100%;
        max-width: 280px;
        height: auto;
        border-radius: 15px;
    }
}
@media (max-width: 768px) {

    .projects-container {
        display: flex;
        flex-direction: column;
        gap: 25px;
        padding: 20px;
    }

    .project-card {
        width: 100%;
        max-width: 100%;
    }

    .project-card h3 {
        font-size: 26px;
        line-height: 1.3;
    }


    .project-card p {
        font-size: 16px;
        line-height: 1.7;
    }

    .project-image {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .project-image img {
        width: 100%;
        max-width: 350px;
        height: auto;
        object-fit: cover;
        border-radius: 15px;
    }
}
/* =====================================
   MY INTERESTS - MOBILE RESPONSIVE
===================================== */

@media (max-width: 768px) {

    .interests-section {
        width: 100%;
        padding: 40px 20px;
        box-sizing: border-box;
    }

    .interests-container {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
    }

    .interests-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .interest-card {
        width: 100%;
        min-width: 0;
        box-sizing: border-box;
        overflow: hidden;
    }

    .interest-card img {
        width: 100%;
        height: 220px;
        object-fit: cover;
        display: block;
    }

    .interest-content {
        padding: 20px;
    }

    .interest-content h3 {
        font-size: 1.4rem;
        line-height: 1.3;
    }

    .interest-content p {
        font-size: 1rem;
        line-height: 1.7;
        overflow-wrap: break-word;
    }

    .interests-container h2 {
        font-size: 2rem;
    }

    .interests-intro {
        font-size: 1rem;
        line-height: 1.7;
    }
}