/* Faculty Page Styles */

/* Tab Content Container */
.faculty-tab-content {
    width: 100%;
}

.faculty-tab-panel {
    display: none;
}

.faculty-tab-panel.active {
    display: block !important;
    visibility: visible !important;
}


/* Faculty Page Main Container */
.faculty-page-main {
    width: 100%;
    min-height: 100vh;
}

/* Faculty Banner Section */
.faculty-banner-section {
    position: relative;
    width: 100%;
    height: 285px;
    min-height: 285px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: visible;
    margin-bottom: 0;
}

.faculty-banner-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    height: 100%;
}

.banner-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.banner-blue-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(24, 47, 97, 0.6);
    z-index: 1;
}

.faculty-banner-container {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    z-index: 2;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    height: 100%;
}

.faculty-banner-content {
    display: flex;
    flex-direction: row;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0;
}

.banner-text-content {
    color: #ffffff;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.banner-title {
    font-size: 40px;
    font-weight: 700;
    line-height: 1.2;
    color: #ffffff;
    font-family: var(--font-english);
    margin: 0;
}

.banner-subtitle {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.6;
    color: #ffffff;
    opacity: 0.95;
    margin: 0;
}

.banner-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 16px;
    color: #ffffff;
    margin: 8px 0 0;
}

.banner-breadcrumb a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
}

.banner-breadcrumb a:hover {
    text-decoration: underline;
}

.banner-breadcrumb .breadcrumb-separator {
    opacity: 0.7;
}

.banner-breadcrumb .breadcrumb-current {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
}

.banner-image-right {
    width: 500px;
    height: auto;
    flex-shrink: 0;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
}

.banner-right-image {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

.banner-tabs-container {
    background-color: #ffffff;
    border-radius: 12px;
    position: absolute;
    bottom: -30px;
    left: 20px;
    right: 20px;
    z-index: 3;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    max-width: calc(100% - 40px);
    overflow: hidden;
}

.banner-tabs-nav {
    display: flex;
    justify-content: center;
    gap: 0;
    width: 100%;
    margin: 0 auto;
    padding: 0px 30px 0px;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
}

.banner-tabs-nav::-webkit-scrollbar {
    display: none;
}

.banner-tab {
    background: transparent;
    border: none;
    color: #000000;
    font-size: 18px;
    font-weight: 500;
    padding: 20px 32px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    font-family: var(--font-english);
    position: relative;
    flex-shrink: 0;
}

.banner-tab:hover {
    background-color: rgba(0, 0, 0, 0.02);
    color: #000000;
}

.banner-tab.active {
    background-color: transparent;
    color: #b00020;
    font-weight: 700;
}

.banner-tab.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 89px;
    height: 5px;
    background-color: #b00020;
    border-radius: 10px;
}

/* Mobile Dropdown Select */
.banner-tabs-dropdown {
    display: none;
    width: 100%;
    padding: 16px 20px;
    border: 2px solid #1B2F56;
    background-color: #ffffff;
    color: #1B2F56;
    font-size: 16px;
    font-weight: 600;
    font-family: var(--font-english);
    border-radius: 16px;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9' fill='none'%3E%3Cpath d='M1 1L7 7L13 1' stroke='%231B2F56' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 20px center;
    background-size: 14px;
    padding-right: 50px;
    outline: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(27, 47, 86, 0.08);
}

.banner-tabs-dropdown:hover {
    background-color: #eef2ff;
    border-color: #2c4a7a;
    box-shadow: 0 4px 12px rgba(27, 47, 86, 0.15);
    transform: translateY(-1px);
}

.banner-tabs-dropdown:focus {
    border-color: #1B2F56;
    box-shadow: 0 0 0 4px rgba(27, 47, 86, 0.12), 0 4px 16px rgba(27, 47, 86, 0.2);
    background-color: #ffffff;
    transform: translateY(-1px);
}

.banner-tabs-dropdown:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(27, 47, 86, 0.12);
}

.banner-tabs-dropdown option {
    padding: 12px;
    font-size: 16px;
    font-weight: 500;
}

/* Breadcrumb Section */
.breadcrumb-section {
    background-color: #f8f9fa;
    padding: 16px 0;
    border-bottom: 1px solid #e9ecef;
}

.breadcrumb-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.breadcrumb-link {
    color: var(--primary-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-link:hover {
    color: var(--primary-red);
}

.breadcrumb-separator {
    color: #6c757d;
}

.breadcrumb-current {
    color: #6c757d;
    font-weight: 500;
}

/* Breadcrumb Banner Section */
.breadcrumb-banner-section {
    position: relative;
    width: 100%;
    min-height: 285px;
    height: 285px;
    overflow: hidden;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
}

.breadcrumb-banner-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/faculty-banner.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

.breadcrumb-banner-container {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 20px 40px;
    width: 100%;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.breadcrumb-back-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: #C8102E;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    z-index: 3;
    flex-shrink: 0;
}

.breadcrumb-back-btn:hover {
    background-color: #a00d26;
    transform: scale(1.05);
}

.breadcrumb-back-btn:active {
    transform: scale(0.95);
}

.breadcrumb-back-btn svg {
    width: 20px;
    height: 20px;
}

.breadcrumb-banner-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    color: #ffffff;
    margin-left: 0;
}

.breadcrumb-banner-link {
    color: #ffffff;
    text-decoration: none;
    transition: opacity 0.3s ease;
    font-weight: 500;
}

.breadcrumb-banner-link:hover {
    opacity: 0.8;
}

.breadcrumb-banner-separator {
    color: #ffffff;
    opacity: 0.9;
}

.breadcrumb-banner-current {
    color: #ffffff;
    font-weight: 500;
}

.breadcrumb-banner-section .banner-image-right {
    z-index: 2;
}

/* Faculty Container */
.faculty-container {
    max-width: 1400px;
    margin: 0 auto;
    border-radius: 12px;
    background-color: #fff;
    overflow: visible;
    padding: 30px 0px;
}
.faculty-overview-container{
    margin: 0 auto 40px;
}
/* Faculty Overview Section */
.faculty-overview-section {
    padding: 80px 0 0;
    background-color: #f3f4f7;
}

.faculty-overview-content {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 0;
    align-items: flex-start;
}

.faculty-overview-text {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 0 40px 48px 40px;
    border-left: 1px solid #e5e7eb;
    font-family: var(--font-english);
}

.faculty-overview-text .section-title {
    color: var(--section-title-color);
    margin-bottom: 8px;
}

.section-description {
    font-size: 14px;
    font-weight: 400;
    line-height: 150%;
    letter-spacing: -0.005em;
    color: var(--text-dark);
}

.faculty-overview-image {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    min-height: 415px;
}

.faculty-tab-content .faculty-image {
    width: auto;
    height: 415px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    object-fit: contain;
    position: relative;
    z-index: 1;
}

.faculty-tab-content .faculty-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    z-index: 1;
    pointer-events: none;
}

.academic-degrees-heading {
    font-size: 18px;
    font-weight: 700;
    color: var(--section-title-color);
    margin: 24px 0 16px 0;
    font-family: var(--font-english);
}

.f-blue {
    color: var(--primary-blue);
}

.available-specializations-section {
    background-color: #ffffff;
    padding: 0;
}

.specializations-title {
    text-align: left;
    margin-bottom: 48px;
}

