/* Modern SBIT Website Styles */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

:root {
    /* SBIT Logo Colors - Updated to match actual logo */
    --primary-color: #2A6099;        /* Deep Blue from logo (S & T) */
    --secondary-color: #F2994A;      /* Vibrant Orange from logo (B) */
    --accent-color: #828282;         /* Gray from logo (I) */
    --success-color: #10b981;
    --danger-color: #ef4444;
    --warning-color: #f59e0b;
    --info-color: #06b6d4;
    --text-dark: #1e293b;           /* Darker text for better contrast */
    --text-light: #64748b;
    --text-muted: #94a3b8;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --border-color: #e2e8f0;
    
    /* SBIT Brand Gradients - Updated with logo colors */
    --gradient-primary: linear-gradient(135deg, #2A6099 0%, #3B82F6 100%);
    --gradient-secondary: linear-gradient(135deg, #F2994A 0%, #FB923C 100%);
    --gradient-brand: linear-gradient(135deg, #2A6099 0%, #F2994A 100%);
    --gradient-success: linear-gradient(135deg, #10b981 0%, #059669 100%);
    
    /* Enhanced Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(30, 64, 175, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(30, 64, 175, 0.1), 0 2px 4px -1px rgba(30, 64, 175, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(30, 64, 175, 0.1), 0 4px 6px -2px rgba(30, 64, 175, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(30, 64, 175, 0.1), 0 10px 10px -5px rgba(30, 64, 175, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(30, 64, 175, 0.25);
    --shadow-brand: 0 10px 25px -5px rgba(249, 115, 22, 0.2);
    
    --border-radius: 12px;
    --border-radius-lg: 16px;
    --border-radius-xl: 20px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s ease-in-out;
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --heading-color: var(--text-dark);
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

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

/* Main Content Spacing */
.main-content {
    margin-top: 70px;
}

/* Professional Navbar Design */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 1px solid rgba(42, 96, 153, 0.08);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    height: 70px;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(42, 96, 153, 0.1);
    border-bottom: 1px solid rgba(42, 96, 153, 0.15);
}

/* Logo Animation */
.logo-image {
    width: 45px;
    height: 45px;
   margin-bottom: 15px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
   
}

.logo-image:hover {
    box-shadow: var(--shadow-lg);
    transform: rotate(5deg) scale(1.05);
    /* filter: drop-shadow(0 8px 16px rgba(30, 64, 175, 0.3)); */
}

/* Enhanced Nav Link Animations */
.nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--border-radius);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
    border-radius: var(--border-radius);
}

.nav-link::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translate(-50%, -50%);
    z-index: -1;
}

.nav-link:hover::before,
.nav-link.active::before {
    left: 0;
}

.nav-link:hover::after {
    width: 300px;
    height: 300px;
}

.nav-link:hover,
.nav-link.active {
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.nav-link i {
    font-size: 0.9rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover i {
    transform: scale(1.2) rotate(5deg);
}

/* Enhanced CTA Button */
.cta-button {
    background: var(--gradient-secondary);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-brand);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.cta-button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translate(-50%, -50%);
    z-index: 0;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover::after {
    width: 300px;
    height: 300px;
}

.cta-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: var(--shadow-xl);
    color: white;
}

.cta-button i {
    margin-right: 0.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
}

.cta-button:hover i {
    transform: scale(1.2) rotate(10deg);
}

/* Search Input Enhancement */
.search-input {
    width: 250px;
    padding: 0.75rem 1rem 0.75rem 2.5rem;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    background: var(--bg-white);
    font-size: 0.9rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-sm);
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1), var(--shadow-md);
    width: 300px;
    transform: scale(1.02);
}

.search-icon {
    position: absolute;
    left: 0.75rem;
    color: var(--text-light);
    font-size: 0.9rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.search-input:focus + .search-icon {
    color: var(--primary-color);
    transform: scale(1.1);
}

/* Mobile Menu Button Enhancement */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 35px;
    height: 35px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    border-radius: var(--border-radius);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.mobile-menu-btn:hover {
    background: rgba(30, 64, 175, 0.1);
    transform: scale(1.1);
}

.mobile-menu-btn span {
    width: 100%;
    height: 3px;
    background: var(--primary-color);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
    transform-origin: center;
}

.mobile-menu-btn.active {
    background: rgba(30, 64, 175, 0.1);
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
    background: var(--secondary-color);
}

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

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
    background: var(--secondary-color);
}

/* Mobile Menu Enhancement */
.mobile-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
    padding: 2rem;
    overflow-y: auto;
    box-shadow: var(--shadow-xl);
}

.mobile-menu.active {
    left: 0;
}

.mobile-menu .nav-link {
    padding: 1rem;
    font-size: 1.1rem;
    border-radius: var(--border-radius-lg);
    background: rgba(30, 64, 175, 0.05);
    margin-bottom: 0.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu .nav-link:hover {
    background: var(--gradient-primary);
    color: white;
    transform: translateX(10px);
}

.mobile-menu .cta-button {
    margin-top: 2rem;
    width: 100%;
    justify-content: center;
    padding: 1rem;
    font-size: 1.1rem;
}

/* Notification Badge Animation */
.badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--gradient-secondary);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.25rem 0.5rem;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
    box-shadow: var(--shadow-md);
    animation: pulse 2s infinite, bounce 1s ease-in-out;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-5px);
    }
    60% {
        transform: translateY(-3px);
    }
}

.nav-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    gap: 5rem;
}

/* Professional Logo Section */
.nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
    height: 50px;
    margin-right: 1rem;
}

.nav-logo:hover {
    transform: scale(1.02);
}

.logo-image {
    height: 40px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

}

.logo-image:hover {
    /* filter: drop-shadow(0 4px 8px rgba(42, 96, 153, 0.2)); */
    transform: scale(1.02);
}

