/**
 * NURSIFY - Premium Healthcare Design System
 * Dynamic Theme Tokens, Modern Typography, Micro-interactions
 */

/* ============================================================
   1. CSS VARIABLE ROOTS & DEFAULTS
   ============================================================ */
:root {
    --primary: #123B5D;
    --primary-rgb: 18, 59, 93;
    --primary-hover: #0d2a42;
    --primary-light: rgba(18, 59, 93, 0.08);

    --secondary: #159A8C;
    --secondary-rgb: 21, 154, 140;
    --secondary-hover: #107a6f;
    --secondary-light: rgba(21, 154, 140, 0.1);

    --accent: #E6A83A;
    --accent-rgb: 230, 168, 58;
    --accent-hover: #c98e27;
    --accent-light: rgba(230, 168, 58, 0.12);

    --background: #F7F9FB;
    --surface: #FFFFFF;
    --text: #17212B;
    --text-muted: #64748B;
    --border: #E2E8F0;

    --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    --shadow-sm: 0 2px 6px rgba(18, 59, 93, 0.04);
    --shadow-md: 0 6px 18px rgba(18, 59, 93, 0.08);
    --shadow-lg: 0 12px 32px rgba(18, 59, 93, 0.12);
    --shadow-xl: 0 20px 45px rgba(18, 59, 93, 0.16);

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-pill: 500px;

    --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ============================================================
   2. GLOBAL BASE & TYPOGRAPHY
   ============================================================ */
*, *::before, *::after {
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--background);
    color: var(--text);
    line-height: 1.65;
    font-size: 15.5px;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--primary);
    font-weight: 700;
    line-height: 1.25;
    margin-top: 0;
    letter-spacing: -0.015em;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--secondary);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Section Spacing */
.py-section {
    padding-top: 85px;
    padding-bottom: 85px;
}

@media (max-width: 768px) {
    .py-section {
        padding-top: 55px;
        padding-bottom: 55px;
    }
}

/* Section Header Component */
.section-header {
    margin-bottom: 50px;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--secondary-light);
    color: var(--secondary);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 6px 16px;
    border-radius: var(--radius-pill);
    margin-bottom: 14px;
}

.section-title {
    font-size: clamp(28px, 4vw, 40px);
    margin-bottom: 14px;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 17px;
    max-width: 680px;
    margin: 0 auto;
}

/* ============================================================
   3. BUTTONS & UI CONTROLS
   ============================================================ */
.btn {
    font-family: var(--font-heading);
    font-weight: 600;
    padding: 12px 26px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1.5px solid transparent;
    cursor: pointer;
    text-decoration: none;
    font-size: 15px;
}

.btn-primary {
    background-color: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(var(--primary-rgb), 0.25);
}

.btn-secondary {
    background-color: var(--secondary);
    color: #ffffff;
    border-color: var(--secondary);
}

.btn-secondary:hover {
    background-color: var(--secondary-hover);
    border-color: var(--secondary-hover);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(var(--secondary-rgb), 0.25);
}

.btn-accent {
    background-color: var(--accent);
    color: #17212b;
    border-color: var(--accent);
    font-weight: 700;
}

.btn-accent:hover {
    background-color: var(--accent-hover);
    border-color: var(--accent-hover);
    color: #17212b;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(var(--accent-rgb), 0.3);
}

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

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

.btn-outline-light {
    border-color: rgba(255, 255, 255, 0.7);
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
}

.btn-outline-light:hover {
    background-color: #ffffff;
    color: var(--primary);
    border-color: #ffffff;
    transform: translateY(-2px);
}

/* ============================================================
   4. TOP ANNOUNCEMENT BAR & STICKY HEADER
   ============================================================ */
