:root {
    --primary-red: #8B1538;
    --dark-red: #6B1028;
    --light-gray: #F8F9FA;
    --text-dark: #2C3E50;
    --text-gray: #6C757D;
}

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

html {
    scroll-behavior: smooth;
}

/* Enhanced smooth scrolling for all browsers */
* {
    scroll-behavior: smooth;
}

/* Custom smooth scrolling for better control */
.smooth-scroll {
    scroll-behavior: smooth;
}

/* Smooth scrolling for anchor links */
a[href^="#"] {
    scroll-behavior: smooth;
}

body {
    font-family: 'Canela', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

.font-playfair {
    font-family: 'Playfair Display', serif;
}

/* Imperial Advantage Highlight */
.imperial-advantage-highlight {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.advantage-card {
    background: #8b1538;
    border-radius: 20px;
    padding: 50px 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border: 1px solid #e9ecef;
    position: relative;
    overflow: hidden;
}

.advantage-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-red), var(--dark-red));
}

.advantage-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--primary-red), var(--dark-red));
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 1px;
    margin-bottom: 30px;
    box-shadow: 0 8px 25px rgba(139, 21, 56, 0.3);
}

.badge-icon {
    font-size: 1.1rem;
}

.advantage-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    font-weight: 700;
    color:  #ffffff;
    margin-bottom: 40px;
    line-height: 1.3;
    text-align: center;
}

.advantage-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 15px;
    border-left: 4px solid var(--primary-red);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    background: white;
}

.feature-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-red), var(--dark-red));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.4rem;
    box-shadow: 0 8px 20px rgba(139, 21, 56, 0.3);
}

.feature-text {
    flex: 1;
}

.feature-text strong {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    display: block;
    margin-bottom: 8px;
}

.feature-text p {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: var(--text-gray);
    margin: 0;
    line-height: 1.6;
}

/* Transform Your Future CTA Section */
.cta-transform-section {
    padding: 80px 0;
}

.cta-gradient-wrapper {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--dark-red) 100%);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

.cta-gradient-wrapper::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.1), transparent);
    transform: rotate(45deg);
    pointer-events: none;
}

.cta-content {
    padding: 60px 40px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    font-weight: 600;
    color: white!important;
    margin-bottom: 15px;
}

.cta-subtitle {
    font-family: 'Canela', sans-serif;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-btn {
    display: inline-block;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-family: 'Canela', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    text-align: center;
    min-width: 180px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.cta-btn-primary {
    background: white;
    color: var(--primary-red);
    border-color: white;
}

.cta-btn-primary:hover {
    background: transparent;
    color: white;
    border-color: white;
    text-decoration: none;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.cta-btn-secondary {
    background: transparent;
    color: white;
    border-color: white;
}

.cta-btn-secondary:hover {
    background: white;
    color: var(--primary-red);
    text-decoration: none;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

/* Responsive Design for CTA Section */
@media (max-width: 991.98px) {
    .imperial-advantage-highlight {
        padding: 60px 0;
    }
    
    .advantage-card {
        padding: 40px 30px;
    }
    
    .advantage-title {
        font-size: 2rem;
    }
    
    .advantage-features {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .feature-item {
        padding: 20px;
    }
    
    .cta-transform-section {
        padding: 60px 0;
    }
    
    .cta-content {
        padding: 50px 30px;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 767.98px) {
    .imperial-advantage-highlight {
        padding: 50px 0;
    }
    
    .advantage-card {
        padding: 30px 25px;
    }
    
    .advantage-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }
    
    .feature-item {
        flex-direction: column;
        text-align: center;
        padding: 25px 20px;
    }
    
    .feature-icon {
        margin: 0 auto 15px auto;
    }
    
    .cta-transform-section {
        padding: 50px 0;
    }
    
    .cta-content {
        padding: 40px 20px;
    }
    
    .cta-title {
        font-size: 1.8rem;
    }
    
    .cta-subtitle {
        font-size: 1rem;
    }
    
    .cta-btn {
        padding: 12px 30px;
        font-size: 1rem;
        min-width: 160px;
    }
}

@media (max-width: 575.98px) {
    .imperial-advantage-highlight {
        padding: 40px 0;
    }
    
    .advantage-card {
        padding: 25px 20px;
        border-radius: 15px;
    }
    
    .advantage-title {
        font-size: 1.6rem;
    }
    
    .advantage-badge {
        padding: 10px 20px;
        font-size: 0.8rem;
    }
    
    .feature-item {
        padding: 20px 15px;
    }
    
    .feature-icon {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
    
    .feature-text strong {
        font-size: 1.1rem;
    }
    
    .feature-text p {
        font-size: 0.95rem;
    }
    
    .cta-transform-section {
        padding: 40px 0;
    }
    
    .cta-title {
        font-size: 1.6rem;
    }
    
    .cta-buttons {
        gap: 15px;
    }
    
    .cta-btn {
        min-width: 140px;
    }
}

/* Modern Header Styles */
.header-logo {
    height: 90px;
    width: auto;
    display: block;
    transition: transform 0.3s ease;
    max-width: 350px;
    object-fit: contain;
}

.header-logo:hover {
    transform: scale(1.05);
}

.main-header {
    background: #ffffff;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(139, 21, 56, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 12px 0;
    transition: all 0.3s ease;
}

.main-header.scrolled {
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.logo-container {
    display: flex;
    align-items: center;
    position: relative;
    padding: 8px 0;
    min-width: 220px;
}



.main-nav {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0;
}

.main-nav > li {
    position: relative;
    margin: 0 5px;
}

.main-nav > li > a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 15px;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.main-nav > li > a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(139, 21, 56, 0.1), transparent);
    transition: left 0.5s ease;
}

.main-nav > li > a:hover::before {
    left: 100%;
}

.main-nav > li > a:hover {
    color: var(--primary-red);
    background: rgba(139, 21, 56, 0.05);
    transform: translateY(-2px);
}

.main-nav > li > a.active {
    color: var(--primary-red);
    background: rgba(139, 21, 56, 0.1);
}

/* Enhanced Dropdown Styles */
.dropdown-toggle {
    cursor: pointer;
}

.dropdown-toggle i {
    transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-toggle i {
    transform: rotate(180deg);
}

/* Mega Menu Styles */
.mega-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    width: 800px;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    padding: 30px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(139, 21, 56, 0.1);
    z-index: 1001;
}

.main-nav > li:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.mega-menu::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid rgba(255, 255, 255, 0.98);
}

.mega-menu-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.mega-menu-column {
    position: relative;
}

.mega-menu-column:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -15px;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(to bottom, transparent, rgba(139, 21, 56, 0.2), transparent);
}

.mega-menu-column h4 {
    color: var(--primary-red);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid rgba(139, 21, 56, 0.1);
}

.mega-menu-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mega-menu-column ul li {
    margin-bottom: 8px;
}

.mega-menu-column ul li a {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 0;
    display: block;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 15px;
}

.mega-menu-column ul li a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 0;
    background: var(--primary-red);
    transition: height 0.3s ease;
}

.mega-menu-column ul li a:hover {
    color: var(--primary-red);
    transform: translateX(5px);
}

.mega-menu-column ul li a:hover::before {
    height: 60%;
}

/* Regular dropdown menu (for other dropdowns) */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    min-width: 280px;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(139, 21, 56, 0.1);
    z-index: 1001;
}

.main-nav > li:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid rgba(255, 255, 255, 0.98);
}

