/* ======================================== CSS RESET & ROOT VARIABLES ======================================== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #1f4e3d;
    --primary-dark: #133529;
    --primary-light: #2d6e57;
    --secondary: #c88a2c;
    --secondary-dark: #ad741f;
    --accent: #eef5f1;
    --bg-gradient: #1f4e3d;
    --bg-gray: #e9f1ee;
    --white: #ffffff;
    --off-white: #f8f9fa;
    --light-gray: #eef2f0;
    --gray: #6c757d;
    --dark: #1a1a2e;
    --text: #333333;
    --text-light: #666666;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.16);
    --shadow-xl: 0 12px 60px rgba(0, 0, 0, 0.2);
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --font-primary: 'Poppins', sans-serif;
    --font-heading: 'Poppins', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 60px 0;
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    font-size: 0.9rem;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.16);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.8rem;
}

.btn-secondary {
    background: var(--secondary);
    color: var(--white);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.btn-secondary:hover {
    background: var(--secondary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.14);
}

/* ========================================
   SECTION HEADER
   ======================================== */
.section-header {
    text-align: center;
    margin-bottom: 45px;
}

.section-header h2 {
    font-family: var(--font-primary);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary-dark);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    position: relative;
}

.section-header h2 i {
    color: var(--secondary);
    font-size: 1.3rem;
}

.line-left,
.line-right {
    display: inline-block;
    width: 50px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
    vertical-align: middle;
}

.section-label {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid var(--primary);
    display: inline-block;
}

.section-label i {
    margin-right: 6px;
    color: var(--secondary);
}

/* ========================================
   TOP BAR
   ======================================== */
.top-bar {
    height: 40px;
    background: var(--primary-dark);
    color: var(--white);
    font-size: 0.78rem;
    position: relative;
    z-index: 1001;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
}

.top-bar .container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 32px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 22px;
}

.top-bar-left a {
    color: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    gap: 7px;
    font-weight: 500;
    transition: color 0.25s ease;
}

.top-bar-left a i {
    color: var(--secondary);
    font-size: 0.82rem;
}

.top-bar-left a:hover {
    color: var(--white);
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 24px;
}

.top-links {
    display: flex;
    align-items: center;
    gap: 2px;
}

.top-portals-label {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.74rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--secondary);
    margin-right: 4px;
    padding-right: 8px;
    border-right: 1px solid rgba(255, 255, 255, 0.25);
}

.top-portals-label i {
    font-size: 0.76rem;
}

.top-links a {
    color: rgba(255, 255, 255, 0.88);
    padding: 2px 10px;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.75rem;
    font-weight: 600;
    transition: color 0.25s ease;
}

.top-links a:last-child {
    border-right: none;
}

.top-links a:hover {
    color: var(--secondary);
}

.social-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.social-links a {
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    color: var(--white);
    font-size: 0.75rem;
    transition: all 0.25s ease;
}

.social-links a:hover {
    background: var(--secondary);
    color: #1a1a2e;
    transform: translateY(-2px) scale(1.08);
}

/* ========================================
   UNIFIED NAVBAR - CREATIVE FLOATING GLASS CAPSULE
   ======================================== */
.uber-navbar {
    position: fixed;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 64px);
    max-width: 1400px;
    z-index: 1000;
    padding: 0;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Transparent state (over hero slider) - Frosted Dark Glass Pill */
.uber-navbar:not(.scrolled) .navbar-inner {
    background: rgba(10, 28, 16, 0.48);
    -webkit-backdrop-filter: blur(20px) saturate(190%);
    backdrop-filter: blur(20px) saturate(190%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 60px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25), inset 0 1px 1px rgba(255, 255, 255, 0.25);
    height: 78px;
}

/* Scrolled state - Luminous Floating Light Glass Island */
.uber-navbar.scrolled {
    top: 14px;
}

.uber-navbar.scrolled .navbar-inner {
    background: rgba(255, 255, 255, 0.92);
    -webkit-backdrop-filter: blur(25px);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(27, 110, 31, 0.15);
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    height: 66px;
}

.navbar-inner {
    padding: 0 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

/* ---- Standalone Emblem Logo Badge ---- */
.navbar-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    text-decoration: none;
}

.logo-img {
    width: 62px;
    height: 62px;
    object-fit: contain;
    border-radius: 50%;
    background: #ffffff;
    padding: 3px;
    border: 2px solid var(--primary);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.navbar-logo:hover .logo-img {
    transform: scale(1.06) rotate(2deg);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.uber-navbar.scrolled .logo-img {
    width: 52px;
    height: 52px;
}

/* ---- Nav Menu Pushed to Right Side ---- */
.navbar-nav {
    display: flex;
    align-items: center;
    margin-left: auto;
}

.mega-menu-list {
    display: flex;
    align-items: center;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.mega-menu-list>li {
    position: relative;
}

.mega-menu-list>li>a {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    transition: color 0.25s ease;
    position: relative;
    white-space: nowrap;
}

/* Bottom Line Indicator for Links */
.mega-menu-list>li>a::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    border-radius: 2px;
    background: var(--secondary);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Navbar Links - Transparent Dark Glass State */
.uber-navbar:not(.scrolled) .mega-menu-list>li>a {
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.uber-navbar:not(.scrolled) .mega-menu-list>li>a:hover,
.uber-navbar:not(.scrolled) .mega-menu-list>li>a.active {
    color: #ffffff;
    background: transparent;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
    transform: none;
}

.uber-navbar:not(.scrolled) .mega-menu-list>li>a:hover::after,
.uber-navbar:not(.scrolled) .mega-menu-list>li>a.active::after {
    width: calc(100% - 16px);
    background: var(--secondary);
}

/* Navbar Links - Scrolled Light Glass State */
.uber-navbar.scrolled .mega-menu-list>li>a {
    color: #2c3e50;
}

.uber-navbar.scrolled .mega-menu-list>li>a:hover,
.uber-navbar.scrolled .mega-menu-list>li>a.active {
    color: var(--primary);
    background: transparent;
    border: none;
    box-shadow: none;
    transform: none;
}

.uber-navbar.scrolled .mega-menu-list>li>a:hover::after,
.uber-navbar.scrolled .mega-menu-list>li>a.active::after {
    width: calc(100% - 16px);
    background: var(--primary);
}

.mega-menu-list>li>a i.fa-chevron-down {
    font-size: 0.6rem;
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0.75;
}

.mega-menu-list>li:hover>a i.fa-chevron-down {
    transform: rotate(180deg);
    opacity: 1;
}

/* ---- Floating Curved Glass Mega Menu Panels ---- */
.has-mega {
    position: static !important;
}

.mega-panel {
    position: absolute;
    top: calc(100% + 14px);
    left: 50%;
    transform: translateX(-50%) translateY(16px) scale(0.98);
    width: 100%;
    max-width: 1360px;
    background: transparent;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s ease;
    z-index: 2000;
    pointer-events: none;
}

.has-mega:hover .mega-panel {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0) scale(1);
    pointer-events: auto;
}

.mega-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 32px 40px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    background: rgba(255, 255, 255, 0.97);
    -webkit-backdrop-filter: blur(25px);
    backdrop-filter: blur(25px);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 25px 65px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

/* Top Accent Line */
.mega-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary);
}



.mega-container.mega-4col {
    grid-template-columns: repeat(4, 1fr);
    max-width: 1360px;
}

.mega-col h5 {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--primary-dark);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid #eef6ee;
    display: flex;
    align-items: center;
    gap: 10px;
}

.mega-col h5 i {
    color: var(--primary);
    font-size: 0.95rem;
    background: rgba(27, 110, 31, 0.1);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: none;
}

.mega-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mega-col ul li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    font-size: 0.84rem;
    font-weight: 500;
    color: #4a5568;
    border-radius: 10px;
    transition: all 0.25s ease;
}

.mega-col ul li a i {
    width: 20px;
    text-align: center;
    color: var(--primary-light);
    font-size: 0.85rem;
    transition: transform 0.25s ease, color 0.25s ease;
}

.mega-col ul li a:hover {
    background: rgba(27, 110, 31, 0.08);
    color: var(--primary-dark);
    transform: translateX(7px);
}

.mega-col ul li a:hover i {
    color: var(--primary);
    transform: scale(1.2);
}

/* Mega Highlight Column (CTA Box) */
.mega-highlight {
    display: flex;
    align-items: stretch;
}

.mega-cta {
    background: var(--primary-dark);
    border-radius: 18px;
    padding: 26px;
    color: var(--white);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.mega-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    pointer-events: none;
}

.mega-cta>i {
    font-size: 2.2rem;
    margin-bottom: 12px;
    color: var(--secondary);
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.2));
}

.mega-cta h5 {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--white);
    border: none;
    padding: 0;
    margin-bottom: 8px;
    text-transform: none;
    letter-spacing: 0;
    display: block;
}

.mega-cta p {
    font-size: 0.8rem;
    opacity: 0.9;
    margin-bottom: 16px;
    line-height: 1.5;
}

.mega-btn {
    display: inline-block;
    padding: 9px 24px;
    background: var(--secondary);
    color: var(--white);
    font-size: 0.78rem;
    font-weight: 700;
    border-radius: 30px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
    transition: all 0.3s ease;
}

.mega-btn:hover {
    background: var(--secondary-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.16);
}

/* ========================================
   ADMISSION MEGA MENU - CUSTOM DARK DESIGN
   ======================================== */
.mega-container.mega-admission-dark {
    background: #383838 !important;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
    grid-template-columns: 1fr 1fr 2fr;
    gap: 36px;
    padding: 40px 48px;
    border-radius: 20px;
}

.mega-container.mega-admission-dark::before {
    background: var(--secondary);
}

.mega-admission-dark .mega-col h5 {
    color: #ffffff;
    border-bottom-color: rgba(255, 255, 255, 0.12);
}

.mega-admission-dark .mega-col h5 i {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    box-shadow: none;
}

.mega-admission-dark .mega-col ul li a {
    color: #d1d5db;
}

.mega-admission-dark .mega-col ul li a i {
    color: var(--secondary);
}

.mega-admission-dark .mega-col ul li a:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

