/* Import Modern Bold Font */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@600;700;800;900&display=swap');



/* Lubega Institute - Style - Institution Theme */



/* CSS Variables - Professional Color Scheme */

:root {

    /* Primary Colors - Maroon Burgundy Theme */

    --primary: #6B1423;

    --primary-light: #8B3A3A;

    --primary-lighter: #A85252;

    

    /* Secondary Color - Gold Accent */

    --secondary: #c9a227;

    --secondary-light: #d4b535;

    --secondary-dark: #b8931f;

    

    /* Neutral Colors */

    --white: #ffffff;

    --light: #f8f9fa;

    --dark: #1a202c;

    --text: #4a5568;

    --text-light: #757575;

    --border: #e2e8f0;

    --border-light: #edf2f7;

    

    /* Enhanced Gradients */

    --primary-gradient: linear-gradient(135deg, #6B1423 0%, #8B3A3A 100%);

    --secondary-gradient: linear-gradient(135deg, #c9a227 0%, #d4b535 100%);

    --glass-gradient: linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.7) 100%);

    --dark-gradient: linear-gradient(135deg, #1a202c 0%, #2d3748 100%);

    

    /* Legacy Color Variables for Compatibility */

    --primary-color: #6B1423;

    --primary-dark: #6B1423;

    --primary-light-compat: #8B3A3A;

    --secondary-color: #c9a227;

    --accent-color: #c9a227;

    --text-dark: #4a5568;

    --text-medium: #666666;

    --off-white: #f8f9fa;

    --gray-light: #e9ecef;

    

    /* Shadows - Enhanced for Modern Look */

    --shadow: 0 10px 40px rgba(0,0,0,0.1);

    --shadow-hover: 0 15px 50px rgba(0,0,0,0.15);

    --shadow-xl: 0 25px 60px rgba(0,0,0,0.2);

    --shadow-sm: 0 4px 12px rgba(0,0,0,0.08);

    --shadow-glow: 0 0 30px rgba(107, 20, 35, 0.3);

    --shadow-gold: 0 0 30px rgba(201, 162, 39, 0.3);

    

    /* Transitions - Smoother Animations */

    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);

    --transition-fast: all 0.2s ease;

    --transition-smooth: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);

    --transition-bounce: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);

    

    /* Border Radius - More Modern */

    --border-radius: 16px;

    --border-radius-lg: 24px;

    --border-radius-xl: 32px;

    --border-radius-sm: 8px;

    --border-radius-xl: 20px;

    

    /* Font Families */

    --font-heading: 'Poppins', sans-serif;

    --font-body: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;

}



/* Reset & Base */

* {

    margin: 0;

    padding: 0;

    box-sizing: border-box;

}



html {

    scroll-behavior: smooth;

    scroll-padding-top: 100px;

    max-width: 100vw;

    overflow-x: hidden;

}



body {

    font-family: var(--font-body);

    line-height: 1.7;

    color: var(--text);

    overflow-x: hidden;

    max-width: 100vw;

    background: url('../images/gallery/School%20view.jpeg') center/cover fixed no-repeat;

    background-attachment: fixed;

    position: relative;

    -webkit-font-smoothing: antialiased;

    -moz-osx-font-smoothing: grayscale;

}



/* Heading Styles - Enhanced Modern Typography */

h1, h2, h3, h4, h5, h6 {

    font-family: var(--font-heading);

    font-weight: 800;

    letter-spacing: -0.5px;

    line-height: 1.2;

    margin-bottom: 1rem;

}



h1 { font-size: clamp(2rem, 5vw, 3.5rem); }

h2 { font-size: 2rem; }

h3 { font-size: clamp(1.5rem, 3vw, 2rem); }

h4 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }

h5 { font-size: clamp(1rem, 2vw, 1.25rem); }

h6 { font-size: clamp(0.875rem, 1.5vw, 1rem); }



p {

    margin-bottom: 1.2rem;

    color: var(--text);
    

    line-height: 1.8;

}



body::before {

    content: '';

    position: fixed;

    top: 0;

    left: 0;

    right: 0;

    bottom: 0;

    background: rgba(255, 255, 255, 0.93);

    pointer-events: none;

    z-index: -1;

}





/* Ken Burns (hero zoom) for swiper slides */

.hero { overflow: hidden; }

.hero .swiper { position: relative; }

.hero .swiper-slide { position: relative; overflow: hidden; }

.hero .slide-bg {

    position: absolute;

    inset: 0;

    background-size: cover;

    background-position: center;

    background-repeat: no-repeat;

    transform-origin: center center;

    will-change: transform;

    z-index: 0;

    /* start slightly zoomed-in */

    transform: scale(1.12);

    transition: transform 12s linear;

}

.hero .hero-content { position: relative; z-index: 2; }



.hero .swiper-slide-active .slide-bg {

    transform: scale(1);

}



/* Apply Ken Burns to elements that use background-image on the .hero itself (no HTML change needed) */

.hero[style*="background-image"] {

    background-size: 112%;

    background-position: center;

    animation: kenburns-bg 12s linear forwards;

}



@keyframes kenburns-bg {

    0% { background-size: 112%; }

    100% { background-size: 100%; }

}



/* Ease-in/out slide change (fade + scale) without crossfade/jarring slide movement */

/* .hero .slide-bg {

    transition: transform 900ms cubic-bezier(.22,.96,.24,1), opacity 700ms cubic-bezier(.22,.96,.24,1);

    opacity: 0;

    transform: scale(1.08);

}

.hero .swiper-slide-active .slide-bg {

    opacity: 1;

    transform: scale(1);

}

.hero .swiper-slide-prev .slide-bg,

.hero .swiper-slide-next .slide-bg {

    opacity: 0;

    transform: scale(1.1);

} */



/* For hero sections that use background-image directly (no .slide-bg element) apply a smooth size/position easing when active */

/* .hero {

    transition: background-size 900ms cubic-bezier(.22,.96,.24,1), background-position 900ms cubic-bezier(.22,.96,.24,1);

} */

.container {

    max-width: var(--container-width);

    margin: 0 auto;

    padding: 0 24px;

}



/* /* /* SVG Icons - Unified Sizing System for Icons */

.icon {

    width: 3em;

    height: 3em;

    display: inline-block;

    vertical-align: -0.125em;

    fill: currentColor;

    flex-shrink: 0;

    margin-right: 0.5em;

}



/* Large icons for feature sections, stats, MVV cards */

.icon-large {

    width: 3rem;

    height: 3rem;

    margin-right: 0;

    margin-bottom: 15px;

} */ */



/* Legacy class mappings for compatibility */

.icon-inline,

.icon-small,

.icon-xs,

.icon-sm {

    /* Maps to base .icon class (1em x 1em) */

    width: 1em !important;

    height: 1em !important;

    margin-right: 0.5em;

}



.icon-md,

.icon-xl {

    /* Maps to .icon-large class (3rem x 3rem) */

    width: 3rem !important;

    height: 3rem !important;

    margin-right: 0;

    margin-bottom: 15px;

}



.icon-lg {

    /* Maps to base .icon class (1em x 1em) */

    width: 1em !important;

    height: 1em !important;

    margin-right: 0.5em;

}



.icon-section {

    width: 18px;

    height: 18px;

    vertical-align: -3px;

    margin-right: 0.5rem;

}



/* Checkmark icons in list items */

li .icon {

    width: 0.5em;

    height: 0.5em;

}



/* Icons in section headings (h3, h4, h5) */

h3 .icon,

h4 .icon,

h5 .icon {

    width: 0.9em;

    height: 0.9em;

    margin-right: 0.35em;

}







.top-social .icon {

    margin-right: 0;

}



/* ============== TAILWIND-STYLE ELEVATIONS & HOVER EFFECTS ============== */



/* Glass-morphism Effect */

.glass {

    background: rgba(255, 255, 255, 0.7);

    backdrop-filter: blur(10px);

    border: 1px solid rgba(255, 255, 255, 0.2);

}



.glass:hover {

    background: rgba(255, 255, 255, 0.9);

    backdrop-filter: blur(15px);

}



/* Text Highlight Effects */

.text-hover-gradient {

    position: relative;

    display: inline-block;

    background: linear-gradient(120deg, var(--primary-color), var(--secondary-color));

    -webkit-background-clip: text;

    -webkit-text-fill-color: transparent;

    background-clip: text;

    transition: var(--transition);

}



.text-hover-gradient:hover {

    filter: brightness(1.2);

}



/* Smooth Hover Lift Effect */

.hover-lift {

    transition: var(--transition);

}



.hover-lift:hover {

    transform: translateY(-8px);

    box-shadow: var(--shadow-xl);

}



/* Button Enhancement Styles */

.btn-smooth {

    position: relative;

    overflow: hidden;

    transition: var(--transition-smooth);

}



.btn-smooth::before {

    content: '';

    position: absolute;

    top: 50%;

    left: 50%;

    width: 0;

    height: 0;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.3);

    transform: translate(-50%, -50%);

    transition: width 0.5s, height 0.5s;

}



.btn-smooth:hover::before {

    width: 300px;

    height: 300px;

}



/* Badge Styling */

.badge-modern {

    display: inline-block;

    padding: 0.5rem 1.25rem;

    border-radius: 50px;

    font-size: 0.85rem;

    font-weight: 600;

    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));

    color: var(--white);

    box-shadow: 0 4px 15px rgba(146, 97, 170, 0.3);

    transition: var(--transition);

}



.badge-modern:hover {

    transform: scale(1.05);

    box-shadow: 0 8px 25px rgba(146, 97, 170, 0.4);

}



/* Header Header */

.site-header {

    position: fixed;

    top: 0;

    left: 0;

    right: 0;

    background: rgba(255,255,255,0.95);

    backdrop-filter: blur(20px);

    z-index: 1000;

    box-shadow: var(--shadow);

    transition: var(--transition);

}



.site-header.scrolled {

    background: rgba(255,255,255,1);

}



.site-header .container {

    display: flex;

    justify-content: space-between;

    align-items: center;

    height: 80px;

    padding: 0 20px;

}



.logo {

    display: flex;

    align-items: center;

    gap: 12px;

}



.logo-img {

    height: 50px;

    width: auto;

}



.logo-text h2 {

    font-size: 1.4rem;

    color: var(--primary-color);

    margin: 0;

    font-weight: 800;

    font-family: var(--font-heading);

    letter-spacing: 0.5px;

    text-transform: uppercase;

}



.logo-text p {

    font-size: 0.8rem;

    color: var(--text-light);

    margin: 0;

}



.nav-menu {

    display: flex;

    align-items: center;

}



.mobile-toggle {

    display: none;

    font-size: 1.5rem;

    cursor: pointer;

    color: var(--text-dark);

}



.nav-list {

    display: flex;

    list-style: none;

    gap: 2rem;

    margin: 0;

}



.nav-link {

    text-decoration: none;

    color: var(--text-dark);

    font-weight: 700;

    font-family: var(--font-heading);

    position: relative;

    transition: var(--transition);

    display: inline-block;

    letter-spacing: 0.3px;

}