.dropdown-menu .dropdown-item {
    display: flex;
    align-items: center;
    padding: 12px 25px;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    margin: 5px 15px;
    border-radius: 8px;
    white-space: nowrap;
}

.dropdown-menu .dropdown-item i {
    width: 20px;
    text-align: center;
    color: var(--primary-red);
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.dropdown-menu .dropdown-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 0;
    background: var(--primary-red);
    transition: height 0.3s ease;
}

.dropdown-menu .dropdown-item:hover {
    background: rgba(139, 21, 56, 0.08);
    color: var(--primary-red);
    transform: translateX(5px);
}

.dropdown-menu .dropdown-item:hover::before {
    height: 60%;
}

.dropdown-menu .dropdown-item:hover i {
    opacity: 1;
}

/* Force About dropdown to work */
#aboutDropdown:hover #aboutMenu {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateX(-50%) translateY(0) !important;
    display: block !important;
}

/* About dropdown styling to match faculty.html */
#aboutMenu a {
    display: block;
    padding: 12px 25px;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

#aboutMenu a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 0;
    background: var(--primary-red);
    transition: height 0.3s ease;
}

#aboutMenu a:hover {
    color: var(--primary-red);
    background: rgba(139, 21, 56, 0.05);
    transform: translateX(5px);
}

#aboutMenu a:hover::before {
    height: 60%;
}

/* Modern Mobile Menu */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(139, 21, 56, 0.05);
    align-items: center;
    justify-content: center;
    z-index: 1002;
    min-width: 44px;
    min-height: 44px;
}

.mobile-menu-toggle:hover {
    background: rgba(139, 21, 56, 0.1);
    transform: scale(1.05);
}

.mobile-menu-toggle:focus {
    outline: 2px solid var(--primary-red);
    outline-offset: 2px;
}

.mobile-menu-toggle:active {
    transform: scale(0.95);
}