/* Right Panel Matching User Screenshot */
.mega-col.mega-admission-panel {
    background: #383838;
    border-radius: 18px;
    padding: 30px 34px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.mega-container.mega-admission-dark .mega-col.mega-admission-panel {
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    border: none;
    border-left: 1px solid rgba(255, 255, 255, 0.18);
    padding: 0 0 0 36px;
}

.admission-dark-content {
    color: #ffffff;
}

.admission-panel-title {
    font-size: 3.4rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
    margin-bottom: 26px;
    letter-spacing: -1px;
    font-family: inherit;
}

.admission-btn-group {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 34px;
    flex-wrap: wrap;
}

.btn-adm-red {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    background: #b91c1c;
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

.btn-adm-red:hover {
    background: #991b1b;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.16);
}

.btn-adm-prospectus {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 6px 20px 6px 8px;
    background: #ffffff;
    color: #1e1e1e;
    font-size: 0.9rem;
    font-weight: 700;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.btn-adm-prospectus:hover {
    background: #f3f4f6;
    color: #000000;
    transform: translateY(-2px);
}

.btn-adm-prospectus .pdf-badge {
    width: 32px;
    height: 32px;
    background: #d92525;
    color: #ffffff;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.admission-helpline-title {
    font-size: 1.45rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
    letter-spacing: -0.2px;
}

.admission-helpline-details {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.helpline-row {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #ffffff;
}

.helpline-row i {
    color: #9e9e9e;
    font-size: 1.1rem;
    width: 22px;
    text-align: center;
}

.helpline-row span {
    color: #ffffff;
    letter-spacing: 0.2px;
}

/* ---- Navbar Actions ---- */
.navbar-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-left: 20px;
    flex-shrink: 0;
}

/* Natural Apply Button */
.nav-apply-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    border-radius: 30px;
    background: var(--secondary);
    color: #ffffff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
    transition: all 0.3s ease;
    text-decoration: none;
    white-space: nowrap;
}

.nav-apply-btn::before {
    display: none;
}

.nav-apply-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.16);
    background: var(--secondary-dark);
    color: #ffffff;
}

.nav-search-toggle {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.uber-navbar:not(.scrolled) .nav-search-toggle {
    background: rgba(255, 255, 255, 0.18);
    color: var(--white);
    backdrop-filter: blur(8px);
}

.uber-navbar:not(.scrolled) .nav-search-toggle:hover {
    background: rgba(255, 255, 255, 0.32);
    transform: scale(1.1) rotate(15deg);
}

.uber-navbar.scrolled .nav-search-toggle {
    background: var(--accent);
    color: var(--primary-dark);
}

.uber-navbar.scrolled .nav-search-toggle:hover {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.1) rotate(15deg);
}

.mega-cta {
    background: var(--primary-dark);
    border-radius: 16px;
    padding: 26px;
    color: var(--white);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.mega-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    pointer-events: none;
}

.mega-cta>i {
    font-size: 2.2rem;
    margin-bottom: 12px;
    color: var(--secondary);
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.2));
}

.mega-cta h5 {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--white);
    border: none;
    padding: 0;
    margin-bottom: 8px;
    text-transform: none;
    letter-spacing: 0;
    display: block;
}

.mega-cta p {
    font-size: 0.8rem;
    opacity: 0.9;
    margin-bottom: 16px;
    line-height: 1.5;
}

.mega-btn {
    display: inline-block;
    padding: 9px 22px;
    background: var(--secondary);
    color: var(--white);
    font-size: 0.78rem;
    font-weight: 700;
    border-radius: 30px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
    transition: all 0.3s ease;
}

.mega-btn:hover {
    background: var(--secondary-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.16);
}

/* ---- Navbar Actions ---- */
.navbar-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-left: 20px;
    flex-shrink: 0;
}

/* Apply CTA Button */
.nav-apply-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    border-radius: 30px;
    background: var(--secondary);
    color: #ffffff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
    transition: all 0.3s ease;
    text-decoration: none;
    white-space: nowrap;
}

.nav-apply-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.16);
    background: var(--secondary-dark);
    color: #ffffff;
}

.nav-search-toggle {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.uber-navbar:not(.scrolled) .nav-search-toggle {
    background: rgba(255, 255, 255, 0.18);
    color: var(--white);
    backdrop-filter: blur(8px);
}

.uber-navbar:not(.scrolled) .nav-search-toggle:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.08);
}

.uber-navbar.scrolled .nav-search-toggle {
    background: var(--accent);
    color: var(--primary-dark);
}

.uber-navbar.scrolled .nav-search-toggle:hover {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.08);
}

.uber-navbar.scrolled .nav-search-toggle:hover {
    background: var(--primary);
    color: var(--white);
}

/* ---- Search Overlay ---- */
.search-overlay {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.search-overlay.active {
    max-height: 100px;
    padding: 20px 0;
}

.search-overlay-inner {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 30px;
}

.search-overlay input {
    flex: 1;
    padding: 12px 20px;
    font-size: 1rem;
    border: 2px solid #eee;
    border-radius: 30px;
    outline: none;
    font-family: var(--font-primary);
    transition: var(--transition);
}

.search-overlay input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(27, 110, 31, 0.1);
}

.search-overlay button {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: var(--transition);
}

.search-overlay #searchBtn {
    background: var(--primary);
    color: var(--white);
}

.search-overlay #searchBtn:hover {
    background: var(--primary-dark);
}

.search-close {
    background: #f0f0f0;
    color: var(--text);
}

.search-close:hover {
    background: #e74c3c;
    color: var(--white);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1002;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2.5px;
    border-radius: 3px;
    transition: var(--transition);
}

.uber-navbar:not(.scrolled) .mobile-menu-toggle span {
    background: var(--white);
}

.uber-navbar.scrolled .mobile-menu-toggle span {
    background: var(--primary-dark);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}


/* ========================================
   HERO SLIDER
   ======================================== */
.hero-slider {
    position: relative;
    height: 95vh;
    min-height: 520px;
    overflow: hidden;
    background-color: #0b1a14;
}

.slider-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
    background-color: #0b1a14;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.8s ease-in-out, transform 6s ease-out;
    transform: scale(1);
    will-change: opacity, transform;
    z-index: 1;
}

.slide.last-active {
    opacity: 1;
    z-index: 1;
    pointer-events: none;
    transform: scale(1.04);
}

.slide.active {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1.04);
    z-index: 2;
}

.slide-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1;
}

.slide-content {
    position: absolute;
    bottom: 50%;
    transform: translateY(50%);
    left: 150px;
    max-width: 900px;
    color: var(--white);
    z-index: 2;
}

.slide.active .slide-content {
    animation: slideInContent 0.8s ease forwards;
}

@keyframes slideInContent {
    from {
        opacity: 0;
        transform: translateY(calc(50% + 30px));
    }

    to {
        opacity: 1;
        transform: translateY(50%);
    }
}

.slide-subtitle {
    font-size: 1.1rem;
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
    opacity: 0.9;
}

.slide-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 15px;
    text-shadow: 2px 2px 20px rgba(0, 0, 0, 0.3);
}

.slide-desc {
    font-size: 1rem;
    margin-bottom: 25px;
    opacity: 0.9;
    font-weight: 300;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    font-size: 1.2rem;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-prev {
    left: 20px;
}

.slider-next {
    right: 20px;
}

.slider-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-50%) scale(1.1);
}

.slider-dots {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.slider-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: var(--transition);
}

.slider-dots .dot.active {
    background: var(--secondary);
    border-color: var(--secondary);
    transform: scale(1.2);
}

/* ============ ROTATING CURVED-TEXT BADGE WITH CENTER ARROW ============ */
.rotating-curved-badge {
    position: absolute;
    bottom: 35px;
    right: 55px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(13, 40, 18, 0.45);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 25;
    text-decoration: none;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.rotating-curved-badge:hover {
    transform: scale(1.08);
    border-color: var(--secondary);
    background: rgba(13, 40, 18, 0.75);
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.35);
}

.rotating-text-svg {
    width: 100%;
    height: 100%;
    animation: spinCurvedText 12s linear infinite;
    pointer-events: none;
}

@keyframes spinCurvedText {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.badge-center-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    transition: all 0.35s ease;
    border: 2px solid var(--primary);
    padding: 3px;
    overflow: hidden;
}

.rotating-curved-badge:hover .badge-center-icon {
    background: #ffffff;
    border-color: var(--secondary);
    transform: translate(-50%, -50%) scale(1.08);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.badge-icar-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transition: transform 0.35s ease;
}

.rotating-curved-badge:hover .badge-icar-logo {
    transform: scale(1.06);
}

.badge-center-icon i {
    animation: bounceArrow 2s infinite ease-in-out;
}

@keyframes bounceArrow {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(3px);
    }
}

@media (max-width: 768px) {
    .rotating-curved-badge {
        bottom: 20px;
        right: 20px;
        width: 92px;
        height: 92px;
    }

    .badge-center-icon {
        width: 38px;
        height: 38px;
        font-size: 0.88rem;
        padding: 2px;
    }
}

/* ========================================
   ULTRA-CREATIVE NEO-BENTO QUICK ACCESS HUB
   ======================================== */
.quick-links-section {
    background: #f7faf7;
    position: relative;
    overflow: hidden;
}

.quick-hub-bg-aura {
    display: none;
}

.bento-hub-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    margin-top: 30px;
}

/* Bento Hero (2 Columns Wide) */
.bento-hero {
    grid-column: span 2;
    background: var(--primary-dark) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: var(--shadow-md) !important;
    position: relative;
    overflow: hidden;
}

.bento-hero::before {
    display: none;
}

