:root {
    --primary-color: #0b1b3d;
    --primary-dark: #071024;
    --secondary-color: #d9222a;
    --secondary-hover: #b7181f;
    --accent-color: #f59e0b;
    --accent-dark: #d97706;
    --text-dark: #1e293b;
    --text-muted: #64748b;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
}

html {
    scroll-behavior: smooth;
}

body {
    overflow-x: clip;
    max-width: 100%;
    width: 100%;
    position: relative;
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: var(--text-dark);
    background-color: #f8fafc;
    line-height: 1.6;
}

/* Fixed / Sticky Header at Top */
.site-header-sticky {
    position: sticky !important;
    top: 0 !important;
    z-index: 1040 !important;
    width: 100% !important;
    box-shadow: 0 4px 20px rgba(11, 27, 61, 0.12);
}

/* Scroll Fade In Animations */
.fade-on-scroll {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}
.fade-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}
.fade-delay-1 { transition-delay: 0.1s; }
.fade-delay-2 { transition-delay: 0.2s; }
.fade-delay-3 { transition-delay: 0.3s; }
.fade-delay-4 { transition-delay: 0.4s; }

/* Header Top Bar */
.top-header-bar {
    background-color: var(--primary-dark);
    color: #cbd5e1;
    font-size: 0.85rem;
    padding: 7px 0;
    border-bottom: 2px solid var(--secondary-color);
}
.top-header-bar a {
    color: #e2e8f0;
    text-decoration: none;
    transition: color 0.2s;
}
.top-header-bar a:hover {
    color: var(--accent-color);
}

/* Navbar */
.navbar-brand-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}
.brand-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 4px 10px rgba(217, 34, 42, 0.35);
}
.brand-title {
    font-weight: 800;
    font-size: 1.35rem;
    color: var(--primary-color);
    letter-spacing: -0.5px;
    line-height: 1.1;
    margin: 0;
}
.brand-subtitle {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--secondary-color);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin: 0;
}
.navbar-custom {
    background-color: #ffffff;
    box-shadow: 0 2px 16px rgba(11, 27, 61, 0.08);
    padding: 8px 0;
    transition: all 0.25s ease;
}
.navbar-custom .navbar-nav {
    display: flex;
    align-items: center;
    gap: 3px;
}
.navbar-custom .nav-link {
    font-weight: 600;
    font-size: 0.88rem;
    color: #1e293b;
    padding: 7px 11px !important;
    white-space: nowrap !important;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
    border-radius: 6px;
    line-height: 1.2;
}
.navbar-custom .nav-link i {
    font-size: 0.82rem;
    color: #64748b;
    transition: color 0.2s ease;
}
.navbar-custom .nav-link:hover {
    color: var(--secondary-color);
    background-color: rgba(217, 34, 42, 0.06);
}
.navbar-custom .nav-link:hover i {
    color: var(--secondary-color);
}
.navbar-custom .nav-link.active {
    color: var(--secondary-color);
    background-color: rgba(217, 34, 42, 0.08);
    font-weight: 700;
}
.navbar-custom .nav-link.active i {
    color: var(--secondary-color);
}

/* Nav Action Buttons */
.nav-btn-student {
    border: 1.5px solid #0284c7;
    color: #0284c7;
    background-color: rgba(2, 132, 199, 0.05);
    font-weight: 700;
    font-size: 0.82rem;
    padding: 6px 14px;
    border-radius: 50px;
    white-space: nowrap;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.25s ease;
}
.nav-btn-student:hover {
    background-color: #0284c7;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25);
    transform: translateY(-1px);
}
.nav-btn-apply {
    background: linear-gradient(135deg, var(--secondary-color), #b91c1c);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.84rem;
    padding: 7px 16px;
    border-radius: 50px;
    white-space: nowrap;
    text-decoration: none;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 14px rgba(217, 34, 42, 0.3);
    transition: all 0.25s ease;
}
.nav-btn-apply:hover {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: #ffffff;
    box-shadow: 0 6px 18px rgba(217, 34, 42, 0.45);
    transform: translateY(-1px);
}

/* Buttons */
.btn-safety-primary {
    background-color: var(--secondary-color);
    color: #ffffff;
    border: none;
    font-weight: 600;
    padding: 10px 22px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(217, 34, 42, 0.28);
    transition: all 0.25s ease;
}
.btn-safety-primary:hover {
    background-color: var(--secondary-hover);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(217, 34, 42, 0.38);
}
/* Responsive Form Submit Buttons */
.enroll-submit-btn {
    font-size: 1.05rem;
    padding: 13px 24px;
    border-radius: 12px !important;
    letter-spacing: 0.2px;
    transition: all 0.25s ease;
}
.enroll-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(217, 34, 42, 0.4) !important;
}
.btn-safety-secondary {
    background-color: var(--primary-color);
    color: #ffffff;
    border: none;
    font-weight: 600;
    padding: 10px 22px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(11, 27, 61, 0.2);
    transition: all 0.25s ease;
}
.btn-safety-secondary:hover {
    background-color: var(--primary-dark);
    color: #ffffff;
    transform: translateY(-2px);
}