.hamburger {
    width: 20px;
    height: 16px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hamburger span {
    display: block;
    height: 2px;
    width: 100%;
    background: var(--primary-red);
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.mobile-menu-toggle.active .hamburger span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu-toggle.active .hamburger span:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

.mobile-menu-toggle.active .hamburger span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Navigation Overlay */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 15px;
    overflow: hidden;
    -webkit-overflow-scrolling: touch;
    pointer-events: none;
}

.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.mobile-nav-content {
    width: 100%;
    max-width: 280px;
    background: rgba(255, 255, 255, 0.98);
    border-radius: 12px;
    padding: 20px;
    margin-top: 50px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    max-height: calc(100vh - 100px);
    overflow-y: auto;
    position: relative;
    -webkit-overflow-scrolling: touch;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.mobile-nav-overlay.active .mobile-nav-content {
    transform: translateX(0);
}

.mobile-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav-list li {
    margin: 0;
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.mobile-nav-list li:last-child {
    border-bottom: none;
}

.mobile-nav-overlay.active .mobile-nav-list li {
    opacity: 1;
    transform: translateX(0);
}

.mobile-nav-list li:nth-child(1) { transition-delay: 0.1s; }
.mobile-nav-list li:nth-child(2) { transition-delay: 0.15s; }
.mobile-nav-list li:nth-child(3) { transition-delay: 0.2s; }
.mobile-nav-list li:nth-child(4) { transition-delay: 0.25s; }
.mobile-nav-list li:nth-child(5) { transition-delay: 0.3s; }
.mobile-nav-list li:nth-child(6) { transition-delay: 0.35s; }
.mobile-nav-list li:nth-child(7) { transition-delay: 0.4s; }
.mobile-nav-list li:nth-child(8) { transition-delay: 0.45s; }

.mobile-nav-list a {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    padding: 15px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
    position: relative;
}

.mobile-nav-list a:hover {
    color: var(--primary-red);
    background: rgba(139, 21, 56, 0.05);
    padding-left: 10px;
}

.mobile-nav-list a.active {
    color: var(--primary-red);
    font-weight: 600;
}

/* Mobile Dropdown Styles */
.mobile-dropdown-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}

.mobile-dropdown-toggle i {
    transition: transform 0.3s ease;
    font-size: 12px;
    color: var(--text-gray);
}

.mobile-dropdown.active .mobile-dropdown-toggle i {
    transform: rotate(180deg);
}

.mobile-dropdown-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: rgba(139, 21, 56, 0.05);
    border-radius: 8px;
    margin-top: 5px;
}

.mobile-dropdown.active .mobile-dropdown-menu {
    max-height: 400px;
    padding: 10px 0;
}

.mobile-dropdown-menu li {
    margin: 0;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.mobile-dropdown-menu li:last-child {
    border-bottom: none;
}

.mobile-dropdown.active .mobile-dropdown-menu li {
    opacity: 1;
    transform: translateX(0);
}

.mobile-dropdown-menu li:nth-child(1) { transition-delay: 0.1s; }
.mobile-dropdown-menu li:nth-child(2) { transition-delay: 0.15s; }
.mobile-dropdown-menu li:nth-child(3) { transition-delay: 0.2s; }
.mobile-dropdown-menu li:nth-child(4) { transition-delay: 0.25s; }
.mobile-dropdown-menu li:nth-child(5) { transition-delay: 0.3s; }
.mobile-dropdown-menu li:nth-child(6) { transition-delay: 0.35s; }

.mobile-dropdown-menu a {
    font-size: 14px;
    padding: 12px 20px;
    color: var(--text-dark);
    display: block;
    transition: all 0.3s ease;
}

.mobile-dropdown-menu a:hover {
    color: var(--primary-red);
    background: rgba(139, 21, 56, 0.1);
    padding-left: 25px;
}

.mobile-nav-close {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary-red);
    border: none;
    color: white;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1001;
    box-shadow: 0 4px 12px rgba(139, 21, 56, 0.3);
    pointer-events: auto;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    min-width: 40px;
    min-height: 40px;
}

.mobile-nav-close:hover {
    background: var(--dark-red);
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(139, 21, 56, 0.4);
}

.mobile-nav-close:focus {
    outline: 2px solid white;
    outline-offset: 2px;
}

.mobile-nav-close:active {
    transform: scale(0.95);
}

/* Responsive Design */
@media (max-width: 991.98px) {
    .main-nav {
        display: none !important;
    }
    
    .mobile-menu-toggle {
        display: flex !important;
    }
    

}

/* Early mobile switch for problematic screen sizes */
@media (max-width: 1050px) {
    .main-nav > li {
        margin: 0 4px;
    }

    .main-nav > li > a {
        font-size: 11px;
        padding: 8px 8px;
    }

    .logo-container {
        min-width: 180px;
    }

    .header-logo {
        height: 80px;
        max-width: 310px;
    }
}

/* Mobile Menu Responsive Improvements */
@media (max-width: 768px) {
    .header-logo {
        height: 75px;
        max-width: 290px;
    }
    
    .logo-container {
        min-width: 200px;
        padding: 5px 0;
    }
    
    .main-header {
        padding: 8px 0;
    }
    
    .mobile-nav-overlay {
        padding: 12px;
    }
    
    .mobile-nav-content {
        max-width: 320px;
        margin-top: 60px;
        border-radius: 12px;
        padding: 20px;
        max-height: calc(100vh - 120px);
    }
    
    .mobile-nav-close {
        top: 15px;
        left: 15px;
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .mobile-nav-list a {
        font-size: 16px;
        padding: 15px 0;
    }
}

/* Extra Small Mobile Devices */
@media (max-width: 480px) {
    .header-logo {
        height: 65px;
        max-width: 250px;
    }
    
    .logo-container {
        min-width: 170px;
    }
    
    .main-header {
        padding: 6px 0;
    }
    
    .mobile-dropdown-menu a {
        font-size: 14px;
        padding: 12px 20px;
    }
}

/* Tablet mobile menu improvements */
@media (min-width: 768px) and (max-width: 1024px) {
    .mobile-nav-overlay {
        padding: 20px;
    }
    
    .mobile-nav-content {
        max-width: 400px;
        margin-top: 80px;
        border-radius: 15px;
        padding: 30px;
        max-height: calc(100vh - 160px);
    }
    
    .mobile-nav-close {
        top: 20px;
        left: 20px;
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
    
    .mobile-nav-list a {
        font-size: 18px;
        padding: 18px 0;
    }
    
    .mobile-dropdown-menu a {
        font-size: 16px;
        padding: 15px 25px;
    }
}

@media (max-width: 480px) {
    .mobile-nav-overlay {
        padding: 10px;
    }
    
    .mobile-nav-content {
        max-width: 100%;
        margin-top: 40px;
        border-radius: 8px;
        padding: 15px;
        max-height: calc(100vh - 80px);
    }
    
    .mobile-nav-close {
        top: 10px;
        left: 10px;
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
    
    .mobile-nav-list a {
        font-size: 15px;
        padding: 12px 0;
    }
    
    .mobile-dropdown-menu a {
        font-size: 13px;
        padding: 10px 15px;
    }
}

@media (max-width: 360px) {
    .mobile-nav-content {
        margin-top: 30px;
        padding: 12px;
        max-height: calc(100vh - 60px);
    }
    
    .mobile-nav-list a {
        font-size: 14px;
        padding: 10px 0;
    }
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('/img/imperial-academy-banner.png');
    background-size: cover;
    background-position: center;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    position: relative;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    line-height: 1.1;
    margin-bottom: 30px;
}

.hero-cta {
    background: var(--primary-red);
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 5px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.hero-cta:hover {
    background: var(--dark-red);
    color: white;
    transform: translateY(-2px);
}

.hero-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hero-card {
    background: rgba(255,255,255,0.95);
    padding: 25px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    min-width: 280px;
}

.hero-card h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.hero-card p {
    color: var(--text-gray);
    font-size: 14px;
    line-height: 1.5;
}

/* About Section */
.about-section {
    padding: 100px 0;
    background: white;
}

.section-badge {
    background: var(--light-gray);
    color: var(--text-gray);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    display: inline-block;
    margin-bottom: 20px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.2;
}

.section-description {
    color: var(--text-gray);
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 40px;
}

.about-images {
    position: relative;
}

.about-main-image {
    width: 100%;
    border-radius: 15px;
    overflow: hidden;
}

.about-main-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.about-overlay-image {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 200px;
    height: 150px;
    border-radius: 15px;
    overflow: hidden;
    border: 5px solid white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.about-overlay-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.excellence-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--primary-red);
    color: white;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-weight: 600;
    font-size: 14px;
    line-height: 1.2;
}

.mission-vision-cards {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.mv-card {
    flex: 1;
    padding: 25px;
    border: 2px solid #E9ECEF;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
}

.mv-card:hover {
    border-color: var(--primary-red);
    transform: translateY(-5px);
}

.mv-card i {
    font-size: 40px;
    color: var(--primary-red);
    margin-bottom: 15px;
}

.mv-card h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.mv-card p {
    color: var(--text-gray);
    font-size: 14px;
    line-height: 1.5;
}

.learn-more-btn {
    background: var(--primary-red);
    color: white;
    border: none;
    padding: 12px 25px;
    font-weight: 600;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
    margin-top: 20px;
    transition: all 0.3s ease;
}

.learn-more-btn:hover {
    background: var(--dark-red);
    color: white;
    transform: translateY(-2px);
}

/* Stats Section */
.stats-section {
    background:  #8b1538;
    padding: 60px 0;
}

.stat-item {
    text-align: center;
    color: #000000;
}

.stat-item h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.stat-item h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.stat-item p {
    font-size: 14px;
    opacity: 0.9;
}

/* Campus Life Section */
.campus-section {
    background: var(--primary-red);
    padding: 100px 0;
    color: white;
}

.campus-title {
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
}

.campus-subtitle {
    text-align: center;
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.campus-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.campus-item {
    text-align: center;
}

.campus-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 20px;
}

.campus-item h4 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
}

.campus-item a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.campus-item a:hover {
    opacity: 0.8;
}

/* Academics Section */
.academics-section {
    padding: 100px 0;
    background: white;
}

.academics-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 60px;
}

.program-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.program-card {
    background: white;
    border: 2px solid #E9ECEF;
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.program-card.featured {
    background: var(--primary-red);
    border-color: var(--primary-red);
    color: white;
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.program-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 30px;
}

.program-list {
    list-style: none;
    padding: 0;
}

.program-list li {
    padding: 12px 20px;
    margin-bottom: 10px;
    background: var(--light-gray);
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
}

.program-card.featured .program-list li {
    background: rgba(255,255,255,0.2);
    color: white;
}

.academics-cards-row {
  margin-top: 40px;
  margin-bottom: 40px;
}

.academics-col {
  background: #f8f9fa;
  transition: background 0.5s, color 0.5s;
  display: flex;
  align-items: stretch;
  min-height: 350px;
  position: relative;
  padding: 40px 0;
}

.academics-card {
  width: 100%;
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: 100%;
}
.academics-card h3 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 30px;
}

.academics-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 18px;
  padding: 12px 20px;
  background: transparent;
  border: 2px solid #2C3E50;
  border-radius: 0;
  color: #2C3E50;
  font-size: 1.1rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.3s, color 0.3s, border 0.3s;
  position: relative;
}
.academics-btn span {
  margin-left: 10px;
  font-size: 1.2em;
  transition: transform 0.3s;
}

.academics-btn:hover, .academics-btn:focus {
  background: var(--primary-red);
  color: #fff;
  border-color: var(--primary-red);
}
.academics-btn:hover span, .academics-btn:focus span {
  transform: translateX(5px);
}
.academics-col:hover,
.academics-col:focus-within {
  background: #8B1538;
  color: #fff;
}

.academics-col:hover .academics-card,
.academics-col:focus-within .academics-card,
.academics-col:hover .academics-btn,
.academics-col:focus-within .academics-btn {
  color: #fff;
  border-color: #fff;
}
.academics-col:hover .academics-btn:hover,
.academics-col:focus-within .academics-btn:focus {
  background: rgba(255,255,255,0.15);
  color: #fff;
  border-color: #fff;
}

/* Scholarships Section */
.scholarships-section {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('https://themewant.com/products/wordpress/unipix/wp-content/uploads/2024/12/program-bg-668e63dc5b443.webp');
    background-size: cover;
    background-position: center;
    padding: 100px 0;
    color: white;
    text-align: center;
}

.scholarships-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.scholarships-section p {
    font-size: 16px;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.view-more-btn {
    background: var(--primary-red);
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 5px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.view-more-btn:hover {
    background: var(--dark-red);
    color: white;
    transform: translateY(-2px);
}

/* Enhanced Testimonials Section */
.testimonials-section {
    background: var(--primary-red);
    padding: 80px 0;
    overflow: hidden;
    color: white;
}

.testimonials-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

/* Left Side - Text Content */
.testimonials-text {
    padding-right: 40px;
}

.testimonials-title {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 25px;
    line-height: 1.2;
}

.testimonials-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 40px;
}

/* Navigation Controls */
.testimonials-nav {
    display: flex;
    gap: 15px;
}

.nav-btn {
    width: 50px;
    height: 50px;
    border: 2px solid white;
    background: transparent;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.nav-btn:hover {
    background: white;
    color: var(--primary-red);
    transform: scale(1.1);
}

.nav-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* Right Side - Carousel */
.testimonials-carousel-wrapper {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.testimonials-carousel {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    gap: 20px;
}

/* Testimonial Cards */
.testimonial-card {
    background: white;
    border-radius: 12px;
    padding: 25px 20px;
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    flex-shrink: 0;
    position: relative;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.testimonial-card .testimonial-text {
    color: var(--text-dark);
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 20px;
    font-style: italic;
    min-height: 100px;
}

.testimonial-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
}

.testimonial-author-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-details {
    display: flex;
    flex-direction: column;
}

.testimonial-author {
    font-weight: 700;
    color: var(--text-dark);
    font-size: 1.1rem;
    margin-bottom: 2px;
}

.testimonial-role {
    color: var(--text-gray);
    font-size: 0.9rem;
}

.testimonial-quote {
    color: var(--primary-red);
    font-size: 3rem;
    opacity: 0.3;
}

/* Inspiring Stories Section */
.inspiring-stories-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 100px 0;
    overflow: hidden;
    position: relative;
}

.inspiring-stories-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-red), transparent);
}

/* Section Header */
.stories-header {
    margin-bottom: 80px;
}

.stories-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--primary-red), #ff6b6b);
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 25px;
    box-shadow: 0 8px 25px rgba(220, 53, 69, 0.3);
}