/* Specializations Filters */
.specializations-filters-wrapper {
    display: flex;
    gap: 24px;
    margin-bottom: 32px;
    flex-wrap: wrap;
    align-items: flex-start;
}

.specializations-filters-wrapper .filter-group {
    flex: 0 1 auto;
}

.specializations-filters-wrapper .faculty-specializations-filter {
    margin-bottom: 0;
}

.specializations-filters {
    display: flex;
    gap: 24px;
    margin-bottom: 48px;
    margin-top: 0;
    flex-wrap: wrap;
    align-items: flex-end;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.filter-label {
    font-size: 16px;
    font-weight: 600;
    color: var(--section-title-color);
}

.filter-select {
    min-width: 250px;
    padding: 12px 16px;
    border: 1px solid #d7dae3;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    color: #1c2434;
    background-color: #fff;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%231c2434' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 18px;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.filter-select:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(0, 59, 188, 0.1);
}

.filter-select:hover {
    border-color: var(--primary-blue);
}

.filter-reset-group {
    display: flex;
    align-items: flex-end;
}

.filter-reset-btn {
    padding: 12px 24px;
    border: 2px solid var(--primary-blue);
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-blue);
    background-color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.filter-reset-btn:hover {
    background-color: var(--primary-blue);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 59, 188, 0.2);
}

.filter-reset-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(0, 59, 188, 0.15);
}

.filter-reset-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 59, 188, 0.2);
}

/* Faculty Specializations Group */
.faculty-specializations-group {
    margin-bottom: 60px;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.faculty-specializations-group.hidden {
    display: none;
}

.faculty-specializations-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--section-title-color);
    margin-bottom: 30px;
}

.specialization-card.hidden {
    display: none;
}

.specialization-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    align-items: stretch;
}

.specialization-card {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
    padding-bottom: 40px;
    height: 100%;
    width: 100%;
}

.specialization-card-badge {
    padding: 12px 16px;
    border-radius: 25px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
}

.specialization-badge-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.specialization-badge-label {
    font-weight: 600;
    font-size: 18px;
    font-family: var(--font-english);
}

.specialization-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
    color: #464646;
    font-size: 14px;
    font-weight: 400;
    line-height: 150%;
}

.specialization-list li {
    position: relative;
    padding-left: 20px;
}

/* Bachelor Card Styles */
.bachelor-specialization-card {
    border-bottom: 10px solid #003bbc;
}

.bachelor-badge {
    background-color: rgba(24, 47, 97, 0.1);
}

.bachelor-badge .specialization-badge-icon {
    filter: brightness(0) saturate(100%) invert(22%) sepia(98%) saturate(5407%) hue-rotate(216deg) brightness(97%) contrast(105%);
}

.bachelor-badge .specialization-badge-label {
    color: #003bbc;
}

.bachelor-list li::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #003bbc;
    position: absolute;
    left: 0;
    top: 8px;
}

/* Research Master Card Styles */
.research-specialization-card {
    border-bottom: 10px solid #b00020;
}

.research-badge {
    background-color: #fce8e8;
}

.research-badge .specialization-badge-icon {
    filter: brightness(0) saturate(100%) invert(13%) sepia(94%) saturate(7151%) hue-rotate(350deg) brightness(89%) contrast(101%);
}

.research-badge .specialization-badge-label {
    color: #b00020;
}

.research-list li::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #b00020;
    position: absolute;
    left: 0;
    top: 8px;
}

/* Professional Master Card Styles */
.professional-specialization-card {
    border-bottom: 10px solid #008000;
}

.professional-badge {
    background-color: #e8fce8;
}

.professional-badge .specialization-badge-icon {
    filter: brightness(0) saturate(100%) invert(44%) sepia(98%) saturate(1448%) hue-rotate(79deg) brightness(96%) contrast(105%);
}

.professional-badge .specialization-badge-label {
    color: #008000;
}

.professional-list li::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #008000;
    position: absolute;
    left: 0;
    top: 8px;
}

.faculty-specializations-section {
    padding: 90px 0;
    background-color: #fff;
}

.faculty-specializations-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 48px;
    margin-bottom: 36px;
}

.faculty-specializations-intro {
    flex: 1;
    font-size: 18px;
    line-height: 1.7;
    color: #1c2434;
}

.faculty-specializations-filter {
    margin-bottom: 32px;
    text-align: left;
}

.specializations-dropdown {
    width: 260px;
    padding: 16px 20px;
    border: 1px solid #d7dae3;
    border-radius: 16px;
    font-size: 16px;
    font-weight: 500;
    color: #1c2434;
    background-color: #fff;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%231c2434' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
    background-size: 18px;
    cursor: pointer;
}

.specializations-dropdown:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(33, 84, 255, 0.15);
}

.faculty-specializations-heading {
    margin-bottom: 32px;
}

.faculty-specializations-heading h2 {
    font-size: 32px;
    font-weight: 700;
    color: #111a2c;
    margin: 0;
}

.specializations-program-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px 28px;
    row-gap: 40px;
}

.program-card {
    background-color: #fff;
    border-radius: 28px;
    border: 1px solid #e4e7f1;
    padding: 32px;
    box-shadow: 0 15px 45px rgba(15, 23, 42, 0.08);
    display: flex;
    flex-direction: column;
    gap: 18px;
    min-height: 100%;
}

.program-card-badge {
    display: inline-flex;
    align-items: center;
    /* gap: 12px; */
    padding: 0px 20px 0 10px;
    border-radius: 999px;
    background: #eef2ff;
    color: #1447e6;
    font-weight: 600;
    width: fit-content;
}

/* Professional Master Badge - Green */
[data-degree="professional-master"] .program-card-badge {
    background: #e8fce8;
    color: #008000;
}

/* Research Master Badge - Red */
[data-degree="research-master"] .program-card-badge {
    background: #fce8e8;
    color: #b00020;
}

.program-card-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.program-card-icon img {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.program-card-degree {
    font-size: 15px;
}

.program-card-title {
    font-size: 20px;
    font-weight: 700;
    color: #111a2c;
    margin: 0;
}

.program-card-description {
    font-size: 15px;
    line-height: 1.7;
    color: #4b5567;
    margin: 0;
}

.program-card-meta {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: auto;
}

.program-meta-item {
    display: flex;
    align-items: center;
    gap: 12px;
    border-radius: 16px;
}

.program-meta-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background-color: #eef2fd;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.program-meta-icon img {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.program-meta-text {
    font-weight: 400;
    color: #000;
    font-size: 14px;
}

.program-card-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 12px;
    background-color: #102a64;
    color: #fff;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.program-card-btn:hover {
    background-color: #0b1e46;
    transform: translateY(-2px);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.admission-section {
    padding: 0;
    background-color: #ffffff;
}

.admission-title {
    margin-bottom: 48px;
}

.admission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.admission-card {
    background-color: #fff;
    border-radius: 32px;
    padding: 48px 40px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 25px 45px rgba(19, 33, 68, 0.08);
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.admission-card-icon {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    background-color: rgba(159, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--primary-red);
}

.admission-card-icon img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.admission-card-heading {
    font-size: 22px;
    font-weight: 700;
    color: var(--section-title-color);
}

.admission-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
    color: var(--text-dark);
    line-height: 1.7;
    font-size: 15px;
}

.admission-list li {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
}

.admission-tick-icon {
    width: 18px;
    height: 18px;
    object-fit: contain;
    flex-shrink: 0;
    margin-top: 2px;
}