/* Banner Slider & Hero Animations */
.hero-carousel-section {
    position: relative;
    overflow: hidden !important;
    width: 100% !important;
    max-width: 100% !important;
    background-color: #071024;
}

.banner-carousel-item {
    min-height: 590px;
    position: relative;
    overflow: hidden !important;
    width: 100% !important;
    max-width: 100% !important;
}

/* Ken Burns background zoom animation */
.banner-bg-zoom {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 7s cubic-bezier(0.25, 1, 0.5, 1);
    transform: scale(1);
    filter: brightness(0.72) contrast(1.1);
}

.carousel-item.active .banner-bg-zoom {
    transform: scale(1.08);
}

/* Layered glowing dynamic gradient overlay */
.banner-overlay {
    position: relative;
    min-height: 590px;
    width: 100%;
    background: radial-gradient(circle at 80% 20%, rgba(245, 158, 11, 0.22) 0%, transparent 48%),
                radial-gradient(circle at 20% 85%, rgba(217, 34, 42, 0.32) 0%, transparent 55%),
                linear-gradient(90deg, rgba(7, 16, 36, 0.96) 0%, rgba(7, 16, 36, 0.88) 40%, rgba(11, 27, 61, 0.65) 100%);
    display: flex;
    align-items: center;
    z-index: 2;
    padding: 40px 0;
}

/* Dynamic floating ember particles */
.banner-ember {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.85) 0%, rgba(217, 34, 42, 0) 70%);
    animation: floatEmber 6s infinite ease-in-out;
    z-index: 1;
}
.banner-ember-1 { width: 140px; height: 140px; top: 12%; right: 18%; animation-duration: 7s; opacity: 0.3; filter: blur(35px); }
.banner-ember-2 { width: 220px; height: 220px; bottom: 8%; right: 35%; animation-duration: 9s; opacity: 0.22; filter: blur(45px); }
.banner-ember-3 { width: 110px; height: 110px; top: 38%; left: 28%; animation-duration: 6.5s; opacity: 0.18; filter: blur(25px); }

@keyframes floatEmber {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-28px) scale(1.18); }
}

/* Smooth Cinematic Cross-Fade for Hero Carousel (Prevents text flash/double fade) */
#heroCarousel.carousel-fade .carousel-item {
    opacity: 0;
    transition-duration: 0.85s !important;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1) !important;
    transition-property: opacity !important;
}
#heroCarousel.carousel-fade .carousel-item.active,
#heroCarousel.carousel-fade .carousel-item-next.carousel-item-start,
#heroCarousel.carousel-fade .carousel-item-prev.carousel-item-end {
    opacity: 1;
}
#heroCarousel.carousel-fade .active.carousel-item-start,
#heroCarousel.carousel-fade .active.carousel-item-end {
    opacity: 0;
    transition-duration: 0.85s !important;
}

/* Pulsing Badge with Fire Icon */
.banner-badge-glow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.2) 0%, rgba(217, 34, 42, 0.22) 100%);
    border: 1px solid rgba(245, 158, 11, 0.55);
    color: #fef08a;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 1.2px;
    padding: 7px 18px;
    border-radius: 50px;
    text-transform: uppercase;
    box-shadow: 0 0 25px rgba(245, 158, 11, 0.3);
    margin-bottom: 18px;
    backdrop-filter: blur(8px);
}

.badge-pulse-dot {
    width: 9px;
    height: 9px;
    background-color: #22c55e;
    border-radius: 50%;
    box-shadow: 0 0 10px #22c55e, 0 0 18px #22c55e;
    animation: pulseDot 1.8s infinite;
}

