
/* ======================
   1. RESET / BASE
   ====================== */

*, *::before, *::after {
    box-sizing: border-box;
}

body {
    font-family: sans-serif;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.4;
    padding: 0;
    margin: 0;
    overflow-x: hidden;
}

h1,
h2,
h3 {
    font-family: sans-serif;
    font-weight: 500;
}

h1 {
    /* border-bottom: 1px solid #ddd; */
    padding-bottom: 6px;
    color: rgb(51, 51, 178);
}

.page-home h1 {
    border-bottom: none;
    padding-bottom: 0;
    color: rgb(0, 0, 0);
}

h2 {
    border-bottom: 1px solid #ddd;
    padding-bottom: 6px;
    color: rgb(51, 51, 178);
}

h1 {
    font-size: 40px;
    /* color: rgb(51, 51, 178); */
}

strong, b {
    font-weight: 550;
}

/* ======================
   2. LAYOUT
   ====================== */

.container {
    display: flex;
    margin: 0 auto;
    padding: 0px 300px;
    left: 0;
}

.sidebar {
    width: 300px;
    background-color: #ffffff;
    text-align: center;
    left: 10%;
    margin-right: 25px;
    margin-top: 0;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;

    position: sticky;
    top: 20px;
    align-self: flex-start;
}

.content {
    flex: 1;
    padding: 20px;
}

.content > *:first-child {
    margin-top: 0;
}



/* ======================
   4. SIDEBAR CONTENT
   ====================== */

.sidebar-image {
    width: 200px;
    border-radius: 50%;
    margin-bottom: 10px;
    align-content: center;
}

.name {
    font-size: 24px;
    font-family: sans-serif;
    font-weight: 500;
    margin-top: 5px;
    margin-bottom: 5px;
}

.sml-text-col {
    font-size: 14px;
    margin-top: 0px;
    color: gray;
}

.sidebar-icon {
    color: #333;
    font-size: 50px;
    text-decoration: none;
    margin: 20px 10px;
}

.sidebar-icon:hover {
    color: #007bff;
}

.email-link {
    color: #333;
    font-size: 40px;
    text-decoration: none;
    margin: 10px 0;
    display: inline-block;
}

.email-link:hover {
    color: #007bff;
}

/* ======================
   5. SIDEBAR NAVIGATION
   ====================== */

.sidebar-nav {
    display: flex;
    flex-direction: column;
    margin-top: 20px;
    gap: 4px;
    /* border-top: 1px solid #ddd;  */
    padding-top: 8px;
    padding-bottom: 8px;
}

.sidebar-nav a {
    text-decoration: none;
    color: #333;
    font-size: 15px;
    padding: 5px 10px;
    border-radius: 6px;
    border: 1px solid #ddd;
    transition: background-color 0.15s;
}

.sidebar-nav a:hover {
    background-color: rgb(224, 203, 246);
    color: rgb(50, 50, 50);
}

/* ======================
   6. LINKS
   ====================== */

.container a {
    text-decoration: none;
    color: rgb(51, 51, 178);
}

.container a:hover {
    text-decoration: underline;
}

/* ======================
   7. EDUCATION
   ====================== */

ul.education-list {
    list-style-type: none;
    padding-left: 0;
}

ul.education-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.edu-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
    flex-shrink: 0;
}

.edu-details {
    display: flex;
    flex-direction: column;
}

.edu-degree {
    font-weight: 600;
    font-size: 16px;
}

.edu-institution {
    font-size: 14px;
    color: gray;
    margin-top: 2px;
}

/* ======================
   8. PUBLICATIONS
   ====================== */

.pub-link {
    display: inline-block;
    padding: 1px 7px;
    border: 1px solid currentColor;
    border-radius: 3px;
    font-size: 13px;
    text-decoration: none !important;
}

ul.publications {
    list-style-type: none;
    padding-left: 0;
}

.author-me {
    text-decoration: underline;
    font-style: italic;
}

/* ======================
   9. RESPONSIVE
   ====================== */

@media (max-width: 1000px) {
    .header-container .left {
        font-size: 18px;
    }

    .container {
        flex-direction: column;
        padding: 20px 30px;
    }

    .sidebar {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
        /* border-right: none; */
        position: static;
        top: auto;
        height: auto;
        overflow-y: visible;
    }

    .sidebar-nav {
        flex-direction: column;
    }
}