.admission-card-requirements .admission-card-icon {
    background-color: rgba(255, 145, 77, 0.18);
    color: #ff6320;
}

.admission-card-requirements .admission-card-heading {
    color: #ff6320;
}

.admission-card-conditions .admission-card-icon {
    background-color: rgba(255, 82, 82, 0.15);
    color: #d90000;
}

.admission-card-conditions .admission-card-heading {
    color: #d90000;
}

.faculty-branches-section {
    padding: 0;
    background-color: #ffffff;
}

.branches-title {
    margin-bottom: 48px;
}

.faculty-branches-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.faculty-branch-card {
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 32px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    box-sizing: border-box;
}

.faculty-branch-card-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--section-title-color);
    margin: 0 0 4px 0;
    height: 50px;
}

.faculty-branch-card-row {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.faculty-branch-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background-color: #eef2ff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.faculty-branch-card-icon img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.faculty-branch-card-info {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-dark);
}

.faculty-branch-card-link {
    margin-top: 8px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-red);
    font-weight: 600;
    text-decoration: none;
    transition: gap 0.3s ease, color 0.3s ease;
}

.faculty-branch-card-link:hover {
    gap: 12px;
    color: #700000;
}


/* Responsive Styles */
@media (max-width: 1024px) {
    .faculty-overview-content {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .faculty-overview-image {
        order: 0;
    }

    .faculty-branches-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

@media (max-width: 768px) {
    /* Unified Section Spacing - 48px vertical padding for all sections */
    .faculty-overview-section,
    .available-specializations-section,
    .faculty-specializations-section,
    .admission-section,
    .faculty-branches-section,
    .dean-section,
    .successive-deans-section,
    .deanship-hero-section,
    .deanship-stats-section,
    .unit-council-section,
    .admin-departments-section,
    .deanship-credentials-section,
    .scientific-qualifications-section,
    .professional-career-section,
    .faculty-page-main .announcements-section,
    .faculty-tab-content .news-section,
    .faculty-guide-section {
        padding: 48px 0;
    }

    /* Unified Container Spacing - 24px horizontal padding */
    .faculty-container,
    .faculty-overview-container,
    .specializations-container,
    .admission-container,
    .branches-container,
    .dean-container,
    .deanship-container {
        padding-left: 24px;
        padding-right: 24px;
    }

    /* Unified Internal Element Spacing - 24px gaps */
    .specialization-cards-grid,
    .faculty-branches-grid,
    .admission-grid,
    .specializations-program-grid {
        gap: 24px;
    }

    /* One branch per row on mobile */
    .faculty-branches-grid {
        grid-template-columns: 1fr;
    }

    .faculty-hero-title {
        font-size: 36px;
    }

    .faculty-hero-description {
        font-size: 18px;
    }

    .faculty-overview-content {
        gap: 20px;
    }

    .faculty-overview-image {
        min-height: 300px;
    }

    .faculty-overview-text {
        border-left: none;
        border-right: none;
        padding: 0 24px 24px 24px;
    }

    .specializations-title,
    .branches-title {
        text-align: left;
        margin-bottom: 24px;
    }

    .specialization-cards-grid {
        grid-template-columns: 1fr;
    }

    .specialization-card {
        width: 100%;
        max-width: 100%;
        padding: 24px;
    }

    .specializations-filters {
        flex-direction: column;
        gap: 16px;
        margin-bottom: 24px;
    }

    .filter-select {
        min-width: 100%;
    }

    .filter-reset-group {
        width: 100%;
    }

    .filter-reset-btn {
        width: 100%;
    }

    .faculty-branch-card {
        padding: 24px;
    }

    .section-title {
        font-size: 28px;
        margin-bottom: 24px;
    }

    /* Unified spacing for cards and content */
    .dean-section-content,
    .dean-profile-card,
    .qualifications-card,
    .career-card {
        padding: 24px;
    }
}


.dean-section {
    padding: 80px 0;
    background-color: #f3f4f7;
}

.dean-card {
    background-color: #ffffff;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.dean-section-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    align-items: flex-start;
    padding: 40px;
}

.dean-image-column {
    flex-shrink: 0;
}

.dean-image-wrapper {
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    background-color: #f8f9fa;
}

.dean-portrait {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.dean-text-column {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.dean-name-title {
    font-size: 32px;
    font-weight: 700;
    color: #1B2F56;
    margin: 0 0 20px 0;
    line-height: 1.2;
    font-family: var(--font-english);
}

.dean-text-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.dean-paragraph {
    font-size: 16px;
    line-height: 1.8;
    color: #333333;
    margin: 0;
}

.dean-paragraph-collapsed {
    display: none;
}

.dean-paragraph-collapsed.show {
    display: block;
}

.dean-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 8px;
    flex-wrap: wrap;
}

.dean-show-more-btn {
    background-color: #b00020;
    color: #ffffff;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    font-family: var(--font-english);
    box-shadow: 0 2px 8px rgba(176, 0, 32, 0.2);
}

.dean-show-more-btn:hover {
    background-color: #8d001a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(176, 0, 32, 0.3);
}

.dean-show-more-btn i {
    font-size: 14px;
    transition: transform 0.3s ease;
}

.dean-show-more-btn.expanded i {
    transform: rotate(180deg);
}

.dean-view-profile-btn {
    background-color: #1B2F56;
    color: #ffffff;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    font-family: var(--font-english);
    text-decoration: none;
}

.dean-view-profile-btn:hover {
    background-color: #0f1f3d;
    transform: translateY(-2px);
    color: #ffffff;
}

.dean-view-profile-btn i {
    font-size: 14px;
}

/* Successive Deans Section */
.successive-deans-section {
    padding: 40px 20px 40px;
    overflow: visible;
    background-color: #ffffff;
}

.successive-deans-title {
    font-size: 36px;
    font-weight: 700;
    color: #1B2F56;
    margin: 0 0 24px;
    font-family: var(--font-english);
    text-align: left;
}

.successive-deans-timeline {
    position: relative;
    padding: 0 0 45px;
    overflow: visible;
    min-height: 680px;
}

.successive-deans-timeline::before {
    content: "";
    position: absolute;
    top: 48%;
    transform: translateY(-50%);
    left: 60px;
    right: 60px;
    height: 4px;
    background: linear-gradient(90deg, rgba(58, 91, 163, 0), #3A5BA3 20%, #3A5BA3 80%, rgba(58, 91, 163, 0));
    z-index: 0;
}

.timeline-items {
    display: flex;
    gap: 48px;
    overflow-x: auto;
    overflow-y: visible;
    padding: 35px 20px 20px;
    scroll-snap-type: x proximity;
    height: auto;
    min-height: 680px;
}

.timeline-items::-webkit-scrollbar {
    height: 6px;
}

.timeline-items::-webkit-scrollbar-track {
    background: transparent;
}

.timeline-items::-webkit-scrollbar-thumb {
    background: rgba(26, 45, 86, 0.25);
    border-radius: 999px;
}

.timeline-item {
    position: relative;
    flex: 0 0 240px;
    height: 680px;
    scroll-snap-align: start;
    z-index: 2;
    cursor: pointer;
}

.timeline-node {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #3A5BA3;
    color: #ffffff;
    font-weight: 700;
    font-size: 18px;
    font-family: var(--font-english);
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 10px 24px rgba(11, 25, 57, 0.18);
}

.timeline-card {
    width: 220px;
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(11, 25, 57, 0.15);
    border: 1px solid rgba(39, 74, 140, 0.12);
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    overflow: visible;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-card::after {
    content: "";
    position: absolute;
    left: 50%;
    width: 4px;
    background: linear-gradient(180deg, rgba(58, 91, 163, 0) 0%, #3A5BA3 35%, #3A5BA3 100%);
    transform: translateX(-50%);
    border-radius: 999px;
}

.timeline-item.is-top .timeline-card {
    bottom: calc(50% + 80px);
}

.timeline-item.is-top .timeline-card::after {
    top: 100%;
    height: 80px;
}

.timeline-item.is-bottom .timeline-card {
    top: calc(50% + 80px);
}

.timeline-item.is-bottom .timeline-card::after {
    bottom: 100%;
    height: 80px;
}

.timeline-card-photo {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 25px 25px 0 0;
}

.timeline-card-body {
    padding: 18px 20px 30px;
    position: relative;
}

.timeline-card-date {
    font-size: 13px;
    color: #5e6375;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 8px;
    font-weight: 600;
}

.timeline-card-date i {
    color: #3A5BA3;
}

.timeline-card-name {
    font-size: 14px;
    margin: 0;
    color: #111b33;
}

.timeline-card-logo {
    position: absolute;
    width: 46px;
    right: 16px;
    bottom: 16px;
    opacity: 0.3;
}

.timeline-item:hover .timeline-card {
    transform: translateX(-50%) translateY(-5px);
    box-shadow: 0 25px 60px rgba(11, 25, 57, 0.25);
}

.timeline-item.is-top:hover .timeline-card {
    transform: translateX(-50%) translateY(-5px);
}

.timeline-item.is-bottom:hover .timeline-card {
    transform: translateX(-50%) translateY(-5px);
}
.dean-section .faculty-container {
    padding: 0px;
}

.dean-profile-section .faculty-container {
    padding: 0px;
}
@media (max-width: 768px) {
    .timeline-items {
        gap: 28px;
        padding: 15px 10px 16px;
    }

    .timeline-item {
        flex: 0 0 200px;
    }

    .timeline-card {
        width: 200px;
    }
}

/* Deanship Sections */
.deanship-intro {
    padding: 40px 0 10px;
    text-align: center;
}

.deanship-hero-section {
    padding: 40px 0 20px;
}

.deanship-hero-card {
    background: #ffffff;
    border-radius: 28px;
    box-shadow: 0 30px 60px rgba(15, 23, 42, 0.08);
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 40px;
    padding: 40px;
    align-items: center;
}

.deanship-hero-media {
    position: relative;
}

.deanship-hero-image {
    width: 100%;
    border-radius: 24px;
    height: 420px;
    object-fit: cover;
}

.deanship-back-btn {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background: #b00020;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 15px 25px rgba(176, 0, 32, 0.4);
}

.deanship-hero-content {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.deanship-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #6b7280;
    font-size: 14px;
}

.deanship-breadcrumb .deanship-link {
    color: var(--primary-red);
    text-decoration: none;
    font-weight: 600;
}

.deanship-hero-name {
    font-size: 36px;
    font-weight: 700;
    color: #1B2F56;
    margin: 0;
}

.deanship-hero-text {
    color: var(--text-dark);
    line-height: 1.7;
}

.deanship-hero-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 14px;
}

.meta-item {
    background: #f4f6fb;
    border-radius: 14px;
    padding: 14px;
}

.meta-label {
    font-size: 12px;
    text-transform: uppercase;
    color: #6b7280;
    letter-spacing: 0.04em;
}

.meta-value {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: #1B2F56;
}

.deanship-contact {
    display: flex;
    gap: 40px;
}

.meta-subtitle {
    display: block;
    font-size: 13px;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 4px;
}

.deanship-contact a {
    color: var(--primary-red);
    text-decoration: none;
    font-weight: 600;
}

.deanship-intro p {
    font-size: 17px;
    line-height: 1.7;
    color: var(--text-dark);
    margin: 0 auto;
    text-align: center;
}

.deanship-section-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 28px;
    text-align: left;
}

.deanship-stats-section {
    padding: 30px 0 50px;
}

.deanship-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.deanship-stat-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.stat-card-category {
    font-size: 22px;
    font-weight: 700;
    color: #1B2F56;
    margin: 0 0 20px 0;
    padding-bottom: 12px;
    font-family: var(--font-english);
    position: relative;
}

.stat-card-category::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background-color: #3056d3;
    border-radius: 25px;
}

/* First card - Students (Blue) */
.deanship-stat-card:nth-child(1) .stat-card-category::after {
    background-color: var(--primary-blue);
}

.deanship-stat-card:nth-child(1) .stat-item-icon {
    background-color: rgba(24, 47, 97, 0.15);
    color: var(--primary-blue);
}

.deanship-stat-card:nth-child(1) .stat-item-icon svg {
    fill: none;
    stroke: var(--primary-blue);
    stroke-width: 2;
}

.deanship-stat-card:nth-child(1) .stat-item-icon svg path[fill] {
    fill: none;
    stroke: var(--primary-blue);
    stroke-width: 2;
}

.deanship-stat-card:nth-child(1) .stat-item-icon img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

/* Second card - Staff & Structure (Red) */
.deanship-stat-card:nth-child(2) .stat-card-category::after {
    background-color: var(--primary-red);
}

.deanship-stat-card:nth-child(2) .stat-item-icon {
    background-color: rgba(159, 0, 0, 0.15);
    color: var(--primary-red);
}

.deanship-stat-card:nth-child(2) .stat-item-icon svg {
    fill: none;
    stroke: var(--primary-red);
    stroke-width: 2;
}

.deanship-stat-card:nth-child(2) .stat-item-icon svg path[fill] {
    fill: none;
    stroke: var(--primary-red);
    stroke-width: 2;
}

.deanship-stat-card:nth-child(2) .stat-item-icon img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

/* Third card - Specializations (Green) */
.deanship-stat-card:nth-child(3) .stat-card-category::after {
    background-color: #008000;
}

.deanship-stat-card:nth-child(3) .stat-item-icon {
    background-color: rgba(0, 128, 0, 0.15);
    color: #008000;
}

.deanship-stat-card:nth-child(3) .stat-item-icon svg {
    fill: none;
    stroke: #008000;
    stroke-width: 2;
}

.deanship-stat-card:nth-child(3) .stat-item-icon svg path[fill] {
    fill: none;
    stroke: #008000;
    stroke-width: 2;
}

.deanship-stat-card:nth-child(3) .stat-item-icon img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.stat-card-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}

.stat-card-item:last-child {
    margin-bottom: 0;
}

.stat-item-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background-color: rgba(48, 86, 211, 0.15);
    color: #3056d3;
}

.stat-item-icon svg {
    width: 24px;
    height: 24px;
    fill: #3056d3;
    stroke: #3056d3;
}

.stat-item-icon img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.stat-item-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-value {
    font-size: 24px;
    font-weight: 700;
    color: #1B2F56;
    display: block;
    line-height: 1.2;
    font-family: var(--font-english);
}

.stat-label {
    color: #4b5563;
    font-size: 14px;
    line-height: 1.5;
    font-family: var(--font-english);
}

.stat-year {
    display: inline;
    font-size: 13px;
    color: #9ca3af;
    margin-left: 4px;
}

.unit-council-section {
    padding: 30px 0 50px;
}

.unit-council-table-wrapper {
    background: #ffffff;
    border-radius: 22px;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
    overflow-x: auto;
    overflow-y: hidden;
}

.unit-council-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

.unit-council-table th {
    text-align: left;
    padding: 18px 24px;
    background: #1B2F56;
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    font-family: var(--font-english);
    border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.unit-council-table th:last-child {
    border-right: none;
}

.unit-council-table tbody tr {
    background-color: #ffffff;
}

.unit-council-table tbody tr:nth-child(even) {
    background-color: #f8f9fa;
}

.unit-council-table td {
    padding: 16px 24px;
    border-bottom: 1px solid #e5e7eb;
    border-right: 1px solid #e5e7eb;
    font-size: 15px;
    color: var(--text-dark);
    font-family: var(--font-english);
}

.unit-council-table td:last-child {
    border-right: none;
}

.name-cell-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.name-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #e5e7eb;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M12 12C14.7614 12 17 9.76142 17 7C17 4.23858 14.7614 2 12 2C9.23858 2 7 4.23858 7 7C7 9.76142 9.23858 12 12 12Z' fill='%239ca3af'/%3E%3Cpath d='M12 14C7.58172 14 4 16.2386 4 19V22H20V19C20 16.2386 16.4183 14 12 14Z' fill='%239ca3af'/%3E%3C/svg%3E");
    background-size: 24px 24px;
    background-position: center;
    background-repeat: no-repeat;
    flex-shrink: 0;
}

.admin-departments-section {
    padding: 30px 0 80px;
}

.admin-tabs {
    display: flex;
    justify-content: center;
    gap: 0;
    margin-bottom: 40px;
    border-bottom: none;
}

.admin-tab {
    background: none;
    border: none;
    padding: 16px 24px;
    font-size: 18px;
    font-weight: normal;
    color: #49454f;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    margin-bottom: 0;
}

.admin-tab::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background-color: #e5e7eb;
    border-radius: 25px;
    width: 100%;
}