.top-announcement-bar {
    background: var(--primary);
    color: #ffffff;
    font-size: 13.5px;
    padding: 9px 0;
    position: relative;
    z-index: 1050;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-announcement-bar a {
    color: var(--accent);
    font-weight: 700;
    text-decoration: underline;
}

.top-announcement-bar .close-announcement {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
    cursor: pointer;
    padding: 0 8px;
    transition: var(--transition);
}

/* ============================================================
   4. HEADER TOP UTILITY BAR & STICKY NAVBAR
   ============================================================ */
.header-top-bar {
    background: linear-gradient(90deg, #0b253c 0%, #123B5D 100%);
    color: #ffffff;
    font-size: 12.5px;
    padding: 7px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    position: relative;
    z-index: 1040;
}

.header-top-bar .top-bar-badge {
    display: inline-flex;
    align-items: center;
    font-weight: 600;
    color: #e2e8f0;
    letter-spacing: 0.2px;
}

.header-top-bar .top-bar-announcement {
    color: #cbd5e1;
    font-weight: 500;
}

.header-top-bar .top-bar-apply-link {
    color: var(--accent);
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
}

.header-top-bar .top-bar-apply-link:hover {
    color: #ffffff;
    text-decoration: underline;
}

.header-top-bar .top-bar-link {
    color: #e2e8f0;
    text-decoration: none;
    font-weight: 600;
    font-size: 12px;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
}

.header-top-bar .top-bar-link:hover {
    color: var(--accent);
}

.header-top-bar .top-bar-student-btn {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    letter-spacing: 0.3px;
}

.header-top-bar .top-bar-student-btn:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #123b5d;
    box-shadow: 0 2px 10px rgba(230, 168, 58, 0.35);
    transform: translateY(-1px);
}

/* Site Navbar */
.site-header {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1030;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

.site-header.scrolled {
    box-shadow: var(--shadow-md);
    background: rgba(255, 255, 255, 0.98);
}

.navbar-brand-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.brand-crest {
    width: 40px;
    height: 40px;
    min-width: 40px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 18px;
    box-shadow: 0 4px 10px rgba(var(--secondary-rgb), 0.25);
}

.brand-text-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.brand-text-wrapper h2 {
    font-size: 19px;
    margin: 0;
    color: var(--primary);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.3px;
    white-space: nowrap;
}

.brand-text-wrapper .brand-tagline {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--secondary);
    font-weight: 700;
    white-space: nowrap;
    max-width: 250px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}

/* Navigation Links */
.main-nav {
    display: flex;
    align-items: center;
    gap: 3px;
}

.main-nav .nav-link {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    padding: 6px 10px !important;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    white-space: nowrap;
}

.main-nav .nav-link:hover,
.main-nav .nav-link:focus,
.main-nav .nav-link.active,
.main-nav .nav-item.active > .nav-link {
    color: var(--secondary) !important;
    background: var(--secondary-light);
}

/* Desktop Dropdown Navigation */
@media (min-width: 1200px) {
    .site-header .navbar-nav .nav-item.dropdown {
        position: relative;
    }

    .site-header .navbar-nav .nav-item.dropdown:hover > .dropdown-menu,
    .site-header .navbar-nav .nav-item.dropdown:focus-within > .dropdown-menu,
    .site-header .navbar-nav .nav-item.dropdown .dropdown-menu:hover {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateY(0) !important;
        pointer-events: auto !important;
    }

    .site-header .navbar-nav .dropdown-menu {
        display: block;
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        transition: opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1), transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.22s ease;
        margin-top: 0 !important;
        top: 100%;
        left: 0;
        min-width: 240px;
        border-radius: var(--radius-md);
        box-shadow: 0 16px 36px rgba(18, 59, 93, 0.14), 0 4px 12px rgba(0, 0, 0, 0.05);
        border: 1px solid var(--border);
        padding: 8px;
        background: #ffffff;
        z-index: 1050;
    }

    /* Invisible hover bridge */
    .site-header .navbar-nav .nav-item.dropdown::after {
        content: '';
        position: absolute;
        bottom: -10px;
        left: 0;
        right: 0;
        height: 12px;
    }
}

/* Dropdown Items & Single Arrow Enforcer */
.site-header .dropdown-toggle::after {
    display: none !important;
}