.stories-badge i {
    font-size: 0.8rem;
    color: #ffd700;
}

.stories-main-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.2;
}

.stories-subtitle {
    font-size: 1.1rem;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Featured Video Section */
.featured-video-container {
    max-width: 900px;
    margin: 0 auto 80px;
}

.featured-video-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.featured-video-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.2);
}

.featured-video-image {
    width: 100%;
    height: 500px;
    overflow: hidden;
}

.featured-video-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.featured-video-wrapper:hover .featured-video-image img {
    transform: scale(1.05);
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.9), rgba(0, 0, 0, 0.8));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    padding: 40px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.featured-video-wrapper:hover .video-overlay {
    opacity: 1;
}

.play-icon-large {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border: 3px solid white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    backdrop-filter: blur(10px);
}

.play-icon-large i {
    font-size: 2rem;
    color: white;
}

.featured-video-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
    font-family: 'Playfair Display', serif;
}

.featured-video-desc {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 500px;
    line-height: 1.6;
}

/* Video Stories Grid */
.video-stories-container {
    max-width: 1200px;
    margin: 0 auto;
}

.video-stories-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

/* Ensure featured-style cards have proper spacing */
.video-stories-grid .story-card.featured-style {
    margin-bottom: 20px;
}

/* Story Cards */
.story-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    position: relative;
}

.story-card.hidden-story {
    display: none;
}

.story-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.15);
}

.story-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.4s ease;
}

.story-card:hover .story-image img {
    transform: scale(1.1);
}

/* Featured Style Story Cards */
.story-card.featured-style {
    position: relative;
    height: 400px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.story-card.featured-style:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.2);
}

.story-card.featured-style .story-image {
    height: 100%;
    position: relative;
}

.story-card.featured-style .story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.4s ease;
}

.story-card.featured-style:hover .story-image img {
    transform: scale(1.05);
}

.story-card.featured-style .video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.9), rgba(0, 0, 0, 0.8));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    padding: 40px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.story-card.featured-style:hover .video-overlay {
    opacity: 1;
}

.story-card.featured-style .play-icon-large {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border: 3px solid white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    backdrop-filter: blur(10px);
}

.story-card.featured-style .play-icon-large i {
    font-size: 2rem;
    color: white;
}

.story-card.featured-style .featured-video-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    font-family: 'Playfair Display', serif;
}

.story-card.featured-style .featured-video-desc {
    font-size: 1rem;
    opacity: 0.9;
    max-width: 300px;
    line-height: 1.6;
}

/* View All Stories Button */
.view-all-stories {
    margin: 60px 0;
    text-align: center;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, var(--primary-red), #ff6b6b);
    color: white;
    padding: 18px 36px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(220, 53, 69, 0.3);
}

.view-all-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(220, 53, 69, 0.4);
    color: white;
    text-decoration: none;
}

.view-all-btn i {
    transition: transform 0.3s ease;
}

.view-all-btn:hover i {
    transform: translateX(5px);
}

/* Responsive Design for Featured Style Cards */
@media (max-width: 768px) {
    .video-stories-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .story-card.featured-style {
        height: 300px;
    }
    
    .story-card.featured-style .featured-video-title {
        font-size: 1.5rem;
    }
    
    .story-card.featured-style .featured-video-desc {
        font-size: 0.9rem;
        max-width: 250px;
    }
    
    .story-card.featured-style .play-icon-large {
        width: 80px !important;
        height: 80px !important;
        background: rgba(255, 255, 255, 0.2) !important;
        border: 3px solid white !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        margin-bottom: 25px !important;
        backdrop-filter: blur(10px) !important;
    }
    
    .story-card.featured-style .play-icon-large i {
        font-size: 2rem !important;
        color: white !important;
    }
    
    .view-all-btn {
        padding: 15px 30px;
        font-size: 1rem;
    }
}