.admin-tab:hover {
    color: #49454f;
}

.admin-tab.active {
    color: var(--primary-red, #9f0000);
    font-weight: bold;
}

.admin-tab.active::after {
    background-color: var(--primary-red, #9f0000);
}

.admin-card-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.admin-card {
    background: #ffffff;
    border-radius: 22px;
    padding: 26px;
    text-align: center;
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.08);
}

.admin-card-image {
    width: 92px;
    height: 92px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 14px;
}

.admin-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.admin-card-name {
    font-size: 20px;
    font-weight: 700;
    color: #1B2F56;
    margin: 8px 0 2px;
}

.admin-card-title {
    margin: 8px 0 12px 0;
    color: #64748b;
    position: relative;
    padding-bottom: 20px;
}

.admin-card-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--primary-blue);
    border-radius: 2px;
    opacity: 0.5;
}

.admin-card-contact {
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: flex-start;
}

.contact-row {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-dark);
    font-size: 15px;
}

.contact-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.admin-card[data-hidden="true"] {
    display: none;
}

.deanship-credentials-section {
    padding: 20px 0 60px;
}

.deanship-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.deanship-info-card {
    background: #fff;
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
}

.info-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
}

.info-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: #eef2ff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-icon.briefcase {
    background: #fee2e2;
    color: #b91c1c;
    font-size: 24px;
}