@keyframes pulseDot {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.6); opacity: 0.35; }
}

/* Shimmer animated headline */
.banner-title-animated {
    font-size: 2.85rem;
    font-weight: 900;
    line-height: 1.16;
    color: #ffffff;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
    text-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
}

.text-gradient-fire {
    background: linear-gradient(90deg, #ffffff 0%, #fed7aa 35%, #f59e0b 75%, #ef4444 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.banner-desc {
    font-size: 1.12rem;
    color: #cbd5e1;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Feature tags pill list */
.banner-feature-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #f1f5f9;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 20px;
    margin-right: 8px;
    margin-bottom: 8px;
    transition: all 0.3s ease;
}
.banner-feature-tag:hover {
    background: rgba(245, 158, 11, 0.22);
    border-color: rgba(245, 158, 11, 0.6);
    transform: translateY(-2px);
    color: #ffffff;
}

/* Animated Shimmer Button */
.btn-safety-primary-animated {
    background: linear-gradient(135deg, #d9222a 0%, #b91c1c 100%);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-weight: 700;
    padding: 13px 28px;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(217, 34, 42, 0.45);
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.btn-safety-primary-animated::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 40%;
    height: 200%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
    transform: rotate(25deg);
    animation: btnShimmer 3.5s infinite;
}
@keyframes btnShimmer {
    0% { left: -60%; }
    30%, 100% { left: 140%; }
}
.btn-safety-primary-animated:hover {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #ffffff;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 30px rgba(217, 34, 42, 0.6);
}

.btn-glass-secondary {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    font-weight: 600;
    padding: 13px 26px;
    border-radius: 10px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.btn-glass-secondary:hover {
    background: rgba(255, 255, 255, 0.22);
    color: #ffffff;
    border-color: #f59e0b;
    transform: translateY(-3px);
}

/* Hero Trust Stats row */
.hero-trust-bar {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 18px;
    margin-top: 24px;
}
.hero-trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #e2e8f0;
}
.hero-trust-item i {
    font-size: 1.3rem;
    color: #f59e0b;
}

/* Hero Right Side: 3D Floating Glass Showcase Cards */
.hero-visual-card-wrap {
    position: relative;
    padding: 25px 15px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-main-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.12) 0%, rgba(15, 23, 42, 0.85) 100%);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 24px;
    padding: 28px;
    width: 100%;
    max-width: 440px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 3;
    animation: floatHeroCard 5.5s ease-in-out infinite;
}

@keyframes floatHeroCard {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

/* Floating Badges with independent rhythm */
.floating-stat-badge {
    position: absolute;
    background: rgba(15, 23, 42, 0.92);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.22);
    padding: 12px 18px;
    border-radius: 16px;
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.55);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 4;
}

.float-top-right {
    top: -10px;
    right: 0px;
    animation: floatBadge1 4.5s ease-in-out infinite;
}

.float-bottom-left {
    bottom: -15px;
    left: -10px;
    animation: floatBadge2 5s ease-in-out infinite;
}

@keyframes floatBadge1 {
    0%, 100% { transform: translateY(0) rotate(1deg); }
    50% { transform: translateY(-14px) rotate(-1deg); }
}

@keyframes floatBadge2 {
    0%, 100% { transform: translateY(0) rotate(-1deg); }
    50% { transform: translateY(-12px) rotate(1.5deg); }
}