@keyframes rotateAura {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.bento-badge.pulse-gold {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(245, 166, 35, 0.2);
    border: 1px solid rgba(245, 166, 35, 0.6);
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 800;
    color: var(--secondary);
    letter-spacing: 0.6px;
    backdrop-filter: blur(6px);
    margin-bottom: 16px;
    width: fit-content;
}

.bento-hero .bento-content {
    display: flex;
    align-items: center;
    gap: 22px;
    position: relative;
    z-index: 2;
}

.bento-hero .bento-icon-wrapper {
    position: relative;
    flex-shrink: 0;
}

.bento-icon-ring {
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px dashed rgba(245, 166, 35, 0.6);
    animation: spinRing 15s linear infinite;
}

@keyframes spinRing {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.bento-hero .bento-icon {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: var(--secondary);
    color: #ffffff;
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.bento-hero .bento-details h3 {
    font-size: 1.3rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 6px;
}

.bento-hero .bento-details p {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 14px;
    line-height: 1.45;
}

.bento-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: var(--secondary);
    color: #ffffff;
    font-size: 0.76rem;
    font-weight: 700;
    border-radius: 25px;
    letter-spacing: 0.6px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
    transition: all 0.3s ease;
}

.bento-hero:hover .bento-action-btn {
    background: #ffffff;
    color: var(--primary-dark);
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.16);
}

/* Standard Bento Cards */
.bento-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border: 1px solid #e2ece3;
    border-radius: 22px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

.bento-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.bento-card:hover::after {
    opacity: 1;
}

.bento-top-tag {
    font-size: 0.7rem;
    font-weight: 700;
    color: #64748b;
    background: #f1f7f2;
    padding: 4px 10px;
    border-radius: 12px;
    width: fit-content;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.bento-top-tag.pulse-green {
    background: rgba(27, 110, 31, 0.1);
    color: var(--primary-dark);
    font-weight: 800;
}

.bento-top-tag.pulse-green i {
    color: #2e9434;
    font-size: 0.5rem;
    animation: blinkPulse 1.5s infinite ease-in-out;
}

@keyframes blinkPulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.3;
        transform: scale(0.8);
    }
}

.bento-card .bento-icon {
    width: 50px;
    height: 50px;
    border-radius: 16px;
    background: var(--accent);
    color: var(--primary);
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.bento-card .bento-details h4 {
    font-size: 1rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 4px;
    transition: color 0.25s ease;
}

.bento-card .bento-details p {
    font-size: 0.76rem;
    color: #64748b;
    font-weight: 500;
    line-height: 1.35;
}

.bento-footer-arrow {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f1f7f2;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.78rem;
    align-self: flex-end;
    margin-top: 16px;
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Hover States */
.bento-card:not(.bento-hero):hover {
    transform: translateY(-6px);
    border-color: rgba(31, 78, 61, 0.3);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.bento-card:not(.bento-hero):hover .bento-icon {
    background: var(--primary);
    color: #ffffff;
    transform: scale(1.08) rotate(3deg);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.bento-card:not(.bento-hero):hover .bento-details h4 {
    color: var(--primary);
}

.bento-card:not(.bento-hero):hover .bento-footer-arrow {
    background: var(--primary);
    color: #ffffff;
    transform: translateX(4px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

/* ========================================
   PRINCIPAL / DEAN SECTION - FULL WIDTH
   ======================================== */
.principal-section {
    position: relative;
    background: #f7faf7;
    padding: 80px 0;
    overflow: hidden;
}

.principal-bg-pattern {
    position: absolute;
    inset: 0;
    background-image: none;
    pointer-events: none;
}

.principal-bg-pattern::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 200px;
    height: 200px;
    border: 30px solid rgba(27, 110, 31, 0.05);
    border-radius: 50%;
}

.principal-bg-pattern::after {
    content: '';
    position: absolute;
    bottom: -40px;
    left: -40px;
    width: 150px;
    height: 150px;
    border: 20px solid rgba(245, 166, 35, 0.06);
    border-radius: 50%;
}

.principal-full-wrapper {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    gap: 60px;
    position: relative;
    z-index: 2;
}

/* Principal Photo */
.principal-left {
    flex-shrink: 0;
}

.principal-photo-frame {
    position: relative;
    width: 280px;
    height: 320px;
}

.photo-ring {
    position: absolute;
    inset: -12px;
    border: 3px dashed rgba(27, 110, 31, 0.25);
    border-radius: 20px;
    animation: rotateRing 20s linear infinite;
}

@keyframes rotateRing {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.principal-photo-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
    box-shadow:
        0 15px 40px rgba(0, 0, 0, 0.12),
        0 0 0 4px var(--white),
        0 0 0 7px var(--primary);
    transition: var(--transition);
}

.principal-photo-frame:hover img {
    transform: scale(1.03);
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.16),
        0 0 0 4px var(--white),
        0 0 0 7px var(--primary-light);
}

.principal-badge-tag {
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: var(--white);
    padding: 8px 24px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
    display: flex;
    align-items: center;
    gap: 6px;
}

.principal-badge-tag i {
    color: var(--secondary);
}

/* Principal Right Content */
.principal-right {
    flex: 1;
}

.principal-header {
    margin-bottom: 25px;
}

.principal-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.principal-tag i {
    color: var(--secondary);
    font-size: 1rem;
}

.principal-header h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--dark);
    line-height: 1.2;
}

.principal-header h2 span {
    color: var(--primary);
}

.principal-underline {
    width: 80px;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
    margin-top: 12px;
    position: relative;
}

.principal-underline::after {
    content: '';
    position: absolute;
    right: -14px;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    background: var(--secondary);
    border-radius: 50%;
}

.principal-message p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 12px;
}

.principal-message p strong {
    color: var(--primary-dark);
    font-weight: 700;
}

.principal-signature {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 25px 0;
    padding: 15px 0;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
}

.signature-line {
    width: 50px;
    height: 2px;
    background: var(--secondary);
}

.signature-info strong {
    display: block;
    font-size: 1.1rem;
    color: var(--primary-dark);
    font-family: var(--font-heading);
    font-style: italic;
}

.signature-info span {
    font-size: 0.8rem;
    color: var(--gray);
}

/* ========================================
   ABOUT SECTION - FULL WIDTH
   ======================================== */
.about-section {
    position: relative;
    background: var(--white);
    padding: 80px 0;
    overflow: hidden;
}

.about-bg-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.06;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: var(--primary);
    top: -100px;
    right: -100px;
}

.shape-2 {
    width: 250px;
    height: 250px;
    background: var(--secondary);
    bottom: -50px;
    left: -50px;
}

.shape-3 {
    width: 150px;
    height: 150px;
    background: var(--primary-light);
    top: 50%;
    left: 40%;
}

.about-full-wrapper {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    gap: 60px;
    position: relative;
    z-index: 2;
}

/* About Left Content */
.about-left {
    flex: 1;
}

.about-header {
    margin-bottom: 20px;
}

.about-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.about-tag i {
    color: var(--secondary);
    font-size: 1rem;
}

.about-header h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--dark);
    line-height: 1.2;
}

.about-header h2 span {
    color: var(--primary);
}

.about-underline {
    width: 80px;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
    margin-top: 12px;
    position: relative;
}

.about-underline::after {
    content: '';
    position: absolute;
    right: -14px;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    background: var(--secondary);
    border-radius: 50%;
}

.about-desc {
    font-size: 0.92rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 12px;
}

.about-desc strong {
    color: var(--primary-dark);
}

/* Accreditation Badges */
.accreditation-row {
    display: flex;
    gap: 15px;
    margin: 25px 0;
    flex-wrap: wrap;
}

.accreditation-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    border-radius: var(--radius-md);
    flex: 1;
    min-width: 240px;
    transition: var(--transition);
    cursor: default;
    position: relative;
    overflow: hidden;
}

.accreditation-badge::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: var(--transition);
}

.accreditation-badge:hover {
    transform: translateY(-3px);
}

.icar-badge {
    background: #f0f7f2;
    border: 2px solid var(--primary);
    box-shadow: var(--shadow-sm);
}

.icar-badge:hover {
    box-shadow: var(--shadow-md);
}

.tantia-badge {
    background: #fdf8ee;
    border: 2px solid var(--secondary);
    box-shadow: var(--shadow-sm);
}

.tantia-badge:hover {
    box-shadow: var(--shadow-md);
}

.accred-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.icar-badge .accred-icon {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.tantia-badge .accred-icon {
    background: var(--secondary);
    color: var(--white);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.accred-info strong {
    display: block;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--dark);
    line-height: 1.3;
}

.accred-info span {
    font-size: 0.72rem;
    color: var(--gray);
    line-height: 1.3;
}

/* About Features Grid */
.about-features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 25px 0;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: var(--off-white);
    border-radius: var(--radius-sm);
    border: 1px solid #eee;
    transition: var(--transition);
}

.about-feature:hover {
    background: var(--accent);
    border-color: var(--primary);
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.af-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
    transition: var(--transition);
}

.about-feature:hover .af-icon {
    transform: rotate(10deg) scale(1.05);
}

.af-text strong {
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--dark);
}

.af-text span {
    font-size: 0.72rem;
    color: var(--gray);
}

/* About Right - Image Collage */
.about-right {
    flex-shrink: 0;
    width: 480px;
}

.about-image-collage {
    position: relative;
    width: 100%;
    height: 420px;
}

.collage-main {
    position: absolute;
    top: 0;
    left: 0;
    width: 75%;
    height: 75%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--white);
}

.collage-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.collage-main:hover img {
    transform: scale(1.08);
}

.collage-accent {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 55%;
    height: 55%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--white);
    z-index: 2;
}

.collage-accent img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.collage-accent:hover img {
    transform: scale(1.08);
}

.collage-experience {
    position: absolute;
    bottom: 50%;
    right: 40%;
    background: var(--primary);
    color: var(--white);
    padding: 18px 22px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-md);
    z-index: 3;
    transform: translateY(50%);
    animation: floatBadge 3s ease-in-out infinite;
}

@keyframes floatBadge {

    0%,
    100% {
        transform: translateY(50%);
    }

    50% {
        transform: translateY(calc(50% - 8px));
    }
}

.exp-number {
    font-size: 2.2rem;
    font-weight: 900;
    line-height: 1;
}

.exp-number span {
    font-size: 1.2rem;
    color: var(--secondary);
}

.exp-text {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.3;
    margin-top: 4px;
}

.collage-icar-seal {
    position: absolute;
    top: -10px;
    right: 30%;
    width: 80px;
    height: 80px;
    background: var(--secondary);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    z-index: 4;
    box-shadow: var(--shadow-md);
    border: 3px solid var(--white);
}





.collage-icar-seal i {
    font-size: 1.3rem;
    margin-bottom: 2px;
}

.collage-icar-seal span {
    font-size: 0.55rem;
    font-weight: 800;
    text-transform: uppercase;
    text-align: center;
    line-height: 1.2;
    letter-spacing: 0.5px;
}


/* ========================================
   COURSES SECTION
   ======================================== */
/* ========================================
   OUR COURSES - TABBED + RIBBON CARDS
   ======================================== */
.courses-section {
    background: #ffffff;
}

