/* Center 2 - Alternative Design Styles */

/* Burger Menu Styling */
.center-nav-burger {
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s ease;
    flex-shrink: 0;
    margin: 0;
}

.center-nav-burger:hover {
    opacity: 0.7;
}

.center-nav-burger-icon {
    width: 24px;
    height: 24px;
    display: block;
    filter: brightness(0) invert(1); /* Makes the icon white */
}

/* Hide burger menu on desktop */
@media (min-width: 769px) {
    .center-nav-burger {
        display: none !important;
    }
}

/* Hide center navigation on mobile */
@media (max-width: 768px) {
    .center-header-nav-alt {
        display: none !important;
    }
}

/* Header Alternative Design - Enhanced */
.center-header-section {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(135deg, #182F61 0%, #1B2F56 100%);
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    padding: 16px 0;
    backdrop-filter: blur(10px);
}

.center-header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.center-header-left {
    display: flex;
    align-items: center;
    gap: 12px; /* Reduced gap for tighter spacing */
    flex: 1;
}

/* Burger menu should be right after the name section */
.center-name-section + .center-nav-burger {
    margin-left: 12px; /* Gap after the name section */
    margin-right: 0;
}

.center-logo-section {
    flex-shrink: 0;
    position: relative;
}

.center-logo-image {
    max-height: 90px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.2));
    transition: transform 0.3s ease;
}

.center-logo-image:hover {
    transform: scale(1.05);
}

.center-name-section {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-left: 16px;
    border-left: 2px solid rgba(255, 255, 255, 0.2);
    margin-left: 0;
}

.center-name-line1 {
    font-size: 16px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    line-height: 1.3;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 13px;
}