/* Comprehensive Mobile Responsiveness for Success Stories Page */
@media (max-width: 768px) {
    /* Banner Section */
    .banner-section {
        padding: 60px 0;
    }
    
    .banner-title {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    
    .banner-subtitle {
        font-size: 1rem;
        line-height: 1.5;
    }
    
    /* Page Header */
    .page-header {
        padding: 40px 0;
    }
    
    .stories-header {
        margin-bottom: 30px !important;
    }
    
    .stories-main-title {
        font-size: 2rem;
        line-height: 1.3;
        margin-bottom: 15px;
    }
    
    .stories-subtitle {
        font-size: 1rem;
        line-height: 1.5;
        padding: 0 20px;
    }
    
    /* Featured Video Section */
    .featured-video-container {
        margin-bottom: 30px !important;
    }
    
    .featured-video-wrapper {
        height: 0;
        padding-bottom: 56.25%; /* 16:9 aspect ratio */
        position: relative;
    }
    
    .featured-video-wrapper .featured-video-image {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }
    
    .featured-video-image img {
        object-fit: cover;
        object-position: center;
        width: 100%;
        height: 100%;
    }
    
    .featured-video-title {
        font-size: 1.4rem !important;
        line-height: 1.3;
        margin-bottom: 10px;
        padding: 0 20px;
    }
    
    .featured-video-desc {
        font-size: 0.9rem !important;
        line-height: 1.4;
        padding: 0 20px;
    }
    
    .play-icon-large {
        width: 90px !important;
        height: 90px !important;
        margin-bottom: 20px !important;
        background: rgba(255, 255, 255, 0.2) !important;
        border: 3px solid white !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        backdrop-filter: blur(10px) !important;
    }
    
    .play-icon-large i {
        font-size: 2.2rem !important;
        color: white !important;
    }
    
    /* Video Stories Grid */
    .video-stories-container {
        padding: 0 10px;
    }
    
    .video-stories-grid {
        gap: 15px;
        margin-bottom: 40px;
    }
    
    .story-card.featured-style {
        height: 0;
        padding-bottom: 56.25%; /* 16:9 aspect ratio */
        position: relative;
        margin-bottom: 15px;
    }
    
    .story-card.featured-style .story-image {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }
    
    .story-card.featured-style .featured-video-title {
        font-size: 1.3rem !important;
        line-height: 1.3;
        margin-bottom: 10px;
        padding: 0 15px;
    }
    
    .story-card.featured-style .featured-video-desc {
        font-size: 0.85rem !important;
        line-height: 1.4;
        max-width: 200px;
        padding: 0 15px;
    }
    
    .story-card.featured-style .play-icon-large {
        width: 80px !important;
        height: 80px !important;
        margin-bottom: 15px !important;
        background: rgba(255, 255, 255, 0.2) !important;
        border: 3px solid white !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        backdrop-filter: blur(10px) !important;
    }
    
    .story-card.featured-style .play-icon-large i {
        font-size: 2rem !important;
        color: white !important;
    }
    
    /* CTA Section */
    .stories-cta-full {
        padding: 40px 0;
    }
    
    .stories-cta-full h2 {
        font-size: 1.8rem;
        line-height: 1.3;
        margin-bottom: 15px;
    }
    
    .stories-cta-full p {
        font-size: 1rem;
        line-height: 1.5;
        margin-bottom: 25px;
        padding: 0 20px;
    }
    
    .cta-button {
        padding: 15px 30px;
        font-size: 1rem;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .footer-section h5 {
        margin-bottom: 15px;
    }
    
    .footer-section ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    
    .footer-section ul li {
        margin: 0;
    }
    
    .recent-post {
        flex-direction: column;
        text-align: center;
        margin-bottom: 20px;
    }
    
    .recent-post img {
        margin: 0 auto 10px;
    }
}

/* Extra Small Mobile Devices */
@media (max-width: 480px) {
    .banner-title {
        font-size: 2rem;
    }
    
    .stories-main-title {
        font-size: 1.8rem;
    }
    
    .featured-video-wrapper {
        height: 0;
        padding-bottom: 56.25%; /* 16:9 aspect ratio */
        position: relative;
    }
    
    .featured-video-wrapper .featured-video-image {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }
    
    .featured-video-image img {
        object-fit: cover;
        object-position: center;
        width: 100%;
        height: 100%;
    }
    
    .story-card.featured-style {
        height: 0;
        padding-bottom: 56.25%; /* 16:9 aspect ratio */
        position: relative;
    }
    
    .story-card.featured-style .story-image {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }
    
    .featured-video-title {
        font-size: 1.2rem !important;
        padding: 0 15px;
    }
    
    .story-card.featured-style .featured-video-title {
        font-size: 1.1rem !important;
        padding: 0 10px;
    }
    
    .play-icon-large {
        width: 100px !important;
        height: 100px !important;
        margin-bottom: 15px !important;
        background: rgba(255, 255, 255, 0.2) !important;
        border: 3px solid white !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        backdrop-filter: blur(10px) !important;
    }
    
    .play-icon-large i {
        font-size: 2.5rem !important;
        color: white !important;
    }
    
    .story-card.featured-style .play-icon-large {
        width: 90px !important;
        height: 90px !important;
        margin-bottom: 12px !important;
        background: rgba(255, 255, 255, 0.2) !important;
        border: 3px solid white !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        backdrop-filter: blur(10px) !important;
    }
    
    .story-card.featured-style .play-icon-large i {
        font-size: 2.2rem !important;
        color: white !important;
    }
    
    .cta-button {
        padding: 12px 25px;
        font-size: 0.9rem;
    }
}

/* Tablet Devices */
@media (min-width: 769px) and (max-width: 1024px) {
    .video-stories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .featured-video-wrapper {
        height: 350px;
    }
    
    .story-card.featured-style {
        height: 350px;
    }
    
    .featured-video-title {
        font-size: 1.6rem !important;
    }
    
    .story-card.featured-style .featured-video-title {
        font-size: 1.5rem !important;
    }
}

/* Mobile Touch Optimizations */
@media (max-width: 768px) {
    /* Improve touch targets */
    .story-card.featured-style {
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }
    
    .story-card.featured-style:active {
        transform: scale(0.98);
    }
    
    /* Better mobile navigation */
    .main-header {
        padding: 15px 0;
    }
    
    .header-logo {
        max-height: 40px;
    }
    
    /* Mobile-friendly spacing */
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    /* Improve mobile video modal */
    .video-modal {
        padding: 20px;
    }
    
    .video-modal-content {
        width: 95%;
        max-width: 100%;
        height: auto;
        max-height: 80vh;
    }
    
    .video-modal iframe {
        width: 100%;
        height: 200px;
    }
    
    /* Mobile breadcrumb */
    .breadcrumb-nav {
        font-size: 0.9rem;
        flex-wrap: wrap;
        gap: 5px;
    }
    
    .breadcrumb-nav .separator {
        margin: 0 5px;
    }
}

.story-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.8), rgba(0, 0, 0, 0.6));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.story-card:hover .story-overlay {
    opacity: 1;
}

.play-button {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-red);
    font-size: 1.3rem;
    transition: all 0.3s ease;
}