/* Carousel Indicators: Modern expanding pill style */
.hero-carousel-indicators {
    bottom: 24px;
    margin-bottom: 0;
    gap: 10px;
}
.hero-carousel-indicators button {
    width: 14px;
    height: 6px;
    border-radius: 6px;
    background-color: rgba(255, 255, 255, 0.4);
    border: none;
    transition: all 0.4s ease;
}
.hero-carousel-indicators button.active {
    width: 44px;
    background: linear-gradient(90deg, #f59e0b, #d9222a);
    box-shadow: 0 0 14px rgba(245, 158, 11, 0.7);
}

/* Carousel Navigation Chevrons */
.hero-nav-btn {
    width: 48px;
    height: 48px;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.85;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-nav-btn:hover {
    background: var(--secondary-color);
    border-color: #f59e0b;
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 0 22px rgba(217, 34, 42, 0.65);
}

/* News Ticker */
.ticker-bar {
    background: #091326;
    color: #f8fafc;
    padding: 9px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 2px solid var(--secondary-color);
    overflow: hidden !important;
    width: 100%;
    max-width: 100%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    position: relative;
    z-index: 10;
}
.ticker-title {
    background: linear-gradient(135deg, var(--secondary-color), #b91c1c);
    color: #ffffff !important;
    font-weight: 700;
    font-size: 0.78rem;
    padding: 5px 14px;
    border-radius: 20px;
    text-transform: uppercase;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 2px 8px rgba(217, 34, 42, 0.4);
    letter-spacing: 0.5px;
}
.ticker-title i {
    font-size: 0.78rem;
    color: #facc15;
}

/* Cards & Section headers */
.section-badge {
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: block;
    margin-bottom: 8px;
}
.section-heading {
    font-weight: 800;
    color: var(--primary-color);
    font-size: 2.2rem;
    letter-spacing: -0.5px;
}
.card-hover-effect {
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: #ffffff;
    overflow: hidden;
}
.card-hover-effect:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(11, 27, 61, 0.1);
    border-color: rgba(217, 34, 42, 0.3);
}

/* Course Card */
.course-card-img-wrapper {
    position: relative;
    height: 200px;
    overflow: hidden;
}
.course-card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.card-hover-effect:hover .course-card-img-wrapper img {
    transform: scale(1.08);
}
.course-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background: rgba(11, 27, 61, 0.9);
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    backdrop-filter: blur(4px);
}

/* Founder Spotlight Card */
.founder-card {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border-radius: var(--radius-lg);
    padding: 40px;
    position: relative;
    overflow: hidden;
}
.founder-card::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(217, 34, 42, 0.25) 0%, transparent 70%);
}

/* Student Mobile App Layout */
.mobile-app-wrapper {
    max-width: 480px;
    margin: 20px auto;
    background: #ffffff;
    min-height: 844px;
    border-radius: 36px;
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.25), 0 0 0 10px #0f172a;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
}
@media (max-width: 576px) {
    .mobile-app-wrapper {
        max-width: 100%;
        margin: 0;
        border-radius: 0;
        box-shadow: none;
        min-height: 100vh;
    }
}
.mobile-app-header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 24px 20px 20px 20px;
    border-bottom-left-radius: 24px;
    border-bottom-right-radius: 24px;
    position: relative;
}
.mobile-app-body {
    flex: 1;
    overflow-y: auto;
    padding: 18px;
    padding-bottom: 90px;
    background: #f8fafc;
}
.mobile-bottom-nav {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-around;
    padding: 10px 6px 14px 6px;
    z-index: 100;
}
.mobile-bottom-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    font-size: 0.72rem;
    font-weight: 600;
    color: #64748b;
    transition: color 0.2s;
}
.mobile-bottom-nav a i {
    font-size: 1.25rem;
    margin-bottom: 3px;
}
.mobile-bottom-nav a.active {
    color: var(--secondary-color);
}

/* Digital ID Card */
.digital-id-card {
    width: 340px;
    margin: 20px auto;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border: 1px solid #cbd5e1;
    overflow: hidden;
    position: relative;
}
.id-card-header {
    background: linear-gradient(135deg, var(--primary-color), #071024);
    color: white;
    padding: 16px;
    text-align: center;
    border-bottom: 3px solid var(--secondary-color);
}
.id-card-photo {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #ffffff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    margin-top: -45px;
}

/* Fee Receipt Printable Container */
.receipt-container {
    max-width: 780px;
    margin: 30px auto;
    background: #ffffff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
}
@media print {
    body * {
        visibility: hidden;
    }
    .receipt-container, .receipt-container * {
        visibility: visible;
    }
    .receipt-container {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        max-width: 100%;
        box-shadow: none;
        border: none;
        padding: 0;
    }
    .no-print {
        display: none !important;
    }
}

/* Footer */
.footer-main {
    background: #071024;
    color: #cbd5e1;
    padding-top: 60px;
    padding-bottom: 20px;
    border-top: 4px solid var(--secondary-color);
}
.footer-title {
    color: #ffffff;
    font-weight: 700;
    font-size: 1.15rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}
.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 36px;
    height: 3px;
    background: var(--secondary-color);
    border-radius: 2px;
}
.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    transition: all 0.2s;
}
.footer-links a:hover {
    color: var(--accent-color);
    padding-left: 6px;
}
.footer-bottom {
    border-top: 1px solid #1e293b;
    margin-top: 40px;
    padding-top: 20px;
    font-size: 0.85rem;
    color: #94a3b8;
}

