.biography-header {
    text-align: center;
    /* padding: 40px 20px 20px 20px; */
    padding: 3vh 0 2vh;
    /* color: #2c5aa0; */
    font-size: 14px;
    /* background: #f0f0f0; */
    /* border-bottom: 2px solid #ddd; */
}

/* Professor Section */
.professor-section {
    min-height: 40vh;
    position: relative;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.professor-content {
    padding: 10px 20px;
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 80px;
}

.professor-photo {
    /* width: 400px; */
    /* height: 550px; */
    height: min(500px, 50vh);
    border-radius: 20px;
    object-fit: cover;
    /* object-fit: contain; */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin: 0 auto;
    display: block;
}

/* .professor-photo:hover {
    transform: translateY(-10px);
} */

.professor-info {
    flex: 1;
    text-align: left;
}

.professor-info h2 {
    font-size: 22px;
    color: #000000;
    /* margin-bottom: 5px; */
    font-weight: 700;
}

.professor-info p {
    font-size: 16px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 5px;
}

.professor-info ul {
    padding-left: 30px;
    padding-bottom: 20px;
    text-align: left;
    
    /* Remove default bullets */
    /* list-style-type: none; */
    /* padding-left: 0; */
    /* Adjust padding as needed */
    font-size: 18px;
}
/* 
.professor-info ul li::before {
    content: '✔';
    color: #2c5aa0;
    margin-right: 0.5em;
} */


/* TAB section */
.tab-section {
    max-width: 80%;
    margin: 50px auto;
    padding-bottom: 10px;
    /* background: white; */
    border-radius: 12px;
    /* box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08); */
    overflow: hidden;
}

.tab-nav {
    display: flex;
    /* background: #f8f9fa; */
    /* border-bottom: 1px solid #e9ecef; */
    overflow-x: auto;
}

.icon{
    width: 16px;
    height: 16px;
    /* margin-right: 8px;
    vertical-align: middle; */
}

.tab-nav button {
    flex: 1;
    min-width: 80px;
    padding: 10px 10px;
    background: none;
    border: none;
    font-size: 16px;
    font-weight: 500;
    color: #6b7280;
    cursor: pointer;
    transition: color 0.3s ease, background 0.3s ease, border-bottom-color 0.3s ease;
    border-bottom: 3px solid transparent;
    white-space: normal;
    word-wrap: break-word;
    line-height: 1.3;
}

.tab-nav button:hover {
    background: #f1f3f4;
    color: #374151;
}

.tab-nav button.active {
    color: #1f2937;
    border-bottom-color: #3b82f6;
    /* background: white; */
    background: transparent;
    font-weight: 600;
}

.tab-content {
    padding: 40px;
    min-height: 400px;
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 30px;
    border-bottom: 2px solid #e5e7eb;
    padding-bottom: 10px;
}


.award-item {
    /* display: flex; */
    /* align-items: flex-start; */
    padding: 10px 0;
    font-size: 16px;
    /* border-bottom: 1px solid #f3f4f6; */
    border-top: 1px solid #e5e7eb;

    list-style: none;
}

.award-item::before {
    content: '•';
    padding-right: 10px;
}

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

.placeholder-content {
    text-align: center;
    color: #6b7280;
    font-style: italic;
    padding: 60px 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .professor-content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .professor-info {
        text-align: center;
    }

    .professor-photo {
        width: 250px;
        height: 320px;
    }

    .professor-info h2 {
        font-size: 28px;
    }

    .professor-info p {
        font-size: 16px;
    }

    .professor-info ul {
        font-size: 20px;
    }

    /* .tab-nav {
        flex-direction: row;
    } */

    .tab-nav button {
        /* text-align: left; */
        /* border-bottom: 1px solid #e9ecef; */
        border-right: none;
    }

    .tab-nav button.active {
        border-bottom-color: #e9ecef;
        border-bottom: 3px solid #3b82f6;
    }

    .tab-content {
        padding: 30px 20px;
    }

    .section-title {
        font-size: 20px;
    }

    .award-bullet {
        margin-right: 15px;
    }

    .award-title {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .professor-content {
        padding: 20px 10px;
        gap: 20px;
    }

    .professor-photo {
        width: 200px;
        height: 360px;
    }

    .professor-info h2 {
        font-size: 20px;
        padding-bottom: 5px;
    }

    .professor-info p {
        font-size: 12px;
    }

    .professor-info ul {
        font-size: 16px;
    }

    .biography-header {
        padding-top: 3vh;
    }

    .biography-header h1 {
        font-size: 24px;
    }

    .tab-section {
        max-width: 90%;
    }
    .tab-nav {
        display: flex;
        gap: 1px;
    }

    .tab-nav button {
        padding: 5px auto;
        /* padding: 8px 4px; */
        font-size: 11px;
        min-width: 60px;
        line-height: 1.2;
    }

    .award-item {
        font-size: 16px;
    }

}