.course-tabs-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.course-tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #4a5568;
    background: #ffffff;
    border: 2px solid #e1eee2;
    border-radius: 30px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.course-tab-btn i {
    font-size: 0.9rem;
    color: var(--primary-light);
    transition: color 0.3s ease;
}

.course-tab-btn:hover {
    border-color: var(--primary);
    color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.course-tab-btn.active {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.course-tab-btn.active i {
    color: var(--secondary);
}

/* Slider Carousel Layout for Course Cards */
.courses-slider-wrapper {
    position: relative;
    padding: 0 46px;
}

.courses-slider-track-container {
    overflow: hidden;
    width: 100%;
    padding: 15px 5px 25px 5px;
}

.courses-slider-track {
    display: flex;
    gap: 24px;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
}

.courses-slider-track .course-card-v2 {
    flex: 0 0 calc(33.333% - 16px);
    min-width: 290px;
    margin: 0;
}

/* Slider Controls */
.courses-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #ffffff;
    border: 1.5px solid #d1e4d3;
    color: var(--primary-dark);
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    z-index: 10;
    transition: all 0.3s ease;
}

.courses-slider-prev {
    left: 0;
}

.courses-slider-next {
    right: 0;
}

.courses-slider-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #ffffff;
    transform: translateY(-50%) scale(1.1);
}

.courses-slider-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
}

.courses-slider-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #cbd5e1;
    cursor: pointer;
    transition: all 0.3s ease;
}

.courses-slider-dots .dot.active {
    width: 28px;
    border-radius: 10px;
    background: var(--primary);
}

/* Unique Course Card Styling */
.course-card-v2 {
    background: #ffffff;
    border: 1px solid #e2ece3;
    border-radius: 24px;
    padding: 30px 26px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.course-card-v2:hover {
    transform: translateY(-6px);
    border-color: rgba(31, 78, 61, 0.3);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08);
}

/* 3D Corner Badge Ribbon Accent (Zero Overlay with Icon) */
.card-ribbon {
    position: absolute;
    top: 20px;
    right: -45px;
    width: 175px;
    padding: 5px 0;
    text-align: center;
    transform: rotate(45deg);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18);
    z-index: 5;
    overflow: hidden;
    pointer-events: none;
}

.card-ribbon span {
    font-size: 0.58rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #ffffff;
    display: block;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    padding: 0 10px;
}

.ribbon-gold {
    background: var(--secondary);
}

.ribbon-gold span {
    color: #ffffff;
}

.ribbon-green {
    background: var(--primary);
}

.ribbon-orange {
    background: #d97706;
}

.ribbon-purple {
    background: #7c3aed;
}

.ribbon-teal {
    background: #0d9488;
}

.course-card-header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    margin-bottom: 18px;
}

.course-cat-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.6px;
    text-transform: uppercase;
}

.tag-ug {
    background: rgba(245, 166, 35, 0.15);
    color: #b87a00;
}

.tag-pg {
    background: rgba(27, 110, 31, 0.12);
    color: var(--primary-dark);
}

.tag-phd {
    background: rgba(142, 68, 173, 0.15);
    color: #6c2a8d;
}

.course-icon-badge {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--accent);
    color: var(--primary);
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.35s ease;
}

.course-card-v2:hover .course-icon-badge {
    background: var(--primary);
    color: #ffffff;
    transform: scale(1.08) rotate(3deg);
}

.course-card-title {
    font-size: 1.18rem;
    font-weight: 800;
    color: var(--primary-dark);
    line-height: 1.3;
    margin-bottom: 10px;
}

.course-card-desc {
    font-size: 0.82rem;
    color: #64748b;
    line-height: 1.5;
    margin-bottom: 20px;
}

.course-spec-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    background: #f8fbf8;
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid #ebf3ec;
    margin-bottom: 22px;
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #334155;
}

.spec-item i {
    color: var(--primary);
    font-size: 0.8rem;
}

.course-card-footer {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-course-details {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 14px;
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    border-radius: 25px;
    font-size: 0.76rem;
    font-weight: 700;
    color: #334155;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-course-details:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: #f0fdf4;
}

.btn-course-apply {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 14px;
    background: var(--secondary);
    border-radius: 25px;
    font-size: 0.76rem;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.btn-course-apply:hover {
    background: var(--secondary-dark);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.14);
}

/* Modal Popup Styling */
.course-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s ease;
    padding: 20px;
}

.course-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.course-modal-card {
    background: #ffffff;
    width: 100%;
    max-width: 650px;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
    position: relative;
    transform: scale(0.9) translateY(20px);
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.course-modal-overlay.active .course-modal-card {
    transform: scale(1) translateY(0);
}

.course-modal-close {
    position: absolute;
    top: 16px;
    right: 20px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    border: none;
    color: #ffffff;
    font-size: 1.4rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.25s ease;
}

.course-modal-close:hover {
    background: #ffffff;
    color: var(--primary-dark);
}

.course-modal-header {
    background: var(--primary-dark);
    padding: 32px 30px 24px 30px;
    color: #ffffff;
}

.modal-badge {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(245, 166, 35, 0.25);
    border: 1px solid rgba(245, 166, 35, 0.6);
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 8px;
}

.course-modal-header h3 {
    font-size: 1.4rem;
    font-weight: 800;
}

.course-modal-body {
    padding: 24px 30px;
    max-height: 60vh;
    overflow-y: auto;
}

.modal-spec-bar {
    display: flex;
    gap: 20px;
    padding: 12px 18px;
    background: #f0f7f1;
    border-radius: 14px;
    margin-bottom: 20px;
    font-size: 0.82rem;
    color: var(--primary-dark);
}

.modal-section {
    margin-bottom: 18px;
}

.modal-section h4 {
    font-size: 0.92rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.modal-section h4 i {
    color: var(--secondary);
}

.modal-section p {
    font-size: 0.84rem;
    color: #475569;
    line-height: 1.5;
}

.modal-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.modal-list li {
    font-size: 0.8rem;
    color: #334155;
    display: flex;
    align-items: center;
    gap: 6px;
}

.modal-list li::before {
    content: '✓';
    color: var(--primary);
    font-weight: bold;
}

.course-modal-footer {
    padding: 16px 30px 24px 30px;
    border-top: 1px solid #f1f5f9;
    text-align: right;
}

/* ========================================
   DEPARTMENTS SECTION & SLIDER CAROUSEL
   ======================================== */
.departments-section {
    background-color: var(--bg-gray) !important;
}

.departments-slider-wrapper {
    position: relative;
    padding: 0 46px;
}

.departments-slider-track-container {
    overflow: hidden;
    width: 100%;
    padding: 15px 5px 25px 5px;
}

.departments-slider-track {
    display: flex;
    gap: 24px;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
}

.departments-slider-track .dept-card {
    flex: 0 0 calc(25% - 18px);
    min-width: 240px;
    min-height: 230px;
    margin: 0;
}

.dept-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 35px 22px;
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    text-align: center;
    border: 1.5px solid #e1eee2;
    text-decoration: none;
}

.dept-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    border-color: var(--primary);
}

.dept-icon {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--primary);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.35s ease;
}

.dept-card:hover .dept-icon {
    background: var(--primary);
    color: #ffffff;
    transform: scale(1.08) rotate(3deg);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.dept-card h4 {
    font-size: 1.08rem;
    font-weight: 800;
    color: var(--primary-dark);
    line-height: 1.3;
    margin: 0;
    transition: color 0.3s ease;
}

.dept-card:hover h4 {
    color: var(--primary-light);
}

.dept-desc {
    font-size: 0.78rem;
    color: #64748b;
    line-height: 1.4;
    margin: 0;
    font-weight: 500;
}

/* Slider Controls for Departments */
.departments-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #ffffff;
    border: 1.5px solid #c8e6c9;
    color: var(--primary-dark);
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    z-index: 10;
    transition: all 0.3s ease;
}

.departments-slider-prev {
    left: 0;
}

.departments-slider-next {
    right: 0;
}

.departments-slider-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #ffffff;
    transform: translateY(-50%) scale(1.1);
}

.departments-slider-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
}

.departments-slider-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #cbd5e1;
    cursor: pointer;
    transition: all 0.3s ease;
}

.departments-slider-dots .dot.active {
    width: 28px;
    border-radius: 10px;
    background: var(--primary);
}

/* ========================================
   ORGANIC PRODUCE BANNER SECTION
   ======================================== */
.organic-banner-section {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.organic-shape-divider {
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 10;
    pointer-events: none;
}

.organic-shape-divider img {
    display: block;
    width: 100%;
    height: 65px;
    object-fit: fill;
}

.organic-banner-bg {
    position: relative;
    width: 100%;
    min-height: 520px;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    display: flex;
    align-items: flex-end;
    padding: 80px 0 0 0;
}

.organic-banner-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.organic-banner-bg .container {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    align-items: flex-end;
}

.organic-card-box {
    background: var(--primary);
    width: 40%;
    min-width: 340px;
    padding: 44px 40px;
    border-radius: 4px 4px 0 0;
    color: #ffffff;
    margin-bottom: 0;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.organic-card-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
}

.organic-card-title {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.25;
    color: #ffffff;
    margin-bottom: 18px;
    letter-spacing: -0.5px;
}

.organic-card-desc {
    font-size: 0.88rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 24px;
}

.organic-checklist {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.organic-checklist li {
    font-size: 0.9rem;
    font-weight: 700;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 10px;
}

.organic-checklist li i {
    font-size: 0.85rem;
    color: #ffffff;
    font-weight: 900;
}

@media (max-width: 768px) {
    .organic-banner-bg {
        min-height: auto;
        padding: 50px 0;
    }

    .organic-card-box {
        max-width: 100%;
        padding: 30px 24px;
    }

    .organic-card-title {
        font-size: 1.7rem;
    }
}

/* ========================================
   NOTICES & EVENTS
   ======================================== */
.notices-events {
    background: var(--off-white);
}

.ne-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 30px;
}

.notices-card,
.events-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 25px;
    box-shadow: var(--shadow-md);
    border: 1px solid #f0f0f0;
}

.notices-header-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.notices-header-flex .section-label {
    margin-bottom: 0;
}

.notices-ticker-controls {
    display: flex;
    align-items: center;
    gap: 6px;
}

.ticker-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f0fdf4;
    border: 1px solid #c8e6c9;
    color: var(--primary-dark);
    font-size: 0.75rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.ticker-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #ffffff;
    transform: scale(1.1);
}