/* ===================================================
   MOBILE-FIRST SMOOTHING & RESPONSIVE ARCHITECTURE
=================================================== */

/* Smooth touch physics & font smoothing */
html {
    scroll-behavior: smooth;
    -webkit-tap-highlight-color: transparent;
}
body {
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Mobile Sticky Action Bar */
.mobile-sticky-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: rgba(11, 27, 61, 0.96);
    backdrop-filter: blur(16px);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 0 8px;
    z-index: 9999;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.35);
}

.mobile-bar-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    color: #cbd5e1;
    text-decoration: none;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 6px 4px;
    border-radius: 8px;
    transition: all 0.2s ease;
}
.mobile-bar-btn i {
    font-size: 1.15rem;
}
.mobile-bar-call {
    color: #facc15;
}
.mobile-bar-wa {
    color: #22c55e;
}
.mobile-bar-apply {
    background: linear-gradient(135deg, var(--secondary-color), #b91c1c);
    color: #ffffff !important;
    border-radius: 20px;
    padding: 6px 12px;
    font-weight: 700;
    box-shadow: 0 2px 10px rgba(217, 34, 42, 0.4);
}
.mobile-bar-apply i {
    font-size: 1rem;
}

/* Tablet & Mobile Screens (< 1200px) */
@media (max-width: 1199px) {
    .navbar-custom {
        position: sticky !important;
        top: 0 !important;
        z-index: 1050 !important;
    }
    .navbar-custom .container-fluid {
        position: relative !important;
    }
    .navbar-collapse {
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        background: rgba(255, 255, 255, 0.98) !important;
        backdrop-filter: blur(20px) !important;
        -webkit-backdrop-filter: blur(20px) !important;
        padding: 16px 20px 24px 20px !important;
        border-radius: 0 0 20px 20px !important;
        box-shadow: 0 20px 45px rgba(7, 16, 36, 0.28) !important;
        border: none !important;
        border-bottom: 3px solid var(--secondary-color) !important;
        margin-top: 0 !important;
        max-height: calc(100vh - 75px);
        overflow-y: auto !important;
        z-index: 1060 !important;
        animation: mobileMenuFade 0.25s ease-out;
    }
    @keyframes mobileMenuFade {
        from { opacity: 0; transform: translateY(-8px); }
        to { opacity: 1; transform: translateY(0); }
    }
    .navbar-custom .navbar-nav {
        align-items: stretch !important;
        gap: 3px !important;
        padding: 4px 0 !important;
    }
    .navbar-custom .nav-link {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        text-align: left !important;
        padding: 10px 14px !important;
        font-size: 0.95rem !important;
        font-weight: 600 !important;
        color: #1e293b !important;
        border-radius: 10px !important;
        border-bottom: 1px solid #f8fafc;
        gap: 12px !important;
        background-color: transparent !important;
        line-height: 1.2 !important;
    }
    .navbar-custom .nav-link i {
        width: 32px;
        height: 32px;
        background: rgba(217, 34, 42, 0.08);
        color: var(--secondary-color) !important;
        border-radius: 8px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 0.92rem !important;
        flex-shrink: 0;
    }
    .navbar-custom .nav-link:hover {
        background-color: rgba(217, 34, 42, 0.05) !important;
        color: var(--secondary-color) !important;
    }
    .navbar-custom .nav-link.active {
        background-color: rgba(217, 34, 42, 0.08) !important;
        color: var(--secondary-color) !important;
        font-weight: 700 !important;
    }
    .navbar-custom .nav-link.active i {
        background: var(--secondary-color);
        color: #ffffff !important;
    }
    .nav-btn-student,
    .nav-btn-apply {
        width: 100% !important;
        justify-content: center !important;
        padding: 11px 18px !important;
        font-size: 0.92rem !important;
        margin-top: 8px !important;
        margin-left: 0 !important;
        border-radius: 12px !important;
    }
}

/* Mobile Screens (< 768px) */
@media (max-width: 767px) {
    body {
        padding-bottom: 60px; /* Space for sticky bar */
    }

    /* Top Bar Mobile Compact */
    .top-header-bar {
        font-size: 0.76rem;
        padding: 6px 0;
    }
    .top-header-bar .container {
        flex-direction: column;
        gap: 4px;
        text-align: center;
    }

    /* Brand Logo on Mobile */
    .brand-icon {
        width: 38px;
        height: 38px;
        font-size: 1.2rem;
        border-radius: 8px;
    }
    .brand-title {
        font-size: 1.15rem;
        letter-spacing: -0.2px;
    }
    .brand-subtitle {
        font-size: 0.62rem;
        letter-spacing: 0.6px;
    }

    /* Hero Banner Mobile Styling */
    .banner-ember {
        display: none !important;
    }
    .banner-carousel-item {
        min-height: 480px;
    }
    .banner-bg-zoom {
        /* Hardware accelerate for 60fps mobile smoothness */
        transform: translate3d(0, 0, 0) scale(1);
        will-change: transform;
        backface-visibility: hidden;
    }
    .banner-overlay {
        min-height: 480px;
        padding: 24px 0 40px 0;
    }
    .banner-badge-glow {
        font-size: 0.72rem;
        padding: 5px 12px;
        margin-bottom: 12px;
        letter-spacing: 0.8px;
    }
    .banner-title-animated {
        font-size: 1.75rem;
        line-height: 1.22;
        margin-bottom: 12px;
        letter-spacing: -0.3px;
    }
    .banner-desc {
        font-size: 0.92rem;
        line-height: 1.5;
        margin-bottom: 16px;
        color: #e2e8f0;
    }
    .banner-feature-tag {
        font-size: 0.74rem;
        padding: 4px 10px;
        margin-right: 5px;
        margin-bottom: 6px;
        gap: 4px;
    }
    .btn-safety-primary-animated {
        padding: 10px 20px;
        font-size: 0.88rem;
        width: 100%;
        justify-content: center;
    }
    .btn-glass-secondary {
        padding: 10px 18px;
        font-size: 0.86rem;
        width: 100%;
        justify-content: center;
    }
    .enroll-submit-btn {
        font-size: 0.94rem !important;
        padding: 11px 16px !important;
        border-radius: 10px !important;
        letter-spacing: 0 !important;
    }
    .hero-trust-bar {
        margin-top: 16px;
        padding-top: 14px;
        gap: 12px !important;
    }
    .hero-trust-item {
        flex: 1 1 45%;
        font-size: 0.78rem;
    }
    .hero-trust-item i {
        font-size: 1.1rem;
    }

    /* Carousel Indicators on Mobile */
    .hero-carousel-indicators {
        bottom: 12px;
        gap: 6px;
    }
    .hero-carousel-indicators button {
        width: 10px;
        height: 5px;
    }
    .hero-carousel-indicators button.active {
        width: 28px;
    }

    /* News Ticker Mobile */
    .ticker-bar {
        padding: 6px 0 !important;
    }
    .ticker-bar .container {
        gap: 8px !important;
        padding-left: 12px !important;
        padding-right: 12px !important;
    }
    .ticker-title {
        font-size: 0.68rem !important;
        padding: 4px 9px !important;
        border-radius: 14px !important;
        letter-spacing: 0.3px !important;
        gap: 5px !important;
    }
    .ticker-title i {
        font-size: 0.68rem !important;
    }
    .ticker-bar marquee {
        font-size: 0.8rem !important;
    }

    /* Quick Highlights Mobile (2x2 Grid) */
    .fs-1 {
        font-size: 1.75rem !important;
    }
    .fs-2 {
        font-size: 1.25rem !important;
    }

    /* Section Headings */
    .section-heading {
        font-size: 1.6rem;
        line-height: 1.25;
    }
    .section-badge {
        font-size: 0.75rem;
    }

    /* Founder Card Mobile */
    .founder-card {
        padding: 24px 16px !important;
    }
    .founder-card .display-6 {
        font-size: 1.8rem;
    }

    /* Courses Cards Mobile */
    .course-card-img-wrapper {
        height: 170px !important;
    }
    .card-body.p-4 {
        padding: 16px !important;
    }

    /* Footer Mobile */
    .footer-main {
        padding-top: 40px;
        padding-bottom: 75px; /* Space for mobile sticky bar */
    }
    .footer-bottom {
        text-align: center;
        flex-direction: column;
        gap: 10px;
    }
}