/* Professional Navigation Menu */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
    align-items: center;
    flex: 1;
    justify-content: flex-start;
    max-width: none;
    margin-left: 1rem;
}

.nav-item {
    position: relative;
    flex-shrink: 0;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    min-height: 40px;
    margin: 0 0.25rem;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
    border-radius: 8px;
}

.nav-link:hover::before,
.nav-link.active::before {
    left: 0;
}

.nav-link:hover,
.nav-link.active {
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(42, 96, 153, 0.2);
}

.nav-link i {
    font-size: 0.9rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    width: 14px;
    text-align: center;
}

.nav-link:hover i {
    transform: scale(1.1);
}

/* Professional CTA Section */
.nav-cta {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
    margin-left: 1rem;
}

.cta-button {
    background: var(--gradient-secondary);
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(242, 153, 74, 0.3);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    white-space: nowrap;
    min-height: 40px;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 4px 15px rgba(242, 153, 74, 0.4);
    color: white;
}

.cta-button i {
    font-size: 0.9rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.cta-button:hover i {
    transform: scale(1.1) rotate(5deg);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 35px;
    height: 35px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.mobile-menu-btn:hover {
    background: rgba(30, 64, 175, 0.1);
}

.mobile-menu-btn span {
    width: 100%;
    height: 3px;
    background: var(--primary-color);
    transition: var(--transition);
    border-radius: 2px;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 60px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 60px);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
    padding: 2rem;
    overflow-y: auto;
}

.mobile-menu.active {
    left: 0;
}

.mobile-menu .nav-menu {
    flex-direction: column;
    gap: 1rem;
}

.mobile-menu .nav-link {
    padding: 1rem;
    font-size: 1.1rem;
    border-radius: var(--border-radius-lg);
    background: rgba(30, 64, 175, 0.05);
}

.mobile-menu .nav-link:hover {
    background: var(--gradient-primary);
    color: white;
}

.mobile-menu .cta-button {
    margin-top: 2rem;
    width: 100%;
    justify-content: center;
    padding: 1rem;
    font-size: 1.1rem;
}

/* Professional Search Bar */
.search-container {
    position: relative;
    display: flex;
    align-items: center;
}

.search-input {
    width: 200px;
    padding: 0.5rem 0.75rem 0.5rem 2rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background: var(--bg-white);
    font-size: 0.85rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    min-height: 36px;
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(42, 96, 153, 0.1), 0 2px 8px rgba(42, 96, 153, 0.1);
    width: 240px;
}

.search-input::placeholder {
    color: var(--text-muted);
    font-weight: 400;
}

.search-icon {
    position: absolute;
    left: 0.6rem;
    color: var(--text-light);
    font-size: 0.85rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.search-input:focus + .search-icon {
    color: var(--primary-color);
    transform: scale(1.05);
}

/* Notification Badge */
.notification-badge {
    position: relative;
    display: inline-block;
}

.badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--gradient-secondary);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.25rem 0.5rem;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
    box-shadow: var(--shadow-md);
    animation: pulse 2s infinite;
}

/* Professional Responsive Design */
@media (max-width: 1200px) {
    .nav-container {
        padding: 0 1rem;
        gap: 1.5rem;
    }
    
    .nav-menu {
        gap: 0.3rem;
        margin-left: 0.75rem;
    }
    
    .nav-link {
        padding: 0.5rem 0.8rem;
        font-size: 0.85rem;
        margin: 0 0.15rem;
    }
    
    .search-input {
        width: 180px;
    }
    
    .logo-image {
        height: 45px;
        max-width: 180px;
    }
    
    .nav-logo {
        margin-right: 0.75rem;
    }
    
    .nav-cta {
        margin-left: 0.75rem;
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding: 0 0.75rem;
        height: 60px;
        gap: 0.5rem;
    }
    
    .navbar {
        height: 60px;
    }
    
    .main-content {
        margin-top: 60px;
    }
    
    .logo-image {
        height: 40px;
        max-width: 150px;
    }
    
    .nav-menu,
    .search-container {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .mobile-menu {
        top: 60px;
        height: calc(100vh - 60px);
    }
    
    .cta-button {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
    
    .nav-cta {
        gap: 0.75rem;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 0.5rem;
        gap: 0.25rem;
    }
    
    .logo-image {
        height: 35px;
        max-width: 120px;
    }
    
    .cta-button {
        padding: 0.4rem 0.75rem;
        font-size: 0.75rem;
    }
    
    .cta-button span {
        display: none;
    }
    
    .cta-button i {
        margin: 0;
    }
}

/* Hero Slider Styles */
.hero-slider {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.4) 0%, rgba(124, 58, 237, 0.4) 100%);
    z-index: 1;
}

.bg-hero-1 { background-image: url('../images/hero-1.jpeg'); }
.bg-hero-2 { background-image: url('../images/hero-2.jpeg'); }
.bg-hero-3 { background-image: url('../images/hero-3.jpeg'); }

.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
    color: white;
}

.hero-content .container .row .col-lg-8 {
    text-align: left;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    animation: fadeInUp 1s ease-out;
    text-align: left;
    color: #f59745;
}

.hero-content h2 {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease-out 0.1s both;
    text-align: left;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease-out 0.2s both;
    text-align: left;
    max-width: 600px;
}

.hero-buttons {
    animation: fadeInUp 1s ease-out 0.4s both;
    text-align: left;
    margin-top: 2rem;
}

.hero-buttons .btn {
    margin-right: 1rem;
    margin-bottom: 1rem;
    padding: 12px 24px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.hero-buttons .btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    box-shadow: 0 4px 15px rgba(42, 96, 153, 0.3);
}

.hero-buttons .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(42, 96, 153, 0.4);
}