.site-header .dropdown-menu {
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    padding: 8px;
    background: #ffffff;
}

.site-header .dropdown-item {
    font-size: 13.5px;
    font-weight: 600;
    padding: 9px 14px;
    border-radius: var(--radius-sm);
    color: var(--text);
    display: block;
    transition: var(--transition);
    white-space: normal;
    line-height: 1.4;
}

.site-header .dropdown-item:hover,
.site-header .dropdown-item:focus {
    background-color: var(--secondary-light);
    color: var(--secondary);
    transform: translateX(4px);
}

.site-header .dropdown-item.active {
    background-color: var(--primary);
    color: #ffffff !important;
}

/* Modern Hamburger Toggle Button */
.modern-hamburger {
    width: 42px;
    height: 42px;
    background: #f1f5f9;
    border-radius: 10px;
    padding: 0;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid var(--border);
}

.modern-hamburger:hover,
.modern-hamburger:focus {
    background: var(--secondary-light);
    border-color: var(--secondary);
}

.modern-hamburger .hamburger-bar {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modern-hamburger[aria-expanded="true"] .bar-1 {
    transform: translateY(7px) rotate(45deg);
}

.modern-hamburger[aria-expanded="true"] .bar-2 {
    opacity: 0;
    transform: scaleX(0);
}

.modern-hamburger[aria-expanded="true"] .bar-3 {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile & Tablet Navigation Drawer (< 1200px) */
@media (max-width: 1199.98px) {
    .site-header .navbar-collapse {
        background: #ffffff;
        border-radius: 0 0 20px 20px;
        padding: 16px 16px 24px;
        margin-top: 10px;
        box-shadow: 0 20px 45px rgba(18, 59, 93, 0.16), 0 4px 12px rgba(0, 0, 0, 0.05);
        border: 1px solid var(--border);
        border-top: none;
        max-height: calc(100vh - 80px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        scrollbar-color: rgba(21, 154, 140, 0.3) transparent;
    }

    .site-header .navbar-collapse::-webkit-scrollbar {
        width: 4px;
    }
    .site-header .navbar-collapse::-webkit-scrollbar-thumb {
        background: rgba(21, 154, 140, 0.3);
        border-radius: 4px;
    }

    .site-header .navbar-nav {
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 6px;
        margin: 0;
        padding: 0;
    }

    .site-header .navbar-nav .nav-item {
        width: 100%;
    }

    .site-header .main-nav .nav-link {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding: 12px 14px !important;
        font-size: 14.5px;
        font-weight: 600;
        color: #1e293b;
        background: #f8fafc;
        border: 1px solid #eef2f6;
        border-radius: 12px;
        transition: all 0.2s ease;
        text-align: left;
    }

    .site-header .main-nav .nav-link .nav-label-wrapper {
        display: inline-flex;
        align-items: center;
        gap: 8px;
    }

    .site-header .main-nav .nav-link .nav-category-icon {
        font-size: 14px;
        width: 22px;
        color: var(--primary);
        text-align: center;
    }

    .site-header .main-nav .nav-link .mobile-caret-icon {
        margin-left: auto;
        font-size: 12px;
        color: #64748b;
        transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .site-header .main-nav .nav-link:hover,
    .site-header .main-nav .nav-link:focus,
    .site-header .main-nav .nav-link.active,
    .site-header .main-nav .nav-item.active > .nav-link {
        background: var(--secondary-light) !important;
        color: var(--secondary) !important;
        border-color: rgba(21, 154, 140, 0.3);
    }

    .site-header .main-nav .nav-link:hover .nav-category-icon,
    .site-header .main-nav .nav-link.active .nav-category-icon {
        color: var(--secondary);
    }

    .site-header .nav-item.dropdown.show > .nav-link .mobile-caret-icon {
        transform: rotate(180deg);
        color: var(--secondary);
    }

    /* Mobile Accordion Dropdown Submenu */
    .site-header .dropdown-menu {
        position: static !important;
        float: none !important;
        width: 100% !important;
        margin: 6px 0 10px 0 !important;
        background: #ffffff !important;
        border: 1px solid #e2e8f0 !important;
        border-left: 3.5px solid var(--secondary) !important;
        border-radius: 12px !important;
        padding: 6px 8px !important;
        box-shadow: 0 4px 12px rgba(18, 59, 93, 0.05) !important;
        transform: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        display: none;
    }

    .site-header .dropdown-menu.show {
        display: block !important;
        animation: mobileDropdownSlide 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }

    @keyframes mobileDropdownSlide {
        from {
            opacity: 0;
            transform: translateY(-6px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .site-header .dropdown-item {
        display: flex;
        align-items: center;
        padding: 10px 12px;
        font-size: 13.5px;
        font-weight: 600;
        color: #334155;
        border-radius: 8px;
        margin-bottom: 2px;
        text-decoration: none;
        transition: all 0.15s ease;
        background: transparent;
        line-height: 1.35;
    }

    .site-header .dropdown-item .dropdown-sub-arrow {
        font-size: 10px;
        color: var(--secondary);
        opacity: 0.5;
        transition: transform 0.2s ease, opacity 0.2s ease;
    }

    .site-header .dropdown-item:hover,
    .site-header .dropdown-item:focus {
        background-color: var(--secondary-light);
        color: var(--secondary);
        transform: translateX(4px);
    }

    .site-header .dropdown-item:hover .dropdown-sub-arrow {
        opacity: 1;
        transform: translateX(3px);
    }

    .site-header .dropdown-item.active {
        background-color: var(--primary);
        color: #ffffff !important;
    }

    .site-header .dropdown-item.active .dropdown-sub-arrow {
        color: var(--accent);
        opacity: 1;
    }

    /* Mobile Bottom Action Panel */
    .mobile-nav-footer {
        margin-top: 18px;
        padding-top: 16px;
        border-top: 1px solid var(--border);
    }

    .mobile-admission-badge-card {
        background: linear-gradient(135deg, var(--primary) 0%, #1a4d7a 100%);
        border-radius: 14px;
        padding: 14px 16px;
        box-shadow: 0 6px 18px rgba(18, 59, 93, 0.15);
    }

    /* Mobile Student Portal Card in Drawer */
    .mobile-student-card {
        background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
        border-radius: 12px;
        border: 1px solid #e2e8f0;
        padding: 10px 12px;
        box-shadow: 0 2px 8px rgba(18, 59, 93, 0.05);
    }

    .mobile-student-icon-circle {
        width: 36px;
        height: 36px;
        border-radius: 10px;
        background: var(--secondary-light);
        color: var(--secondary);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 15px;
        flex-shrink: 0;
    }
}

/* Header Quick Phone & Enquire Buttons */
.header-phone-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 38px;
    padding: 0 14px;
    border: 1.5px solid var(--primary);
    border-radius: var(--radius-sm);
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
    font-size: 13.5px;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    background: #ffffff;
    transition: var(--transition);
}

.header-phone-btn:hover {
    background: var(--primary);
    color: #ffffff !important;
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(18, 59, 93, 0.2);
}

.header-phone-btn .phone-icon-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    flex-shrink: 0;
}

.header-phone-btn .phone-number-text {
    white-space: nowrap !important;
    letter-spacing: 0.3px;
    font-family: var(--font-heading);
}

.header-enquire-btn {
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    font-weight: 700;
    letter-spacing: 0.4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 38px;
    padding: 0 14px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    box-shadow: 0 3px 10px rgba(230, 168, 58, 0.25);
}

.header-enquire-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 5px 14px rgba(230, 168, 58, 0.4);
}

/* Responsive navbar scaling for compact laptop screens (1200px - 1399px) */
@media (min-width: 1200px) and (max-width: 1399.98px) {
    .site-header .navbar-brand-logo {
        gap: 8px;
    }
    .brand-text-wrapper h2 {
        font-size: 17px;
    }
    .brand-text-wrapper .brand-tagline {
        font-size: 9.5px;
        max-width: 170px;
    }
    .brand-crest {
        width: 36px;
        height: 36px;
        min-width: 36px;
        font-size: 16px;
    }
    .main-nav {
        gap: 1.5px;
    }
    .main-nav .nav-link {
        font-size: 12.5px;
        padding: 5px 7px !important;
    }
    .header-phone-btn {
        height: 36px;
        padding: 0 10px;
        font-size: 12px;
        gap: 5px;
    }
    .header-enquire-btn {
        height: 36px;
        padding: 0 11px;
        font-size: 12px;
    }
}

/* ============================================================
   5. HERO BANNER SLIDER
   ============================================================ */
.hero-slider-section {
    position: relative;
    background: var(--primary);
    color: #ffffff;
    overflow: hidden;
    width: 100%;
}

.hero-slide-item {
    min-height: 540px;
    display: flex;
    align-items: center;
    position: relative;
    padding: 70px 0;
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(18, 59, 93, 0.94) 0%, rgba(18, 59, 93, 0.8) 50%, rgba(21, 154, 140, 0.45) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 680px;
    padding: 10px 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(230, 168, 58, 0.2);
    border: 1px solid var(--accent);
    color: #ffffff;
    font-size: 12.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 5px 14px;
    border-radius: var(--radius-pill);
    margin-bottom: 16px;
}

.hero-title {
    font-size: clamp(26px, 3.8vw, 46px);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 16px;
    word-break: break-word;
}

.hero-subtitle {
    font-size: clamp(15px, 2vw, 19px);
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 14px;
}

.hero-desc {
    font-size: 15.5px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.65;
    margin-bottom: 26px;
}

/* ============================================================
   6. CARDS & GRID COMPONENTS
   ============================================================ */
/* Course Card */
.course-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
}

.course-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(var(--secondary-rgb), 0.3);
}

.course-card-image {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: #e2e8f0;
}

.course-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.course-card:hover .course-card-image img {
    transform: scale(1.06);
}

.course-degree-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--primary);
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    box-shadow: var(--shadow-sm);
}

.course-card-body {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.course-title {
    font-size: 20px;
    margin-bottom: 12px;
    line-height: 1.35;
}

.course-meta-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    background: var(--background);
    padding: 12px;
    border-radius: var(--radius-sm);
    margin: 14px 0 18px 0;
    font-size: 13px;
}

.course-meta-item strong {
    color: var(--primary);
    display: block;
}

.course-meta-item span {
    color: var(--text-muted);
}

.course-card-footer {
    padding: 16px 24px;
    background: #ffffff;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

/* Facility & Lab Cards */
.facility-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 30px 24px;
    transition: var(--transition);
    height: 100%;
    box-shadow: var(--shadow-sm);
    text-align: left;
}

.facility-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--secondary);
}

