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

body {
    font-family: "Open Sans", Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

/* Main Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 35px 20px;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
}
.probgh3 {
    font-size: 18px;
    font-weight: 800;
    color: #bbe21a;
    background-color: #000;
    border-width: 50px;
    display: inline-block;
    margin-top: 30px;
    margin-bottom: 5px;
}

/* Left Sidebar */
.sidebar {
    position: sticky;
    top: 20px;
    align-self: start;
    background-color: #000;
    border-radius: 20px;
    text-align: center;
}

.profile-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    outline: 13px solid black;
    outline-width: 20px;
    border: 8px solid #bbe21a;
    outline-offset: 20px;
    margin-top: 20px;
    margin-bottom: 30px;
}

.profile-name2 {
    color: #bbe21a;
    font-size: 1.75em;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    margin-top: -25px;
}
.sidebar-section {
    margin-top: 20px;
    margin-bottom: 30px;
    text-align: left;
    padding-left: 25px;
}

.sidebar-section h3 {
    margin-top: 50px;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    color: #bbe21a;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
    border-bottom: #bbe21a dotted 0.1cqmax;
}

.contact-item {
    display: block;
    color: #fff;
    text-decoration: none;
    margin-bottom: 8px;
    font-size: 11px;
    word-wrap: break-word;
}
.list {
    list-style-type: disc;
    color: #bbe21a;
}

.social-li img {
    max-width: 200px;
    height: auto;
    display: inline-flex;
    margin-bottom: 15px;
}

.affiliation-item {
    color: #bbe21a;
    text-decoration: none;
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
}

.affiliation-item:hover {
    text-decoration: underline;
}

/* Main Content Area */
.main-content {
    min-width: 0;
}

.profile-header {
    margin-bottom: 30px;
}

.profile-header h1 {
    font-size: 40px;
    font-weight: 600;
    color: #000;
    margin-bottom: 12px;
}

.profile-title {
    font-size: 18px;
    color: #000;
    background-color: #525151;
    margin-bottom: 5px;
    line-height: 1.5;
}

.profile-title2 {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 5px;
    line-height: 1.5;
    background-color: #0f0d8f;
    display: inline-block;
    border-radius: 50px;
    border-width: 50px;
    margin-bottom: 5px;
    line-height: 2.5;
    padding-left: 10px;
    padding-right: 10px;
    color: white;
}

.profile-title3 {
    font-size: 14px;
    font-weight: bold;
    background-color: #EDF7B5;
    display: inline-block;
    border-radius: 50px;
    border-width: 50px;
    margin-bottom: 5px;
    line-height: 2.5;
    padding-left: 10px;
    padding-right: 10px;
}

.profile-title4 {
    font-size: 14px;
    font-weight: bold;
    background-color: #1a6ae2;
    display: inline-block;
    border-radius: 50px;
    border-width: 50px;
    margin-bottom: 5px;
    line-height: 2.5;
    padding-left: 10px;
    padding-right: 10px;
    color: white;
}

.profile-title5 {
    font-size: 14px;
    font-weight: bold;
    background-color: #e29c1a;
    display: inline-block;
    border-radius: 50px;
    border-width: 50px;
    margin-bottom: 5px;
    line-height: 2.5;
    padding-left: 10px;
    padding-right: 10px;
    color: white;
}

.profile-title6 {
    font-size: 14px;
    font-weight: bold;
    background-color: #1e8105;
    display: inline-block;
    border-radius: 50px;
    border-width: 50px;
    margin-bottom: 5px;
    line-height: 2.5;
    padding-left: 10px;
    padding-right: 10px;
    color: white;
}

.contact-item {
    .linkedin-icon {
        width: 30px;
        vertical-align: middle;
    }
}

/* Tabs */
.tabs {
    border: 2px solid #525151;
    border-radius: 50px;
    margin-bottom: 30px;
    display: flex;
    gap: 0;
}

.tab {
    padding: 14px 28px;
    cursor: pointer;
    border: none;
    background: none;
    font-size: 15px;
    font-weight: 600;
    margin: 3px;
    transition: all 0.2s;
}

.tab:hover {
    color: #000;
}

.tab.active {
    color: #000;
    border-radius: 25px;
    background-color: #bbe21a;
    height: auto;
    border-bottom: 3px solid;
    margin: 8px;
}

/* Tab Content */
.tab-content {
    display: none;
    animation: fadeIn 0.3s;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Content Sections */
.content-section {
    margin-bottom: 45px;
}

.content-section h2 {
    font-size: 26px;
    font-weight: 600;
    color: #000;
    margin-bottom: 18px;
}

.content-section h3 {
    font-size: 20px;
    font-weight: 600;
    color: #000;
    margin-top: 25px;
    margin-bottom: 15px;
}

.content-section p {
    margin-bottom: 16px;
    line-height: 1.8;
    color: #333;
    font-size: 15px;
}

.content-section ul {
    margin-left: 25px;
    margin-bottom: 16px;
}

.content-section li {
    margin-bottom: 10px;
    line-height: 1.7;
    color: #333;
    font-size: 15px;
}

/* Publications */
.publication-item {
    padding: 22px 0;
    border-bottom: 1px solid #e0e0e0;
}

.publication-item:first-child {
    padding-top: 0;
}

.publication-item:last-child {
    border-bottom: none;
}

.publication-title {
    font-weight: 600;
    color: #0066cc;
    margin-bottom: 8px;
    font-size: 16px;
    line-height: 1.5;
}

.publication-authors {
    color: #666;
    font-size: 14px;
    margin-bottom: 5px;
    line-height: 1.4;
}

.publication-journal {
    color: #888;
    font-size: 14px;
    font-style: italic;
}

/* Keywords/Tags */
.keywords {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.keyword {
    background-color: #f5f5f5;
    color: #333;
    padding: 8px 16px;
    border-radius: 3px;
    font-size: 14px;
    border: 1px solid #ddd;
}

/* Table Styles - MOVED OUTSIDE MEDIA QUERY */
table {
    width: 100%;
    border-collapse: collapse;
    background-color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    margin-top: 20px;
}

th {
    background-color: #000;
    color: #bbe21a;
    padding: 12px;
    text-align: left;
    font-weight: 600;
}

td {
    padding: 12px;
    border-bottom: 1px solid #ddd;
}

tr:hover {
    background-color: #f8f9fa;
}

tr:last-child td {
    border-bottom: none;
}

/* Responsive */
@media (max-width: 1024px) {
    .container {
        grid-template-columns: 240px 1fr;
        gap: 40px;
    }
}

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

    .sidebar {
        position: static;
    }

    .profile-image {
        max-width: 240px;
    }

    .tabs {
        overflow-x: auto;
    }

    .tab {
        white-space: nowrap;
        padding: 12px 20px;
    }

    /* Mobile specific table adjustments */
    table {
        font-size: 14px;
    }

    th,
    td {
        padding: 8px;
    }
}