.info-header h3 {
    margin: 0;
    font-size: 22px;
    color: #1B2F56;
}

.info-header p {
    margin: 4px 0 0;
    color: #6b7280;
}

.info-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.info-list li {
    position: relative;
    padding-left: 26px;
    color: var(--text-dark);
    line-height: 1.7;
}

.info-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #1B2F56;
}

/* Responsive Styles for Dean Section */
@media (max-width: 1024px) {
    .dean-section-content {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 32px;
    }

    .dean-image-column {
        max-width: 400px;
        margin: 0 auto;
    }

    .deanship-hero-card {
        grid-template-columns: 1fr;
        padding: 32px;
    }

    .deanship-hero-image {
        height: 320px;
    }

    .deanship-contact {
        flex-direction: column;
        gap: 16px;
    }

    .deanship-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .admin-card-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    /* Section padding already unified in previous media query */
    
    .dean-section-content {
        padding: 24px;
        gap: 24px;
    }

    .dean-name-title {
        font-size: 28px;
    }

    .dean-paragraph {
        font-size: 15px;
    }

    .successive-deans-title {
        font-size: 26px;
        margin-bottom: 24px;
    }

    .successive-deans-timeline-wrapper {
        min-width: 1000px;
        padding: 0 24px;
    }

    .successive-deans-cards-row {
        gap: 24px;
        margin-bottom: 0;
    }

    .successive-dean-card {
        flex: 0 0 250px;
        padding: 24px;
    }

    .successive-dean-image-wrapper {
        width: 140px;
        height: 140px;
    }

    .successive-dean-name {
        font-size: 16px;
    }

    .successive-dean-dates {
        font-size: 11px;
    }

    .admin-card-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .timeline-year-marker {
        width: 50px;
        height: 50px;
        font-size: 12px;
    }

    .deanship-section-title {
        font-size: 26px;
    }

    .deanship-stats-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .deanship-stat-card {
        padding: 24px;
    }

    .deanship-intro p {
        font-size: 15px;
    }
}

/* Dean Profile Page Styles */
.dean-profile-section {
    padding: 0;
    background-color: transparent;
    margin-top: -80px;
    position: relative;
    z-index: 10;
}

.dean-profile-card {
    background-color: #ffffff;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 48px;
    display: flex;
    gap: 48px;
    align-items: flex-start;
    max-width: 100%;
}

.dean-profile-image-wrapper {
    width: 150px;
    height: 150px;
    min-width: 150px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #1B2F56;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    flex-shrink: 0;
}

.dean-profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.dean-profile-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-top: 0;
}

.dean-profile-name {
    font-size: 22px;
    font-weight: 700;
    color: #374151;
    margin: 0;
    font-family: var(--font-english);
    line-height: 1.2;
}

.dean-profile-info-wrapper {
    display: flex;
    gap: 32px;
    align-items: stretch;
    margin-top: 4px;
}

.dean-profile-personal-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex: 0 0 25%;
    max-width: 25%;
    min-width: 220px;
}

.dean-info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: #374151;
    line-height: 1.5;
}

.dean-info-item span {
    font-size: 12px;
    font-weight: 500;
}

.dean-info-item i {
    color: #C8102E;
    width: 20px;
    text-align: center;
    font-size: 16px;
}

.dean-info-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
    flex-shrink: 0;
}

.dean-profile-separator {
    width: 1px;
    background-color: #e5e7eb;
    align-self: stretch;
    margin: 0 8px;
}

.dean-profile-professional-info {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 24px;
    align-items: flex-start;
}

.profile-detail-column {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.profile-detail-column-full {
    grid-column: span 2;
}

.profile-detail-label {
    font-weight: 600;
    color: #1B2F56;
    font-size: 16px;
}

.profile-detail-value {
    color: #374151;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.5;
}

/* Scientific Qualifications Section */
.scientific-qualifications-section {
    padding: 30px 0 10px;
}

.qualifications-card {
    background-color: #ffffff;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 48px;
}

.qualifications-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
}