.hero-buttons .btn-outline-primary {
    border: 2px solid rgba(255, 255, 255, 0.8);
    color: white;
    background: transparent;
}

.hero-buttons .btn-outline-primary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    color: white;
    transform: translateY(-2px);
}

.hero-buttons .btn-primary {
    background: var(--gradient-primary);
    border: none;
    box-shadow: var(--shadow-lg);
}

.hero-buttons .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.hero-buttons .btn-outline-primary {
    border: 2px solid white;
    color: white;
    background: transparent;
}

.hero-buttons .btn-outline-primary:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* Slider Navigation */
.slider-nav {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: 1rem;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
}

.slider-dot.active {
    background: white;
    transform: scale(1.2);
}

/* Collage Grid */
.collage-section {
    position: relative;
}

.collage-grid {
    column-count: 4;
    column-gap: 1rem;
}

@media (max-width: 1200px) {
    .collage-grid { column-count: 3; }
}

@media (max-width: 768px) {
    .collage-grid { column-count: 2; }
}

@media (max-width: 576px) {
    .collage-grid { column-count: 1; }
}

.collage-item {
    break-inside: avoid;
    margin-bottom: 1rem;
    border-radius: var(--border-radius-lg);
    min-height: 180px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.collage-item.large { min-height: 320px; }
.collage-item.tall { min-height: 260px; }
.collage-item.wide { min-height: 220px; }

.collage-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0,0,0,0.25), rgba(0,0,0,0.15));
    opacity: 0.4;
}

.collage-content {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
    z-index: 2;
}

.collage-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

/* Collage item backgrounds */
.collage-item.collage-1 { background-image: url('../images/collage-1.jpeg'); }
.collage-item.collage-2 { background-image: url('../images/events/groupimage.jpg'); }
.collage-item.collage-3 { background-image: url('../images/collage-3.jpeg'); }
.collage-item.collage-4 { background-image: url('../images/events/sessionICAP.jpg'); }
.collage-item.collage-5 { background-image: url('../images/collage-2.jpeg'); }
.collage-item.collage-6 { background-image: url('../images/sports.png'); }

/* Page Header */
.page-header {
    background: var(--gradient-primary);
    color: white;
    padding: 6rem 0 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.page-header h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.page-header p {
    font-size: 1.25rem;
    opacity: 0.9;
    position: relative;
    z-index: 2;
}

/* Card Styles */
.card {
    background: var(--bg-white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.card-body {
    padding: 2rem;
}

/* Program Cards */
.program-card-detailed {
    background: var(--bg-white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    overflow: hidden;
    height: 100%;
    border: 1px solid var(--border-color);
}

.program-card-detailed:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-2xl);
}

.program-image {
    height: 200px;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.program-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
    display: block;
}

.program-image img:not([src]),
.program-image img[src=""] {
    opacity: 0;
}

.program-image::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    opacity: 0.1;
    z-index: 1;
}

.program-image::after {
    content: '📚';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
    opacity: 0.3;
    z-index: 2;
}

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

.program-category {
    background: var(--gradient-primary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1rem;
}

.program-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.program-description {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    flex-grow: 1;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.program-details {
    margin-bottom: 1.5rem;
    flex-shrink: 0;
}

.detail-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    color: var(--text-light);
    font-size: 0.9rem;
}

.detail-item i {
    margin-right: 0.5rem;
    color: var(--primary-color);
    width: 16px;
}

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

.program-fee {
    display: flex;
    flex-direction: column;
}

.fee-label {
    font-size: 0.8rem;
    color: var(--text-light);
}

.fee-amount {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--success-color);
}

/* Faculty Cards */
.faculty-card-detailed {
    background: var(--bg-white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    overflow: hidden;
    height: 100%;
    border: 1px solid var(--border-color);
}

.faculty-card-detailed:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-2xl);
}

.faculty-image {
    height: 250px;
    overflow: hidden;
    position: relative;
    background: var(--bg-light);
}

.faculty-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

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

.no-photo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--text-muted);
}