.nav-link:hover,

.nav-link.active {

    color: var(--secondary-color);

    text-shadow: 0 0 10px rgba(201, 162, 39, 0.2);

}



.nav-link::after {

    content: '';

    position: absolute;

    bottom: -8px;

    left: 0;

    width: 0;

    height: 3px;

    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));

    transition: width 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);

    border-radius: 2px;

}



.nav-link:hover::after,

.nav-link.active::after {

    width: 100%;

}



/* Dropdown Menu */

.nav-item {

    position: relative;

}



.dropdown {

    position: relative;

}



.dropdown-toggle {

    display: flex;

    align-items: center;

    gap: 5px;

}



.dropdown-toggle::after {

    content: '\f107';

    font-family: 'Font Awesome 6 Free';

    font-weight: 900;

    font-size: 0.8rem;

    transition: transform 0.3s;

}



.dropdown:hover .dropdown-toggle::after {

    transform: rotate(180deg);

}



.dropdown-menu {

    position: absolute;

    top: 100%;

    left: 0;

    min-width: 250px;

    background: var(--white);

    box-shadow: 0 10px 40px rgba(0,0,0,0.15);

    border-radius: 0;

    opacity: 0;

    visibility: hidden;

    transform: translateY(10px);

    transition: all 0.3s ease;

    z-index: 1000;

    margin-top: 0;

    list-style: none;

    padding: 0;

}



.dropdown:hover .dropdown-menu {

    opacity: 1;

    visibility: visible;

    transform: translateY(0);

}



/* Keep dropdown open when clicked (toggle behavior) */

.dropdown.dropdown-open .dropdown-menu {

    opacity: 1;

    visibility: visible;

    transform: translateY(0);

}



.dropdown-menu li {

    display: block;

    width: 100%;

    border-bottom: 1px solid var(--gray-light);

}



.dropdown-menu li:last-child {

    border-bottom: none;

}



.dropdown-menu a {

    display: block;

    width: 100%;

    padding: 15px 25px;

    color: var(--text-dark);

    font-size: 0.95rem;

    font-weight: 500;

    transition: all 0.3s;

    text-decoration: none;

    white-space: nowrap;

}



.dropdown-menu a:hover {

    background: linear-gradient(135deg, rgba(201, 162, 39, 0.15), rgba(201, 162, 39, 0.1));

    color: var(--secondary-color);

    padding-left: 30px;

    box-shadow: inset 2px 0 0 var(--secondary-color);

}



.dropdown-submenu {

    position: relative;

}



.dropdown-submenu > a::after {

    content: '\f105';

    font-family: 'Font Awesome 6 Free';

    font-weight: 900;

    position: absolute;

    right: 20px;

    line-height: 1.5;

}



.dropdown-submenu .dropdown-menu {

    position: absolute;

    left: 100%;

    top: 0;

    margin-top: 0;

    margin-left: 0;

    min-width: 220px;

}



.dropdown-submenu:hover .dropdown-menu {

    opacity: 1;

    visibility: visible;

}



/* ============== PROFESSIONAL PAGE STYLING ============== */



/* Page Header - Gradient with Overlay */

.page-header {

    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%), 

                url('images/gallery/Nursing-Colleges.jpg') center/cover;

    background-attachment: fixed;

    padding: 100px 0;

    color: var(--white);

    text-align: center;

    position: relative;

    overflow: hidden;

    min-height: 300px;

    display: flex;

    align-items: center;

    justify-content: center;

}



.page-header::before {

    content: '';

    position: absolute;

    top: 0;

    left: 0;

    right: 0;

    bottom: 0;

    background: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.4) 100%);

    z-index: 1;

}



.page-header .container {

    position: relative;

    z-index: 2;

}



.page-header h1 {

    font-size: 3rem;

    font-weight: 900;

    margin-bottom: 15px;

    letter-spacing: -1px;

    font-family: var(--font-heading);

    text-transform: uppercase;

}



.page-header p {

    font-size: 1.2rem;

    opacity: 0.95;

    font-weight: 300;

    letter-spacing: 0.5px;

}



.breadcrumb {

    margin-top: 25px;

    font-size: 1rem;

    font-weight: 500;

    letter-spacing: 0.5px;

}



.breadcrumb a {

    color: var(--secondary);

    font-weight: 600;

    transition: all 0.3s;

    text-decoration: none;

}



.breadcrumb a:hover {

    text-decoration: underline;

}



.breadcrumb span {

    margin: 0 12px;

    opacity: 0.7;

}



/* Professional Content Sections - Enhanced Spacing */

.section {

    padding: 100px 0;

}



.section-light {

    background: var(--light);

}



.section-white {

    background: var(--white);

}



.section-gradient {

    background: var(--primary-gradient);

    color: var(--white);

}



.section-dark {

    background: var(--dark-gradient);

    color: var(--white);

}



/* Section Titles - Enhanced Modern Design */

.section-title {

    font-size: clamp(2rem, 4vw, 2.8rem);

    font-weight: 900;

    color: var(--primary);

    margin-bottom: 20px;

    padding-bottom: 20px;

    border-bottom: 4px solid var(--secondary);

    display: inline-block;

    position: relative;

}



.section-title::after {

    content: '';

    position: absolute;

    bottom: -4px;

    left: 0;

    width: 60px;

    height: 4px;

    background: var(--primary-gradient);

    transition: var(--transition);

}



.section-title:hover::after {

    width: 100%;

}



.section-title.light {

    color: var(--white);

    border-bottom-color: var(--secondary);

}



.section-subtitle {

    font-size: 1.15rem;

    color: var(--text-light);

    margin-top: 15px;

    font-weight: 400;

    line-height: 1.6;

    max-width: 700px;

}



/* Professional Cards - Enhanced Modern Design */

.card {

    background: var(--white);

    border-radius: var(--border-radius-lg);

    box-shadow: var(--shadow-sm);

    padding: 35px;

    transition: var(--transition);

    border: 1px solid var(--border-light);

    position: relative;

    overflow: hidden;

}



.card::before {

    content: '';

    position: absolute;

    top: 0;

    left: 0;

    width: 100%;

    height: 4px;

    background: var(--primary-gradient);

    transform: scaleX(0);

    transform-origin: left;

    transition: var(--transition);

}



.card:hover {

    transform: translateY(-8px);

    box-shadow: var(--shadow-hover);

    border-color: var(--secondary);

}



.card:hover::before {

    transform: scaleX(1);

}



.card-image {

    max-width: 100%;

    height: 200px;

    object-fit: cover;

    border-radius: var(--border-radius-lg);

    margin-bottom: 20px;

}



.card h3 {

    color: var(--primary);

    font-size: 1.3rem;

    margin-bottom: 10px;

    font-weight: 700;

}



.card p {

    color: var(--text);

    margin-bottom: 15px;

}



/* Content Grid - Enhanced Modern Layout */

.content-grid {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 60px;

    align-items: start;

}



.content-image {

    border-radius: var(--border-radius-xl);

    overflow: hidden;

    box-shadow: var(--shadow);

    transition: var(--transition);

    position: relative;

}



.content-image::after {

    content: '';

    position: absolute;

    inset: 0;

    background: linear-gradient(135deg, rgba(107, 20, 35, 0.1) 0%, rgba(201, 162, 39, 0.1) 100%);

    opacity: 0;

    transition: var(--transition);

}



.content-image:hover {

    transform: translateY(-12px) scale(1.02);

    box-shadow: var(--shadow-xl);

}



.content-image:hover::after {

    opacity: 1;

}



.content-image img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    transition: var(--transition);

}



.content-image:hover img {

    transform: scale(1.05);

}



.content-text {

    background: var(--white);

    padding: 40px;

    border-radius: var(--border-radius-lg);

    box-shadow: var(--shadow-sm);

}



.content-text h2 {

    color: var(--primary);

    font-size: 2rem;

    font-weight: 900;

    margin-bottom: 20px;

    line-height: 1.3;

}



.content-text p {

    color: #555;

    font-size: 1rem;

    line-height: 1.8;

    margin-bottom: 15px;

}



/* Stats Section */

.stats-section {

    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);

    padding: 80px 0;

    color: var(--white);

    position: relative;

    overflow: hidden;

}



.stats-grid {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));

    gap: 40px;

    text-align: center;

}



.stat-item {

    padding: 30px;

    background: rgba(255,255,255,0.08);

    border-radius: var(--border-radius-lg);

    backdrop-filter: blur(10px);

    border: 1px solid rgba(255,255,255,0.15);

    transition: all 0.3s ease;

}



.stat-item:hover {

    background: rgba(255,255,255,0.12);

    transform: translateY(-10px);

    box-shadow: 0 15px 40px rgba(0,0,0,0.2);

}



.stat-number {

    font-size: 2.8rem;

    font-weight: 900;

    color: var(--secondary);

    display: block;

    margin-bottom: 8px;

}



.stat-label {

    font-size: 1rem;

    font-weight: 500;

    opacity: 0.9;

}



/* Professional Buttons - Enhanced Modern Design */

.btn {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding: 16px 36px;

    border-radius: 50px;

    font-weight: 700;

    text-decoration: none;

    transition: var(--transition);

    border: none;

    cursor: pointer;

    font-size: 1rem;

    text-align: center;

    position: relative;

    overflow: hidden;

    z-index: 1;

}



.btn-primary {

    background: var(--secondary-gradient);

    color: var(--white);

    box-shadow: 0 4px 15px rgba(201, 162, 39, 0.3);

}



.btn-primary:hover {

    background: var(--secondary-light);

    transform: translateY(-4px);

    box-shadow: 0 8px 25px rgba(201, 162, 39, 0.4);

}



.btn-secondary {

    background: var(--primary-gradient);

    color: var(--white);

    box-shadow: 0 4px 15px rgba(107, 20, 35, 0.3);

}



.btn-secondary:hover {

    background: var(--primary-light);

    transform: translateY(-4px);

    box-shadow: 0 8px 25px rgba(107, 20, 35, 0.4);

}



.btn-outline {

    background: transparent;

    color: var(--primary);

    border: 2px solid var(--primary);

    box-shadow: none;

}



.btn-outline:hover {

    background: var(--primary-gradient);

    color: var(--white);

    border-color: transparent;

    transform: translateY(-4px);

    box-shadow: 0 8px 25px rgba(107, 20, 35, 0.3);

}



/* Loading Animations and Micro-interactions */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@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);
    }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* Animation Classes */
.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

.animate-fade-in {
    animation: fadeIn 0.6s ease-out forwards;
}

.animate-slide-left {
    animation: slideInLeft 0.8s ease-out forwards;
}

.animate-slide-right {
    animation: slideInRight 0.8s ease-out forwards;
}

.animate-pulse {
    animation: pulse 2s ease-in-out infinite;
}

/* Staggered Animation Delays */
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }

/* Loading Spinner */
.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--border-light);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Skeleton Loading */
.skeleton {
    background: linear-gradient(90deg, var(--light) 25%, var(--border-light) 50%, var(--light) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: var(--border-radius-sm);
}

/* Micro-interactions */
.interactive-hover {
    transition: var(--transition);
    cursor: pointer;
}

.interactive-hover:active {
    transform: scale(0.98);
}

/* Ripple Effect */
.ripple {
    position: relative;
    overflow: hidden;
}

.ripple::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.3) 10%, transparent 10.01%);
    background-repeat: no-repeat;
    background-position: 50%;
    transform: scale(10, 10);
    opacity: 0;
    transition: transform 0.5s, opacity 1s;
}

.ripple:active::after {
    transform: scale(0, 0);
    opacity: 0.3;
    transition: 0s;
}

/* Scroll Progress Indicator */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: var(--secondary-gradient);
    z-index: 9999;
    transition: width 0.1s;
}



.hero {

    min-height: 100vh;

    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);

    display: flex;

    align-items: center;

    position: relative;

}



.hero-overlay {

    text-align: center;

    color: var(--white);

    z-index: 2;

    position: relative;

}



.hero-text h1 {

            font-size: clamp(2rem, 5vw, -0.5rem);

            font-weight: 900;

            color: #ffffff;

            /* color: #c9a227; */

            margin-bottom: clamp(4px, 1vh, 8px);

            line-height: 1.1;

            animation: zoomIn 1s ease-out 0.4s both;

            word-spacing: 0.1em;

            display: inline-block;

        }

        

        .hero-text h2 {

            font-size: clamp(0.9rem, 1vw, 1.3rem);

            color: #24201f;

            background: #f4d03f;

            margin-bottom: clamp(3px, 1vh, 6px);

            font-weight: 600;

            animation: slideInFromLeft 1s ease-out 0.4s both;

            max-width: 100%;

            word-spacing: 0.05em;

            /* background-color: rgba(255, 255, 255, 0.5); */

            margin-left: -20px; /* Pulls the entire box to the left */

            width: fit-content; /* Key: background fits text, but stays as block element */

            border-radius: 8px;

            opacity: 0.9;

            padding: 5px 2px;



        }

        

      .hero-text p {

    font-size: clamp(0.85rem, 1vw, 1rem);

    color: #ffffff;

    background: #6B1423;

    margin-bottom: clamp(12px, 2vh, 20px);

    line-height: 1.6;

    opacity: 0.9;

    animation: slideInFromLeft 0.8s ease-out 0.6s both;

    max-width: 100%;

    /* background-color: rgba(255, 255, 255, 0.4); */

    padding: 5px 5px;

    border-radius: 8px;

    margin-left: -20px; /* Pulls the entire box to the left */

    width: fit-content; /* Key: background fits text, but stays as block element */

}





.hero-buttons {

    display: flex;

    gap: 1rem;

    justify-content: center;

    flex-wrap: wrap;

}



.btn {

    padding: 1rem 2rem;

    border-radius: 50px;

    font-weight: 600;

    font-size: 1.1rem;

    text-decoration: none;

    display: inline-block;

    transition: var(--transition);

    border: 2px solid transparent;

    position: relative;

    overflow: hidden;

}



.btn::before {

    content: '';

    position: absolute;

    top: 50%;

    left: 50%;

    width: 0;

    height: 0;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.2);

    transform: translate(-50%, -50%);

    transition: width 0.5s, height 0.5s;

    z-index: 0;

}



.btn::after {

    content: '';

    position: absolute;

    top: 0;

    left: 0;

    right: 0;

    bottom: 0;

    background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0));

    opacity: 0;

    transition: opacity 0.3s;

    border-radius: 50px;

    z-index: 0;

}



.btn:hover::before {

    width: 300px;

    height: 300px;

}



.btn:hover {

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);

}



.btn span {

    position: relative;

    z-index: 1;

}



.btn-primary {

    background: linear-gradient(135deg, var(--accent-color), #E65100);

    color: var(--white);

    box-shadow: 0 4px 20px rgba(255, 111, 0, 0.3);

}



.btn-primary:hover {

    transform: translateY(-4px);

    box-shadow: 0 12px 40px rgba(255, 111, 0, 0.5);

}



.btn-secondary {

    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.8));

    color: var(--primary-color);

    border-color: var(--white);

    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);

}



.btn-secondary:hover {

    background: var(--white);

    color: var(--primary-color);

    transform: translateY(-4px);

    box-shadow: 0 12px 35px rgba(255, 255, 255, 0.5);

}



/* Stats */

.stats {

    background: var(--primary-color);

    color: var(--white);

    padding: 4rem 0;

}



.stats-grid {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));

    gap: 2rem;

    text-align: center;

}



.stat-number {

    font-size: 3rem;

    font-weight: 800;

    margin-bottom: 0.5rem;

    opacity: 0.9;

}



.stat-label {

    font-size: 1.1rem;

    font-weight: 500;

}



/* Section Base */

.section {

    padding: 6rem 0;

}



.section-header {

    text-align: center;

    max-width: 700px;

    margin: 0 auto 4rem;
    color: #6B1423;

}



.section-subtitle {

    color: var(--primary-color);

    font-weight: 600;

    text-transform: uppercase;

    letter-spacing: 2px;

    font-size: 0.9rem;

    margin-bottom: 1rem;

}



.section-title {

    font-size: clamp(2rem, 4vw, 3rem);

    font-weight: 700;

    margin-bottom: 1rem;

}



.section-description {

    font-size: 1.2rem;

    color: var(--text-medium);

}



/* About */

.about-grid {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 4rem;

    align-items: center;

}



.about-image img {

    width: 100%;

    border-radius: var(--border-radius);

    box-shadow: var(--shadow-hover);

}



.about-img-main {

    width: 100%;

    height: auto;

    min-height: 650px;

    object-fit: cover;

    border-radius: var(--border-radius);

    box-shadow: var(--shadow-hover);

    display: block;

}



.about-img-secondary {

    width: 100%;

    height: auto;

    border-radius: var(--border-radius);

    box-shadow: var(--shadow-hover);

}



.about-content h3 {

    font-size: 1.8rem;

    margin-bottom: 1.5rem;

    color: var(--text-dark);

}



.about-features {

    display: flex;

    flex-direction: column;

    gap: 1rem;

    margin-top: 2rem;

}



.about-feature {

    display: flex;

    align-items: center;

    gap: 1rem;

}



.about-feature i {

    color: var(--primary-color);

    font-size: 1.3rem;

    width: 30px;

}



/* Programs */

.programs {

    background: var(--off-white);

}



.programs-grid {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));

    gap: 2rem;

}



.program-card {

    background: var(--white);

    border-radius: var(--border-radius);

    overflow: hidden;

    box-shadow: var(--shadow);

    transition: var(--transition);

    cursor: pointer;

}



.program-card:hover {

    transform: translateY(-10px);

    box-shadow: var(--shadow-hover);

}



.program-image {

    height: 200px;

    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 3rem;

    color: var(--white);

}



.program-content {

    padding: 2rem;

}



.program-badge {

    display: inline-block;

    background: var(--primary-light);

    color: var(--white);

    padding: 0.4rem 1rem;

    border-radius: 20px;

    font-size: 0.8rem;

    font-weight: 600;

    margin-bottom: 1rem;

}



.program-title {

    font-size: 1.4rem;

    font-weight: 700;

    margin-bottom: 1rem;

    color: var(--text-dark);

}



.program-meta {

    display: flex;

    justify-content: space-between;

    margin-top: 1.5rem;

    padding-top: 1.5rem;

    font-size: 0.9rem;

    color: var(--text-light);

}



.program-meta span {

    display: flex;

    align-items: center;

    gap: 0.5rem;

}



/* Why Us */

.why-us {

    background: linear-gradient(135deg, var(--primary-dark), var(--secondary-color));

    color: var(--white);

}



.why-us .section-subtitle,

.why-us .section-title {

    color: var(--white);

}



.why-us .section-description {

    color: rgba(255,255,255,0.9);

}



.why-us-grid {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));

    gap: 2rem;

}



.why-us-card {

    text-align: center;

    padding: 3rem 2rem;

    background: rgba(255,255,255,0.1);

    border-radius: var(--border-radius);

    transition: var(--transition-smooth);

    backdrop-filter: blur(10px);

    border: 1px solid rgba(255,255,255,0.2);

    position: relative;

    overflow: hidden;

}



.why-us-card::before {

    content: '';

    position: absolute;

    top: 0;

    left: 0;

    right: 0;

    bottom: 0;

    background: linear-gradient(135deg, rgba(255,255,255,0.2), rgba(255,255,255,0));

    opacity: 0;

    transition: opacity 0.3s;

    border-radius: var(--border-radius);

}



.why-us-card:hover {

    background: rgba(255,255,255,0.2);

    transform: translateY(-12px);

    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);

    border-color: rgba(255,255,255,0.4);

}



.why-us-card:hover::before {

    opacity: 1;

}



.why-us-icon {

    width: 80px;

    height: 80px;

    background: var(--white);

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    margin: 0 auto 1.5rem;

    font-size: 2rem;

    color: var(--primary-color);

}



.why-us-card h4 {

    font-size: 1.3rem;

    margin-bottom: 1rem;

}



/* Admissions */

.admissions {

    background: var(--off-white);

}



.admissions-grid {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 4rem;

    align-items: start;

}



.admissions-content h3 {

    font-size: 2rem;

    margin-bottom: 2rem;

}



.admissions-list {

    margin-bottom: 2rem;

}



.admissions-item {

    display: flex;

    gap: 1.5rem;

    margin-bottom: 1.5rem;

    padding: 1.5rem;

    background: var(--white);

    border-radius: var(--border-radius);

    box-shadow: var(--shadow);

    transition: var(--transition-smooth);

    border-left: 4px solid transparent;

    position: relative;

}



.admissions-item::before {

    content: '';

    position: absolute;

    top: 0;

    left: 0;

    right: 0;

    bottom: 0;

    background: linear-gradient(135deg, rgba(146, 97, 170, 0.05), rgba(21, 101, 192, 0.05));

    opacity: 0;

    transition: opacity 0.3s;

    border-radius: var(--border-radius);

    z-index: 0;

}



.admissions-item:hover {

    transform: translateX(12px);

    border-left-color: var(--primary-color);

    box-shadow: 0 12px 35px rgba(146, 97, 170, 0.2);

}



.admissions-item:hover::before {

    opacity: 1;

}



.admissions-icon {

    width: 45px;

    height: 45px;

    background: var(--primary-color);

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    color: var(--white);

    font-size: 1.2rem;

    flex-shrink: 0;

}



.admissions-text h4 {

    font-size: 1.2rem;

    margin-bottom: 0.5rem;

}



.admissions-form {

    background: var(--white);

    padding: 2.5rem;

    border-radius: var(--border-radius);

    box-shadow: var(--shadow-hover);

}



