/* ============================= */
/* Global Reset & Base Styling   */
/* ============================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: #f8f9fb;
    color: black;
    line-height: 1.65;
}

/* ============================= */
/* Header Section                */
/* ============================= */

header {
    text-align: center;
    padding: 40px 20px 30px 20px;
    background: 
      linear-gradient(to bottom, #001842, #2a63ab, #87cefb, #afc6d9, #dbe9f5);
      /* Top layer: vertical dark-to-light fade */
      /* linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(255,255,255,0.7)), */
      /* Bottom layer: horizontal green-to-blue shift */
      /* linear-gradient(to right, #296b29, #1d4a82); */
    color: black;
}

.profile-pic {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #ffffff;
    margin-bottom: 10px;
}

header h1 {
    font-size: 2.3rem;
    font-weight: 600;
    margin-bottom: 10px;
}

header p {
    font-size: 1rem;
    opacity: 0.85;
}

/* ============================= */
/* Navigation Tabs               */
/* ============================= */

nav {
    background: #c2d7fc;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: auto;
}

.tab-link {
    padding: 14px 22px;
    background: none;
    border: none;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    color: #475569;
    transition: all 0.25s ease;
    border-bottom: 3px solid transparent;
}

.tab-link:hover {
    color: #0f172a;
}

.tab-link.active {
    color: #0f172a;
    border-bottom: 3px solid #2563eb;
}

/* ============================= */
/* Main Content Container        */
/* ============================= */

#content-container {
    max-width: 950px;
    margin: 40px auto 80px auto;
    padding: 0 20px;
}

.tab-content {
    display: none;
    animation: fadeIn 0.35s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ============================= */
/* Typography Styling            */
/* ============================= */

h2 {
    font-size: 1.6rem;
    margin-bottom: 18px;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 8px;
}

h3 {
    font-size: 1.1rem;
    margin-top: 22px;
    margin-bottom: 6px;
    font-weight: 600;
}

p {
    margin-bottom: 16px;
    color: #334155;
}

ul {
    padding-left: 20px;
    margin-bottom: 20px;
}

li {
    margin-bottom: 8px;
    color: #334155;
}

/* ============================= */
/* Links                         */
/* ============================= */

a {
    color: #2563eb;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* ============================= */
/* Responsive Design             */
/* ============================= */

@media (max-width: 768px) {

    header {
        padding: 40px 15px;
    }

    header h1 {
        font-size: 1.8rem;
    }

    .profile-pic {
        width: 110px;
        height: 110px;
    }

    .tabs {
        flex-direction: column;
        align-items: center;
    }

    .tab-link {
        width: 100%;
        text-align: center;
        border-bottom: 1px solid #e2e8f0;
    }

    .tab-link.active {
        border-bottom: 3px solid #2563eb;
    }
}
.pub-list {
    list-style: none;
    padding-left: 0;
}

.pub-list li {
    margin-bottom: 22px;
    padding-bottom: 18px;
    border-bottom: 1px solid #e2e8f0;
}

.pub-list strong {
    font-size: 1rem;
}

.pub-list em {
    color: #475569;
}

/* ============================= */
/* News Section Styling          */
/* ============================= */

.news-list {
    list-style: none;
    padding-left: 0;
}

.news-list li {
    display: flex;
    gap: 20px;
    margin-bottom: 24px;
    padding-bottom: 18px;
    border-bottom: 1px solid #e2e8f0;
}

.news-date {
    min-width: 60px;
    font-weight: 600;
    color: #2563eb;
}

.news-content strong {
    font-weight: 600;
}

.news-content {
    color: #334155;
}


#education {
    max-width: 900px;
    margin: 0 auto;
}

.edu-item {
    margin-bottom: 40px;
    padding: 18px 22px;
    background: rgba(0, 150, 136, 0.05);
    border-left: 4px solid #00b3a4; /* vibrant green-blue accent */
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.edu-institution {
    color: #1f6f78; /* your green-blue accent */
    font-weight: 500;
}

.project-highlight {
    margin-top: 15px;
    padding: 15px;
    background: rgba(31, 111, 120, 0.05);
    border-left: 4px solid #1f6f78;
    border-radius: 6px;
}


.community-block {
    margin-bottom: 35px;
    padding: 18px 22px;
    background: rgba(0, 150, 136, 0.05);
    border-left: 4px solid #00b3a4; /* vibrant green-blue accent */
    border-radius: 8px;
}

.community-block h3 {
    margin-bottom: 12px;
    color: #0f4c5c;
}

.teach-block {
    margin-bottom: 35px;
    padding: 18px 22px;
    background: rgba(0, 150, 136, 0.05);
    border-left: 4px solid #00b3a4; /* vibrant green-blue accent */
    border-radius: 8px;
}