.qualifications-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background-color: #eef2ff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qualifications-icon img {
    width: 32px;
    height: 32px;
}

.qualifications-title {
    font-size: 28px;
    font-weight: 700;
    color: #1B2F56;
    margin: 0;
    font-family: var(--font-english);
}

.qualifications-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.qualification-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-dark);
}

.list-bullet-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 2px;
    object-fit: contain;
}

/* Professional Career Section */
.professional-career-section {
    padding: 0  0 30px;
    background-color: #ffffff;
}

.career-card {
    background-color: #ffffff;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 48px;
}

.career-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
}

.career-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background-color: #eef2ff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1B2F56;
    font-size: 28px;
}

.career-title {
    font-size: 28px;
    font-weight: 700;
    color: #1B2F56;
    margin: 0;
    font-family: var(--font-english);
}

.career-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.career-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-dark);
}

.qualifications-icon img,
.career-icon img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}
/* Latest Announcements Section */
.faculty-page-main .announcements-section {
    width: 100%;
    padding: 0 0 80px 0;
    background-color: #f3f4f7;
}
/* Latest News Section */
.faculty-tab-content .news-section {
    width: 100%;
    padding: 80px 0 0 0;
    background-color: #f3f4f7;
    margin-top: 0;
    overflow: visible;
}
/* Responsive Styles for Dean Profile */
@media (max-width: 1024px) {
    .dean-profile-card {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .dean-profile-left {
        align-items: center;
    }
}

@media (max-width: 768px) {
    .dean-profile-card,
    .qualifications-card,
    .career-card {
        padding: 32px 24px;
    }

    .dean-profile-image-wrapper {
        width: 150px;
        height: 150px;
    }

    .qualifications-title,
    .career-title {
        font-size: 24px;
    }

    .profile-detail-row {
        flex-direction: column;
        gap: 8px;
    }

    .profile-detail-label {
        min-width: auto;
    }
}

@media (max-width: 768px) {
    .faculty-banner-section {
        height: 200px;
        min-height: 200px;
    }

    .faculty-banner-container {
        padding: 24px 16px;
    }

    .faculty-banner-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }

    .banner-text-content {
        width: 100%;
        gap: 12px;
    }

    .faculty-banner-section .banner-image-right {
        display: none;
    }

    .banner-title {
        font-size: 28px;
        line-height: 1.3;
    }

    .banner-subtitle {
        font-size: 16px;
        line-height: 1.5;
    }

    .banner-tabs-container {
        margin-left: auto;
        margin-right: auto;
        left: 0;
        right: 0;
        bottom: -20px;
        max-width: 90%;
        display: flex;
        justify-content: center;
    }

    .banner-tabs-nav {
        display: none;
    }

    .banner-tabs-dropdown {
        display: block;
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .faculty-banner-section {
        height: 180px;
        min-height: 180px;
    }

    .faculty-banner-container {
        padding: 20px 16px;
    }

    .faculty-banner-content {
        gap: 16px;
    }

    .banner-text-content {
        gap: 10px;
    }

    .banner-title {
        font-size: 22px;
        line-height: 1.4;
    }

    .banner-subtitle {
        font-size: 14px;
        line-height: 1.5;
    }

    .banner-tabs-container {
        margin-left: auto;
        margin-right: auto;
        left: 0;
        right: 0;
        bottom: -15px;
        max-width: 90%;
        display: flex;
        justify-content: center;
        border-radius: 14px;
    }

    .banner-tabs-nav {
        display: none;
    }

    .banner-tabs-dropdown {
        display: block;
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
        padding: 14px 20px;
        font-size: 15px;
        padding-right: 50px;
        border-width: 2px;
        border-radius: 14px;
    }

    .breadcrumb-container,
    .faculty-container {
        padding: 0 16px;
        width: 80%;
    }

    .admin-card-grid {
        grid-template-columns: 1fr;
    }
}

/* Guide Section Styles */
#faculty-guide-section {
    background-color: #fff;
}

.faculty-guide-section {
    padding: 40px 0;
}

/* Guide Intro */
.faculty-guide-intro {
    text-align: center;
    margin-bottom: 40px;
}

.faculty-guide-intro p {
    font-size: 16px;
    line-height: 1.7;
    color: #374151;
    margin: 0;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Guide Sub-tabs */
.guide-sub-tabs {
    display: flex;
    justify-content: center;
    gap: 0;
    margin-bottom: 40px;
    border-bottom: none;
}

.guide-sub-tab {
    background: none;
    border: none;
    padding: 16px 24px;
    font-size: 18px;
    font-weight: normal;
    color: #49454f;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    margin-bottom: 0;
}

.guide-sub-tab::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background-color: #e5e7eb;
    border-radius: 25px;
    width: 100%;
}

.guide-sub-tab:hover {
    color: #49454f;
}

.guide-sub-tab.active {
    color: var(--primary-red, #9f0000);
    font-weight: bold;
}

.guide-sub-tab.active::after {
    background-color: var(--primary-red, #9f0000);
}

/* Guide Content Panels */
.guide-content-panel {
    display: none;
}

.guide-content-panel.active {
    display: block;
}

/* Guide Accordions */
.guide-accordions {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 40px;
}

.guide-accordion-item {
    background: #fff;
    border-radius: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.guide-accordion-header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    background: #fff;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: background-color 0.2s ease;
}

.guide-accordion-header:hover {
    background-color: #f9fafb;
}

.guide-accordion-title {
    font-size: 16px;
    font-weight: 500;
    color: #374151;
    flex: 1;
}

.guide-accordion-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.guide-accordion-icon .accordion-chevron-icon {
    width: 16px;
    height: 16px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.guide-accordion-item.active .guide-accordion-icon .accordion-chevron-icon {
    transform: rotate(180deg);
}

.guide-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.guide-accordion-item.active .guide-accordion-content {
    max-height: 2000px;
}

.guide-accordion-body {
    padding: 0 24px 24px 24px;
    color: #4b5563;
    line-height: 1.6;
}

/* Curriculum Link */
.guide-curriculum-link {
    margin-top: 40px;
}

.curriculum-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 20px;
    border: 1px solid #3b82f6;
    border-radius: 12px;
    color: #374151;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.2s ease;
    background-color: #F3F7FF;
}

.curriculum-link-btn:hover {
    background-color: #eff6ff;
    border-color: #2563eb;
}

.curriculum-link-btn .pdf-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    object-fit: contain;
}

/* Exam Samples Section */
.guide-exam-samples {
    padding: 40px 0;
}

.exam-samples-year-section {
    margin-top: 60px;
}

.exam-samples-year-section:first-child {
    margin-top: 0;
}

.exam-samples-year {
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    color: #1c2434;
    margin-bottom: 40px;
}

.exam-samples-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.exam-sample-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: #F3F7FF;
    border: 1px solid;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
}

.exam-sample-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.exam-sample-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    object-fit: contain;
}

.exam-sample-title {
    font-size: 16px;
    font-weight: 500;
    color: #374151;
    line-height: 1.4;
}

/* No Content Message */
.no-content-message {
    min-height: 320px;
    padding: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.no-content-message p {
    font-size: 18px;
    color: #6b7280;
    margin: 0;
}

/* Listing Filters */
.listing-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin-bottom: 24px;
}

.listing-filters label {
    font-weight: 600;
    color: var(--section-title-color);
    font-size: 16px;
}