.admissions-form h3 {

    font-size: 1.6rem;

    margin-bottom: 2rem;

    text-align: center;

}



.form-group {

    margin-bottom: 1.5rem;

}



.form-group label {

    display: block;

    margin-bottom: 0.5rem;

    font-weight: 600;

    color: var(--text-dark);

}



.form-group input,

.form-group select,

.form-group textarea {

    width: 100%;

    padding: 1rem;

    border: 2px solid var(--gray-light);

    border-radius: var(--border-radius);

    font-size: 1rem;

    transition: var(--transition);

    background: linear-gradient(135deg, rgba(255,255,255,0.9), rgba(255,255,255,0.8));

}



.form-group input:focus,

.form-group select:focus,

.form-group textarea:focus {

    outline: none;

    border-color: var(--primary-color);

    box-shadow: 0 0 0 4px rgba(146, 97, 170, 0.15);

    background: var(--white);

    transform: translateY(-2px);

}



.form-submit {

    width: 100%;

    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));

    color: var(--white);

    padding: 1rem;

    border: none;

    border-radius: var(--border-radius);

    font-size: 1.1rem;

    font-weight: 600;

    cursor: pointer;

    transition: var(--transition-smooth);

    box-shadow: 0 4px 20px rgba(146, 97, 170, 0.3);

    position: relative;

    overflow: hidden;

}



.form-submit::before {

    content: '';

    position: absolute;

    top: 50%;

    left: 50%;

    width: 0;

    height: 0;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.2);

    transform: translate(-50%, -50%);

    transition: width 0.6s, height 0.6s;

}



.form-submit:hover {

    background: linear-gradient(135deg, #1B5E20, #0D47A1);

    transform: translateY(-3px);

    box-shadow: 0 12px 40px rgba(146, 97, 170, 0.5);

}



.form-submit:hover::before {

    width: 400px;

    height: 400px;

}



/* Programs Page - Page Header */

.page-header {

    background: linear-gradient(135deg, #6B1423, #8B3A3A);



    color: var(--white);

    padding: 80px 0 60px;

    text-align: center;

    position: relative;

    overflow: hidden;

}



.page-header::before {

    content: '';

    position: absolute;

    top: 0;

    left: 0;

    right: 0;

    bottom: 0;

    background: url('../images/gallery/campus-hd.jpg') center/cover;

    opacity: 0.2;

    z-index: 0;

}



.page-header .container {

    position: relative;

    z-index: 1;

}



.page-header h1 {

    font-size: 3.5rem;

    font-weight: 800;

    margin-bottom: 1rem;

    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);

}



.page-header p {

    font-size: 1.3rem;

    max-width: 600px;

    margin: 0 auto 2rem;

    opacity: 0.95;

}



.breadcrumb {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    font-size: 1rem;

    color: rgba(255,255,255,0.9);

}



.breadcrumb a {

    color: var(--white);

    text-decoration: none;

}



.breadcrumb a:hover {

    color: var(--accent-color);

}



.breadcrumb span {

    color: rgba(255,255,255,0.7);

}



/* Programs Section */

.programs-section {

    padding: 100px 0;

    background: var(--off-white);

}



.programs-filters {

    display: flex;

    justify-content: center;

    gap: 15px;

    margin-bottom: 50px;

    flex-wrap: wrap;

}



.programs-filter-btn {

    padding: 12px 30px;

    background: var(--white);

    color: var(--text-dark);

    border: 2px solid var(--gray-light);

    border-radius: 30px;

    font-weight: 600;

    cursor: pointer;

    transition: var(--transition-smooth);

    white-space: nowrap;

    position: relative;

    overflow: hidden;

}



.programs-filter-btn::before {

    content: '';

    position: absolute;

    top: 50%;

    left: 50%;

    width: 0;

    height: 0;

    border-radius: 50%;

    background: rgba(21, 101, 192, 0.2);

    transform: translate(-50%, -50%);

    transition: width 0.4s, height 0.4s;

    z-index: 0;

}



.programs-filter-btn.active,

.programs-filter-btn:hover {

    background: linear-gradient(135deg, #6B1423, #1565C0);

    color: var(--white);

    border-color: #6B1423;

    transform: translateY(-2px);

    box-shadow: 0 8px 25px rgba(26, 54, 93, 0.3);

}



.programs-filter-btn:hover::before,

.programs-filter-btn.active::before {

    width: 300px;

    height: 300px;

}



.program-category {

    margin-bottom: 60px;

}



.category-title {

    font-size: 2.2rem;

    color: var(--primary-color);

    text-align: center;

    margin-bottom: 40px;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 15px;

    font-weight: 700;

}



.category-title i {

    font-size: 2.5rem;

    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));

    -webkit-background-clip: text;

    -webkit-text-fill-color: transparent;

    background-clip: text;

}



.programs-grid {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));

    gap: 30px;

}



.program-card {

    background: var(--white);

    border-radius: var(--border-radius);

    overflow: hidden;

    box-shadow: var(--shadow);

    transition: var(--transition);

    cursor: pointer;

    border: 1px solid rgba(0, 0, 0, 0.05);

    position: relative;

}



.program-card::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: left 0.6s ease;

    z-index: 1;

}



.program-card:hover::before {

    left: 100%;

}



.program-card:hover {

    transform: translateY(-15px);

    box-shadow: 0 20px 50px rgba(146, 97, 170, 0.25);

    border-color: rgba(146, 97, 170, 0.1);

}



.program-image {

    height: 240px;

    overflow: hidden;

    position: relative;

}



.program-image img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    transition: transform 0.5s ease;

}



.program-card:hover .program-image img {

    transform: scale(1.1);

}



.program-image::after {

    content: '';

    position: absolute;

    top: 0;

    left: 0;

    right: 0;

    bottom: 0;

    background: linear-gradient(transparent, rgba(0,0,0,0.4));

}



.program-content {

    padding: 30px;

    position: relative;

}



.program-content h3 {

    color: var(--text-dark);

    font-size: 1.5rem;

    margin-bottom: 15px;

    font-weight: 700;

    line-height: 1.3;

}



.program-content p {

    color: var(--text-medium);

    margin-bottom: 25px;

    line-height: 1.7;

    font-size: 1rem;

}



.program-meta {

    display: flex;

    justify-content: space-between;

    align-items: center;

    margin-bottom: 25px;

    padding-bottom: 20px;

    border-bottom: 2px solid var(--gray-light);

}



.program-meta span {

    display: flex;

    align-items: center;

    gap: 8px;

    font-size: 0.95rem;

    font-weight: 600;

    color: var(--primary-color);

}



.program-btn {

    display: inline-block;

    padding: 14px 32px;

    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));

    color: var(--white);

    border-radius: 30px;

    font-weight: 600;

    text-decoration: none;

    transition: var(--transition-smooth);

    box-shadow: 0 4px 15px rgba(146, 97, 170, 0.3);

    position: relative;

    overflow: hidden;

}



.program-btn::before {

    content: '';

    position: absolute;

    top: 50%;

    left: 50%;

    width: 0;

    height: 0;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.3);

    transform: translate(-50%, -50%);

    transition: width 0.5s, height 0.5s;

    z-index: 0;

}



.program-btn:hover {

    transform: translateY(-4px);

    box-shadow: 0 12px 40px rgba(146, 97, 170, 0.5);

}



.program-btn:hover::before {

    width: 300px;

    height: 300px;

}



/* Responsive */

@media (max-width: 1200px) { 

    .gallery-grid, 

    .gallery-grid.grid-view { 

        column-count: 3; 

        column-gap: 20px; 

    }

}



@media (max-width: 1024px) {

    .programs-grid {

        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));

        gap: 25px;

    }

    

    .about-grid,

    .admissions-grid,

    .contact-grid {

        grid-template-columns: 1fr;

        gap: 3rem;

    }

}







@media (max-width: 1024px) {

    .about-grid {

  display: grid;

  grid-template-columns: 1fr;

  gap: 60px;

 row-gap: 60px;

 column-gap: 60px;

  align-items: center;

}



}

   







@media (max-width: 992px) {

  .about-grid {

    grid-template-columns: 1fr;

    gap: 40px;

  }

}





































@media (max-width: 768px) {

    .page-header h1 {

        font-size: 2rem;

    }

    

    .page-header p {

        font-size: 1rem;

    }

    

    .section {

        padding: 50px 0;

    }

    

    .section-title {

        font-size: 1.8rem;

    }

    

    .content-grid {

        grid-template-columns: 1fr;

        gap: 30px;

    }

    

    .stats-grid {

        grid-template-columns: repeat(2, 1fr);

        gap: 20px;

    }

    

    .stat-number {

        font-size: 2rem;

    }

    

    .card {

        padding: 20px;

    }

    

    .content-text {

        padding: 25px;

    }

    

    .content-text h2 {

        font-size: 1.5rem;

    }

}

     

    

    .programs-section {

        padding: 60px 0;

    }

    

    .programs-filters {

        flex-direction: column;

        align-items: center;

    }

    

    .programs-filter-btn {

        width: 100%;

        max-width: 280px;

        text-align: center;

    }

    

    .programs-grid {

        grid-template-columns: 1fr;

        gap: 25px;

    }

    

    .category-title {

        font-size: 1.8rem;

    }

    

    .category-title i {

        font-size: 2rem;

    }





@media (max-width: 480px) {

    .container {

        padding: 0 15px;

    }

    

    .page-header {

        padding: 80px 0 60px;

    }

    

    /* Home Page Stats */

    .stats-section {

        padding: 40px 0;

    }

    

    .stats-grid {

        grid-template-columns: 1fr;

        gap: 12px;

    }

    

    .stat-item {

        padding: 12px 10px;

        background: rgba(255,255,255,0.08) !important;

    }

    

    .stat-item svg {

        width: 30px;

        height: 30px;

    }

    

    .number,

    .stat-number {

        font-size: 1.8rem !important;

        margin-bottom: 2px;

    }

    

    .stat-item > span {

        font-size: 0.85rem;

        line-height: 1.3;

    }

    

    /* Home Page Welcome/About Section */

    .about-section {

        padding: 50px 0;

    }

    

    .about-grid {

        gap: 30px;

    }

    

    

    .about-content h2 {

        font-size: 1.8rem;

        margin-bottom: 15px;

    }

    

    .about-content p {

        font-size: 0.95rem;

        margin-bottom: 12px;

        line-height: 1.6;

    }

    

    .about-list li {

        font-size: 0.9rem;

        margin-bottom: 8px;

        gap: 8px;

    }

    

    .about-img-secondary {

        width: 120px;

        height: 100px;

        bottom: -15px;

        right: -10px;

    }

    

    /* Features Bar */

    .features-grid {

        grid-template-columns: repeat(2, 1fr);

        gap: 15px;

    }

    

    .feature-item h3 {

        font-size: 0.9rem;

    }

    

    .feature-item p {

        font-size: 0.8rem;

    }

}



/* Responsive Tables */