.faculty-department {
    background: var(--gradient-secondary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1rem;
}

.faculty-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.faculty-title {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.faculty-specialization {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.faculty-bio {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.faculty-details {
    margin-bottom: 1.5rem;
}

.faculty-footer {
    margin-top: auto;
}

/* News Cards */
.news-card {
    background: var(--bg-white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    overflow: hidden;
    height: 100%;
    border: 1px solid var(--border-color);
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.news-image {
    height: 200px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

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

.news-category {
    background: var(--gradient-success);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1rem;
}

.news-title a {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 1.25rem;
    font-weight: 700;
    transition: var(--transition);
}

.news-title a:hover {
    color: var(--primary-color);
}

.news-excerpt {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.news-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.views-count {
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* Buttons */
.btn {
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: white;
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

/* Forms */
.form-control {
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 0.75rem 1rem;
    transition: var(--transition);
    background: var(--bg-white);
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    outline: none;
}

.form-section {
    margin-bottom: 2rem;
    padding: 2rem;
    background: var(--bg-white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.form-section h4 {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-weight: 700;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-5 { margin-bottom: 1.5rem; }

.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-5 { margin-top: 1.5rem; }

.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-5 { padding-top: 3rem; padding-bottom: 3rem; }

.bg-light { background-color: var(--bg-light); }
.bg-white { background-color: var(--bg-white); }
.bg-primary { background: var(--gradient-primary); }

.text-primary { color: var(--primary-color); }
.text-secondary { color: var(--secondary-color); }
.text-success { color: var(--success-color); }
.text-danger { color: var(--danger-color); }
.text-warning { color: var(--warning-color); }
.text-info { color: var(--info-color); }
.text-muted { color: var(--text-muted); }

/* Responsive Design */
@media (max-width: 768px) {
    .program-card-detailed {
        margin-bottom: 2rem;
    }
    
    .program-image {
        height: 180px;
    }
    
    .program-content {
        padding: 1.5rem;
    }
    
    .program-footer {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
        min-height: auto;
    }
    
    .program-footer .btn {
        width: 100%;
        text-align: center;
        visibility: visible !important;
        opacity: 1 !important;
        display: block !important;
        margin-top: 1rem;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 2rem;
        text-align: left;
    }
    
    .hero-content h2 {
        font-size: 1.1rem;
        text-align: left;
    }
    
    .hero-content p {
        font-size: 1rem;
        text-align: left;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .card-body {
        padding: 1.5rem;
    }
    
    .form-section {
        padding: 1.5rem;
    }
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Success States */
.success-icon {
    animation: pulse 2s infinite;
}

/* Hover Effects */
.hover-lift:hover {
    transform: translateY(-5px);
}

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

/* Icon Wrappers */
.icon-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(124, 58, 237, 0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    transition: var(--transition);
}

.icon-wrapper:hover {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.2) 0%, rgba(124, 58, 237, 0.2) 100%);
    transform: scale(1.1);
}

/* Feature Cards */
.feature-card {
    background: var(--bg-white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

/* Statistics Section */
.stats-section {
    background: var(--gradient-primary);
    color: white;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
}

.stat-item {
    text-align: center;
    position: relative;
    z-index: 2;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    display: block;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Testimonial Cards */
.testimonial-card {
    background: var(--bg-white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    padding: 2rem;
    text-align: center;
    border: 1px solid var(--border-color);
    height: 100%;
}

.testimonial-text {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.5rem;
}

.testimonial-info h5 {
    margin: 0;
    color: var(--text-dark);
    font-weight: 600;
}

.testimonial-info p {
    margin: 0;
    color: var(--text-light);
    font-size: 0.9rem;
}

/* News Cards Enhanced */
.news-card {
    background: var(--bg-white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    overflow: hidden;
    height: 100%;
    border: 1px solid var(--border-color);
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-2xl);
}

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

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

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

.news-content {
    padding: 1.5rem;
}

.news-category {
    background: var(--gradient-success);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1rem;
}

.news-title a {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 1.25rem;
    font-weight: 700;
    transition: var(--transition);
    line-height: 1.3;
}

.news-title a:hover {
    color: var(--primary-color);
}

.news-excerpt {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.news-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.views-count {
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* Event Cards */
.event-card {
    background: var(--bg-white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    overflow: hidden;
    height: 100%;
    border: 1px solid var(--border-color);
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.event-date {
    background: var(--gradient-primary);
    color: white;
    padding: 1rem;
    text-align: center;
    font-weight: 700;
}

.event-day {
    font-size: 2rem;
    display: block;
}

.event-month {
    font-size: 0.9rem;
    opacity: 0.9;
}

.event-content {
    padding: 1.5rem;
}

.event-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.event-location {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.event-description {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Contact Form Enhancements */
.contact-form-card {
    background: var(--bg-white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 2rem;
    border: 1px solid var(--border-color);
}

.contact-info-card {
    background: var(--bg-white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    padding: 2rem;
    text-align: center;
    border: 1px solid var(--border-color);
    height: 100%;
    transition: var(--transition);
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.contact-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
}

/* Application Form Enhancements */
.application-form-card {
    background: var(--bg-white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 2rem;
    border: 1px solid var(--border-color);
}

.form-section {
    margin-bottom: 2rem;
    padding: 2rem;
    background: var(--bg-white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.form-section h4 {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-weight: 700;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
}

/* Success Pages */
.success-content {
    background: var(--bg-white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 3rem;
    margin: 2rem 0;
}

.success-icon {
    animation: pulse 2s infinite;
}

.step-item {
    text-align: center;
    padding: 1.5rem;
}

.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

/* Loading States */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid var(--border-color);
    border-top: 5px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Responsive Images */
.img-responsive {
    max-width: 100%;
    height: auto;
}

/* Text Utilities */
.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Category Tabs Enhancement */
.category-tabs, .department-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.tab-btn {
    background: var(--bg-white);
    color: var(--text-dark);
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius-lg);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.tab-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.tab-btn:hover::before,
.tab-btn.active::before {
    left: 0;
}

.tab-btn:hover,
.tab-btn.active {
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.tab-btn.active {
    background: var(--gradient-primary);
    color: white;
}

/* Programs Section Enhancement */
.programs-section {
    background: linear-gradient(135deg, rgba(42, 96, 153, 0.02) 0%, rgba(242, 153, 74, 0.02) 100%);
    position: relative;
}

.programs-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="%232A6099" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    pointer-events: none;
}

.programs-filter {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

/* Faculty Section Enhancement */
.faculty-section {
    background: linear-gradient(135deg, rgba(42, 96, 153, 0.02) 0%, rgba(242, 153, 74, 0.02) 100%);
    position: relative;
}

.faculty-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="%23F2994A" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    pointer-events: none;
}

.faculty-filter {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

/* Enhanced Program Cards */
.program-card-detailed {
    background: var(--bg-white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: visible;
    height: 100%;
    border: 1px solid var(--border-color);
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 500px;
}

.program-card-detailed::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-brand);
    transform: scaleX(0);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: left;
}

.program-card-detailed:hover::before {
    transform: scaleX(1);
}

.program-card-detailed:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-2xl);
    border-color: var(--primary-color);
}

.program-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    min-height: 0;
    overflow: hidden;
}

/* Enhanced Faculty Cards */
.faculty-card-detailed {
    background: var(--bg-white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    height: 100%;
    border: 1px solid var(--border-color);
    position: relative;
}

.faculty-card-detailed::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-secondary);
    transform: scaleX(0);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: left;
}

.faculty-card-detailed:hover::before {
    transform: scaleX(1);
}

.faculty-card-detailed:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-2xl);
    border-color: var(--secondary-color);
}

.faculty-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Enhanced News Cards */
.news-card {
    background: var(--bg-white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    height: 100%;
    border: 1px solid var(--border-color);
    position: relative;
}

.news-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-success);
    transform: scaleX(0);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: left;
}

.news-card:hover::before {
    transform: scaleX(1);
}

.news-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-2xl);
    border-color: var(--success-color);
}

/* Enhanced CTA Section */
.cta-section {
    background: var(--gradient-brand);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

/* Faculty Stats Enhancement */
.faculty-stats {
    background: var(--gradient-brand);
    position: relative;
    overflow: hidden;
}

.faculty-stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.stat-item {
    text-align: center;
    position: relative;
    z-index: 2;
    padding: 1.5rem;
    border-radius: var(--border-radius-lg);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.stat-item i {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1rem;
}

.stat-item h3 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: white;
}

.stat-item p {
    font-size: 1.1rem;
    opacity: 0.9;
    color: white;
    margin: 0;
}

/* Enhanced Pagination */
.pagination {
    margin-top: 3rem;
}

.page-link {
    color: var(--primary-color);
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    margin: 0 0.25rem;
    padding: 0.75rem 1rem;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.page-link:hover {
    color: white;
    background: var(--gradient-primary);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.page-item.active .page-link {
    background: var(--gradient-primary);
    border-color: var(--primary-color);
    color: white;
    box-shadow: var(--shadow-md);
}

/* Events Section Enhancement */
.events-section {
    background: linear-gradient(135deg, rgba(42, 96, 153, 0.02) 0%, rgba(242, 153, 74, 0.02) 100%);
    position: relative;
}

.events-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="%23F2994A" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    pointer-events: none;
}

.events-filter {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

/* Event Cards */
.event-card {
    background: var(--bg-white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    height: 100%;
    border: 1px solid var(--border-color);
    position: relative;
    display: flex;
    flex-direction: column;
}

.event-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-secondary);
    transform: scaleX(0);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: left;
}

.event-card:hover::before {
    transform: scaleX(1);
}

.event-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-2xl);
    border-color: var(--secondary-color);
}

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

.event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

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

.event-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.event-date {
    background: var(--gradient-primary);
    color: white;
    padding: 1rem;
    text-align: center;
    font-weight: 700;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    align-self: flex-start;
}

.event-day {
    font-size: 2rem;
    display: block;
    line-height: 1;
}

.event-month {
    font-size: 0.9rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.event-type {
    background: var(--gradient-success);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1rem;
}

.event-title a {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 1.25rem;
    font-weight: 700;
    transition: var(--transition);
    line-height: 1.3;
}

.event-title a:hover {
    color: var(--primary-color);
}

.event-description {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.6;
    font-size: 0.95rem;
}

.event-meta {
    margin-bottom: 1rem;
}

.meta-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    color: var(--text-light);
    font-size: 0.9rem;
}

.meta-item i {
    margin-right: 0.5rem;
    color: var(--primary-color);
    width: 16px;
    text-align: center;
}

.event-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.registration-status {
    font-size: 0.8rem;
    font-weight: 600;
}

.registration-status i {
    margin-right: 0.25rem;
}

/* Event Type Tabs */
.event-type-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
}

/* Events CTA */
.events-cta {
    background: var(--gradient-brand);
    position: relative;
    overflow: hidden;
}

.events-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

/* News Detail Page Styles */
.article-header {
    background: var(--gradient-primary);
    color: white;
    padding: 4rem 0 2rem;
    position: relative;
    overflow: hidden;
}

.article-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.breadcrumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    padding: 0.75rem 1rem;
    margin-bottom: 2rem;
}

.breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

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

.breadcrumb-item.active {
    color: white;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    opacity: 0.9;
}

.article-category {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.article-date,
.article-author,
.article-views {
    display: flex;
    align-items: center;
}

.article-title {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.article-excerpt {
    font-size: 1.2rem;
    opacity: 0.9;
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

.article-image-section {
    padding: 2rem 0;
}

.article-image {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.article-image img {
    width: 100%;
    height: auto;
    display: block;
}

.article-content-section {
    background: var(--bg-white);
}

.article-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
}

.article-content h1,
.article-content h2,
.article-content h3,
.article-content h4,
.article-content h5,
.article-content h6 {
    color: var(--text-dark);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.article-content h1 { font-size: 2rem; }
.article-content h2 { font-size: 1.75rem; }
.article-content h3 { font-size: 1.5rem; }
.article-content h4 { font-size: 1.25rem; }

.article-content p {
    margin-bottom: 1.5rem;
}

.article-content ul,
.article-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.article-content li {
    margin-bottom: 0.5rem;
}

.article-content blockquote {
    border-left: 4px solid var(--primary-color);
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: var(--text-light);
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: var(--border-radius);
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    margin: 1.5rem 0;
    box-shadow: var(--shadow-md);
}

/* Article Gallery */
.article-gallery {
    background: var(--bg-light);
}

.gallery-item {
    background: var(--bg-white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

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

.gallery-caption {
    padding: 1rem;
    font-size: 0.9rem;
    color: var(--text-light);
    text-align: center;
}

/* Related Articles */
.related-articles {
    background: var(--bg-white);
}

.related-article-card {
    background: var(--bg-white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    overflow: hidden;
    height: 100%;
    border: 1px solid var(--border-color);
}

.related-article-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.related-article-image {
    height: 200px;
    overflow: hidden;
}

.related-article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

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

.related-article-content {
    padding: 1.5rem;
}

.related-article-category {
    background: var(--gradient-success);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1rem;
}

.related-article-title a {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 700;
    transition: var(--transition);
    line-height: 1.3;
}

.related-article-title a:hover {
    color: var(--primary-color);
}

.related-article-meta {
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
    font-size: 0.85rem;
    color: var(--text-light);
}

/* Back to News */
.back-to-news {
    background: var(--gradient-brand);
    position: relative;
    overflow: hidden;
}

.back-to-news::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

/* Event Detail Page Styles */
.event-header {
    background: var(--gradient-secondary);
    color: white;
    padding: 4rem 0 2rem;
    position: relative;
    overflow: hidden;
}

.event-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.event-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    opacity: 0.9;
}

.event-type {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.event-date,
.event-location,
.event-online {
    display: flex;
    align-items: center;
}

.event-title {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.event-excerpt {
    font-size: 1.2rem;
    opacity: 0.9;
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

.event-image-section {
    padding: 2rem 0;
}

.event-image {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.event-image img {
    width: 100%;
    height: auto;
    display: block;
}

.event-details-section {
    background: var(--bg-white);
}

.event-details {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
}

.event-details h1,
.event-details h2,
.event-details h3,
.event-details h4,
.event-details h5,
.event-details h6 {
    color: var(--text-dark);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.event-details h1 { font-size: 2rem; }
.event-details h2 { font-size: 1.75rem; }
.event-details h3 { font-size: 1.5rem; }
.event-details h4 { font-size: 1.25rem; }

.event-details p {
    margin-bottom: 1.5rem;
}

.event-details ul,
.event-details ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.event-details li {
    margin-bottom: 0.5rem;
}

.event-details blockquote {
    border-left: 4px solid var(--secondary-color);
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: var(--text-light);
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: var(--border-radius);
}

.event-details img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    margin: 1.5rem 0;
    box-shadow: var(--shadow-md);
}

/* Event Information Cards */
.event-info-section {
    background: var(--bg-light);
}

.info-card {
    background: var(--bg-white);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    height: 100%;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    transition: var(--transition);
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.info-card-icon {
    background: var(--gradient-primary);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.info-card-content h4 {
    color: var(--text-dark);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.info-card-content p {
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.info-card-content a {
    color: var(--primary-color);
    text-decoration: none;
}

.info-card-content a:hover {
    text-decoration: underline;
}

/* Event Registration */
.event-registration {
    background: var(--bg-white);
}

.registration-card {
    background: var(--bg-white);
    border-radius: var(--border-radius-lg);
    padding: 3rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

.registration-card h3 {
    color: var(--text-dark);
    font-weight: 700;
    margin-bottom: 1rem;
}

.form-label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.form-control {
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(42, 96, 153, 0.25);
    outline: none;
}

/* Related Events */
.related-events {
    background: var(--bg-white);
}

.related-event-card {
    background: var(--bg-white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    overflow: hidden;
    height: 100%;
    border: 1px solid var(--border-color);
}

.related-event-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.related-event-image {
    height: 200px;
    overflow: hidden;
}

.related-event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

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

.related-event-content {
    padding: 1.5rem;
}

.related-event-type {
    background: var(--gradient-success);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1rem;
}

.related-event-title a {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 700;
    transition: var(--transition);
    line-height: 1.3;
}

.related-event-title a:hover {
    color: var(--primary-color);
}

.related-event-meta {
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
    font-size: 0.85rem;
    color: var(--text-light);
}

/* Back to Events */
.back-to-events {
    background: var(--gradient-brand);
    position: relative;
    overflow: hidden;
}

.back-to-events::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

/* About Page Styles */
.about-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    position: relative;
    overflow: hidden;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.about-hero .container {
    position: relative;
    z-index: 2;
    width: 100%;
}

.about-hero .row {
    align-items: center;
    min-height: 70vh;
}

.about-hero .col-lg-6:first-child {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.about-hero .col-lg-6:last-child {
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.min-vh-75 {
    min-height: 75vh;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 100%;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-align: left;
    width: 100%;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    opacity: 0.9;
    text-align: left;
    width: 100%;
}

.hero-description {
    font-size: 1.2rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    opacity: 0.9;
    word-wrap: break-word;
    hyphens: auto;
    max-width: 100%;
    text-align: left;
    white-space: normal;
    overflow-wrap: break-word;
    width: 100%;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: flex-start;
}

@media (max-width: 768px) {
    .hero-buttons {
        justify-content: center;
    }
}

.hero-image {
    position: relative;
    z-index: 2;
}

.hero-image img {
    border-radius: 1rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
}

.hero-image img:hover {
    transform: scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

/* Mission & Vision Cards */
.mission-vision {
    background: var(--bg-white);
}

.mission-card,
.vision-card {
    background: var(--bg-white);
    border-radius: var(--border-radius-lg);
    padding: 3rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    height: 100%;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.mission-card::before,
.vision-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
}

.mission-card:hover,
.vision-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-2xl);
}

.card-icon {
    background: var(--gradient-primary);
    color: white;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 2rem;
}

.mission-card h2,
.vision-card h2 {
    color: var(--text-dark);
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.mission-card p,
.vision-card p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 1.1rem;
}

/* Statistics Section */
.stats-section {
    background: var(--gradient-brand);
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    opacity: 0.3;
}

.stat-card {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-lg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
    position: relative;
    z-index: 2;
}

.stat-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
}

.stat-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: white;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
    margin: 0;
}

/* Core Values */
.values-section {
    background: var(--bg-white);
}

.value-card {
    text-align: center;
    padding: 2rem 1rem;
    background: var(--bg-white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    height: 100%;
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.value-icon {
    background: var(--gradient-secondary);
    color: white;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 1.5rem;
    transition: var(--transition);
}

.value-card:hover .value-icon {
    transform: scale(1.1);
}

.value-card h4 {
    color: var(--text-dark);
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.value-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

/* Campus Life */
.campus-life {
    background: var(--bg-light);
}

.campus-content h2 {
    color: var(--text-dark);
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
}

.campus-content .lead {
    color: var(--text-light);
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.campus-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.feature-item i {
    font-size: 1.5rem;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.feature-item h5 {
    color: var(--text-dark);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.feature-item p {
    color: var(--text-light);
    margin: 0;
    line-height: 1.5;
}

.campus-gallery img {
    transition: var(--transition);
    border-radius: var(--border-radius);
}

.campus-gallery img:hover {
    transform: scale(1.05);
}

/* Department Cards */
.departments-section {
    background: var(--bg-white);
}

.department-card {
    background: var(--bg-white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
}

.department-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.department-image {
    height: 200px;
    overflow: hidden;
}

.department-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

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

.department-content {
    padding: 2rem;
}

.department-content h4 {
    color: var(--text-dark);
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.department-content p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* Testimonials */
.testimonials-section {
    background: var(--gradient-brand);
    position: relative;
    overflow: hidden;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    height: 100%;
    transition: var(--transition);
    position: relative;
    z-index: 2;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
}

.testimonial-content {
    margin-bottom: 2rem;
}

.quote-icon {
    font-size: 2rem;
    opacity: 0.7;
    margin-bottom: 1rem;
}

.testimonial-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    font-style: italic;
    color: white;
    margin: 0;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.author-info h5 {
    color: white;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.author-info span {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

/* Call to Action */
.cta-section {
    background: var(--gradient-brand);
    position: relative;
    overflow: hidden;
}

.cta-section h2 {
    color: var(--text-dark);
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-section p {
    color: white;
    font-size: 1.1rem;
    line-height: 1.6;
}

.cta-content {
    color: white;
}

.cta-badge {
    display: inline-block;
    color: #0f172a;
    background: rgba(255,255,255,0.9);
    padding: 0.4rem 0.8rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: var(--shadow-md);
    margin-bottom: 1rem;
}

.cta-title {
    color: white;
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.cta-subtitle {
    color: rgba(255,255,255,0.9);
}

.cta-highlights {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.cta-highlights .highlight {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    background: rgba(255,255,255,0.12);
    padding: 0.5rem 0.8rem;
    border-radius: 999px;
    backdrop-filter: blur(6px);
}

.cta-highlights .highlight i {
    color: #22c55e;
}

.btn-outline-light {
    border: 2px solid rgba(255,255,255,0.8);
    color: white;
}

.btn-outline-light:hover {
    background: rgba(255,255,255,0.15);
}

/* Footer redesign */
.footer {
    background: #0f172a;
    color: rgba(255,255,255,0.9);
    position: relative;
}

.footer .container h5,
.footer .container h6 {
    color: white;
    font-weight: 700;
}

.footer .list-unstyled a {
    text-decoration: none;
    color: rgba(255,255,255,0.85);
}

.footer .list-unstyled a:hover {
    color: white;
}

.footer-newsletter {
    background: rgba(255,255,255,0.06);
    padding: 1rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
}

.footer-newsletter .form-control {
    background: rgba(255,255,255,0.9);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.15);
    padding-top: 1rem;
}

.social-links a {
    display: inline-flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(255,255,255,0.1);
    transition: var(--transition);
}

.social-links a:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

.back-to-top {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 1000;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-lg);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: flex-start;
    width: 100%;
}

.hero-image {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.hero-image img {
    border-radius: 1rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
    width: 100%;
    height: auto;
    max-width: 100%;
}

.hero-image img:hover {
    transform: scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

/* Responsive Design for About Page */
@media (max-width: 768px) {
    .about-hero {
        min-height: 60vh;
        text-align: center;
    }
    
    .about-hero .col-lg-6:first-child {
        align-items: center;
        text-align: center;
    }
    
    .about-hero .col-lg-6:last-child {
        margin-top: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
        text-align: center;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
        text-align: center;
    }
    
    .hero-description {
        font-size: 1rem;
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-image {
        max-width: 300px;
    }
}

/* Responsive Design for News Detail */
@media (max-width: 768px) {
    .article-title {
        font-size: 2rem;
    }
    
    .article-meta {
        flex-direction: column;
        gap: 1rem;
    }
    
    .article-content {
        font-size: 1rem;
    }
    
    .article-content h1 { font-size: 1.75rem; }
    .article-content h2 { font-size: 1.5rem; }
    .article-content h3 { font-size: 1.25rem; }
}

/* About Page Hero Section - Redesigned */
.about-hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.about-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-wrapper {
    display: flex;
    align-items: center;
    gap: 60px;
    position: relative;
    z-index: 2;
}

.hero-text {
    flex: 1;
    max-width: 600px;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
    color: white;
}

.hero-text h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 25px;
    opacity: 0.9;
    color: white;
}

.hero-text p {
    font-size: 1.2rem;
    line-height: 1.7;
    margin-bottom: 35px;
    opacity: 0.9;
    color: white;
}

.hero-actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(42, 96, 153, 0.3);
    color: white;
    text-decoration: none;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.1);
    color: white;
    text-decoration: none;
}

.hero-image {
    flex: 0 0 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.hero-image img:hover {
    transform: scale(1.05);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

/* Responsive Design for New Hero */
@media (max-width: 768px) {
    .about-hero-section {
        padding: 60px 0;
    }
    
    .hero-wrapper {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }
    
    .hero-text {
        max-width: 100%;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .hero-text h2 {
        font-size: 1.2rem;
    }
    
    .hero-text p {
        font-size: 1rem;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-image {
        flex: none;
        max-width: 250px;
    }
}

/* Enhanced Button Styles */
.btn {
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-md);
    border: 2px solid transparent;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: white;
    border-color: var(--primary-color);
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--gradient-primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: var(--border-radius-lg);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

/* Enhanced Program Footer */
.program-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
    flex-shrink: 0;
    min-height: 60px;
}

.program-footer .btn {
    flex-shrink: 0;
    min-width: 120px;
    visibility: visible !important;
    opacity: 1 !important;
    display: inline-block !important;
    background: var(--gradient-primary);
    border: none;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    position: relative;
    z-index: 10;
    margin-top: 1rem;
}

.program-footer .btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: white;
    text-decoration: none;
}

/* Force button visibility */
.program-card-detailed .btn-primary {
    visibility: visible !important;
    opacity: 1 !important;
    display: inline-block !important;
    position: relative !important;
    z-index: 999 !important;
}

.program-fee {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.fee-label {
    font-size: 0.8rem;
    color: var(--text-light);
    font-weight: 500;
}

.fee-amount {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--success-color);
}

/* Enhanced Faculty Footer */
.faculty-footer {
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

/* Enhanced Detail Items */
.detail-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    color: var(--text-light);
    font-size: 0.9rem;
    padding: 0.5rem 0;
    border-radius: var(--border-radius);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.detail-item:hover {
    background: rgba(42, 96, 153, 0.05);
    color: var(--text-dark);
    transform: translateX(5px);
}

.detail-item i {
    margin-right: 0.75rem;
    color: var(--primary-color);
    width: 20px;
    text-align: center;
    font-size: 1rem;
}

/* Enhanced Category Badges */
.program-category, .faculty-department, .news-category {
    background: var(--gradient-primary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.program-category:hover, .faculty-department:hover, .news-category:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.faculty-department {
    background: var(--gradient-secondary);
}

.news-category {
    background: var(--gradient-success);
}

/* Enhanced Titles */
.program-title, .faculty-name, .news-title a {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
    line-height: 1.3;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.program-title:hover, .faculty-name:hover {
    color: var(--primary-color);
}

.news-title a:hover {
    color: var(--primary-color);
}

/* Enhanced Descriptions */
.program-description, .faculty-bio, .news-excerpt {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Enhanced Faculty Title */
.faculty-title {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

/* Enhanced Faculty Specialization */
.faculty-specialization {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 0.9rem;
    font-style: italic;
}

.faculty-specialization i {
    color: var(--secondary-color);
    margin-right: 0.5rem;
}

/* Spacing Utilities */
.section-padding {
    padding: 5rem 0;
}

.section-padding-sm {
    padding: 3rem 0;
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 1s ease-in-out;
}

.slide-in-left {
    animation: slideInLeft 1s ease-in-out;
}

.slide-in-right {
    animation: slideInRight 1s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Admissions Page Styles */
.admissions-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
}

.admissions-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="admissions-grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="10" cy="60" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="90" cy="40" r="0.5" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23admissions-grain)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-content h2 {
    font-size: 1.8rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.hero-content p {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 800px;
    /* margin-left: auto; */
    margin-right: auto;
}

.hero-info {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    padding: 12px 20px;
    border-radius: 25px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.info-item i {
    font-size: 1.2rem;
    opacity: 0.8;
}

.info-item span {
    font-weight: 500;
}

.programs-overview {
    background: #f8f9fa;
}

.program-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid rgba(42, 96, 153, 0.1);
}

.program-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(42, 96, 153, 0.15);
    border-color: var(--primary-color);
}

.program-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
}

.program-card h4 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.program-card p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.program-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.program-details .grade {
    background: var(--primary-color);
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 500;
}

.program-details .subjects {
    background: #f8f9fa;
    color: var(--primary-color);
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 500;
}

.application-form-section {
    background: #f8f9fa;
}

.application-form-card {
    background: white;
    border-radius: 16px;
    padding: 3rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(42, 96, 153, 0.1);
}

.form-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid #f0f0f0;
}

.form-header h2 {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 1rem;
}

.form-section {
    margin-bottom: 3rem;
    padding: 2rem;
    background: #fafbfc;
    border-radius: 12px;
    border: 1px solid #e9ecef;
}

.section-header {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--primary-color);
}

.section-header h3 {
    color: var(--primary-color);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
}

.section-header i {
    font-size: 1.2rem;
}

.form-label {
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.form-control {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(42, 96, 153, 0.25);
    outline: none;
}

.form-control:invalid {
    border-color: #dc3545;
}

.form-control:valid {
    border-color: #28a745;
}

.parent-info {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.parent-info h5 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e9ecef;
}

.declaration {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    padding: 1.5rem;
}

.form-check-input {
    margin-top: 0.25rem;
}

.form-check-label {
    font-weight: 500;
    color: #333;
    line-height: 1.5;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(42, 96, 153, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(42, 96, 153, 0.4);
    background: linear-gradient(135deg, #1e4a6b, #e67e22);
}

.process-step {
    padding: 2rem 1rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
}

.process-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(42, 96, 153, 0.15);
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
}

.process-step h4 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.process-step p {
    color: #666;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content h2 {
        font-size: 1.4rem;
    }
    
    .hero-info {
        flex-direction: column;
        gap: 20px;
    }
    
    .application-form-card {
        padding: 2rem 1.5rem;
    }
    
    .form-section {
        padding: 1.5rem;
    }
}
/* Unified Heading Color */
h1, h2, h3, h4, h5, h6 {
    color: var(--heading-color);
}

/* Ensure headings with Bootstrap .text-primary are dark for consistency */
h1.text-primary,
h2.text-primary,
h3.text-primary,
h4.text-primary,
h5.text-primary,
h6.text-primary {
    color: var(--heading-color) !important;
}

/* Light headings on dark/brand backgrounds */
.on-dark,
.bg-primary,
.page-header,
.stats-section,
.faculty-stats,
.testimonials-section,
.about-hero,
.about-hero-section,
.events-cta,
.back-to-news,
.event-header,
.admissions-hero {
    --heading-color: #ffffff;
    color: #ffffff;
}