.listing-faculty-filter {
    padding: 10px 14px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    min-width: 220px;
    font-size: 15px;
    color: #374151;
    background-color: #ffffff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.listing-faculty-filter:focus {
    outline: none;
    border-color: var(--primary-red);
    box-shadow: 0 0 0 3px rgba(176, 19, 41, 0.15);
}

.listing-empty-state {
    display: none;
    width: 100%;
    padding: 24px;
    margin-bottom: 24px;
    border-radius: 12px;
    border: 1px dashed #d1d5db;
    background-color: #f9fafb;
    color: #4b5563;
    font-weight: 500;
    text-align: center;
}

.listing-empty-state.active {
    display: block;
}

.event-card-faculty {
    margin-top: 10px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
}

.event-card-faculty::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background-color: #ffba08;
    display: inline-block;
}

/* Specialization Single Page Styles */
.specialization-banner-section {
    position: relative;
    width: 100%;
    height: 220px;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 0;
}

.specialization-banner-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    height: 100%;
}

.specialization-banner-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.specialization-banner-container {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    z-index: 2;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    height: 100%;
}

.specialization-banner-content {
    display: flex;
    flex-direction: row;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0;
    position: relative;
}

.specialization-banner-text {
    color: #ffffff;
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

.specialization-banner-title {
    font-size: 40px;
    font-weight: 700;
    line-height: 1.2;
    color: #ffffff;
    font-family: var(--font-english);
    margin: 0;
}

.specialization-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 16px;
    color: #ffffff;
    margin: 4px 0 0;
}

.specialization-breadcrumb a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
}

.specialization-breadcrumb a:hover {
    text-decoration: underline;
}

.specialization-breadcrumb .breadcrumb-separator {
    opacity: 0.7;
}

.specialization-breadcrumb .breadcrumb-current {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
}

/* Program Details Card */
.program-details-section {
    width: 100%;
    padding: 40px 0 20px;
    background-color: #ffffff;
    margin-top: 0;
}

.program-details-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: flex-start;
}

.program-details-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 20px 32px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 32px;
    flex-wrap: wrap;
    margin-top: -20px;
    position: relative;
    z-index: 10;
}

.program-detail-item {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 0 1 auto;
    justify-content: flex-start;
}

.program-detail-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #eef2ff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.program-detail-icon-image {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.program-detail-text {
    font-size: 16px;
    font-weight: 500;
    color: #1B2F56;
    line-height: 1.5;
}

/* Specialization Concentrations Content (within tab panel) */
.specialization-concentrations-content {
    width: 100%;
}

.concentrations-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.concentration-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    border-bottom: 1px solid #e2e8f0;
    transition: background-color 0.2s ease;
}

.concentration-row:last-child {
    border-bottom: none;
}

.concentration-row:hover {
    background-color: #f8fafc;
}

.concentration-row-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.concentration-row-title {
    font-size: 18px;
    font-weight: 600;
    color: #1B2F56;
    margin: 0;
    line-height: 1.4;
}

.concentration-row-description {
    font-size: 14px;
    line-height: 1.6;
    color: #64748b;
    margin: 0;
}

.concentration-row-button {
    background: linear-gradient(135deg, #182F61 0%, #2563eb 100%);
    color: #ffffff;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    margin-left: 24px;
}

.concentration-row-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(24, 47, 97, 0.3);
}

.concentrations-loading,
.concentrations-error {
    text-align: center;
    padding: 40px 20px;
    grid-column: 1 / -1;
}

.concentrations-loading {
    color: #64748b;
}

.concentrations-loading p {
    font-size: 16px;
    margin: 0;
}

.concentrations-error {
    color: #ef4444;
}

.concentrations-error p {
    font-size: 16px;
    margin: 0 0 12px 0;
}

.concentrations-error .error-message {
    font-size: 14px;
    color: #64748b;
    font-style: italic;
}

/* Responsive Styles for Concentrations */
@media (max-width: 768px) {
    .concentrations-list {
        gap: 0;
    }

    .concentrations-title {
        font-size: 28px;
    }

    .concentration-row {
        flex-direction: column;
        align-items: flex-start;
        padding: 16px 0;
        gap: 16px;
    }

    .concentration-row-button {
        margin-left: 0;
        width: 100%;
    }
}

/* Specialization Content Section */
.specialization-content-section {
    width: 100%;
    padding: 20px 0 80px;
    background-color: #ffffff;
}

.specialization-content-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Specialization Tabs Navigation */
.specialization-tabs-nav {
    display: flex;
    gap: 0;
    margin-bottom: 40px;
    border-bottom: none;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.specialization-tabs-nav::-webkit-scrollbar {
    display: none;
}

.specialization-tab {
    background: none;
    border: none;
    padding: 16px 24px;
    font-size: 18px;
    font-weight: normal;
    color: #49454f;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    margin-bottom: 0;
    white-space: nowrap;
    font-family: var(--font-english);
    flex-shrink: 0;
}

.specialization-tab::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background-color: #e5e7eb;
    border-radius: 25px;
    width: 100%;
}

.specialization-tab:hover {
    color: #49454f;
}

.specialization-tab.active {
    color: var(--primary-red, #9f0000);
    font-weight: bold;
}

.specialization-tab.active::after {
    background-color: var(--primary-red, #9f0000);
}

/* Specialization Tab Content */
.specialization-tab-content {
    width: 100%;
}

.specialization-tab-panel {
    display: none;
}

.specialization-tab-panel.active {
    display: block !important;
    visibility: visible !important;
}

/* Description Content */
.specialization-description-content {
    width: 100%;
}

.specialization-description-text {
    font-size: 18px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 40px;
}

/* Languages Section */
.specialization-languages-section {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid #e5e7eb;
}

.languages-heading {
    font-size: 24px;
    font-weight: 600;
    color: #1B2F56;
    margin-bottom: 20px;
}

.languages-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.language-button {
    padding: 10px 15px;
    border: none;
    background-color: #f0f4ff;
    color: #1B2F56;
    border-radius: 24px;
    font-size: 16px;
    font-weight: 500;
    display: inline-block;
    transition: all 0.3s ease;
    font-family: var(--font-english);
}

.language-button:hover {
    background-color: #e0e7ff;
    border-color: #1B2F56;
    transform: translateY(-2px);
}

/* Requirements Content */
.specialization-requirements-content {
    width: 100%;
}

.requirements-title {
    font-size: 28px;
    font-weight: 700;
    color: #1B2F56;
    margin-bottom: 24px;
}

.requirements-subtitle {
    font-size: 22px;
    font-weight: 600;
    color: #1B2F56;
    margin: 32px 0 16px;
}

.requirements-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.requirements-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 16px;
    font-size: 18px;
    line-height: 1.8;
    color: #333;
}

.requirements-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    top: 0;
    color: #b00020;
    font-size: 24px;
    font-weight: bold;
    line-height: 1.5;
}

/* Job Opportunities Content */
.specialization-job-opportunities-content {
    width: 100%;
}

.job-opportunities-intro {
    font-size: 18px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 32px;
}

.job-opportunities-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.job-opportunity-item {
    font-size: 18px;
    line-height: 1.8;
    color: #333;
    position: relative;
    padding-left: 24px;
}