.facility-icon-box {
    width: 60px;
    height: 60px;
    background: var(--secondary-light);
    color: var(--secondary);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 20px;
    transition: var(--transition);
}

.facility-card:hover .facility-icon-box {
    background: var(--secondary);
    color: #ffffff;
    transform: rotate(-6deg) scale(1.08);
}

/* Faculty Card */
.faculty-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
    box-shadow: var(--shadow-sm);
    text-align: center;
}

.faculty-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(var(--primary-rgb), 0.3);
}

.faculty-img-wrapper {
    height: 250px;
    background: #e2e8f0;
    overflow: hidden;
}

.faculty-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform 0.4s ease;
}

.faculty-card:hover .faculty-img-wrapper img {
    transform: scale(1.05);
}

.faculty-info {
    padding: 22px 18px;
}

.faculty-name {
    font-size: 18px;
    margin-bottom: 4px;
}

.faculty-designation {
    color: var(--secondary);
    font-size: 13.5px;
    font-weight: 600;
    margin-bottom: 6px;
}

.faculty-qual {
    font-size: 12.5px;
    color: var(--text-muted);
}

/* Notice Item Component */
.notice-list-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-left: 4px solid var(--primary);
    border-radius: var(--radius-sm);
    padding: 16px 20px;
    margin-bottom: 12px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.notice-list-item.notice-urgent {
    border-left-color: #ef4444;
}