.responsive-table {

    width: 100%;

    table-layout: auto !important;

    font-size: 0.7rem !important;

    margin: 0 !important;

    border-collapse: separate !important;

    border-spacing: 0 !important;

    background: white !important;

    border-radius: 12px !important;

    overflow: hidden !important;

    box-shadow: 0 4px 15px rgba(0,0,0,0.1) !important;

}



.responsive-table colgroup,

.responsive-table colgroup col {

    display: table-column !important;

}



.responsive-table thead {

    display: table-header-group !important;

    background: #2c3e50 !important;

    color: white !important;

    font-weight: 600 !important;

}



.responsive-table th {

    padding: 8px 6px !important;

    text-align: left !important;

    border: 1px solid #34495e !important;

    font-size: 0.75rem !important;

    white-space: normal !important;

    word-wrap: break-word !important;

    overflow-wrap: break-word !important;

    background: #2c3e50 !important;

    color: white !important;

    display: table-cell !important;

    font-weight: 600 !important;

    position: sticky !important;

    top: 0 !important;

    z-index: 100 !important;

    line-height: 1.3 !important;

}



.responsive-table th:first-child {

    border-top-left-radius: 12px !important;

}



.responsive-table th:last-child {

    border-top-right-radius: 12px !important;

}



.responsive-table tbody {

    display: table-row-group !important;

    font-size: 0.75rem !important;

}



.responsive-table tbody tr {

    display: table-row !important;

    background: white;

    border: none;

    margin: 0 !important;

    font-size: 0.75rem !important;

}



.responsive-table tbody tr:nth-child(even) {

    background: #fafafa;

}



.responsive-table tbody tr:hover {

    background: #f3f3f3;

}



.responsive-table tbody tr:last-child td:first-child {

    border-bottom-left-radius: 12px !important;

}



.responsive-table tbody tr:last-child td:last-child {

    border-bottom-right-radius: 12px !important;

}

/* table font settings and others */

.responsive-table td {

    display: table-cell !important;

    padding: 8px 6px !important;

    border: 1px solid #ddd !important;

    background: white !important;

    text-align: left !important;

    width: auto !important;

    word-wrap: break-word;

    overflow-wrap: break-word;

    box-sizing: border-box !important;

    font-size: 0.9rem !important;

}



.responsive-table td:first-child,

.responsive-table th:first-child {

    width: 5% !important;

    text-align: center;

}



.responsive-table td:nth-child(2),

.responsive-table th:nth-child(2) {

    width: 40% !important;

    text-align: left;

}



.responsive-table td:nth-child(3),

.responsive-table th:nth-child(3) {

    width: 12% !important;

}



.responsive-table td:nth-child(4),

.responsive-table th:nth-child(4) {

    width: 18% !important;

}



.responsive-table td:nth-child(5),

.responsive-table th:nth-child(5) {

    width: 15% !important;

}



.responsive-table td[data-label]::before {

    display: none !important;

}



/* Tablets (550px - 768px) */

@media (max-width: 768px) {

    .responsive-table th {

        padding: 8px 6px !important;

        font-size: 0.75rem !important;

    }

    

    .responsive-table td {

        padding: 8px 6px !important;

        font-size: 0.75rem !important;

    }

}



/* Small Phones (550px) */

@media (max-width: 550px) {

    div[style*="overflow-x: auto"] {

        width: 100% !important;

        overflow-x: auto !important;

        -webkit-overflow-scrolling: touch !important;

        margin-bottom: 12px !important;

        display: block !important;

        border-radius: 12px !important;

    }

    

    .responsive-table {

        font-size: 0.6rem !important;

        min-width: 500px !important;

        display: table !important;

        width: 100% !important;

    }

    

    .responsive-table thead {

        display: table-header-group !important;

        width: 100% !important;

    }

    

    .responsive-table th {

        padding: 6px 4px !important;

        font-size: 0.6rem !important;

        position: sticky !important;

        top: 0 !important;

        z-index: 100 !important;

        display: table-cell !important;

    }

    

    .responsive-table td {

        padding: 5px 3px !important;

        font-size: 0.6rem !important;

        display: table-cell !important;

    }

    

    .responsive-table td:first-child,

    .responsive-table th:first-child {

        width: 5% !important;

    }

    

    .responsive-table td:nth-child(2),

    .responsive-table th:nth-child(2) {

        width: 40% !important;

        text-align: left !important;

    }

    

    .responsive-table td:nth-child(3),

    .responsive-table th:nth-child(3) {

        width: 12% !important;

    }

    

    .responsive-table td:nth-child(4),

    .responsive-table th:nth-child(4) {

        width: 18% !important;

    }

    

    .responsive-table td:nth-child(5),

    .responsive-table th:nth-child(5) {

        width: 15% !important;

    }

}



@media (max-width: 380px) {

    .container {

        padding: 0 12px;

    }

    

    /* Stats - Extra Compact */

    .stats-section {

        padding: 25px 0;

    }

    

    .stats-grid {

        gap: 8px;

    }

    

    .stat-item {

        padding: 8px 6px;

    }

    

    .stat-item svg {

        width: 25px;

        height: 25px;

    }

    

    .number,

    .stat-number {

        font-size: 1.5rem !important;

        margin-bottom: 0px;

    }

    

    .stat-item > span {

        font-size: 0.7rem;

        line-height: 1.2;

    }

    

    /* Welcome/About - Extra Compact */

    .about-section {

        padding: 40px 0;

    }

    

    .about-content h2 {

        font-size: 1.5rem;

        margin-bottom: 12px;

    }

    

    .about-content p {

        font-size: 0.9rem;

        margin-bottom: 10px;

    }

    

    .about-list {

        margin: 12px 0;

    }

    

    .about-list li {

        font-size: 0.85rem;

        margin-bottom: 6px;

    }

    

    .about-img-main {

        min-height: 300px;

    }

    

    .about-img-secondary {

        width: 100px;

        height: 80px;

        bottom: -10px;

        right: -8px;

    }

    

    /* Features - Double Column Compact */

    .features-grid {

        grid-template-columns: repeat(2, 1fr);

        gap: 10px;

    }

    

    .feature-item {

        gap: 6px;

    }

    

    .feature-item h3 {

        font-size: 0.8rem;

    }

    

    .feature-item p {

        font-size: 0.7rem;

    }

    

    /* Buttons */

    .btn {

        padding: 10px 20px !important;

        font-size: 0.9rem !important;

    }

}



/* Contact */

.contact-grid {

    display: grid;

    grid-template-columns: 1fr 2fr;

    gap: 4rem;

}



.contact-item {

    display: flex;

    gap: 1.5rem;

    padding: 2rem;

    background: var(--off-white);

    border-radius: var(--border-radius);

    transition: var(--transition);

    margin-bottom: 1.5rem;

}



.contact-item:hover {

    background: var(--gray-light);

    transform: translateX(10px);

}



.contact-icon {

    width: 45px;

    height: 45px;

    background: var(--primary-color);

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    color: var(--white);

    font-size: 1.1rem;

    flex-shrink: 0;

}



.contact-details h4 {

    font-size: 1.2rem;

    margin-bottom: 0.5rem;

}



.contact-map {

    background: var(--off-white);

    border-radius: var(--border-radius);

    overflow: hidden;

    height: 400px;

}



.contact-map iframe {

    width: 100%;

    height: 100%;

    border: none;

}



/* Footer */

.site-footer {

    background: var(--text-dark);

    color: var(--white);

    padding: 4rem 0 1.5rem;

}



.footer-grid {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));

    gap: 2rem;

    margin-bottom: 2rem;

}



/* Footer Mobile Responsiveness */

@media (max-width: 768px) {

    .footer-grid {

        grid-template-columns: 1fr 1fr;

        gap: 1.5rem;

    }

}



@media (max-width: 480px) {

    .footer-grid {

        grid-template-columns: 1fr;

        gap: 1.5rem;

    }

    

    .footer-column {

        text-align: left;

    }

    

    .footer-social {

        justify-content: flex-start;

    }

    

    .footer-bottom {

padding-top: 25px; 
text-align: center; 
font-size: 0.9rem; opacity: 0.8; 

    }

}



.footer-logo {

    height: 60px;

    width: auto;

    margin-bottom: 1rem;

}



.footer-column h4 {

    font-size: 1.2rem;

    margin-bottom: 1.5rem;

    position: relative;

    font-family: var(--font-heading);

    font-weight: 800;

    letter-spacing: 0.5px;

    text-transform: uppercase;

    color: var(--white);

}



.footer-column h4::after {

    content: '';

    position: absolute;

    bottom: -8px;

    left: 0;

    width: 50px;

    height: 3px;

    background: var(--primary-color);

}



.footer-links {

    display: flex;

    flex-direction: column;

    gap: 0.8rem;

}



.footer-links a {

    color: rgba(255,255,255,0.8);

    transition: var(--transition);

}



.footer-links a:hover {

    color: var(--secondary-color);

    padding-left: 1rem;

}



.footer-links li {

    list-style: none;

}



.footer-social {

    display: flex;

    gap: 1rem;

    margin-top: 1rem;

}



.footer-social a {

    width: 45px;

    height: 45px;

    background: rgba(255,255,255,0.1);

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 1.1rem;

    transition: var(--transition);

}



.footer-social a:hover {

    background: var(--secondary-color);

    transform: translateY(-3px);

    color: var(--white);

}



.footer-social a:hover .icon {

    fill: var(--white);

}



.footer-bottom {

    padding-top: 2rem;

    text-align: center;

    color: rgba(255,255,255,0.7);

}



/* Responsive */

@media (max-width: 1024px) {

    .about-grid,

    .admissions-grid,

    .contact-grid {

        grid-template-columns: 1fr;

        gap: 3rem;

    }

    

    .hero-buttons {

        flex-direction: column;

        align-items: center;

    }

    

    .btn {

        width: 100%;

        max-width: 300px;

        text-align: center;

    }

}