.job-opportunity-item::before {
    content: '•';
    position: absolute;
    left: 0;
    top: 0;
    color: #b00020;
    font-size: 24px;
    font-weight: bold;
    line-height: 1.5;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .specialization-banner-title {
        font-size: 32px;
    }

    .program-details-card {
        padding: 24px 32px;
        gap: 32px;
    }

    .program-detail-item {
        min-width: 180px;
    }
}

@media (max-width: 768px) {
    .specialization-banner-section {
        height: 180px;
        min-height: 180px;
    }

    .specialization-banner-container {
        padding: 24px 16px;
    }

    .specialization-banner-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .specialization-banner-section .banner-image-right {
        display: none;
    }

    .specialization-banner-text {
        width: 100%;
        gap: 8px;
    }

    .specialization-banner-title {
        font-size: 24px;
        line-height: 1.3;
    }

    .specialization-breadcrumb {
        font-size: 13px;
        gap: 6px;
        flex-wrap: wrap;
    }

    .program-details-card {
        flex-direction: column;
        align-items: flex-start;
        padding: 24px;
        gap: 24px;
    }

    .program-detail-item {
        width: 100%;
        justify-content: flex-start;
    }

    .specialization-tab {
        padding: 16px 24px;
        font-size: 16px;
    }

    .specialization-description-text {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .specialization-banner-section {
        height: 160px;
        min-height: 160px;
    }

    .specialization-banner-container {
        padding: 20px 16px;
    }

    .specialization-banner-title {
        font-size: 20px;
        line-height: 1.4;
    }

    .specialization-breadcrumb {
        font-size: 12px;
        gap: 4px;
    }
}

/* Course Modal Styles */
.course-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.course-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.course-modal-container {
    background: #ffffff;
    border-radius: 20px;
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.course-modal-overlay.active .course-modal-container {
    transform: scale(1);
}

.course-modal-header {
    padding: 24px 32px;
    border-bottom: 2px solid #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
}

.course-modal-title {
    font-size: 24px;
    font-weight: 700;
    color: #1B2F56;
    margin: 0;
}

.course-modal-close {
    background: transparent;
    border: none;
    font-size: 24px;
    color: #64748b;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.course-modal-close:hover {
    background: #f1f5f9;
    color: #1B2F56;
}

.course-modal-body {
    padding: 32px;
    overflow-y: auto;
    flex: 1;
}

.course-modal-empty {
    text-align: center;
    color: #64748b;
    font-size: 16px;
    padding: 40px 20px;
}

.course-modal-loading {
    text-align: center;
    padding: 60px 20px;
    color: #64748b;
}

.course-modal-loading p {
    font-size: 16px;
    margin: 0;
}

.course-modal-error {
    text-align: center;
    padding: 40px 20px;
    color: #ef4444;
}

.course-modal-error p {
    font-size: 16px;
    margin: 0 0 12px 0;
}

.course-modal-error .error-message {
    font-size: 14px;
    color: #64748b;
    font-style: italic;
}

.course-semester-section {
    margin-bottom: 0;
}

.course-semester-title {
    font-size: 20px;
    font-weight: 700;
    color: #1B2F56;
    margin: 0 0 12px 0;
    padding-bottom: 8px;
    border-bottom: 2px solid #e2e8f0;
}

.courses-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.course-item {
    background: #f8fafc;
    border-radius: 0;
    padding: 14px 16px;
    border: none;
    border-bottom: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.course-item:hover {
    background: #f1f5f9;
    border-bottom-color: #cbd5e1;
    transform: translateX(4px);
}

.course-item-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}

.course-item-title {
    font-size: 16px;
    font-weight: 600;
    color: #1B2F56;
    margin: 0;
    flex: 1;
    line-height: 1.4;
}

.course-concentration-badge {
    background: linear-gradient(135deg, #182F61 0%, #2563eb 100%);
    color: #ffffff;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 6px;
    white-space: nowrap;
    flex-shrink: 0;
}

.course-item-details {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    font-size: 14px;
    color: #64748b;
    line-height: 1.3;
}

.course-code {
    font-family: 'Courier New', monospace;
    font-weight: 600;
    color: #475569;
}

.course-separator {
    color: #cbd5e1;
}

.course-credits,
.course-hours {
    color: #64748b;
}

/* Responsive Styles for Modal */
@media (max-width: 768px) {
    .course-modal-container {
        max-width: 100%;
        max-height: 95vh;
        border-radius: 16px;
    }

    .course-modal-header {
        padding: 20px;
    }

    .course-modal-title {
        font-size: 20px;
    }

    .course-modal-body {
        padding: 20px;
    }

    .course-semester-title {
        font-size: 18px;
        margin-bottom: 10px;
        padding-bottom: 6px;
    }

    .course-item {
        padding: 12px 14px;
    }

    .course-item-title {
        font-size: 15px;
    }

    .course-item-details {
        font-size: 13px;
    }

    .courses-list {
        gap: 8px;
    }

    .course-semester-section {
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .course-modal-overlay {
        padding: 10px;
    }

    .course-modal-container {
        border-radius: 12px;
    }

    .course-modal-header {
        padding: 16px;
    }

    .course-modal-title {
        font-size: 18px;
    }

    .course-modal-body {
        padding: 16px;
    }

    .course-semester-title {
        font-size: 16px;
        margin-bottom: 8px;
        padding-bottom: 6px;
    }

    .course-item {
        padding: 10px 12px;
    }

    .course-item-title {
        font-size: 14px;
    }

    .courses-list {
        gap: 8px;
    }

    .course-semester-section {
        margin-bottom: 18px;
    }
}

/* Course Catalog Page Styles */
.course-catalog-section {
    width: 100%;
    padding: 30px 0;
    background-color: #f8fafc;
}

.course-catalog-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 16px;
}

.course-catalog-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin: 16px 0 0 0;
    line-height: 1.6;
}

.course-catalog-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.course-catalog-loading,
.course-catalog-empty,
.course-catalog-error {
    text-align: center;
    padding: 40px 20px;
    font-size: 18px;
    color: #64748b;
}

.course-catalog-error {
    color: #ef4444;
}

.course-catalog-error .error-message {
    font-size: 14px;
    color: #64748b;
    font-style: italic;
    margin-top: 12px;
}

/* Year and Semester Grid Styles */
.course-year-section {
    width: 100%;
    margin-bottom: 0;
}

.course-year-title {
    display: inline-flex;
    align-items: center;
    margin-bottom: 20px;
    padding: 8px 20px;
    border-radius: 10px;
    background-color: #eef4ff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    font-size: 18px;
    font-weight: 600;
    color: #175cd3;
}

.course-year-semesters-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 24px;
}

.course-semester-section {
    margin-bottom: 0;
}

/* Responsive styles for course catalog */
@media (max-width: 768px) {
    .course-catalog-section {
        padding: 24px 0;
    }

    .course-catalog-container {
        padding: 0 16px;
    }

    .course-catalog-content {
        gap: 32px;
    }

    .course-year-title {
        font-size: 22px;
        margin-bottom: 20px;
    }

    .course-year-semesters-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .course-catalog-header {
        margin-bottom: 24px;
    }

    .course-catalog-title {
        font-size: 32px;
    }

    .course-catalog-subtitle {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .course-catalog-section {
        padding: 20px 0;
    }

    .course-catalog-container {
        padding: 0 12px;
    }

    .course-catalog-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .course-catalog-title {
        font-size: 28px;
    }

    .course-catalog-subtitle {
        font-size: 15px;
    }
}