.play-button:hover {
    background: white;
    transform: scale(1.1);
}

.story-content {
    padding: 25px;
}

.story-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
    line-height: 1.3;
}

.story-description {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 20px;
}

.story-stats {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.stat-badge {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    color: var(--text-dark);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid #dee2e6;
}

/* Call to Action */
.stories-cta {
    text-align: center;
    padding: 40px;
     
}

.cta-text {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 25px;
    font-weight: 500;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, var(--primary-red), #ff6b6b);
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(220, 53, 69, 0.3);
}

.cta-button:hover {
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(220, 53, 69, 0.4);
}

.cta-button i {
    transition: transform 0.3s ease;
}

.cta-button:hover i {
    transform: translateX(5px);
}

/* View All Button */
.view-all-stories {
    margin-top: 40px;
}

.view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #6c757d, #495057);
    color: white;
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(108, 117, 125, 0.3);
}

.view-all-btn:hover {
    color: white;
    background: linear-gradient(135deg, #495057, #343a40);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(108, 117, 125, 0.4);
}

.view-all-btn i {
    transition: transform 0.3s ease;
}

.view-all-btn:hover i {
    transform: translateX(5px);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .video-stories-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .inspiring-stories-section {
        padding: 80px 0;
    }
    
    .stories-main-title {
        font-size: 2.8rem;
    }
    
    .stories-subtitle {
        font-size: 1rem;
    }
    
    .featured-video-wrapper iframe {
        height: 300px;
    }
    
    .video-stories-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .story-content {
        padding: 20px;
    }
    
    .stories-cta {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .stories-main-title {
        font-size: 2.2rem;
    }
    
    .featured-video-wrapper iframe {
        height: 250px;
    }
    
    .story-image {
        height: 180px;
    }
}

/* News Section */
.news-section {
    padding: 100px 0;
    background: white;
}

.news-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 60px;
}

.news-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
}

.view-all-btn {
    color: var(--primary-red);
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-left: auto;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.news-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
}

.news-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-card-content {
    padding: 25px;
}

.news-meta {
    display: flex;
    gap: 20px;
    color: var(--text-gray);
    font-size: 14px;
    margin-bottom: 15px;
}

.news-card-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 10px;
    line-height: 1.3;
}

.news-excerpt {
    color: var(--text-gray);
    line-height: 1.6;
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-about h4 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
}

.footer-about p {
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-section h5 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: white;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--primary-red);
}