@media (max-width: 768px) {

    .site-header .container {

        height: 70px;

        padding: 0 15px;

    }

    

    .mobile-toggle {

        display: block;

    }

    

    .nav-list {

        position: fixed;

        top: 70px;

        left: 0;

        right: 0;

        background: var(--white);

        flex-direction: column;

        padding: 2rem;

        box-shadow: var(--shadow);

        transform: translateY(-100%);

        opacity: 0;

        visibility: hidden;

        transition: var(--transition);

    }

    

    .nav-list.active {

        transform: translateY(0);

        opacity: 1;

        visibility: visible;

    }

    

    /* Mobile Dropdown Styles */

    .nav-list {

        position: fixed;

        top: 70px;

        left: 0;

        right: 0;

        background: var(--white);

        flex-direction: column;

        padding: 0;

        box-shadow: var(--shadow);

        transform: translateY(-100%);

        opacity: 0;

        visibility: hidden;

        transition: var(--transition);

        max-height: 80vh;

        overflow-y: auto;

    }

    

    .nav-list.show,

    .nav-list.active {

        transform: translateY(0);

        opacity: 1;

        visibility: visible;

    }

    

    .nav-list > li {

        display: block;

        width: 100%;

        border-bottom: 1px solid var(--gray-light);

    }

    

    .nav-list > li > a {

        display: block;

        padding: 15px 20px;

        width: 100%;

    }

    

    .dropdown-menu {

        position: static;

        opacity: 1;

        visibility: visible;

        transform: none;

        box-shadow: none;

        margin-left: 0;

        margin-top: 0;

        padding-left: 20px;

        display: none;

        background: var(--off-white);

    }

    

    .dropdown.show > .dropdown-menu {

        display: block;

    }

    

    .dropdown-submenu .dropdown-menu {

        position: static;

        margin-left: 20px;

        padding-left: 20px;

    }

    

    .dropdown-toggle::after {

        float: right;

    }

    

    .dropdown.show > .dropdown-toggle::after {

        transform: rotate(180deg);

    }

    

    .stats-grid {

        grid-template-columns: repeat(2, 1fr);

    }

    

    .programs-grid {

        grid-template-columns: 1fr;

    }

    

    .section {

        padding: 4rem 0;

    }

}



@media (max-width: 480px) {

    .container {

        padding: 0 15px;

    }

    

    .hero h1 {

        font-size: 2.2rem;

    }

    

    .stats {

        padding: 3rem 0;

    }

    

    .footer-grid {

        grid-template-columns: 1fr;

        text-align: center;

    }

    

    .admissions-form {

        padding: 2rem;

    }

}



/* Animations */

@keyframes fadeInUp {

    from {

        opacity: 0;

        transform: translateY(30px);

    }

    to {

        opacity: 1;

        transform: translateY(0);

    }

}



.fade-in {

    opacity: 0;

    animation: fadeInUp 0.8s ease forwards;

}



/* Form Submit */

.contact-form {

    display: flex;

    flex-direction: column;

    gap: 0;

}



.contact-form button[type="submit"] {

    margin-top: 1rem;

}



/* Admission Requirements Section */

.requirements-grid {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));

    gap: 2rem;

    margin-bottom: 0rem;

}



.req-category {

    background: var(--white);

    border-radius: var(--border-radius);

    padding: 2.5rem;

    box-shadow: var(--shadow);

    transition: var(--transition);

}



.req-category:hover {

    transform: translateY(-8px);

    box-shadow: var(--shadow-hover);

}



.req-category h4 {

    font-size: 1.3rem;

    color: var(--text-dark);

    margin-bottom: 1.5rem;

    display: flex;

    align-items: center;

    gap: 0.5rem;

    font-weight: 700;

}



.req-category h4 .icon {

    color: var(--primary-color);

}



.req-list {

    list-style: none;

    margin-bottom: 1.5rem;

    padding: 0;

}



.req-list li {

    display: flex;

    gap: 1rem;

    margin-bottom: 1.2rem;

    padding-bottom: 1rem;

    border-bottom: 1px solid var(--gray-light);

    align-items: flex-start;

}



.req-list li:last-child {

    border-bottom: none;

    margin-bottom: 0;

    padding-bottom: 0;

}



.req-list li .icon {

    color: var(--primary-color);

    flex-shrink: 0;

    margin-top: 0.3em;

    width: 1.2em;

    height: 1.2em;

}



.req-list li strong {

    color: var(--text-dark);

    font-weight: 600;

}



/* Duration Table */

.duration-table {

    width: 100%;

    border-collapse: collapse;

    margin-top: 1.5rem;

    font-size: 0.95rem;

}



.duration-table thead {

    background: rgba(146, 97, 170, 0.08);

}



.duration-table th {

    padding: 0.8rem;

    text-align: left;

    font-weight: 600;

    color: var(--primary-color);

    border-bottom: 2px solid var(--primary-color);

}



.duration-table td {

    padding: 0.8rem;

    border-bottom: 1px solid var(--gray-light);

    color: var(--text-dark);

}



.duration-table tbody tr:hover {

    background: rgba(146, 97, 170, 0.04);

}



/* Documents Section */

.documents-section {

    background: var(--off-white);

    border-radius: var(--border-radius);

    padding: 3rem;

    margin-bottom: 3rem;

}



.documents-section h3 {

    font-size: 1.6rem;

    color: var(--text-dark);

    margin-bottom: 2rem;

    display: flex;

    align-items: center;

    gap: 0.8rem;

    font-weight: 700;

}



.documents-section h3 .icon {

    color: var(--primary-color);

}



.documents-grid {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));

    gap: 2rem;

}



.document-item {

    background: var(--white);

    padding: 2rem;

    border-radius: var(--border-radius);

    text-align: center;

    box-shadow: var(--shadow);

    transition: var(--transition);

}



.document-item:hover {

    transform: translateY(-8px);

    box-shadow: var(--shadow-hover);

    background: rgba(146, 97, 170, 0.02);

}



.document-item .icon {

    width: 3rem;

    height: 3rem;

    margin: 0 auto 1rem;

    color: var(--primary-color);

}



.document-item strong {

    display: block;

    font-size: 1.1rem;

    color: var(--text-dark);

    margin-bottom: 0.8rem;

    font-weight: 600;

}



.document-item p {

    font-size: 0.95rem;

    color: var(--text-medium);

    line-height: 1.5;

}



/* Important Dates Section */

.important-dates {

    background: var(--white);

    border-radius: var(--border-radius);

    padding: 2.5rem;

    border-left: 6px solid var(--accent-color);

    box-shadow: var(--shadow);

}



.important-dates h3 {

    font-size: 1.5rem;

    color: var(--text-dark);

    margin-bottom: 2rem;

    display: flex;

    align-items: center;

    gap: 0.8rem;

    font-weight: 700;

}



.important-dates h3 .icon {

    color: var(--accent-color);

}



.important-dates ul {

    list-style: none;

    padding: 0;

    margin: 0;

}



.important-dates li {

    padding: 1.2rem 0;

    border-bottom: 1px solid var(--gray-light);

    color: var(--text-dark);

    display: flex;

    justify-content: space-between;

    align-items: center;

}



.important-dates li:last-child {

    border-bottom: none;

}



.important-dates strong {

    color: var(--primary-color);

    font-weight: 600;

}



/* Responsive adjustments for requirements section */

@media (max-width: 1024px) {

    .requirements-grid {

        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));

    }

    

    .documents-grid {

        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));

        gap: 1.5rem;

    }

}



@media (max-width: 768px) {

    .requirements-grid {

        grid-template-columns: 1fr;

    }

    

    .documents-section {

        padding: 2rem;

    }

    

    .documents-grid {

        grid-template-columns: repeat(2, 1fr);

        gap: 1rem;

    }

    

    .document-item {

        padding: 1.5rem;

    }

    

    .important-dates {

        padding: 2rem;

    }

    

    .important-dates li {

        flex-direction: column;

        align-items: flex-start;

        gap: 0.5rem;

    }

}



@media (max-width: 480px) {

    .requirements-grid {

        grid-template-columns: 1fr;

        gap: 1.5rem;

    }

    

    .req-category {

        padding: 1.5rem;

    }

    

    .documents-grid {

        grid-template-columns: 1fr;

    }

    

    .documents-section {

        padding: 1.5rem 1rem;

    }

}





.icon { 

            width: 1em; 

            height: 1em; 

            display: inline-block; 

            vertical-align: -0.125em;

            margin-right: 0.5em;

        }

        .icon-large { 

            width: 3rem; 

            height: 3rem;

            margin-right: 0;

            margin-bottom: 15px;

        }

        .top-contact .icon {

            width: 0.75em;

            height: 0.75em;

            margin-right: 0;

        }

        .top-social .icon {

            margin-right: 0;

        }

        .footer-social .icon {

            width: 1.5em;

            height: 1.5em;

            margin-right: 0;

        }



        /* Checkmark icons in list items for the footer */

        li .icon {

            width: 0.75em;

            height: 0.75em;

        }

        



        .dropdown { position: relative; }

        

        /* Dropdown - Original Style with Slide Animation for all the dropdowns */

        nav menuitem {

            position:relative;

            display:block;

            opacity:1;

            cursor:pointer;

        }



        nav menuitem > menu {

            position: absolute;

            pointer-events:none;

            opacity: 0;

            visibility: hidden;

            transition: opacity 0.3s, visibility 0.3s;

        }

        

        menuitem:hover > menu,

        menuitem:focus-within > menu,

        menuitem.dropdown-open > menu {

            pointer-events:initial;

            opacity: 1;

            visibility: visible;

        }

        

        /* Make nested menus visible on hover */

        nav menuitem menuitem:hover > menu,

        nav menuitem menuitem:focus-within > menu,

        nav menuitem menuitem.dropdown-open > menu {

            pointer-events:initial;

            opacity: 1;

            visibility: visible;

        }

        

        nav > menu { display:flex; }



        nav > menu > menuitem { pointer-events: all; opacity:1; }

        menu menuitem a { white-space:nowrap; display:block; }

            



        menuitem:hover > menu > menuitem,

        menu:hover > menuitem{

            opacity:1;

        }

        nav > menu > menuitem menuitem menu {

            transform:translateX(100%);

            top:0; right:0;

        }



        nav a {

            transition: background 0.5s, color 0.5s, transform 0.5s;

            position:relative;

        }



        nav > menu > menuitem > a + menu:after{

            content: '';

            position:absolute;

            border:6px solid transparent;

            right:15px;

            top: 50%;

            transform: translateY(-50%);

        }

        nav menuitem > menu > menuitem > a + menu:after{ 

            content: '';

            position:absolute;

            border:6px solid transparent;

            border-left: 6px solid #6B1423;

            right:-12px;

            top: 50%;

            transform: translateY(-50%);

        }



        nav menuitem > menu {

            background: #fff;

            border-radius: 5px;

            padding: 8px 0;

            min-width: 200px;

            box-shadow: 0 10px 30px rgba(0,0,0,0.15);

        }



 nav menuitem > menu menuitem a {

  color: #c9a227 !important;

  padding: 5px 10px;

  font-size: 0.80rem;

  font-weight: 400;

  transition: all 0.2s;

  display: block;

  transform: translateY(10px);

}

    



        nav menuitem > menu menuitem a:hover {

            background: #229020;

            color: #fff !important;

            padding-left: 25px !important;

        }



        nav > menu > menuitem > menu > menuitem{

            opacity: 1;

        }

        nav > menu > menuitem:hover > menu > menuitem,

        nav > menu > menuitem.hover > menu > menuitem{

            opacity: 1;

        }



        menuitem > menu > menuitem > menu > menuitem{

            opacity: 1;

        } 

        menuitem > menu > menuitem:hover > menu > menuitem,  

        menuitem > menu > menuitem.hover > menu > menuitem{  

            opacity: 1;

        }

        /* Enhanced Navigation Menu - Modern Design */

        nav ul { display: flex; align-items: center; gap: 8px; }

        nav a { padding: 14px 20px; font-weight: 700; font-size: 0.9rem; color: var(--dark); border-radius: 8px; transition: var(--transition); position: relative; }

        nav a::before {

            content: '';

            position: absolute;

            bottom: 0;

            left: 50%;

            width: 0;

            height: 3px;

            background: var(--secondary-gradient);

            transform: translateX(-50%);

            transition: var(--transition);

        }

        nav a:hover, nav a.active { color: var(--secondary); background: rgba(201, 162, 39, 0.08); transform: translateY(-2px); }

        nav a:hover::before, nav a.active::before { width: 60%; }

        .header-btn { background: var(--secondary-gradient) !important; color: var(--white) !important; padding: 14px 32px !important; border-radius: 50px; margin-left: 20px; font-weight: 700 !important; box-shadow: 0 4px 15px rgba(201, 162, 39, 0.3); transition: var(--transition); }

        .header-btn:hover { background: var(--secondary-light) !important; transform: translateY(-3px); box-shadow: 0 8px 25px rgba(201, 162, 39, 0.4); }

    

    

        /* Footer */

        footer { background: #1a1a1a; color: #ccc; padding: 80px 0 25px; }

        .footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 50px; margin-bottom: 50px; }

        .footer-about h3 { color: var(--white); font-size: 1.3rem; margin-bottom: 20px; }

        .footer-about p { margin-bottom: 20px; line-height: 1.6; }

        /* .footer-social { display: flex; gap: 15px; } */

        .footer-social a:hover { background: var(--secondary); }

        .footer-social a svg { width: 20px; height: 20px; color: var(--white); }

        .footer-column h4 { color: var(--white); font-size: 1.1rem; margin-bottom: 25px; }

        .footer-column ul li { margin-bottom: 15px; }

        .footer-column a { transition: all 0.3s; }

        .footer-column a:hover { color: var(--secondary); }

        .footer-bottom { padding-top: 25px; text-align: center; font-size: 0.9rem; }





        /* Navigation menu style for the offices page dropdown */