.center-name-line2 {
    font-size: 26px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.center-header-nav-alt {
    padding: 10px 20px;
    display: flex;
    gap: 4px;
}

.center-nav-link-alt {
    color: #ffffff;
    font-weight: 600;
    padding: 10px 18px;
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    font-size: 15px;
    position: relative;
    white-space: nowrap;
}

.center-nav-link-alt::before {
    content: '';
    position: absolute;
    bottom: 6px;
    left: 18px;
    right: 18px;
    height: 2px;
    background: rgba(255, 255, 255, 0.5);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.center-nav-link-alt:hover {
    color: #ffffff;
    transform: translateY(-1px);
}

.center-nav-link-alt:hover::before {
    transform: scaleX(1);
}

.center-nav-link-alt.active {
    color: #ffffff;
}

.center-nav-link-alt.active::before {
    transform: scaleX(1);
}

/* Remove padding to eliminate space between header and banner */
.faculty-page-main {
    padding-top: 0;
}

/* Responsive Header Styles */
@media (max-width: 1024px) {
    .center-header-container {
        padding: 0 20px;
        gap: 24px;
    }
    
    .center-logo-image {
        max-height: 80px;
    }
    
    .center-name-line1 {
        font-size: 12px;
    }
    
    .center-name-line2 {
        font-size: 22px;
    }
    
    .center-header-nav-alt {
        padding: 8px 16px;
        gap: 2px;
    }
    
    .center-nav-link-alt {
        padding: 8px 14px;
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .center-header-section {
        padding: 12px 0;
    }
    
    .center-header-container {
        flex-direction: row;
        align-items: center;
        gap: 12px;
        padding: 0 16px;
    }
    
    .center-header-left {
        width: 100%;
        justify-content: flex-start;
        align-items: center;
        gap: 8px;
        flex-wrap: nowrap;
    }
    
    .center-logo-section {
        flex-shrink: 0;
    }
    
    .center-logo-image {
        max-height: 70px;
        width: auto;
    }
    
    .center-name-section {
        flex: 1;
        padding-left: 8px;
        min-width: 0; /* Allow text to shrink */
    }
    
    .center-name-line1 {
        font-size: 11px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .center-name-line2 {
        font-size: 18px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .center-nav-burger {
        margin-left: 8px;
        margin-right: 0;
        flex-shrink: 0;
        padding: 6px;
    }
    
    .center-nav-burger-icon {
        width: 20px;
        height: 20px;
    }
    
    .center-header-nav-alt {
        width: 100%;
        flex-wrap: wrap;
        padding: 8px 12px;
        gap: 4px;
        justify-content: flex-start;
    }
    
    .center-nav-link-alt {
        padding: 8px 12px;
        font-size: 13px;
    }
    
    .faculty-page-main {
        padding-top: 0;
    }
    
    /* Center Navigation Menu Section in Side Menu */
    .center-nav-menu-section {
        border-bottom: 1px solid #e8e9eb;
        padding-bottom: 16px;
        margin-bottom: 16px;
    }
    
    .center-nav-menu-list {
        list-style: none;
        padding: 0;
        margin: 0;
    }
    
    .center-nav-menu-item {
        display: flex;
        align-items: center;
        padding: 16px 20px;
        color: var(--text-dark);
        text-decoration: none;
        font-size: 15px;
        font-weight: 500;
        transition: all 0.2s ease;
        border-bottom: 1px solid #f0f2f5;
        border-left: 3px solid transparent;
    }
    
    .center-nav-menu-item:last-child {
        border-bottom: none;
    }
    
    .center-nav-menu-item:hover,
    .center-nav-menu-item.active {
        background-color: #f8f9fa;
        color: var(--primary-blue);
        border-left-color: var(--primary-blue);
        padding-left: 24px;
    }
}

@media (max-width: 480px) {
    .center-header-section {
        padding: 10px 0;
    }
    
    .center-header-container {
        padding: 0 12px;
        gap: 8px;
    }
    
    .center-header-left {
        gap: 6px;
    }
    
    .center-logo-image {
        max-height: 60px;
        width: auto;
    }
    
    .center-name-section {
        padding-left: 6px;
        gap: 2px;
        min-width: 0;
    }
    
    .center-name-line1 {
        font-size: 9px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .center-name-line2 {
        font-size: 16px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .center-nav-burger {
        margin-left: 6px;
        padding: 5px;
    }
    
    .center-nav-burger-icon {
        width: 18px;
        height: 18px;
    }
    
    .center-header-nav-alt {
        padding: 6px 10px;
    }
    
    .center-nav-link-alt {
        padding: 6px 10px;
        font-size: 12px;
    }
    
    .faculty-page-main {
        padding-top: 0;
    }
}

/* Banner Alternative Design - Fixed */
.center-banner-alt {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    overflow: hidden;
    margin-top: 0; /* Banner starts right after fixed header */
}

/* Desktop banner - ensure proper spacing */
@media (min-width: 769px) {
    .center-banner-alt {
        min-height: 550px;
    }
    
    .center-banner-container-alt {
        padding: 100px 24px;
    }
    
    .center-banner-title-alt {
        font-size: 52px;
    }
    
    .center-banner-subtitle-alt {
        font-size: 22px;
    }
    
    .btn-banner-alt {
        padding: 18px 40px;
        font-size: 17px;
    }
}

.center-banner-bg-alt {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
}

.center-banner-bg-alt .banner-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.banner-overlay-alt {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(24, 47, 97, 0.75) 0%, rgba(27, 47, 86, 0.65) 100%);
    z-index: 1;
}

.center-banner-container-alt {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 80px 24px;
}

.center-banner-content-alt {
    display: flex;
    flex-direction: column;
    text-align: center;
    gap: 40px;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.center-banner-text-alt {
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
}

.center-banner-title-alt {
    color: #ffffff;
    font-size: 48px;
    font-weight: 800;
    margin: 0 0 20px 0;
    text-shadow: 2px 2px 12px rgba(0, 0, 0, 0.4), 0 0 30px rgba(0, 0, 0, 0.2);
    line-height: 1.2;
    letter-spacing: -1px;
}

.center-banner-subtitle-alt {
    color: rgba(255, 255, 255, 0.95);
    font-size: 20px;
    font-weight: 400;
    margin: 0 0 40px 0;
    line-height: 1.6;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.banner-cta-alt {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 0;
    align-items: center;
}

.btn-banner-alt {
    padding: 16px 36px;
    background: #ffffff;
    color: #182F61;
    border-radius: 10px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    border: 2px solid transparent;
    display: inline-block;
    min-width: 160px;
}

.btn-banner-alt:hover {
    background: #f8f9fa;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    border-color: rgba(24, 47, 97, 0.1);
}

.btn-banner-outline-alt {
    background: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.btn-banner-outline-alt:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.9);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.center-banner-image-alt {
    display: none;
}

.center-banner-image-alt .banner-right-image {
    display: none;
}

/* Section Header Alternative */
.section-header-alt {
    text-align: center;
    margin-bottom: 32px;
}

.center-section-title-alt {
    font-size: 36px;
    font-weight: 700;
    color: #182F61;
    margin-bottom: 16px;
    position: relative;
    display: inline-block;
}

.center-section-title-alt::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #182F61 0%, #2563eb 100%);
    border-radius: 2px;
}


/* Specializations Alternative Design */
.center-specializations-alt {
    background: transparent;
    padding: 12px 0 50px 0;
    margin: 0;
}

.programs-grid.programs-grid-alt {
    display: grid !important;
    gap: 24px;
    grid-template-columns: repeat(3, 1fr) !important;
}

.programs-grid-alt .program-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 0;
    box-shadow: 0 8px 24px rgba(24, 47, 97, 0.08);
    border: 2px solid transparent;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.program-card-link {
    display: block;
    padding: 32px;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.programs-grid-alt .program-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #182F61 0%, #2563eb 100%);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.programs-grid-alt .program-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(24, 47, 97, 0.15);
    border-color: rgba(24, 47, 97, 0.2);
}

.programs-grid-alt .program-card:hover::before {
    transform: scaleX(1);
}

.programs-grid-alt .program-card-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding: 8px 20px;
    border-radius: 25px;
    background-color: #eef4ff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* All Badges - Light blue background with blue icon and text */
[data-degree="bachelor"] .program-card-badge,
[data-degree="professional-master"] .program-card-badge,
[data-degree="research-master"] .program-card-badge,
[data-degree="master"] .program-card-badge,
[data-degree="other"] .program-card-badge {
    background-color: #eef4ff;
    color: #175cd3;
}

.programs-grid-alt .program-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: auto;
    flex-shrink: 0;
}

.programs-grid-alt .program-card-icon img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    /* Make icon blue to match design - using filter to convert to #175cd3 blue */
    filter: brightness(0) saturate(100%) invert(40%) sepia(100%) saturate(2000%) hue-rotate(200deg) brightness(0.85);
}

.programs-grid-alt .program-card-degree {
    font-size: 16px;
    font-weight: 600;
    color: #175cd3;
}

.programs-grid-alt .program-card-title {
    font-size: 22px;
    margin-bottom: 16px;
    color: #182F61;
}

.programs-grid-alt .program-card-description {
    font-size: 15px;
    line-height: 1.7;
    color: #475569;
}

.program-card-concentrations-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 16px 0;
    padding: 0;
}

.program-card-concentrations-list .concentration-tag {
    padding: 6px 12px;
    background: rgba(24, 47, 97, 0.08);
    color: #182F61;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    border: 1px solid rgba(24, 47, 97, 0.15);
    transition: all 0.2s ease;
}

.program-card-concentrations-list .concentration-tag {
    cursor: pointer;
    position: relative;
    z-index: 10;
}

.program-card-concentrations-list .concentration-tag:hover {
    background: rgba(24, 47, 97, 0.12);
    border-color: rgba(24, 47, 97, 0.25);
}

.program-card-footer-alt {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
    font-size: 14px;
    color: #64748b;
    flex-wrap: wrap;
}

.program-card-code {
    font-family: 'Courier New', monospace;
    font-weight: 600;
    color: #64748b;
    font-size: 13px;
}

.program-card-duration,
.program-card-credits {
    font-weight: 600;
    color: #182F61;
}

.program-card-separator {
    color: #cbd5e1;
}

/* Programs Loading and Error States */
.programs-loading {
    text-align: center;
    padding: 60px 20px;
    color: #64748b;
    grid-column: 1 / -1;
}

.programs-loading p {
    font-size: 16px;
    margin: 0;
}

.programs-error {
    text-align: center;
    padding: 40px 20px;
    color: #ef4444;
    grid-column: 1 / -1;
}

.programs-error p {
    font-size: 16px;
    margin: 0 0 12px 0;
}

.programs-error .error-message {
    font-size: 14px;
    color: #64748b;
    font-style: italic;
}

.program-card-concentration {
    font-size: 12px;
    color: #2563eb;
    font-weight: 600;
    padding: 2px 8px;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 4px;
    margin-left: auto;
}

/* News Alternative Design */
.center-news-alt {
    background: #ffffff;
    padding: 50px 0;
}

.center-news-container-alt {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.center-news-header-alt {
    margin-bottom: 32px;
}

.center-news-header-alt .section-header-alt {
    text-align: center;
}

.center-news-alt .news-card {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.center-news-alt .news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

/* Events Alternative Design */
.center-events-alt {
    background: transparent;
    padding: 50px 0;
}

.center-events-container-alt {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.center-events-content-alt {
    gap: 40px;
}

.center-upcoming-events-alt {
    margin-bottom: 40px;
}

.center-upcoming-events-alt .section-header-alt {
    text-align: left;
}

.center-upcoming-events-alt .center-section-title-alt::after {
    left: 0;
    transform: none;
}

.center-upcoming-events-alt .upcoming-event-card {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.center-upcoming-events-alt .upcoming-event-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.center-past-events-alt .past-event-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    background: #ffffff;
}

.center-past-events-alt .past-event-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.center-past-events-alt .section-header-alt {
    text-align: left;
}

.center-past-events-alt .center-section-title-alt::after {
    left: 0;
    transform: none;
}

/* Contact Alternative Design */
.center-contact-alt {
    background: transparent;
    padding: 50px 0;
    margin-top: 0;
}

.center-contact-alt .branch-contact-box {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.center-contact-alt .contact-box-title {
    color: #182F61;
    font-size: 28px;
    margin-bottom: 24px;
}

.center-contact-alt .contact-info-label {
    color: #64748b;
    font-weight: 600;
}

.center-contact-alt .contact-info-value {
    color: #182F61;
    font-weight: 500;
}

.center-contact-alt .branch-map-container {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

/* History Alternative Design */
.center-history-alt {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    padding: 40px 30px;
    border-radius: 20px;
    margin-bottom: 40px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.history-content-alt {
    display: flex;
    align-items: flex-start;
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto;
}

.history-icon-alt {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #182F61 0%, #2563eb 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 32px;
    box-shadow: 0 8px 20px rgba(24, 47, 97, 0.2);
}

.history-text-wrapper-alt {
    flex: 1;
}

.history-title-alt {
    font-size: 28px;
    font-weight: 700;
    color: #182F61;
    margin-bottom: 16px;
}

.history-text-alt {
    font-size: 16px;
    line-height: 1.8;
    color: #475569;
    margin: 0;
}

/* Responsive Styles for Alternative Design */
@media (max-width: 1024px) {
    .center-banner-alt {
        min-height: 380px;
    }
    
    .center-banner-container-alt {
        padding: 35px 20px;
    }
    
    .center-banner-title-alt {
        font-size: 36px;
    }
    
    .center-banner-subtitle-alt {
        font-size: 17px;
    }
    
    .center-section-title-alt {
        font-size: 32px;
    }
    
    .btn-banner-alt {
        padding: 14px 28px;
        font-size: 15px;
    }
    
    .programs-grid.programs-grid-alt {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

@media (max-width: 900px) {
    .programs-grid.programs-grid-alt {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 768px) {
    .center-header-nav-alt {
        padding: 10px 16px;
        flex-direction: column;
        gap: 8px;
    }
    
    .center-banner-alt {
        min-height: 350px;
        margin-top: 0;
    }
    
    .center-banner-container-alt {
        padding: 40px 16px;
    }
    
    .center-banner-title-alt {
        font-size: 28px;
        margin-bottom: 16px;
        line-height: 1.3;
    }
    
    .center-banner-subtitle-alt {
        font-size: 15px;
        margin-bottom: 24px;
        line-height: 1.5;
    }
    
    .banner-cta-alt {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }
    
    .btn-banner-alt {
        width: 100%;
        text-align: center;
        padding: 12px 20px;
        font-size: 14px;
    }
    
    .center-section-title-alt {
        font-size: 24px;
        margin-bottom: 24px;
    }
    
    .programs-grid.programs-grid-alt {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }
    
    /* History section mobile */
    .center-history-alt {
        padding: 30px 20px;
        margin-bottom: 30px;
    }
    
    .history-content-alt {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .history-icon-alt {
        width: 60px;
        height: 60px;
        font-size: 24px;
        margin: 0 auto;
    }
    
    .history-title-alt {
        font-size: 22px;
        margin-bottom: 12px;
    }
    
    .history-text-alt {
        font-size: 14px;
        line-height: 1.6;
    }
    
    /* News section mobile */
    .center-news-alt {
        padding: 40px 0;
    }
    
    .center-news-container-alt {
        padding: 0 16px;
    }
    
    /* Events section mobile */
    .center-events-alt {
        padding: 40px 0;
    }
    
    .center-events-container-alt {
        padding: 0 16px;
    }
    
    /* Contact section mobile */
    .center-contact-alt {
        padding: 40px 0;
    }
    
    .center-contact-alt .branch-contact-box {
        padding: 24px 20px;
        margin-bottom: 20px;
    }
    
    .center-contact-alt .contact-box-title {
        font-size: 22px;
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .center-banner-alt {
        min-height: 300px;
    }
    
    .center-banner-container-alt {
        padding: 30px 12px;
    }
    
    .center-banner-title-alt {
        font-size: 24px;
        margin-bottom: 12px;
        letter-spacing: -0.5px;
        line-height: 1.2;
    }
    
    .center-banner-subtitle-alt {
        font-size: 14px;
        margin-bottom: 20px;
        line-height: 1.4;
    }
    
    .banner-cta-alt {
        gap: 10px;
    }
    
    .btn-banner-alt {
        padding: 10px 18px;
        font-size: 13px;
        min-width: auto;
    }
    
    .center-section-title-alt {
        font-size: 22px;
        margin-bottom: 20px;
    }
    
    .history-content-alt {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
    
    .history-icon-alt {
        width: 50px;
        height: 50px;
        font-size: 20px;
        margin: 0 auto;
    }
    
    .history-title-alt {
        font-size: 20px;
        margin-bottom: 10px;
    }
    
    .history-text-alt {
        font-size: 13px;
        line-height: 1.5;
    }
    
    .center-history-alt {
        padding: 24px 16px;
        margin-bottom: 24px;
    }
    
    .center-contact-alt .branch-contact-box {
        padding: 20px 16px;
    }
    
    .center-contact-alt .contact-box-title {
        font-size: 20px;
        margin-bottom: 16px;
    }
    
    /* Programs grid small mobile */
    .programs-grid.programs-grid-alt {
        gap: 16px;
    }
    
    /* News section small mobile */
    .center-news-alt {
        padding: 30px 0;
    }
    
    /* Events section small mobile */
    .center-events-alt {
        padding: 30px 0;
    }
}


/* Course Catalog 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: 40px;
}

.course-semester-section:last-child {
    margin-bottom: 0;
}

.course-semester-title {
    font-size: 20px;
    font-weight: 700;
    color: #1B2F56;
    margin: 0 0 20px 0;
    padding-bottom: 12px;
    border-bottom: 2px solid #e2e8f0;
}

.courses-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.course-item {
    background: #f8fafc;
    border-radius: 12px;
    padding: 20px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.course-item:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
    transform: translateX(4px);
}

.course-item-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.course-item-title {
    font-size: 16px;
    font-weight: 600;
    color: #1B2F56;
    margin: 0;
    flex: 1;
    line-height: 1.5;
}

.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: 8px;
    flex-wrap: wrap;
    font-size: 14px;
    color: #64748b;
}

.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;
    }

    .course-item {
        padding: 16px;
    }

    .course-item-title {
        font-size: 15px;
    }

    .course-item-details {
        font-size: 13px;
    }
}

@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-item-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .course-concentration-badge {
        align-self: flex-start;
    }
}