/* ========================================
   NOTICES MARQUEE RIBBON BAR (BELOW HERO)
   ======================================== */
.notices-marquee-bar {
    background: var(--primary-dark);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border-bottom: 3px solid var(--secondary);
    position: relative;
    z-index: 10;
}

.marquee-inner-flex {
    display: flex;
    align-items: center;
    height: 52px;
    position: relative;
    overflow: hidden;
}

.marquee-ribbon-badge {
    position: relative;
    flex-shrink: 0;
    background: var(--secondary);
    color: var(--white);
    font-size: 0.82rem;
    font-weight: 900;
    padding: 0 22px 0 16px;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 0.6px;
    z-index: 2;
    clip-path: polygon(0 0, 90% 0, 100% 100%, 0 100%);
}

.marquee-ribbon-badge i {
    font-size: 1rem;
    animation: bellRing 2s infinite ease-in-out;
}

@keyframes bellRing {

    0%,
    100% {
        transform: rotate(0deg);
    }

    10%,
    30% {
        transform: rotate(15deg);
    }

    20%,
    40% {
        transform: rotate(-15deg);
    }

    50% {
        transform: rotate(0deg);
    }
}

.marquee-scroll-window {
    flex-grow: 1;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    margin: 0 15px;
    height: 100%;
    display: flex;
    align-items: center;
}

.marquee-track {
    display: inline-flex;
    align-items: center;
    gap: 40px;
    animation: marqueeHorizontal 28s linear infinite;
    will-change: transform;
}

.marquee-scroll-window:hover .marquee-track {
    animation-play-state: paused;
}

@keyframes marqueeHorizontal {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.marquee-notice-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #ffffff;
    font-size: 0.86rem;
    cursor: pointer;
}

.notice-tag-badge {
    background: rgba(252, 197, 27, 0.2);
    color: #fcc51b;
    border: 1px solid rgba(252, 197, 27, 0.4);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 800;
}

.notice-title-text {
    color: rgba(255, 255, 255, 0.95);
}

.notice-title-text strong {
    color: #ffffff;
}

.marquee-notice-item:hover .notice-title-text {
    color: var(--secondary);
    text-decoration: underline;
}

.marquee-view-all {
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.74rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.marquee-view-all:hover {
    background: var(--secondary);
    color: var(--primary-dark);
}

/* ========================================
   UPCOMING EVENTS SECTION - 3D COVERFLOW SLIDER
   ======================================== */
.events-section {
    background: #204d39;
    /* Rich forest green matching reference */
    padding: 70px 0 80px;
    position: relative;
    overflow: hidden;
}

/* Header: Left-aligned with vertical line and trailing horizontal line */
.events-section-header {
    margin-bottom: 45px;
    width: 100%;
}

.events-header-title-wrap {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
}

.events-vertical-line {
    display: inline-block;
    width: 5px;
    height: 38px;
    background: #fff;
    border-radius: 2px;
    flex-shrink: 0;
}

.events-main-title {
    font-size: 2.3rem;
    font-weight: 800;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0;
    line-height: 1;
    white-space: nowrap;
}

.events-horizontal-line {
    display: block;
    flex: 1;
    height: 3px;
    background: #fff;
    border-radius: 2px;
}

/* Slider Outer Container */
.events-slider-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    min-height: 440px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Slider Stage */
.events-slider-stage {
    position: relative;
    width: 100%;
    height: 440px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Event Slide Card */
.event-slide-card {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 480px;
    max-width: calc(100vw - 36px);
    background: #ffffff;
    /* border-radius: 12px; */
    padding: 30px 28px 32px 28px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
    transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.45s ease, filter 0.45s ease, box-shadow 0.45s ease;
    user-select: none;
    box-sizing: border-box;
}

/* 3D Coverflow Card Positions */
.event-slide-card.active {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
    z-index: 5;
    background: #ffffff;
    filter: blur(0px);
    pointer-events: auto;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.32);
}

.event-slide-card.is-prev {
    transform: translate(calc(-50% - 310px), -50%) scale(0.88);
    opacity: 0.55;
    z-index: 2;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(5px);
    filter: blur(0.5px);
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.event-slide-card.is-next {
    transform: translate(calc(-50% + 310px), -50%) scale(0.88);
    opacity: 0.55;
    z-index: 2;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(5px);
    filter: blur(0.5px);
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.event-slide-card.is-hidden-left {
    transform: translate(calc(-50% - 520px), -50%) scale(0.72);
    opacity: 0;
    pointer-events: none;
    z-index: 1;
}

.event-slide-card.is-hidden-right {
    transform: translate(calc(-50% + 520px), -50%) scale(0.72);
    opacity: 0;
    pointer-events: none;
    z-index: 1;
}

.event-slide-card.is-hidden {
    transform: translate(-50%, -50%) scale(0.7);
    opacity: 0;
    pointer-events: none;
    z-index: 0;
}

/* Card Top Section: Date Badge + Title/Meta */
.event-card-top {
    display: flex;
    gap: 22px;
    align-items: flex-start;
}

/* Emerald Date Badge */
.event-card-date-badge {
    width: 104px;
    min-width: 104px;
    height: 114px;
    background: var(--primary);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8px 4px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    flex-shrink: 0;
}

.event-card-day {
    font-size: 2.7rem;
    font-weight: 900;
    line-height: 1;
    color: #fff;
    margin-bottom: 2px;
    letter-spacing: -1px;
}

.event-card-month {
    font-size: 0.85rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
}

.event-card-year {
    font-size: 0.85rem;
    font-weight: 800;
    color: #fff;
    margin-top: 2px;
}

/* Card Info Column */
.event-card-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.event-card-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.35;
    text-transform: uppercase;
    margin: 0 0 10px 0;
    letter-spacing: -0.2px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.event-card-meta {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 0.95rem;
    color: #4b5563;
    font-weight: 500;
}

.event-meta-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.event-meta-row i {
    color: #4b5563;
    font-size: 0.92rem;
    width: 15px;
    text-align: center;
}

/* Horizontal Line inside Card */
.event-card-divider {
    width: 100%;
    height: 1px;
    background: #e5e7eb;
    margin: 20px 0 16px 0;
}

/* Card Description */
.event-card-desc {
    font-size: 0.96rem;
    line-height: 1.6;
    color: #4b5563;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Navigation Buttons: Green square buttons with chevron */
.event-slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: #111111;
    border: none;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.28);
    transition: background 0.2s ease, transform 0.2s ease;
}

.event-slider-nav:hover {
    background: #00c85c;
    transform: translateY(-50%) scale(1.08);
}

.event-slider-nav.event-prev {
    left: calc(50% - 275px);
}

.event-slider-nav.event-next {
    right: calc(50% - 275px);
}

/* Bottom Button: View All Event */
.events-footer-action {
    display: flex;
    justify-content: center;
    margin-top: 35px;
}

.events-view-all-btn {
    display: inline-block;
    background: var(--primary);
    color: #111111;
    font-weight: 700;
    font-size: 1rem;
    padding: 12px 34px;
    border-radius: 6px;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.events-view-all-btn:hover {
    background: #00c85c;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.32);
    color: #111111;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .events-slider-stage {
        height: 460px;
    }

    .event-slide-card {
        width: 440px;
    }

    .event-slide-card.is-prev {
        transform: translate(calc(-50% - 240px), -50%) scale(0.85);
        opacity: 0.4;
    }

    .event-slide-card.is-next {
        transform: translate(calc(-50% + 240px), -50%) scale(0.85);
        opacity: 0.4;
    }

    .event-slider-nav.event-prev {
        left: 10px;
    }

    .event-slider-nav.event-next {
        right: 10px;
    }
}

@media (max-width: 768px) {
    .events-section {
        padding: 50px 0 60px;
    }

    .events-main-title {
        font-size: 1.8rem;
    }

    .events-vertical-line {
        height: 30px;
    }

    .events-slider-stage {
        height: 480px;
    }

    .event-slide-card {
        width: 90vw;
        padding: 24px 20px;
    }

    .event-slide-card.is-prev,
    .event-slide-card.is-next {
        opacity: 0;
        pointer-events: none;
    }

    .event-slider-nav {
        width: 42px;
        height: 42px;
        font-size: 1.1rem;
    }

    .event-slider-nav.event-prev {
        left: 8px;
    }

    .event-slider-nav.event-next {
        right: 8px;
    }
}

@media (max-width: 480px) {
    .event-card-top {
        gap: 14px;
    }

    .event-card-date-badge {
        width: 82px;
        min-width: 82px;
        height: 98px;
    }

    .event-card-day {
        font-size: 2.1rem;
    }

    .event-card-month,
    .event-card-year {
        font-size: 0.75rem;
    }

    .event-card-title {
        font-size: 1.05rem;
    }
}

/* ========================================
   GALLERY SECTION
   ======================================== */
.gallery-section {
    background: var(--off-white);
    position: relative;
    overflow: hidden;
}

.gallery-carousel-container {
    position: relative;
    display: flex;
    align-items: center;
    margin-top: 25px;
}

.gallery-track-viewport {
    width: 100%;
    overflow: hidden;
    padding: 10px 4px;
}

.gallery-slider-track {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    user-select: none;
}

.gallery-slider-track::-webkit-scrollbar {
    display: none;
}

.gallery-item {
    display: block;
    text-decoration: none;
    color: inherit;
    flex: 0 0 calc((100% - 48px) / 3);
    min-width: 320px;
    height: 320px;
    scroll-snap-align: start;
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    border: 2px solid rgba(31, 78, 61, 0.12);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    background: #0b1a14;
}

.gallery-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.15);
    border-color: var(--primary);
}