nav menuitem { position:relative; display:block; opacity:1; cursor:pointer; }

        nav menuitem > menu { position: absolute; pointer-events:none; opacity: 0; visibility: hidden; transition: opacity 0.3s, visibility 0.3s; z-index: 9999; }

        menuitem:hover > menu { pointer-events:initial; opacity: 1; visibility: visible; }

        nav > menu { display:flex; }

        nav > menu > menuitem { pointer-events: all; opacity:1; }

        menu menuitem a { white-space:nowrap; display:block; }

        menuitem:hover > menu > menuitem { opacity:1; }

        nav > menu > menuitem menuitem menu { transform:translateX(100%); top:0; right:0; }

        nav a { transition: background 0.5s, color 0.5s, transform 0.5s; position:relative; padding: 12px 18px; font-weight: 700; font-size: 0.9rem; color: var(--dark); border-radius: 5px; }

        nav a:hover, nav a.active { color: var(--secondary); background: rgba(201, 162, 39, 0.1); }

   /* About Section */

        .about-section { padding: 100px 0; }

        .about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }

        .about-images { position: relative; }

        .about-img-main { width: 97%; height: 590px; object-fit: cover; border-radius: 15px; box-shadow: var(--shadow); }

        .about-img-secondary { position: absolute; bottom: -40px; right: -30px; width: 220px; height: 180px; object-fit: cover; border-radius: 15px; border: 5px solid var(--white); box-shadow: var(--shadow); }

        .about-content h2 { font-size: 1.5rem; color: var(--primary); margin-bottom: 20px; font-weight: 900; }

        .about-content h2 span { color: var(--secondary); }

        .about-content p { margin-bottom: 20px; line-height: 1.8; }

        .about-list { margin: 25px 0; }

        .about-list li { margin-bottom: 12px; display: flex; align-items: center; gap: 12px; }

        .about-list li i { color: var(--secondary); font-size: 1rem; }



/* Graduation Advert Banner */

.graduation-advert-banner {

    position: fixed;

    top: 100px;

    left: 0;

    z-index: 999;

    width: 100%;

    max-width: 900px;

    background: linear-gradient(135deg, #8b3a3a 0%, #a64d4d 100%);

    border-radius: 15px;

    box-shadow: 0 15px 50px rgba(0,0,0,0.3);

    overflow: hidden;

    animation: slideAcross 40s linear infinite;

}



@keyframes slideAcross {

    0% {

        left: -920px;

    }

    100% {

        left: calc(100vw);

    }

}



.graduation-advert-banner::before {

    content: '';

    position: absolute;

    top: 0;

    left: 0;

    right: 0;

    bottom: 0;

    background: linear-gradient(90deg, rgba(255,255,255,0.1) 0%, transparent 100%);

    pointer-events: none;

}



.advert-close {

    position: absolute;

    top: 15px;

    right: 20px;

    font-size: 28px;

    font-weight: bold;

    color: white;

    cursor: pointer;

    z-index: 10;

    transition: transform 0.3s;

}



.advert-close:hover {

    transform: rotate(90deg);

}



.advert-container {

    display: flex;

    align-items: center;

    padding: 25px;

    gap: 3px;

    position: relative;

    z-index: 2;

}



.advert-content {

    display: flex;

    /* align-items: center; */

    gap: 30px;

    width: 100%;

}



.advert-text {

    flex: 1;

    color: white;

    z-index: 3;

}



.advert-title {

    font-size: 2.5rem;

    font-weight: 900;

    margin-bottom: 30px;

    animation: pulse 2s ease-in-out infinite;

}



.advert-title sup {

    font-size: 1.2rem;

}



@keyframes pulse {

    0%, 100% {

        transform: scale(1);

    }

    50% {

        transform: scale(1.05);

    }

}



.advert-date {

    font-size: 1.1rem;

    margin-bottom: 8px;

    font-weight: 600;

}



.advert-location {

    font-size: 1rem;

    margin-bottom: 8px;

    opacity: 0.95;

}



.advert-highlight {

    font-size: 1.1rem;

    margin-bottom: 15px;

    font-weight: 700;

    color: #ffd700;

    animation: blink 1s ease-in-out infinite;

}



@keyframes blink {

    0%, 100% {

        opacity: 1;

    }

    50% {

        opacity: 0.7;

    }

}



.advert-btn {

    display: inline-block;

    background: #ffd700;

    color: #8b3a3a;

    padding: 12px 30px;

    border-radius: 25px;

    font-weight: bold;

    text-decoration: none;

    transition: all 0.3s ease;

    font-size: 1rem;

}



.advert-btn:hover {

    background: white;

    transform: translateY(-2px);

    box-shadow: 0 8px 20px rgba(0,0,0,0.2);

}



.advert-image {

    flex: 0 0 200px;

    height: 180px;

    border-radius: 10px;

    overflow: hidden;

    box-shadow: 0 10px 30px rgba(0,0,0,0.3);

    animation: slideInRight 0.8s ease-out;

}



@keyframes slideInRight {

    from {

        opacity: 0;

        transform: translateX(50px);

    }

    to {

        opacity: 1;

        transform: translateX(0);

    }

}



.advert-image img {

    width: 100%;

    height: 100%;

    object-fit: cover;

}



.advert-pulse {

    position: absolute;

    width: 100%;

    height: 100%;

    border: 2px solid white;

    border-radius: 15px;

    animation: expandPulse 2s ease-out infinite;

    opacity: 0;

}



@keyframes expandPulse {

    0% {

        opacity: 1;

        transform: scale(1);

    }

    100% {

        opacity: 0;

        transform: scale(1.05);

    }

}



/* Responsive Design */

@media (max-width: 768px) {

    .graduation-advert-banner {

        top: 85px;

        width: 95%;

    }



    .advert-container {

        flex-direction: column;

        padding: 20px;

        gap: 20px;

    }



    .advert-text {

        text-align: center;

    }



    .advert-title {

        font-size: 1.8rem;

    }



    .advert-image {

        flex: 0 0 150px;

        height: 140px;

    }

}



@media (max-width: 480px) {

    .graduation-advert-banner {

        top: 75px;

        width: 98%;

        border-radius: 10px;

    }



    .advert-container {

        padding: 15px;

        gap: 15px;

    }



    .advert-title {

        font-size: 1.5rem;

        margin-bottom: 8px;

    }



    .advert-date, .advert-location {

        font-size: 0.9rem;

    }



    .advert-highlight {

        font-size: 0.95rem;

    }



    .advert-btn {

        padding: 10px 20px;

        font-size: 0.9rem;

    }



    .advert-image {

        flex: 0 0 120px;

        height: 100px;

    }

}



.about-image img {

  width: 100%;

  height: 700px;

  object-fit: cover;

}



/* Gallery Styles */

.gallery-section { padding: 80px 0; background: var(--light); }

.gallery-grid { 

    column-count: 3; 

    column-gap: 20px; 

    column-fill: balance;

}

.gallery-item { 

    break-inside: avoid; 

    margin-bottom: 20px; 

    border-radius: 12px; 

    overflow: hidden; 

    box-shadow: 0 8px 25px rgba(0,0,0,0.1); 

    transition: transform 0.3s, box-shadow 0.3s;

    cursor: pointer;

}

.gallery-item:hover { transform: scale(1.02); box-shadow: 0 15px 40px rgba(0,0,0,0.2); }

.gallery-item img { width: 100%; height: auto; display: block; }

.gallery-filters { display: flex; justify-content: center; gap: 15px; margin-bottom: 40px; flex-wrap: wrap; }

.filter-btn { padding: 10px 20px; background: var(--white); border: 2px solid var(--border); border-radius: 25px; cursor: pointer; font-weight: 500; transition: all 0.3s; }

.filter-btn.active, .filter-btn:hover { background: var(--secondary); color: var(--white); border-color: var(--secondary); }

@media (max-width: 1024px) { .gallery-grid { column-count: 2; column-gap: 15px; } }

@media (max-width: 768px) { .gallery-grid { column-count: 1; } }

/* Unified Social Icon Hover Styles */
.top-social a:hover,
.footer-social a:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
    transition: all 0.3s ease;
}

.top-social a:hover i,
.top-social a:hover svg,
.top-social a:hover *,
.footer-social a:hover i,
.footer-social a:hover svg,
.footer-social a:hover * {
    color: var(--white);
    fill: var(--white);
}







         @media (max-width: 992px) {

            .top-contact { display: none; }

            .mobile-toggle { 

                display: block !important; 

                cursor: pointer !important; 

                z-index: 9999 !important; 

            }

nav > menu { 

    display: none !important; 

    pointer-events: none !important; }

}

.stat-item .number { font-size: 20px; 
    font-weight: 700; 
    display: block;
 }



.footer-column svg {

  width: 18px;

  height: 18px;

  color: var(--secondary);

  flex-shrink: 0;

}

/* setting fire on laptop screen and for phones also can just reduce the padding here and check also the mobile css too by Eric */