.recent-post {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.recent-post img {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
}

.recent-post-content h6 {
    font-size: 14px;
    font-weight: 600;
    color: white;
    margin-bottom: 5px;
    line-height: 1.3;
}

.recent-post-content span {
    color: #999;
    font-size: 12px;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 20px;
    text-align: center;
    color: #999;
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Smooth scrolling enhancements */
.smooth-transition {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Enhanced scroll behavior for better performance */
body {
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

/* Smooth scrolling for all interactive elements */
a, button, .btn {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Smooth scrolling for cards and sections */
.program-card, .campus-item, .news-card, .testimonial-card-2 {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Smooth scrolling for navigation elements */
.main-nav > li > a, .mobile-nav-list a {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-section .about-badge {
  z-index: 2;
}

/* Outlined button: Unipix theme */
.btn-outline-primary {
  border-color: #8B1538 !important;
  color: #8B1538 !important;
  background: transparent !important;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.btn-outline-primary:hover,
.btn-outline-primary:focus {
  background: #8B1538 !important;
  color: #fff !important;
  border-color: #8B1538 !important;
}

/* Filled button: Unipix theme */
.btn-primary {
  background: #8B1538 !important;
  border: none !important;
  color: #fff !important;
  transition: background 0.2s, color 0.2s;
}
.btn-primary:hover,
.btn-primary:focus {
  background: #6B1028 !important;
  color: #fff !important;
}

/* Mission and Values Section Styles */
.mission-values-section {
    background: #ffffff;
    position: relative;
}

.mission-values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.mission-values-grid::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 1px;
    background: rgba(0, 0, 0, 0.1);
    transform: translateX(-50%);
}

.mission-value-item {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px 0;
}

.mission-value-title {
    color: var(--text-dark);
    font-size: 1.8rem;
    font-weight: 700;
    font-family: 'Playfair Display', serif;
    margin: 0;
    line-height: 1.2;
}

.mission-value-description {
    color: var(--text-gray);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
    font-weight: 400;
}

.mission-value-image {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.mission-value-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

/* Responsive Mission and Values Section */
@media (max-width: 991.98px) {
    .mission-values-grid {
        gap: 40px;
    }
    
    .mission-value-title {
        font-size: 1.6rem;
    }
    
    .mission-value-description {
        font-size: 0.95rem;
    }
    
    .mission-value-image img {
        height: 220px;
    }
}

@media (max-width: 767.98px) {
    .mission-values-section h2 {
        font-size: 2rem !important;
    }
    
    .mission-values-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .mission-values-grid::before {
        display: none;
    }
    
    .mission-value-item {
        padding: 15px 0;
        gap: 15px;
    }
    
    .mission-value-title {
        font-size: 1.5rem;
    }
    
    .mission-value-description {
        font-size: 0.9rem;
    }
    
    .mission-value-image img {
        height: 200px;
    }
}

@media (max-width: 575.98px) {
    .mission-value-title {
        font-size: 1.4rem;
    }
    
    .mission-value-description {
        font-size: 0.85rem;
    }
    
    .mission-value-image img {
        height: 180px;
    }
}

/* Responsive Mega Menu */
@media (max-width: 1200px) {
    .mega-menu {
        width: 700px;
        left: 0;
        transform: translateX(0) translateY(10px);
    }
    
    .main-nav > li:hover .mega-menu {
        transform: translateX(0) translateY(0);
    }
    
    .mega-menu::before {
        left: 30px;
        transform: translateX(0);
    }
}

/* Samsung Galaxy Tab and similar Android tablets */
@media (min-width: 600px) and (max-width: 1024px) and (orientation: portrait) {
    .main-nav > li > a {
        font-size: 13px;
        padding: 10px 12px;
    }

    .mega-menu {
        width: 85vw;
        max-width: 600px;
        left: 50%;
        transform: translateX(-50%) translateY(10px);
    }
    
    .main-nav > li:hover .mega-menu {
        transform: translateX(-50%) translateY(0);
    }
    
    .mega-menu::before {
        left: 50%;
        transform: translateX(-50%);
    }

    .mega-menu-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .mega-menu-column h4 {
        font-size: 15px;
    }

    .mega-menu-column ul li a {
        font-size: 13px;
    }
}

/* Samsung Galaxy Tab and similar Android tablets - Landscape */
@media (min-width: 1024px) and (max-width: 1366px) and (orientation: landscape) {
    .main-nav > li > a {
        font-size: 14px;
        padding: 12px 16px;
    }

    .mega-menu {
        width: 750px;
    }

    .mega-menu-content {
        grid-template-columns: repeat(4, 1fr);
        gap: 25px;
    }
}

@media (max-width: 1100px) {
    .mega-menu {
        width: 600px;
    }
    
    .mega-menu-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 992px) {
    .mega-menu {
        width: 500px;
    }
    
    .mega-menu-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .mega-menu {
        width: 90vw;
        left: 50%;
        transform: translateX(-50%) translateY(10px);
    }
    
    .main-nav > li:hover .mega-menu {
        transform: translateX(-50%) translateY(0);
    }
    
    .mega-menu::before {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .mega-menu-content {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .mega-menu-column:not(:last-child)::after {
        display: none;
    }
}

/* Tablet-specific responsive improvements */
@media (min-width: 768px) and (max-width: 1024px) {
    .main-header {
        background: #ffffff;
        padding: 10px 0;
    }
    
    .header-logo {
        height: 85px;
        max-width: 330px;
    }
    
    .main-nav > li > a {
        font-size: 14px;
        padding: 12px 16px;
    }
    
    .mega-menu {
        width: 600px;
        left: 50%;
        transform: translateX(-50%);
        padding: 25px;
    }
    
    .main-nav > li:hover .mega-menu {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(0);
    }
    
    .mega-menu::before {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .mega-menu-content {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    
    .dropdown-menu {
        min-width: 200px;
    }
    
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .campus-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .program-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* iPad Pro and larger tablets */
@media (min-width: 1024px) and (max-width: 1366px) {
    .main-nav > li {
        margin: 0 10px;
    }

    .main-nav > li > a {
        font-size: 15px;
        padding: 14px 18px;
    }

    .mega-menu {
        width: 750px;
    }

    .hero-content h1 {
        font-size: 3.8rem;
    }
}

@media (min-width: 992px) {
    .mobile-menu-toggle {
        display: none !important;
    }
    
    .main-nav {
        display: flex !important;
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .main-nav > li {
        margin: 0 12px;
    }

    .main-nav > li > a {
        font-size: 14px;
        padding: 12px 16px;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .mega-menu {
        width: 700px;
        left: 0;
        transform: translateX(0) translateY(10px);
    }
    
    .main-nav > li:hover .mega-menu {
        transform: translateX(0) translateY(0);
    }
    
    .mega-menu::before {
        left: 30px;
        transform: translateX(0);
    }

    .dropdown-menu {
        min-width: 220px;
    }
}

/* Fix for navbar overlap between 1195px and 1101px */
@media (max-width: 1195px) and (min-width: 1101px) {
    .main-nav > li {
        margin: 0 8px;
    }
    .main-nav > li > a {
        font-size: 13px;
        padding: 10px 12px;
    }
    .logo-container {
        min-width: 200px;
    }
    .header-logo {
        height: 85px;
        max-width: 330px;
    }
}

@media (max-width: 1100px) {
    .main-nav > li {
        margin: 0 6px;
    }
    .main-nav > li > a {
        font-size: 12px;
        padding: 8px 10px;
    }
    .logo-container {
        min-width: 180px;
    }
    .header-logo {
        height: 80px;
        max-width: 310px;
    }
    .mega-menu {
        width: 500px;
        left: 50%;
        transform: translateX(-50%);
    }
    .mega-menu-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

@media (max-width: 992px) {
    .main-nav {
        display: none !important;
    }

    .mobile-menu-toggle {
        display: flex !important;
    }

    .logo-container {
        min-width: 200px;
    }

    .header-logo {
        height: 80px;
        max-width: 310px;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .campus-grid,
    .program-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .news-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .hero-section {
        text-align: center;
    }

    .hero-cards {
        margin-top: 40px;
    }

    .about-overlay-image {
        position: static;
        margin-top: 20px;
        width: 100%;
        height: 200px;
    }

    .mission-vision-cards {
        flex-direction: column;
    }

    .news-header {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 20px;
    }
    
    .view-all-btn {
        margin-left: auto;
    }

    .campus-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .program-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .news-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .section-title {
        font-size: 2rem;
    }

    .academics-title {
        font-size: 2rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }
}

/* Responsive Testimonials */
@media (max-width: 1200px) {
    .testimonials-content {
        gap: 40px;
    }
    
    .testimonials-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 992px) {
    .testimonials-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .testimonials-text {
        padding-right: 0;
    }
    
    .testimonials-title {
        font-size: 2.5rem;
    }
    
    .testimonial-card {
        padding: 22px 18px;
    }
    
    .testimonial-card .testimonial-text {
        font-size: 0.95rem;
        min-height: 90px;
    }
}

@media (max-width: 768px) {
    .testimonials-section {
        padding: 60px 0;
    }
    
    .testimonials-content {
        gap: 30px;
    }
    
    .testimonials-title {
        font-size: 2rem;
    }
    
    .testimonials-description {
        font-size: 1rem;
    }
    
    .testimonials-carousel {
        gap: 15px;
    }
    
    .testimonial-card {
        padding: 18px 15px;
    }
    
    .testimonial-card .testimonial-text {
        font-size: 0.9rem;
        min-height: 80px;
    }
    
    .nav-btn {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .testimonials-section {
        padding: 40px 0;
    }
    
    .testimonials-content {
        gap: 25px;
    }
    
    .testimonials-title {
        font-size: 1.8rem;
    }
    
    .testimonials-description {
        font-size: 0.95rem;
    }
    
    .testimonials-carousel {
        gap: 10px;
    }
    
    .testimonial-card {
        padding: 15px 12px;
    }
    
    .testimonial-card .testimonial-text {
        font-size: 0.85rem;
        min-height: 70px;
    }
    
    .testimonial-avatar {
        width: 50px;
        height: 50px;
    }
    
    .testimonial-author {
        font-size: 1rem;
    }
    
    .testimonial-role {
        font-size: 0.8rem;
    }
    
    .nav-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .testimonial-quote {
        font-size: 2.5rem;
    }
    
    .news-header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .view-all-btn {
        align-self: center;
    }
}

/* Responsive Academics */
@media (max-width: 992px) {
  .academics-col {
    min-height: unset;
    padding: 30px 0;
  }
  .academics-card {
    padding: 30px 20px;
  }
}

@media (max-width: 767px) {
  .academics-cards-row {
    flex-direction: column;
  }
  .academics-col {
    width: 100%;
    min-height: unset;
    padding: 20px 0;
  }
  .academics-card {
    padding: 20px 10px;
  }
}

@media (max-width: 991.98px) {
  .about-section .about-img-1,
  .about-section .about-img-2 {
    margin: 0 auto 1rem auto !important;
  }
  .about-section .about-badge {
    left: 50% !important;
    top: 90% !important;
    transform: translate(-50%, -50%) !important;
  }
  .about-section .row {
    flex-direction: column !important;
    align-items: center !important;
  }
}

@media (max-width: 767.98px) {
  .about-section h2 {
    font-size: 2rem !important;
  }
  .stats-section h2 {
    font-size: 2rem !important;
  }
  .stats-section .row > div {
    margin-bottom: 2rem;
    border: none !important;
  }
}
 
/* Banner Section Styles */
.banner-section {
    position: relative;
    height: 400px;
    overflow: hidden;
    margin-top: 84px; /* Account for fixed header */
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #8B1538 0%, #6B1028 100%);
}

.banner-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://images.unsplash.com/photo-1523240795612-9a054b0db644?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover;
    z-index: 1;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(139, 21, 56, 0.8) 0%, rgba(107, 16, 40, 0.9) 100%);
    z-index: 2;
}



.banner-content {
    position: relative;
    z-index: 4;
    color: white;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.breadcrumb-nav {
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 500;
}

.breadcrumb-nav a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-nav a:hover {
    color: white;
}

.breadcrumb-nav .separator {
    margin: 0 10px;
    color: rgba(255, 255, 255, 0.6);
}

.breadcrumb-nav .current-page {
    color: white;
    font-weight: 600;
}

.banner-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.0rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.02em;
}

.banner-subtitle {
    font-size: 1.2rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Responsive Banner Styles */
@media (max-width: 1200px) {
    .banner-title {
        font-size: 3.2rem;
    }
}

@media (max-width: 992px) {
    .banner-section {
        height: 350px;
    }
    
    .banner-title {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .banner-section {
        height: 300px;
        margin-top: 80px;
    }
    
    .banner-title {
        font-size: 2.5rem;
    }
    
    .banner-subtitle {
        font-size: 1rem;
    }
    
    .banner-content {
        padding: 0 15px;
    }
    
    .main-content {
        padding: 60px 0;
    }
    
    .content-placeholder {
        padding: 40px 20px;
    }
    
    .content-placeholder h2 {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .banner-section {
        height: 250px;
    }
    
    .banner-title {
        font-size: 2rem;
        margin-bottom: 10px;
    }
    
    .banner-subtitle {
        font-size: 0.9rem;
    }
    
    .breadcrumb-nav {
        font-size: 12px;
        margin-bottom: 15px;
    }
    
    .banner-content {
        padding: 0 10px;
    }
    
    .main-content {
        padding: 40px 0;
    }
    
    .content-placeholder {
        padding: 30px 15px;
    }
    
    .content-placeholder h2 {
        font-size: 1.8rem;
    }
    
    .content-placeholder p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .banner-section {
        height: 220px;
    }
    
    .banner-title {
        font-size: 1.8rem;
    }
    
    .banner-subtitle {
        font-size: 0.85rem;
    }
}

/* Success Stories Page Styles */
.page-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    text-align: center;
}

.page-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.page-subtitle {
    font-size: 1.2rem;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto;
}

.story-card-full {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    height: 100%;
}

.story-card-full:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.15);
}

.story-image-full {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.story-image-full img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.4s ease;
}

.story-card-full:hover .story-image-full img {
    transform: scale(1.1);
}

.story-overlay-full {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.8), rgba(0, 0, 0, 0.6));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.story-card-full:hover .story-overlay-full {
    opacity: 1;
}

.play-button-large {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-red);
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.play-button-large:hover {
    background: white;
    transform: scale(1.1);
}

.story-content-full {
    padding: 25px;
}

.story-content-full h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
    line-height: 1.3;
}

.story-content-full p {
    color: var(--text-gray);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 0;
}

.stories-cta-full {
     border-radius: 20px;

    margin: 40px 0;
}

.stories-cta-full h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
    font-family: 'Playfair Display', serif;
}

.stories-cta-full p {
    font-size: 1.2rem;
    color: var(--text-gray);
    margin-bottom: 30px;
}

.stories-cta-full .cta-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, var(--primary-red), #ff6b6b);
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(220, 53, 69, 0.3);
}

.stories-cta-full .cta-button:hover {
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(220, 53, 69, 0.4);
}

/* CRITICAL MOBILE PLAY ICON FIX - HIGHEST PRIORITY */
@media (max-width: 768px) {
    .play-icon-large,
    .featured-video-wrapper .play-icon-large,
    .video-overlay .play-icon-large {
        width: 90px !important;
        height: 90px !important;
        min-width: 90px !important;
        min-height: 90px !important;
        max-width: 90px !important;
        max-height: 90px !important;
        margin-bottom: 20px !important;
        background: rgba(255, 255, 255, 0.2) !important;
        border: 3px solid white !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        backdrop-filter: blur(10px) !important;
        box-sizing: border-box !important;
        flex-shrink: 0 !important;
        flex-grow: 0 !important;
    }
    
    .play-icon-large i,
    .featured-video-wrapper .play-icon-large i,
    .video-overlay .play-icon-large i {
        font-size: 2.2rem !important;
        color: white !important;
        line-height: 1 !important;
        display: block !important;
    }
    
    .story-card.featured-style .play-icon-large,
    .video-stories-grid .story-card.featured-style .play-icon-large {
        width: 80px !important;
        height: 80px !important;
        min-width: 80px !important;
        min-height: 80px !important;
        max-width: 80px !important;
        max-height: 80px !important;
        margin-bottom: 15px !important;
        background: rgba(255, 255, 255, 0.2) !important;
        border: 3px solid white !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        backdrop-filter: blur(10px) !important;
        box-sizing: border-box !important;
        flex-shrink: 0 !important;
        flex-grow: 0 !important;
    }
    
    .story-card.featured-style .play-icon-large i,
    .video-stories-grid .story-card.featured-style .play-icon-large i {
        font-size: 2rem !important;
        color: white !important;
        line-height: 1 !important;
        display: block !important;
    }
}

@media (max-width: 480px) {
    .play-icon-large,
    .featured-video-wrapper .play-icon-large,
    .video-overlay .play-icon-large {
        width: 100px !important;
        height: 100px !important;
        min-width: 100px !important;
        min-height: 100px !important;
        max-width: 100px !important;
        max-height: 100px !important;
        margin-bottom: 15px !important;
        background: rgba(255, 255, 255, 0.2) !important;
        border: 3px solid white !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        backdrop-filter: blur(10px) !important;
        box-sizing: border-box !important;
        flex-shrink: 0 !important;
        flex-grow: 0 !important;
    }
    
    .play-icon-large i,
    .featured-video-wrapper .play-icon-large i,
    .video-overlay .play-icon-large i {
        font-size: 2.5rem !important;
        color: white !important;
        line-height: 1 !important;
        display: block !important;
    }
    
    .story-card.featured-style .play-icon-large,
    .video-stories-grid .story-card.featured-style .play-icon-large {
        width: 90px !important;
        height: 90px !important;
        min-width: 90px !important;
        min-height: 90px !important;
        max-width: 90px !important;
        max-height: 90px !important;
        margin-bottom: 12px !important;
        background: rgba(255, 255, 255, 0.2) !important;
        border: 3px solid white !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        backdrop-filter: blur(10px) !important;
        box-sizing: border-box !important;
        flex-shrink: 0 !important;
        flex-grow: 0 !important;
    }
    
    .story-card.featured-style .play-icon-large i,
    .video-stories-grid .story-card.featured-style .play-icon-large i {
        font-size: 2.2rem !important;
        color: white !important;
        line-height: 1 !important;
        display: block !important;
    }
}