.gallery-img-box {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.gallery-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.gallery-item:hover .gallery-img-box img {
    transform: scale(1.08);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(19, 53, 41, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-zoom-btn {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    transform: scale(0.75);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.gallery-item:hover .gallery-zoom-btn {
    transform: scale(1);
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: var(--white);
    border: 2px solid var(--white);
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    z-index: 5;
}

.gallery-prev {
    left: -22px;
}

.gallery-next {
    right: -22px;
}

.gallery-nav:hover {
    background: var(--primary-dark);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.gallery-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 24px;
}

.gallery-dots {
    display: flex;
    align-items: center;
    gap: 8px;
}

.gallery-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(31, 78, 61, 0.25);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.gallery-dot.active {
    width: 28px;
    border-radius: 10px;
    background: var(--primary);
}

/* ========================================
   GLIGHTBOX LIBRARY THEMING & CUSTOMIZATION
   ======================================== */
.goverlay {
    background: rgba(8, 22, 17, 0.95) !important;
    backdrop-filter: blur(10px) !important;
}

.gslide-title {
    color: #ffffff !important;
    font-family: var(--font-primary) !important;
    font-weight: 700 !important;
    font-size: 1.15rem !important;
    letter-spacing: 0.3px !important;
    margin-bottom: 4px !important;
}

.gslide-desc {
    color: var(--secondary) !important;
    font-family: var(--font-primary) !important;
    font-weight: 600 !important;
    font-size: 0.88rem !important;
}

.gnext,
.gprev,
.gclose {
    background: rgba(255, 255, 255, 0.14) !important;
    border: 1px solid rgba(255, 255, 255, 0.28) !important;
    border-radius: 50% !important;
    transition: var(--transition) !important;
}

.gnext:hover,
.gprev:hover {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
    transform: scale(1.08) !important;
}

.gclose:hover {
    background: #e74c3c !important;
    border-color: #e74c3c !important;
    transform: rotate(90deg) scale(1.08) !important;
}

/* ========================================
   LEGACY / FALLBACK MODAL VIEWER STYLES
   ======================================== */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(8, 18, 14, 0.96);
    backdrop-filter: blur(12px);
    z-index: 10000;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 32px;
    background: rgba(0, 0, 0, 0.35);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
    z-index: 10002;
}

.lightbox-info {
    display: flex;
    align-items: center;
    gap: 14px;
}

.lightbox-info>i {
    font-size: 1.4rem;
    color: var(--secondary);
}

.lightbox-text {
    display: flex;
    flex-direction: column;
}

.lightbox-caption {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--white);
    margin: 0;
    letter-spacing: 0.3px;
}

.lightbox-counter {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--secondary);
    letter-spacing: 0.5px;
}

.lightbox-close {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: var(--white);
    font-size: 1.3rem;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-close:hover {
    background: #e74c3c;
    border-color: #e74c3c;
    transform: rotate(90deg) scale(1.05);
}

.lightbox-stage {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 15px 70px;
    min-height: 0;
    overflow: hidden;
}

.lightbox-img-frame {
    max-width: 90vw;
    max-height: calc(85vh - 170px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-img-frame img {
    max-width: 100%;
    max-height: calc(85vh - 170px);
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.6);
    transform: scale(0.92);
    opacity: 0;
    transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.35s ease;
}

.lightbox.active .lightbox-img-frame img.loaded {
    transform: scale(1);
    opacity: 1;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    font-size: 1.25rem;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    backdrop-filter: blur(6px);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-nav:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-50%) scale(1.1);
}

/* Bottom Thumbnail Strip */
.lightbox-thumbs-bar {
    height: 96px;
    background: rgba(0, 0, 0, 0.45);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 24px;
    flex-shrink: 0;
    z-index: 10002;
}

.lightbox-thumbs-scroll {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    max-width: 100%;
    padding: 6px;
    scrollbar-width: thin;
}

.lightbox-thumb-item {
    width: 82px;
    height: 60px;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid rgba(255, 255, 255, 0.2);
    opacity: 0.55;
    flex-shrink: 0;
    transition: all 0.25s ease;
    background: #000;
}

.lightbox-thumb-item:hover {
    opacity: 0.9;
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-3px);
}

.lightbox-thumb-item.active {
    opacity: 1;
    border-color: var(--secondary);
    transform: scale(1.08) translateY(-3px);
    box-shadow: 0 4px 16px rgba(200, 138, 44, 0.45);
}

.lightbox-thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ========================================
   NEWS & MEDIA COVERAGE SECTION
   ======================================== */
.news-section {
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.news-slider-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    margin-top: 25px;
}

.news-track-viewport {
    width: 100%;
    overflow: hidden;
    padding: 18px 4px 22px;
}

.news-slider-track {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    user-select: none;
}

.news-slider-track::-webkit-scrollbar {
    display: none;
}

.news-card {
    position: relative;
    flex: 0 0 calc((100% - 48px) / 3);
    min-width: 320px;
    scroll-snap-align: start;
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: visible;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.07);
    border: 1px solid rgba(31, 78, 61, 0.14);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    margin-top: 14px;
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12);
    border-color: var(--primary);
}

.news-lightbox {
    display: block;
    text-decoration: none;
    color: inherit;
}

.news-img-box {
    position: relative;
    height: 250px;
    overflow: hidden;
    background: #f2f5f3;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.news-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.news-card:hover .news-img-box img {
    transform: scale(1.06);
}

/* Date Ribbon on Top-Right (Floating with Negative Top) */
.news-date-ribbon {
    position: absolute;
    top: -12px;
    right: 14px;
    left: auto;
    background: var(--primary-dark);
    color: var(--white);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 7px 12px 8px;
    border-radius: 8px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.24);
    z-index: 5;
    line-height: 1;
    min-width: 60px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-card:hover .news-date-ribbon {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.news-date-ribbon .date-day {
    font-size: 1.45rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.5px;
    margin-bottom: 2px;
    font-family: var(--font-primary);
    line-height: 1;
}

.news-date-ribbon .date-month {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--secondary);
    margin-bottom: 2px;
}

.news-date-ribbon .date-year {
    font-size: 0.64rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 0.5px;
}

.news-img-overlay {
    position: absolute;
    inset: 0;
    background: rgba(19, 53, 41, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.news-card:hover .news-img-overlay {
    opacity: 1;
}

.news-zoom-badge {
    padding: 8px 16px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary);
    font-size: 0.82rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
    transform: scale(0.85);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.news-card:hover .news-zoom-badge {
    transform: scale(1);
}

.news-body {
    padding: 20px 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: space-between;
}

.news-source-tag {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.3px;
    color: var(--primary);
    margin-bottom: 8px;
}

.news-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--dark);
    line-height: 1.45;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.25s ease;
}

.news-card:hover .news-title {
    color: var(--primary);
}

.news-footer-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    transition: gap 0.25s ease, color 0.25s ease;
}

.news-card:hover .news-footer-link {
    gap: 10px;
    color: var(--secondary-dark);
}

.news-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: var(--white);
    border: 2px solid var(--white);
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    z-index: 5;
}

.news-prev {
    left: -22px;
}

.news-next {
    right: -22px;
}

.news-nav:hover {
    background: var(--primary-dark);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.news-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 24px;
}

.news-dots {
    display: flex;
    align-items: center;
    gap: 8px;
}

.news-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(31, 78, 61, 0.25);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.news-dot.active {
    width: 28px;
    border-radius: 10px;
    background: var(--primary);
}

/* ========================================
   NEWSPAPER POPUP MODAL (FULL VIEW)
   ======================================== */
.news-modal {
    position: fixed;
    inset: 0;
    background: rgba(6, 16, 11, 0.97);
    backdrop-filter: blur(12px);
    z-index: 10005;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.news-modal.active {
    opacity: 1;
    visibility: visible;
}

.news-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 32px;
    background: rgba(0, 0, 0, 0.4);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    flex-shrink: 0;
    z-index: 10007;
}

.news-modal-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.news-modal-info>i {
    font-size: 1.6rem;
    color: var(--secondary);
}

.news-modal-titles {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.news-modal-caption {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--white);
    margin: 0;
    line-height: 1.3;
}

.news-modal-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
}

.news-modal-meta span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.news-modal-counter {
    color: var(--secondary);
    font-weight: 700;
}

.news-modal-close {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: var(--white);
    font-size: 1.3rem;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-modal-close:hover {
    background: #e74c3c;
    border-color: #e74c3c;
    transform: rotate(90deg) scale(1.05);
}

.news-modal-stage {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 20px 80px;
    min-height: 0;
    overflow: auto;
}

.news-modal-img-frame {
    max-width: 90vw;
    max-height: calc(90vh - 120px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-modal-img-frame img {
    max-width: 100%;
    max-height: calc(90vh - 120px);
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 16px 56px rgba(0, 0, 0, 0.7);
    transform: scale(0.92);
    opacity: 0;
    transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.35s ease;
}

.news-modal.active .news-modal-img-frame img.loaded {
    transform: scale(1);
    opacity: 1;
}

.news-modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    font-size: 1.25rem;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10006;
    backdrop-filter: blur(6px);
}

.news-modal-prev {
    left: 20px;
}

.news-modal-next {
    right: 20px;
}

.news-modal-nav:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-50%) scale(1.1);
}

/* ========================================
   STATS SECTION
   ======================================== */
.stats-section {
    background: var(--primary-dark);
    padding: 50px 0;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cg fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
    position: relative;
    z-index: 2;
}

.stat-item {
    text-align: center;
    color: var(--white);
    padding: 20px 10px;
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-icon {
    font-size: 2rem;
    margin-bottom: 10px;
    opacity: 0.9;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    display: inline;
    line-height: 1;
}

.stat-suffix {
    font-size: 1.5rem;
    font-weight: 700;
    display: inline;
    opacity: 0.8;
}

.stat-label {
    font-size: 0.85rem;
    font-weight: 500;
    margin-top: 5px;
    opacity: 0.9;
}

/* ========================================
   FOOTER
   ======================================== */
.main-footer {
    background: var(--dark);
    color: rgba(255, 255, 255, 0.8);
    padding-top: 50px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 25px;
    padding-bottom: 40px;
}

.footer-grid-four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.footer-col h4 {
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary);
    display: inline-block;
}

.footer-col ul li a {
    display: block;
    padding: 4px 0;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.65);
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--secondary);
    padding-left: 8px;
}

.footer-contact p {
    font-size: 0.8rem;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.65);
}

.footer-contact span {
    min-width: 0;
    overflow-wrap: anywhere;
}

.footer-contact a {
    color: inherit;
}

.footer-contact a:hover {
    color: var(--primary-light);
}