.stat-item {

  padding: 15px;

  background: rgba(255,255,255,0.08);

  border-radius: 20px;

  backdrop-filter: blur(10px);

  border: 1px solid rgba(255,255,255,0.15);

  transition: all 0.3s ease;

}



/* Footer */

        footer { background: linear-gradient(135deg, #1a1a1a 0%, #0f1419 100%); color: #ccc; padding: 80px 0 25px; }

        .footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 50px; margin-bottom: 50px; }

        .footer-about h3 { color: var(--white); font-size: 1.3rem; margin-bottom: 20px; font-weight: 700; }

        .footer-about p { margin-bottom: 20px; line-height: 1.6; opacity: 0.9; }

        .footer-social { display: flex; gap: 15px; }

        .footer-social a { 

    width: 40px; 

    height: 40px; 

    background: rgba(201, 162, 39, 0.15); 

    border-radius: 50%; 

    display: flex; 

    align-items: center; 

    justify-content: center; 

    transition: all 0.3s; 

    border: 1px solid rgba(201, 162, 39, 0.3);

}

        .footer-social a:hover { 

    background: var(--secondary); 

    color: var(--white);

    border-color: var(--secondary);

    transform: translateY(-3px);

}



.about-content {

  order: 2;

  background: var(--white);

  padding: 40px;

  border-radius: 15px;

  box-shadow: 0 8px 30px rgba(0,0,0,0.08);

}



.content-section {

  margin-bottom: 50px;

  padding: 35px;

  background: var(--white);

  border-radius: 12px;

  box-shadow: 0 5px 20px rgba(0,0,0,0.06);

  border-left: 5px solid var(--secondary);

}



.content-section-title {

  color: var(--primary);

  font-size: 1.6rem;

  font-weight: 700;

  margin-bottom: 20px;

}





@media (max-width: 992px) {

  .stats-grid {

    grid-template-columns: 1fr 1fr;

  }

}





/* COMPLETE MOBILE NAV - Governance style */

        @media (max-width: 992px) {

            .top-contact { display: none; }

            .mobile-toggle { 

                display: block !important; 

                cursor: pointer !important; 

                z-index: 9999 !important; 

            }

            nav > menu { 

                display: none !important; 

                pointer-events: none !important; 

            }

            nav > menu.show { 

                display: flex !important; 

                flex-direction: column !important;

                position: absolute !important; 

                top: 100% !important; 

                left: 50% !important;

                right: 50% !important;

                transform: translateX(-50%) !important;

                width: 90vw !important;

                max-width: 400px !important;

                margin: 0 auto !important;

                background: white !important; 

                box-shadow: 0 8px 30px rgba(0,0,0,0.2) !important;

                border-radius: 12px !important;

                pointer-events: auto !important;

                z-index: 9998 !important;

            }

            nav menuitem > menu {

                pointer-events: auto !important;

                position: static !important;

                opacity: 1 !important; 

                visibility: visible !important; 

                box-shadow: none !important;

                display: none !important;

            }

            nav menuitem.show > menu {

                display: block !important;

            }

            nav > menu.show menuitem > a:not(.header-btn),

            nav > menu.show menuitem > menu a {

                pointer-events: auto !important;

                cursor: pointer !important;

                justify-content: center !important;

                text-align: center !important;

                padding: 12px 20px !important;

            }

            nav > menu.show menuitem:last-child a.header-btn {

                margin: 20px auto !important;

                display: block !important;

                width: fit-content !important;

            }

            .footer-grid { grid-template-columns: 1fr 1fr; }

            .stats-grid { grid-template-columns: 1fr 1fr; }

        }

        @media (max-width: 576px) {

            .footer-grid { grid-template-columns: 1fr; }

            .page-header h1 { font-size: 2rem; }

            .stats-grid { grid-template-columns: 1fr; }

        }



    



        .top-bar { background: var(--primary); color: var(--white); padding: 12px 0;font-size: 12px; }

        .top-bar .container { display: flex; justify-content: space-between; align-items: center; }

        .top-contact { display: flex; gap: 30px; }

        .top-contact a { display: flex; align-items: center; gap: 8px; transition: color 0.3s; }

        .top-contact a:hover { color: var(--secondary); }

        .top-social { display: flex; gap: 15px; }

        .top-social a { width: 20px; height: 20px; background: rgba(255,255,255,0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: all 0.3s; }

        .top-social a:hover { background: var(--secondary); }

        .top-social a svg { width: 20px; height: 20px; color: var(--white); }



        header { background: var(--white); box-shadow: 0 2px 20px rgba(0,0,0,0.15); position: sticky; top: 0; z-index: 1000; }

        header .container { display: flex; justify-content: space-between; align-items: center; padding: 15px 20px; }

        .logo-section { display: flex; align-items: center; gap: 15px; text-decoration: none; }

        .logo-section img { height: 70px; }

        .logo-text { display: flex; flex-direction: column; }

        .logo-text h1 { font-size: 1.2rem; color: var(--primary); font-weight: 900; text-transform: uppercase; }

        .logo-text span { font-size: 0.85rem; color: var(--secondary); font-weight: 600; letter-spacing: 2px; }

        

        nav ul { display: flex; align-items: center; gap: 5px; }

        nav a { padding: 12px 18px; font-weight: 700; font-size: 0.9rem; color: var(--dark); border-radius: 5px; transition: all 0.3s; }

        nav a:hover, nav a.active { color: var(--secondary); background: rgba(201, 162, 39, 0.1); }

        .header-btn { background: var(--secondary) !important; color: var(--white) !important; padding: 12px 28px !important; border-radius: 30px; margin-left: 15px; font-weight: 600 !important; }

       

        /* Dropdown */

        .dropdown { position: relative; display: inline-block; }

        .dropdown-toggle::after { content: '\f107'; font-family: 'Font Awesome 6 Free'; font-weight: 900; font-size: 0.7rem; margin-left: 6px; }

        .dropdown:hover .dropdown-toggle::after { transform: rotate(180deg); }

        .dropdown-menu { position: absolute; top: 100%; left: 0; min-width: 220px; background-color: #fff; box-shadow: 0 10px 30px rgba(0,0,0,0.15); padding: 10px 0; opacity: 0; visibility: hidden; transform: translateY(10px); transition: all 0.3s ease; z-index: 9999; margin-top: 10px; border-radius: 8px; overflow: visible; }

        .dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }

        .dropdown.dropdown-open .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }

        .dropdown-menu li { display: block; width: 100%; border-bottom: 1px solid #eee; }

        .dropdown-menu li:last-child { border-bottom: none; }

        .dropdown-menu::before { content: ''; position: absolute; top: -8px; left: 25px; border-left: 8px solid transparent; border-right: 8px solid transparent; border-bottom: 8px solid #fff; }

        .dropdown-menu a { display: block; width: 100%; padding: 12px 20px !important; font-size: 14px; color: #333 !important; text-decoration: none; transition: all 0.3s; border-radius: 0 !important; }

         .dropdown-menu a:hover { background: #229020; color: #fff !important; padding-left: 25px !important; }





        /* Footer */

        footer { background: #1a1a1a; color: #ccc; padding: 80px 0 25px; }

        .footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 50px; margin-bottom: 50px; }

        .footer-about h3 { color: var(--white); font-size: 1.3rem; margin-bottom: 20px; }

        .footer-about p { margin-bottom: 20px; line-height: 1.6; }

        .footer-social { display: flex; gap: 15px; }

        .footer-social a:hover { background: var(--secondary); }

        .footer-column h4 { color: var(--white); font-size: 1.1rem; margin-bottom: 25px; }

        .footer-column ul li { margin-bottom: 15px; }

        .footer-column a { transition: all 0.3s; }

        .footer-column a:hover { color: var(--secondary); }

        .footer-bottom {padding-top: 25px; text-align: center; font-size: 0.9rem; }

.hero-text h1 span{ 

    font-size: clamp(1.5rem, 5vw, -0.5rem);

    color: var(--secondary);

    font-weight: 900; letter-spacing: 2px;

 }



.page-title {

  text-shadow: 6px 4px 7px black;

  font-size: 3.5em;

  color: #fff4f4 !important;

  background: #8080801c;

}

.content-section h2 {
  color: var(--primary);
  font-size: 2rem;
  margin-bottom: 20px;
  text-align: center;
}

.events-section h3 {
  color: var(--primary);
  font-size: 1.5rem;
  margin-bottom: 20px;
  font-weight: 700;
  text-align: center;
}

.resource-card h3 {
  color: var(--primary);
  margin-bottom: 15px;
  font-size: 20px;
}


.governance-card h3 {
  color: var(--primary);
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
}

.alumni-card h3 {
  color: var(--primary);
  margin: 20px 20px 5px 20px;
  padding: 0;
  font-size: 20px;
}


.feature-card h3 {
  color: var(--primary);
  margin-bottom: 15px;
  font-size: 20px;
}

.content-section h2 {
  color: var(--primary);
  font-size: 2rem;
  margin-bottom: 20px;
  text-align: center;
}

/* Partners Carousel Section */
.partners-carousel-section {
  padding: 60px 0;
  background: #f8f9fa;
}

.partners-carousel-section .section-title {
  text-align: center;
  color: var(--primary);
  font-size: 2rem;
  margin-bottom: 40px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

.partners-carousel {
  display: flex;
  overflow-x: auto;
  gap: 20px;
  padding: 20px 0;
  width: 100%;
  max-width: 100%;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.partners-carousel::-webkit-scrollbar {
  display: none;
}

.partner-slide {
  flex: 0 0 300px;
  min-width: 300px;
  max-width: 300px;
}

.partner-card {
  background: white;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.partner-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.partner-icon {
  font-size: 3rem;
  margin-bottom: 15px;
  color: #FFD700;
}

.partner-name {
  color: var(--primary);
  font-size: 1.2rem;
  margin-bottom: 15px;
  font-weight: 600;
}

.partner-link {
  display: inline-block;
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.partner-link:hover {
  color: #8a1c2d;
}

/* Gallery Carousel Section */
.gallery-carousel-section {
  padding: 60px 0;
  background: #f8f9fa;
}

.gallery-carousel-section .section-title {
  text-align: center;
  color: var(--primary);
  font-size: 2rem;
  margin-bottom: 40px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

.gallery-carousel {
  display: flex;
  overflow-x: auto;
  gap: 25px;
  padding: 20px 0;
  width: 100%;
  max-width: 100%;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.gallery-carousel::-webkit-scrollbar {
  display: none;
}

.gallery-slide {
  flex: 0 0 350px;
  min-width: 350px;
  max-width: 350px;
}

.gallery-item {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  transition: all 0.3s;
  height: 100%;
}

.gallery-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.gallery-image {
  height: 250px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 3rem;
  overflow: hidden;
}

.gallery-content {
  padding: 20px;
}

.gallery-title {
  font-size: 1.2rem;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 10px;
}

.gallery-description {
  color: var(--text);
  font-size: 0.9rem;
  line-height: 1.6;
}