.notice-list-item:hover {
    transform: translateX(6px);
    box-shadow: var(--shadow-sm);
    border-color: var(--secondary);
    border-left-color: var(--secondary);
}

.notice-date-badge {
    background: var(--background);
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 700;
    color: var(--primary);
    text-align: center;
    min-width: 80px;
}

/* Statistics Stat Counter Card */
.stat-counter-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 30px 20px;
    border-radius: var(--radius-md);
    text-align: center;
    color: #ffffff;
    transition: var(--transition);
}

.stat-counter-card:hover {
    background: rgba(255, 255, 255, 0.14);
    transform: translateY(-4px);
}

.stat-number {
    font-size: clamp(32px, 4vw, 46px);
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 6px;
    line-height: 1;
}

.stat-label {
    font-size: 14.5px;
    color: #e2e8f0;
    font-weight: 600;
}

/* ============================================================
   7. MODERN FOOTER COMPONENT
   ============================================================ */
.site-footer {
    background: linear-gradient(180deg, #091a2b 0%, #05101b 100%);
    color: #cbd5e1;
    font-size: 14.5px;
    padding-top: 75px;
    border-top: 4px solid var(--secondary);
    position: relative;
}

.site-footer .footer-col-title {
    color: #ffffff;
    font-size: 17.5px;
    font-weight: 700;
    margin-bottom: 22px;
    position: relative;
    padding-bottom: 12px;
    letter-spacing: 0.2px;
}

.site-footer .footer-col-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 36px;
    height: 3px;
    background: var(--accent);
    border-radius: 3px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 11px;
}

