body {
    background-image: url('public/teacher.png');
}

/* Main Content Styles */
.teacher-main-content {
    min-height: calc(100vh - 88px);
    padding: 8rem 0 8rem;
    background-image: url('public/teacher.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;

}

.teacher-content-container {
    max-width: 1280px;
    margin: 0 auto;
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.teacher-content-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 16px;
}

.teacher-page-title {
    font-size: 28.8px;
    font-weight: 700;
    line-height: 46.1px;
    color: #000;
}

.teacher-date-info {
    font-size: 14.3px;
    font-weight: 400;
    line-height: 23px;
    color: #666666;
    padding: 13.4px 0 14.45px;
}

/* Faculty Section Styles */
.teacher-faculty-section {
    margin-bottom: 40px;
}

.teacher-faculty-section:last-child {
    margin-bottom: 0;
}

.teacher-section-header {
    margin-bottom: 16px;
}

.teacher-section-title {
    font-size: 22.4px;
    font-weight: 700;
    line-height: 35.8px;
    color: #000;
    margin-bottom: 5px;
}

.teacher-section-divider {
    width: 100%;
    height: 1px;
    background-color: #333333;
}

.teacher-faculty-member {
    margin-bottom: 16px;
}

.teacher-faculty-member:last-child {
    margin-bottom: 0;
}

.teacher-member-name {
    font-size: 17.6px;
    font-weight: 700;
    line-height: 28.2px;
    color: #000;
    margin-bottom: 4px;
}

.teacher-member-bio {
    font-size: 16px;
    font-weight: 400;
    line-height: 25.6px;
    color: #000;
}

/* Part-time Faculty Styles */
.teacher-part-time-faculty {
    display: flex;
    flex-direction: column;
}

.teacher-part-time-member {
    font-size: 16px;
    font-weight: 400;
    line-height: 25.6px;
    color: #000;
    margin-bottom: 4px;
}

.teacher-part-time-member:last-child {
    margin-bottom: 0;
}

.teacher-part-time-member strong {
    font-weight: 700;
}

/* Responsive Design - Large Tablets and Small Desktops */
@media (max-width: 1280px) {
    .teacher-header-container {
        padding: 0 24px;
    }

    .teacher-main-content {
        padding: 128px 24px;
    }
}

@media (max-width: 1024px) {
    .teacher-header-container {
        gap: 40px;
        padding: 0 20px;
    }

    .teacher-content-container {
        padding: 32px;
    }

    .teacher-page-title {
        font-size: 24px;
        line-height: 38px;
    }

    .teacher-section-title {
        font-size: 20px;
        line-height: 32px;
    }

}

/* Tablets */
@media (max-width: 768px) {
    body {
        background-attachment: scroll;
    }

    .teacher-header {
        height: auto;
        position: relative;
    }

    .teacher-header-container {
        flex-direction: column;
        height: auto;
        padding: 16px;
        gap: 16px;
    }

    .teacher-navigation {
        width: 100%;
        justify-content: center;
    }

    .teacher-main-content {
        padding: 96px 16px;
        min-height: calc(100vh - 120px);
    }

    .teacher-content-container {
        padding: 24px;
    }

    .teacher-content-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        margin-bottom: 32px;
    }

    .teacher-page-title {
        font-size: 22px;
        line-height: 34px;
    }

    .teacher-section-title {
        font-size: 18px;
        line-height: 28px;
    }

    .teacher-member-name {
        font-size: 16px;
        line-height: 26px;
    }

    .teacher-member-bio,
    .teacher-part-time-member {
        font-size: 14px;
        line-height: 22px;
    }

    .teacher-faculty-section {
        margin-bottom: 32px;
    }
}

/* Mobile Phones */
@media (max-width: 480px) {
    .teacher-main-content {
        padding: 128px 8px;
    }

    .teacher-content-container {
        padding: 16px;
        border-radius: 4px;
    }

    .teacher-header-container {
        padding: 12px;
    }

    .teacher-external-icon,
    .teacher-mail-icon {
        width: 14px;
        height: 14px;
    }

    .teacher-page-title {
        font-size: 20px;
        line-height: 30px;
    }

    .teacher-section-title {
        font-size: 16px;
        line-height: 24px;
    }

    .teacher-member-name {
        font-size: 15px;
        line-height: 24px;
    }

    .teacher-member-bio,
    .teacher-part-time-member {
        font-size: 13px;
        line-height: 20px;
    }

    .teacher-date-info {
        font-size: 12px;
        line-height: 18px;
    }

    .teacher-faculty-section {
        margin-bottom: 24px;
    }
}

/* Extra Small Mobile Phones */
@media (max-width: 360px) {
    .teacher-content-container {
        padding: 12px;
    }



    .teacher-page-title {
        font-size: 18px;
        line-height: 28px;
    }

    .teacher-section-title {
        font-size: 15px;
        line-height: 22px;
    }

    .teacher-member-name {
        font-size: 14px;
        line-height: 22px;
    }

    .teacher-member-bio,
    .teacher-part-time-member {
        font-size: 12px;
        line-height: 18px;
    }
}

/* Landscape Mobile Orientation */
@media (max-width: 768px) and (orientation: landscape) {
    .teacher-header {
        position: relative;
    }

    .teacher-main-content {
        padding: 16px;
    }

    .teacher-content-container {
        padding: 20px;
    }
}


/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}