.footer-contact i {
    color: var(--primary-light);
    margin-top: 3px;
    width: 15px;
    flex-shrink: 0;
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.footer-social a {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    color: var(--white);
    font-size: 0.85rem;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-map {
    border-radius: var(--radius-md);
    overflow: hidden;
}

.footer-form input,
.footer-form textarea {
    width: 100%;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-sm);
    color: var(--white);
    font-size: 0.8rem;
    font-family: var(--font-primary);
    margin-bottom: 8px;
    outline: none;
    transition: var(--transition);
}

.footer-form input:focus,
.footer-form textarea:focus {
    border-color: var(--primary-light);
    background: rgba(255, 255, 255, 0.12);
}

.footer-form input::placeholder,
.footer-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.footer-form button {
    width: 100%;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px 0;
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-bottom p {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom-links a:hover {
    color: var(--secondary);
}

/* ========================================
   BACK TO TOP
   ======================================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 1.1rem;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* ========================================
   SCROLL ANIMATIONS
   ======================================== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger children animations */
.animate-on-scroll:nth-child(2) {
    transition-delay: 0.1s;
}

.animate-on-scroll:nth-child(3) {
    transition-delay: 0.2s;
}

.animate-on-scroll:nth-child(4) {
    transition-delay: 0.3s;
}

.animate-on-scroll:nth-child(5) {
    transition-delay: 0.4s;
}

.animate-on-scroll:nth-child(6) {
    transition-delay: 0.5s;
}

.animate-on-scroll:nth-child(7) {
    transition-delay: 0.6s;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

/* Tablet Landscape */
@media (max-width: 1200px) {
    .quick-links-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .departments-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .gallery-item {
        flex: 0 0 calc((100% - 24px) / 2);
        min-width: 280px;
        height: 290px;
    }

    /* Principal & About - tablet landscape */
    .principal-full-wrapper,
    .about-full-wrapper {
        gap: 40px;
        padding: 0 30px;
    }

    .principal-photo-frame {
        width: 240px;
        height: 280px;
    }

    .about-right {
        width: 400px;
    }

    .about-image-collage {
        height: 360px;
    }
}

/* Tablet Portrait */
@media (max-width: 992px) {

    .top-bar-left,
    .top-links {
        display: none;
    }

    .courses-grid {
        grid-template-columns: 1fr;
    }

    .ne-grid {
        grid-template-columns: 1fr;
    }

    .news-card {
        flex: 0 0 calc((100% - 24px) / 2);
        min-width: 290px;
    }

    .departments-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .slide-title {
        font-size: 2.5rem;
    }

    .slide-content {
        left: 40px;
    }

    .hero-slider {
        height: 95vh;
        min-height: 480px;
    }

    /* Principal section - stack on tablet */
    .principal-section {
        padding: 60px 0;
    }

    .principal-full-wrapper {
        flex-direction: column;
        text-align: center;
        gap: 35px;
        padding: 0 25px;
    }

    .principal-photo-frame {
        width: 220px;
        height: 260px;
        margin: 0 auto;
    }

    .principal-header h2 {
        font-size: 1.8rem;
    }

    .principal-signature {
        justify-content: center;
    }

    .principal-right .btn {
        margin: 0 auto;
    }

    /* About section - stack on tablet */
    .about-section {
        padding: 60px 0;
    }

    .about-full-wrapper {
        flex-direction: column;
        gap: 40px;
        padding: 0 25px;
    }

    .about-right {
        width: 100%;
        max-width: 520px;
        margin: 0 auto;
    }

    .about-header h2 {
        font-size: 1.8rem;
    }

    .about-image-collage {
        height: 350px;
    }
}

/* Mobile Hamburger & Drawer Header */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.18);
    border: none;
    border-radius: 8px;
    padding: 10px 9px;
    cursor: pointer;
    z-index: 10001;
    transition: all 0.3s ease;
}

.uber-navbar.scrolled .mobile-menu-toggle {
    background: var(--accent);
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease, background 0.3s ease;
}

.uber-navbar.scrolled .mobile-menu-toggle span {
    background: var(--primary-dark);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.uber-navbar.mobile-menu-active .mobile-menu-toggle {
    opacity: 0 !important;
    pointer-events: none !important;
}

.mobile-nav-header,
.mobile-nav-footer {
    display: none;
}

/* Off-Canvas Responsive Drawer at Tablet & Mobile (<= 1024px) */
@media (max-width: 1024px) {
    .uber-navbar {
        width: calc(100% - 24px);
        top: 44px;
    }

    .uber-navbar.scrolled {
        top: 8px;
    }

    .uber-navbar:not(.scrolled) .navbar-inner {
        height: 70px;
    }

    .uber-navbar.scrolled .navbar-inner {
        height: 62px;
    }

    .logo-img {
        width: 52px;
        height: 52px;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .mobile-nav-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 18px 20px;
        background: var(--primary-dark);
        color: var(--white);
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
        position: sticky;
        top: 0;
        z-index: 10;
    }

    .mobile-logo {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .mobile-logo-img {
        width: 38px;
        height: 38px;
        border-radius: 50%;
        background: var(--white);
        padding: 2px;
    }

    .mobile-logo-text span {
        display: block;
        font-size: 0.85rem;
        font-weight: 800;
        line-height: 1.1;
        color: var(--white);
    }

    .mobile-logo-text small {
        display: block;
        font-size: 0.68rem;
        color: rgba(255, 255, 255, 0.85);
    }

    .mobile-nav-close {
        width: 34px;
        height: 34px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.18);
        border: none;
        color: var(--white);
        font-size: 0.95rem;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.25s ease;
    }

    .mobile-nav-close:hover {
        background: var(--secondary);
        color: #1a1a2e;
        transform: rotate(90deg);
    }

    .nav-apply-btn {
        padding: 8px 14px;
        font-size: 0.72rem;
    }

    /* Off-canvas right-side drawer */
    .navbar-nav {
        position: fixed;
        top: 0;
        right: -360px;
        left: auto;
        width: 330px;
        max-width: 88vw;
        height: 100vh;
        background: #ffffff;
        z-index: 10000;
        transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.22);
        overflow-y: auto;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        padding: 0;
        margin: 0;
    }

    .navbar-nav.mobile-open {
        right: 0;
    }

    .mega-menu-list {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 10px 0 10px 0;
    }

    .mega-menu-list>li {
        border-bottom: 1px solid #f0f0f0;
    }

    .mega-menu-list>li>a {
        padding: 14px 22px;
        font-size: 0.82rem;
        color: var(--text) !important;
        border-radius: 0;
        justify-content: space-between;
        text-shadow: none !important;
    }

    .mega-menu-list>li>a::after {
        display: none;
    }

    .mega-menu-list>li>a:hover,
    .mega-menu-list>li>a.active {
        background: var(--accent) !important;
        color: var(--primary-dark) !important;
    }

    /* Mega panels accordion mode */
    .mega-panel {
        position: static !important;
        box-shadow: none !important;
        border: none !important;
        transform: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
        pointer-events: auto !important;
        background: #f7faf7;
        border-left: 3px solid var(--primary) !important;
        margin: 0 15px;
        border-radius: 0 8px 8px 0;
    }

    .has-mega:hover .mega-panel {
        max-height: 0;
    }

    .has-mega.open .mega-panel {
        max-height: 1200px;
    }

    .mega-container,
    .mega-container.mega-4col {
        grid-template-columns: 1fr;
        padding: 15px 18px;
        gap: 16px;
        box-shadow: none;
        border-radius: 0;
        border-top: none;
        background: transparent;
    }

    .mega-highlight {
        display: none;
    }

    .mega-col h5 {
        font-size: 0.78rem;
        margin-bottom: 8px;
        padding-bottom: 6px;
    }

    .mega-col ul li a {
        padding: 8px 10px;
        font-size: 0.8rem;
    }

    /* Mobile Drawer Footer */
    .mobile-nav-footer {
        display: block;
        padding: 20px 18px 30px 18px;
        background: #f8faf8;
        border-top: 2px solid var(--accent);
        margin-top: auto;
    }

    .mobile-portals-heading {
        font-size: 0.75rem;
        font-weight: 800;
        text-transform: uppercase;
        color: var(--primary-dark);
        letter-spacing: 0.6px;
        margin-bottom: 12px;
        display: flex;
        align-items: center;
        gap: 6px;
    }

    .mobile-quick-portals {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        margin-bottom: 18px;
    }

    .mobile-quick-portals a {
        display: flex;
        align-items: center;
        gap: 6px;
        padding: 8px 10px;
        background: #ffffff;
        border: 1px solid #e2ece3;
        border-radius: 8px;
        font-size: 0.75rem;
        font-weight: 600;
        color: var(--primary-dark);
        transition: all 0.2s ease;
    }

    .mobile-quick-portals a i {
        color: var(--secondary);
        font-size: 0.8rem;
    }

    .mobile-quick-portals a:hover {
        background: var(--primary);
        color: #ffffff;
        border-color: var(--primary);
    }

    .mobile-quick-portals a:hover i {
        color: var(--white);
    }

    .mobile-contact-info {
        display: flex;
        flex-direction: column;
        gap: 8px;
        margin-bottom: 16px;
        padding-bottom: 14px;
        border-bottom: 1px dashed #d8e5d9;
    }

    .mobile-contact-info a {
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 0.78rem;
        font-weight: 500;
        color: #4a5568;
    }

    .mobile-contact-info a i {
        color: var(--primary);
    }

    .mobile-social-links {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 12px;
    }

    .mobile-social-links a {
        width: 32px;
        height: 32px;
        border-radius: 50%;
        background: #ffffff;
        border: 1px solid #e2ece3;
        color: var(--primary-dark);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 0.82rem;
        transition: all 0.25s ease;
    }

    .mobile-social-links a:hover {
        background: var(--secondary);
        color: #1a1a2e;
        border-color: var(--secondary);
        transform: translateY(-2px);
    }

    /* Elevate uber-navbar stacking context when mobile menu drawer is open */
    .uber-navbar.mobile-menu-active {
        z-index: 10000 !important;
    }

    /* Mobile Nav Overlay Backdrop */
    .nav-overlay {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.55);
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.35s ease, visibility 0.35s ease;
        z-index: 995;
    }

    .nav-overlay.active {
        opacity: 1;
        visibility: visible;
    }
}

/* Breakpoint rules for Top Bar on Mobile & Tablet */
@media (max-width: 992px) {
    .top-bar {
        height: 36px;
    }

    .top-bar .container {
        padding: 0 16px;
    }

    .top-links {
        display: none;
    }

    .uber-navbar:not(.scrolled) {
        top: 36px !important;
    }
}

@media (max-width: 640px) {
    .top-bar {
        height: 34px;
        font-size: 0.72rem;
    }

    .top-bar-left {
        gap: 14px;
    }

    .social-links a {
        width: 24px;
        height: 24px;
        font-size: 0.7rem;
    }

    .uber-navbar:not(.scrolled) {
        top: 34px !important;
    }
}

/* Mobile Portrait */
@media (max-width: 576px) {
    .container {
        padding: 0 15px;
    }

    .section-padding {
        padding: 40px 0;
    }

    .logo-text h1 {
        font-size: 1.1rem;
    }

    .logo-icon {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }

    .hero-slider {
        height: 95vh;
        min-height: 460px;
    }

    .slide-title {
        font-size: 1.6rem;
    }

    .slide-subtitle {
        font-size: 0.8rem;
    }

    .slide-desc {
        font-size: 0.8rem;
        display: none;
    }

    .slider-btn {
        width: 38px;
        height: 38px;
        font-size: 0.9rem;
    }

    .slider-prev {
        left: 10px;
    }

    .slider-next {
        right: 10px;
    }

    .quick-links {
        margin-top: -30px;
    }

    .quick-links-grid {
        grid-template-columns: repeat(3, 1fr);
        padding: 15px;
        gap: 8px;
    }

    .quick-link-card {
        padding: 12px 5px;
    }

    .ql-icon {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }

    .quick-link-card span {
        font-size: 0.7rem;
    }

    /* Principal - mobile */
    .principal-section,
    .about-section {
        padding: 45px 0;
    }

    .principal-full-wrapper,
    .about-full-wrapper {
        padding: 0 15px;
        gap: 25px;
    }

    .principal-photo-frame {
        width: 180px;
        height: 220px;
    }

    .principal-header h2,
    .about-header h2 {
        font-size: 1.5rem;
    }

    .principal-message p,
    .about-desc {
        font-size: 0.85rem;
    }

    .accreditation-row {
        flex-direction: column;
    }

    .accreditation-badge {
        min-width: unset;
    }

    .about-features-grid {
        grid-template-columns: 1fr;
    }

    .about-right {
        width: 100%;
    }

    .about-image-collage {
        height: 280px;
    }

    .collage-experience {
        padding: 12px 16px;
    }

    .exp-number {
        font-size: 1.6rem;
    }

    .collage-icar-seal {
        width: 65px;
        height: 65px;
    }

    .collage-icar-seal i {
        font-size: 1rem;
    }

    .departments-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .news-card {
        flex: 0 0 86%;
        min-width: 260px;
    }

    .news-prev {
        left: 0;
    }

    .news-next {
        right: 0;
    }

    .gallery-item {
        flex: 0 0 86%;
        min-width: 260px;
        height: 270px;
    }

    .gallery-prev {
        left: 0;
    }

    .gallery-next {
        right: 0;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .stat-icon {
        font-size: 1.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom .container {
        flex-direction: column;
        text-align: center;
    }

    .lightbox-nav {
        width: 40px;
        height: 40px;
    }

    .lightbox-prev {
        left: 10px;
    }

    .lightbox-next {
        right: 10px;
    }

    .lightbox-close {
        top: 10px;
        right: 10px;
        width: 38px;
        height: 38px;
    }
}

/* Very small devices */
@media (max-width: 380px) {
    .quick-links-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-slider {
        height: 95vh;
        min-height: 440px;
    }

    .slide-title {
        font-size: 1.3rem;
    }
}

/* ========================================
   MARQUEE / SCROLL TEXT (optional)
   ======================================== */
.green-strip {
    background: var(--primary);
    color: var(--white);
    padding: 6px 0;
    overflow: hidden;
}

.marquee-text {
    white-space: nowrap;
    animation: marquee 20s linear infinite;
    font-size: 0.8rem;
}

@keyframes marquee {
    from {
        transform: translateX(100%);
    }

    to {
        transform: translateX(-100%);
    }
}

/* ========================================
   PRINT STYLES
   ======================================== */
@media print {

    .top-bar,
    .main-nav,
    .hero-slider,
    .back-to-top,
    .slider-btn,
    .gallery-nav,
    .lightbox {
        display: none;
    }

    body {
        color: #000;
    }

    .main-header {
        position: static;
        box-shadow: none;
    }
}
/* Keep the desktop dropdown hover area connected to its navigation item. */
@media (min-width: 1025px) {
    .navbar-nav {
        align-self: stretch;
    }

    .mega-menu-list {
        align-items: stretch;
    }

    .mega-menu-list > li {
        display: flex;
        align-items: center;
    }

    .mega-panel {
        top: 100%;
        padding-top: 0px;
        /* padding-top: 14px; */
        transform: translateX(-50%);
    }

    .mega-panel::before {
        content: '';
        position: absolute;
        top: -1px;
        left: 0;
        right: 0;
        height: 16px;
    }

    .has-mega:hover .mega-panel,
    .has-mega:focus-within .mega-panel {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%);
        pointer-events: auto;
    }
}

/* Current destination in the shared navigation dropdowns. */
.mega-col ul li a.active {
    color: var(--primary);
    background: var(--accent);
    font-weight: 700;
    border-radius: 6px;
}
.mega-col ul li a.active i {
    color: var(--secondary-dark);
}

.departments-all-link { text-align: center; margin-top: 30px; }
@media (min-width: 1025px) and (max-width: 1280px) {
    .mega-menu-list > li > a { padding: 10px 8px; font-size: .7rem; letter-spacing: .3px; }
    .navbar-inner { padding-left: 18px; padding-right: 18px; }
    .mega-menu-list { gap: 2px; }
}

/* Facilities groups the campus overview, laboratories and research farm. */
.facilities-menu-grid { gap: 20px; padding: 25px; }
.facilities-menu-link { display:flex;align-items:center;gap:15px;padding:20px;border:1px solid #e0e8dd;border-radius:12px;background:#f7faf5;color:var(--primary-dark); }
.facilities-menu-link>i:first-child { display:grid;place-items:center;width:43px;height:43px;flex-shrink:0;background:#e8f0e2;border-radius:10px;color:var(--primary);font-size:1.15rem; }
.facilities-menu-link>div { flex:1; }
.facilities-menu-link strong { display:block;font-size:.85rem;margin-bottom:5px; }
.facilities-menu-link span { display:block;font-size:.71rem;line-height:1.7;color:#697564; }
.facilities-menu-link>i:last-child { font-size:.75rem; }
.facilities-menu-link:hover,.facilities-menu-link.active { background:#ecf3e7;border-color:#b5c9a8;color:var(--primary); }
.facilities-menu-link:focus-visible { outline:3px solid var(--secondary);outline-offset:3px; }
@media(max-width:1024px) { .facilities-menu-grid { grid-template-columns:1fr;gap:10px; }.facilities-menu-link { padding:15px; } }

/* Simple title banners for inner pages. */
.page-title-banner {
    padding: 150px 0 48px;
    background: linear-gradient(115deg, #102e24, #1c4c38);
    color: #fff;
    text-align: center;
}
.page-title-banner h1 {
    margin: 0;
    font-size: clamp(1.8rem, 4vw, 3rem);
    line-height: 1.2;
    font-weight: 700;
}
@media (max-width: 768px) {
    .page-title-banner { padding: 125px 0 35px; }
}

/* Media coverage preview and full gallery */
.media-coverage-all-link { text-align: center; margin-top: 24px; }
.media-coverage-intro { text-align: center; margin-bottom: 32px; }
.media-coverage-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.media-coverage-grid .news-card { min-width: 0; margin-top: 0; }
.media-coverage-grid .news-img-box img { object-fit: contain; }
@media (max-width: 992px) {
    .media-coverage-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 576px) {
    .media-coverage-grid { grid-template-columns: minmax(0, 1fr); }
}

/* Gallery navigation */
.gallery-menu-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 1024px) {
    .gallery-menu-grid { grid-template-columns: 1fr; }
}

/* Show four media coverage photos across on the homepage desktop slider. */
@media (min-width: 993px) {
    #newsTrack > .news-card {
        flex: 0 0 calc((100% - 72px) / 4);
        min-width: 0;
    }
}

/* Photo gallery event albums */
.gallery-event-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 16px; margin-bottom: 40px; }
.gallery-event { margin-bottom: 48px; scroll-margin-top: 140px; }
.gallery-event h2 { color: var(--primary-dark); margin-bottom: 24px; }

/* Event album overview */
.event-gallery-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.event-gallery-card { overflow: hidden; border: 1px solid #e0e8dd; border-radius: 16px; background: #fff; box-shadow: 0 8px 28px rgba(31,78,61,.07); }
.event-gallery-cover { display: block; position: relative; overflow: hidden; }
.event-gallery-cover img { width: 100%; height: 300px; object-fit: cover; display: block; transition: transform .3s ease; }
.event-gallery-cover:hover img { transform: scale(1.04); }
.event-photo-count { position: absolute; bottom: 16px; left: 20px; background: #fff; color: var(--primary-dark); padding: 7px 14px; border-radius: 24px; font-size: .8rem; font-weight: 600; }
.event-gallery-body { padding: 28px; }
.event-gallery-category { font-size: .72rem; font-weight: 600; color: var(--primary); letter-spacing: 1px; }
.event-gallery-body h2 { margin: 10px 0 12px; font-size: 1.5rem; }
.event-gallery-body h2 a { color: var(--primary-dark); text-decoration: none; }
.event-gallery-body p, .event-album-heading p { color: #697564; line-height: 1.8; margin-bottom: 24px; }
.event-album-heading { margin-bottom: 32px; }
.event-back-link { display: inline-block; color: var(--primary-dark); margin-bottom: 20px; font-weight: 600; }
.event-album-heading > span { color: var(--primary); font-weight: 600; }
@media (max-width: 768px) {
    .event-gallery-grid { grid-template-columns: 1fr; }
    .event-gallery-cover img { height: 240px; }
    .event-gallery-body { padding: 22px; }
}

/* Keep desktop mega menus open briefly while the pointer crosses the gap. */
@media (min-width: 1025px) {
    .has-mega.hover-open > .mega-panel {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%);
        pointer-events: auto;
    }
    .has-mega.hover-open > a i.fa-chevron-down { transform: rotate(180deg); }
}