.footer-links a {
    color: #94a3b8;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-size: 14px;
}

.footer-links a .footer-link-icon {
    font-size: 10px;
    color: var(--secondary);
    transition: transform 0.2s ease, color 0.2s ease;
}

.footer-links a:hover {
    color: #ffffff;
    transform: translateX(4px);
}

.footer-links a:hover .footer-link-icon {
    color: var(--accent);
    transform: translateX(2px);
}

/* Footer Social Icons */
.footer-social-btn {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #cbd5e1;
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

.footer-social-btn:hover {
    background: var(--secondary);
    border-color: var(--secondary);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(21, 154, 140, 0.35);
}

.footer-social-btn.footer-social-wa:hover {
    background: #25d366;
    border-color: #25d366;
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.35);
}

/* Footer Contact Icons & Newsletter */
.footer-contact-icon {
    width: 24px;
    font-size: 13px;
    flex-shrink: 0;
    color: var(--accent);
}

.hover-accent:hover {
    color: var(--accent) !important;
}

.footer-newsletter-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
}

/* Modern Footer Bottom Bar */
.footer-bottom-bar {
    background: #040b13;
    padding: 22px 0;
    font-size: 13.5px;
    margin-top: 50px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-policy-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: var(--transition);
}

.footer-policy-links a:hover {
    color: var(--accent);
}

.footer-policy-links .separator {
    color: #475569;
    margin: 0 6px;
}

/* Footer Accreditation Badge Pill */
.footer-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(21, 154, 140, 0.12);
    border: 1px solid rgba(21, 154, 140, 0.3);
    border-radius: 20px;
    color: #e2e8f0;
    font-size: 12px;
    font-weight: 600;
}

/* Tiger Media Technologies Brand Credit */
.tiger-credit-wrapper {
    color: #94a3b8;
}

.tiger-credit-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    background: rgba(230, 168, 58, 0.12);
    border: 1px solid rgba(230, 168, 58, 0.35);
    padding: 5px 14px;
    border-radius: 20px;
    transition: all 0.25s ease;
    margin-left: 6px;
}

.tiger-credit-link .tiger-icon {
    font-size: 11px;
}

.tiger-credit-link .tiger-text {
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 0.3px;
    font-size: 12.5px;
}

.tiger-credit-link .tiger-arrow {
    font-size: 10px;
    color: var(--accent);
    transition: transform 0.2s ease;
}

.tiger-credit-link:hover {
    background: linear-gradient(135deg, var(--accent) 0%, #f59e0b 100%);
    border-color: transparent;
    box-shadow: 0 4px 16px rgba(230, 168, 58, 0.4);
    transform: translateY(-2px);
}

.tiger-credit-link:hover .tiger-text,
.tiger-credit-link:hover .tiger-icon,
.tiger-credit-link:hover .tiger-arrow {
    color: #0f172a !important;
}

.tiger-credit-link:hover .tiger-arrow {
    transform: translate(2px, -2px);
}

/* ============================================================
   8. FLOATING BUTTONS & MOBILE STICKY CTA
   ============================================================ */
.floating-whatsapp-btn {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 56px;
    height: 56px;
    background: #25D366;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
    z-index: 1020;
    transition: var(--transition);
}

.floating-whatsapp-btn:hover {
    color: #ffffff;
    transform: scale(1.1) rotate(8deg);
}

.mobile-bottom-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    border-top: 1px solid var(--border);
    padding: 10px 16px;
    z-index: 1025;
    box-shadow: 0 -4px 16px rgba(0,0,0,0.08);
}

@media (max-width: 768px) {
    .mobile-bottom-bar {
        display: flex;
        gap: 10px;
    }
    .floating-whatsapp-btn {
        bottom: 75px;
        right: 18px;
        width: 48px;
        height: 48px;
        font-size: 24px;
    }
    body {
        padding-bottom: 60px; /* Space for mobile bar */
    }
}

/* ============================================================
   9. POPUP & MODAL CUSTOM STYLING
   ============================================================ */
.custom-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 1060;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    padding: 20px;
}

.custom-modal-backdrop.show {
    display: flex !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}

.custom-modal-dialog {
    background: #ffffff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.92);
    transition: var(--transition);
}

.custom-modal-backdrop.show .custom-modal-dialog {
    transform: scale(1);
}

.modal-close-btn {
    position: absolute;
    top: 16px;
    right: 18px;
    background: #f1f5f9;
    border: none;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
}

.modal-close-btn:hover {
    background: #e2e8f0;
    color: var(--text);
}

/* Cookie Consent Bar */
.cookie-consent-bar {
    position: fixed;
    bottom: 20px;
    left: 20px;
    max-width: 360px;
    background: rgba(30, 41, 59, 0.95);
    backdrop-filter: blur(8px);
    color: #ffffff;
    padding: 14px 18px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    z-index: 1055;
    font-size: 13px;
    line-height: 1.4;
    animation: slideUpCookie 0.4s ease;
}

@media (max-width: 576px) {
    .cookie-consent-bar {
        left: 12px;
        right: 12px;
        bottom: 70px;
        max-width: 100%;
    }
}

@keyframes slideUpCookie {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Feedback Dialog & Modal System */
.site-feedback-backdrop {
    z-index: 1070;
}

.site-feedback-dialog {
    border-radius: var(--radius-lg);
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.feedback-icon-wrapper {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin: 0 auto;
    animation: bounceInFeedback 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.feedback-icon-wrapper.feedback-success {
    background: #ecfdf5;
    color: #10b981;
    border: 2px solid #a7f3d0;
}

.feedback-icon-wrapper.feedback-info {
    background: #eff6ff;
    color: var(--secondary);
    border: 2px solid #bfdbfe;
}

.feedback-icon-wrapper.feedback-warning {
    background: #fffbeb;
    color: #f59e0b;
    border: 2px solid #fde68a;
}

.feedback-icon-wrapper.feedback-danger {
    background: #fef2f2;
    color: #ef4444;
    border: 2px solid #fecaca;
}

@keyframes bounceInFeedback {
    0% { transform: scale(0.3); opacity: 0; }
    50% { transform: scale(1.1); }
    70% { transform: scale(0.95); }
    100% { transform: scale(1); opacity: 1; }
}
