/* Fonts loaded via master.php link tag */

body {
    overflow-x: hidden;
}

:root {
    --primary: #003366;
    --secondary: #004080;
    --accent: #FFD700;
    --gold: #FFD700;
    --bg-light: #f6f6f8;
    --bg-light-alt: #f8f9fa;
    --bg-dark: #0e1138;
    --text-light: #f8f9fa;
    --text-dark: #0f172a;
    --slate-900: #0f172a;
    --slate-100: #f1f5f9;
}

[data-theme='dark'] {
    --bg-light: #050816;
    --bg-light-alt: #0a1128;
    --text-light: #f1f5f9;
    --text-dark: #f1f5f9;
    --primary: #003366;
    --secondary: #004080;
    --accent: #FFD700;
    --gold: #FFD700;
}



/* Typography Utilities */
.font-inter {
    font-family: 'Inter', sans-serif;
}

.font-lexend {
    font-family: 'Lexend', sans-serif;
}

.font-oswald {
    font-family: 'Oswald', sans-serif;
}

.font-light {
    font-weight: 300;
}

.font-normal {
    font-weight: 400;
}

.font-medium {
    font-weight: 500;
}

.font-semibold {
    font-weight: 600;
}

.font-bold {
    font-weight: 700;
}

.font-black {
    font-weight: 900;
}

.uppercase {
    text-transform: uppercase;
}

.italic {
    font-style: normal;
}

.tracking-widest {
    letter-spacing: 0.1em;
}

/* Font Size Scale */
.text-xs {
    font-size: 0.75rem;
}

/* 12px */
.text-sm {
    font-size: 0.875rem;
}

/* 14px */
.text-base {
    font-size: 1rem;
}

/* 16px */
.text-lg {
    font-size: 1.125rem;
}

/* 18px */
.text-xl {
    font-size: 1.25rem;
}

/* 20px */
.text-2xl {
    font-size: 1.5rem;
}

/* 24px */
.text-3xl {
    font-size: 1.875rem;
}

/* 30px */
.text-4xl {
    font-size: 2.25rem;
}

/* 36px */
.text-5xl {
    font-size: 3rem;
}

/* 48px */
.text-6xl {
    font-size: 3.75rem;
}

/* 60px */

.bg-primary {
    background-color: var(--primary) !important;
}

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

.bg-light {
    background-color: var(--bg-light) !important;
}

.bg-dark-section {
    background-color: var(--bg-dark) !important;
}

.text-primary {
    color: var(--primary) !important;
}

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

.text-slate-900 {
    color: var(--slate-900) !important;
}

.text-slate-100 {
    color: var(--slate-100) !important;
}

.text-navy {
    color: var(--primary) !important;
}

.section-marker {
    font-family: 'Lexend', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
}


/* Opacity Utilities */
.bg-opacity-10 {
    --tw-bg-opacity: 0.1;
    background-color: rgba(27, 31, 94, 0.1) !important;
}

.bg-opacity-20 {
    --tw-bg-opacity: 0.2;
    background-color: rgba(27, 31, 94, 0.2) !important;
}

.text-white-50 {
    color: rgba(255, 255, 255, 0.5) !important;
}

.text-white-75 {
    color: rgba(255, 255, 255, 0.75) !important;
}

.bg-primary.bg-opacity-10 {
    background-color: rgba(27, 31, 94, 0.1) !important;
}

.bg-primary.bg-opacity-20 {
    background-color: rgba(27, 31, 94, 0.2) !important;
}



.bg-gold {
    background-color: var(--gold) !important;
}

.text-gold {
    color: var(--gold) !important;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    transition: background-color 0.3s ease, color 0.3s ease;
}

[data-theme='dark'] .bg-white,
[data-theme='dark'] .bg-light,
[data-theme='dark'] .bg-light-alt {
    background-color: var(--bg-light-alt) !important;
}


[data-theme='dark'] body,
[data-theme='dark'] p,
[data-theme='dark'] span,
[data-theme='dark'] li,
[data-theme='dark'] .cms-content-wrapper,
[data-theme='dark'] .cms-content-wrapper p,
[data-theme='dark'] .section-subtitle,
[data-theme='dark'] .text-muted,
[data-theme='dark'] .text-dark,
[data-theme='dark'] .text-slate-900,
[data-theme='dark'] .text-primary:not(.hero *):not(.footer-main *):not(.btn-solid *):not(.pre-footer-cta *) {
    color: rgba(255, 255, 255, 0.9) !important;
}

[data-theme='dark'] h1,
[data-theme='dark'] h2,
[data-theme='dark'] h3,
[data-theme='dark'] h4,
[data-theme='dark'] h5,
[data-theme='dark'] h6,
[data-theme='dark'] .section-title {
    color: white !important;
}


[data-theme='dark'] .card,
[data-theme='dark'] .glass-panel-light,
[data-theme='dark'] .stat-box,
[data-theme='dark'] .gradient-border-card {
    background: #1d2d50 !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    color: white !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3) !important;
}

[data-theme='dark'] .stat-box:hover {
    background: #24345c !important;
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4) !important;
}

/* Accordion Dark Mode */
[data-theme='dark'] .accordion-item {
    background-color: transparent !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}

[data-theme='dark'] .accordion-button {
    background-color: rgba(255, 255, 255, 0.05) !important;
    color: white !important;
}

[data-theme='dark'] .accordion-button:not(.collapsed) {
    background-color: rgba(245, 183, 49, 0.1) !important;
    color: var(--gold) !important;
}

[data-theme='dark'] .accordion-button::after {
    filter: brightness(0) invert(1);
}

[data-theme='dark'] .accordion-body {
    color: rgba(255, 255, 255, 0.8) !important;
}




[data-theme='dark'] .card a:not(.btn-solid),
[data-theme='dark'] .gradient-border-card a:not(.btn-solid) {
    color: white !important;
}


[data-theme='dark'] .gradient-border-card h5 {
    color: white !important;
}

[data-theme='dark'] .text-muted {
    color: rgba(255, 255, 255, 0.6) !important;
}

.stat-box {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    margin-bottom: 20px;
}

.stat-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
}

[data-theme='dark'] .marquee-track {
    background: transparent !important;
}

[data-theme='dark'] .marquee-item {
    color: white !important;
    background: rgba(255, 255, 255, 0.05) !important;
}

[data-theme='dark'] input,
[data-theme='dark'] textarea,
[data-theme='dark'] select {
    background-color: #1a2a4a !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    color: white !important;
}

[data-theme='dark'] .form-label,
[data-theme='dark'] .text-secondary {
    color: rgba(255, 255, 255, 0.8) !important;
}




h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Lexend', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

h1 {
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.03em;
}



h1 {
    font-size: 3.75rem;
    line-height: 1.1;
}

h2 {
    font-size: 1.875rem;
}

h3 {
    font-size: 1.5rem;
}



/* Navbar */
.navbar {
    padding: 20px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--primary);
    position: sticky;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.logo {
    font-family: 'Oswald', sans-serif;
    font-size: 28px;
    color: var(--gold);
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
}

.nav-links a:hover {
    color: var(--gold);
}

.btn-outline {
    border: 2px solid var(--gold);
    color: var(--gold);
    padding: 10px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: 0.3s;
    background: transparent;
    display: inline-block;
}

.btn-outline:hover {
    background: var(--gold);
    color: var(--primary);
}

.hero {
    background: var(--primary) !important;
    color: white !important;
}

.hero h1,
.hero h2,
.hero h3 {
    color: white !important;
}

.hero p {
    color: rgba(255, 255, 255, 0.8) !important;
}



.btn-solid {
    background: var(--gold);
    color: var(--primary);
    padding: 12px 28px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: 0.3s;
    border: 2px solid var(--gold);
    display: inline-block;
    box-shadow: 0 4px 15px rgba(245, 183, 49, 0.3);
}

.btn-solid:hover {
    background: transparent;
    color: var(--gold);
    box-shadow: none;
}


/* Sections */
section {
    padding: 80px 5%;
}

.section-title {
    font-family: 'Oswald', sans-serif;
    font-size: 42px;
    color: var(--primary);
    text-align: center;
    margin-bottom: 15px;
    font-weight: 700;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 18px;
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero {
    background: var(--primary);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 5% 60px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 650px;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-family: 'Oswald', sans-serif;
    font-size: 64px;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero h1 span {
    color: var(--gold);
    font-style: normal;
}

.hero p {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
    font-weight: 300;
}

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

/* Subtle Grid Background for Hero */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(212, 175, 55, 0.15) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: 1;
}

/* Glow Effects */
.glow-spot {
    position: absolute;
    width: 500px;
    height: 500px;
    background: var(--gold);
    opacity: 0.15;
    filter: blur(120px);
    border-radius: 50%;
    z-index: 0;
}

.glow-spot.top-right {
    top: -150px;
    right: -100px;
}

.glow-spot.bottom-left {
    bottom: -150px;
    left: -100px;
    background: #2A9D8F;
}

/* Footer & CTA */
.pre-footer-cta {
    background: linear-gradient(135deg, var(--secondary), var(--primary)) !important;
    padding: 60px 5%;
    position: relative;
    overflow: hidden;
    color: white !important;
}

.footer-main {
    background: var(--primary);
    color: var(--text-light);
    padding: 80px 5% 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-heading {
    color: var(--gold);
    font-family: 'Oswald', sans-serif;
    font-size: 22px;
    margin-bottom: 25px;
}

.footer-links {
    list-style: none;
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: 0.3s;
}

.footer-links a:hover {
    color: var(--gold);
    padding-left: 5px;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: var(--gold);
    margin-right: 10px;
    transition: 0.3s;
    text-decoration: none;
}

.social-icons a:hover {
    background: var(--gold);
    color: var(--primary);
    transform: translateY(-3px);
}

/* ==========================================================================
   PREMIUM CUSTOM UTILITIES (GLASSSMORPHISM, MARQUEE, GRADIENTS)
   ========================================================================== */

/* Glassmorphism Card Effect */
.glass-panel {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    border-radius: 20px;
}

.glass-panel-light {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 1);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
    border-radius: 20px;
}

/* Continuous Marquee Animation */
@keyframes scrollMarquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-250px * 8));
    }

    /* adjust based on items */
}

.marquee-wrapper {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    width: 100%;
    padding: 30px 0;
    display: flex;
}

.marquee-wrapper::before,
.marquee-wrapper::after {
    position: absolute;
    top: 0;
    width: 250px;
    height: 100%;
    content: "";
    z-index: 2;
}

.marquee-wrapper::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-light) 0%, transparent 100%);
}

.marquee-wrapper::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-light) 0%, transparent 100%);
}


.marquee-track {
    display: flex;
    animation: scrollMarquee 35s linear infinite;
    width: calc(250px * 16);
    /* 8 items * 2 for seamless loop */
}

.marquee-track:hover {
    animation-play-state: paused;
}

.marquee-item {
    width: 250px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 28px;
    font-weight: 800;
    color: var(--secondary);
    opacity: 0.4;
    transition: 0.3s;
    text-transform: uppercase;
    font-family: 'Oswald', sans-serif;
}

.marquee-item:hover {
    opacity: 1;
    color: var(--gold);
    transform: scale(1.1);
}

/* Premium Gradient Border Cards */
.gradient-border-card {
    position: relative;
    background: #fff;
    border-radius: 15px;
    z-index: 1;
    transition: all 0.4s ease;
    height: 100%;
    border: none !important;
}

.gradient-border-card::before {
    content: "";
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.4), rgba(10, 17, 40, 0.1), rgba(212, 175, 55, 0.1));
    z-index: -1;
    border-radius: 17px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.gradient-border-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(10, 17, 40, 0.15);
}

.gradient-border-card:hover::before {
    opacity: 1;
}

/* Overlapping Image Layout (About Section) */
.overlap-img-container {
    position: relative;
    width: 100%;
    height: 500px;
}

.overlap-img-main {
    position: absolute;
    top: 0;
    right: 0;
    width: 80%;
    height: 80%;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.overlap-img-sub {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60%;
    height: 60%;
    object-fit: cover;
    border-radius: 20px;
    border: 10px solid white;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

/* Dynamic Number Counters */
.stat-box {
    background: linear-gradient(145deg, #ffffff, #f0f0f0);
    border-radius: 20px;
    padding: 40px 20px;
    box-shadow: 20px 20px 60px #d9d9d9, -20px -20px 60px #ffffff;
    transition: 0.3s;
    height: 100%;
}

.stat-box:hover {
    border-radius: 20px;
    background: linear-gradient(145deg, #f0f0f0, #ffffff);
    box-shadow: inset 20px 20px 60px #d9d9d9, inset -20px -20px 60px #ffffff;
}

/* Stylized Decorative Elements */
.section-marker {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 20px;
}

/* Top News Ticker */
.marquee-container {
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    position: relative;
    mask-image: linear-gradient(to right, transparent, black 15px, black calc(100% - 15px), transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 15px, black calc(100% - 15px), transparent);
}

.marquee-content {
    display: inline-block;
    padding-left: 100%;
    animation: scroll-marquee 25s linear infinite;
}

.marquee-content:hover {
    animation-play-state: paused;
}

@keyframes scroll-marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

.section-marker::before,
.section-marker::after {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    background: var(--gold);
}

/* ==========================================================================
   INNOVATIVE COURSE CARDS
   ========================================================================== */
.course-card {
    background: #ffffff;
    border: 1px solid rgba(13, 110, 253, 0.08);
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
    height: 100%;
}

.course-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
    border-color: var(--gold);
    background: linear-gradient(145deg, #ffffff 0%, #f7f9ff 100%);
}

[data-theme='dark'] .course-card:hover {
    background: linear-gradient(145deg, #1d2d50 0%, #24345c 100%);
}

.course-card .card-header-icon {
    width: 65px;
    height: 65px;
    background: rgba(10, 17, 40, 0.03);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--primary);
    transition: all 0.3s ease;
}

.course-card:hover .card-header-icon {
    background: var(--primary);
    color: var(--gold);
}

.course-badge {
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 5px 12px;
    border-radius: 50px;
    background: rgba(212, 175, 55, 0.1);
    color: #8c7324;
}

.course-feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.course-feature-list li {
    display: flex;
    align-items: start;
    gap: 10px;
    font-size: 0.9rem;
    color: #4a5568;
    margin-bottom: 8px;
}

.course-feature-list li i {
    color: var(--gold);
    margin-top: 4px;
    font-size: 0.8rem;
}

.btn-course-explore {
    width: 100%;
    padding: 12px;
    border-radius: 12px;
    background: var(--primary);
    color: white;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.8rem;
    border: none;
    transition: all 0.3s ease;
}

.btn-course-explore:hover {
    background: var(--gold);
    color: var(--primary);
    transform: scale(1.02);
}

    /* --- Innovative Horizontal Scroller --- */
    .courses-scroller {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        gap: 1.5rem;
        padding-bottom: 2rem;
        padding-top: 1rem;
        -webkit-overflow-scrolling: touch; /* smooth scrolling on iOS */
    }

    /* Hide scrollbar for a clean UI now that we have buttons */
    .courses-scroller {
        -ms-overflow-style: none; /* IE and Edge */
        scrollbar-width: none;  /* Firefox */
    }
    .courses-scroller::-webkit-scrollbar {
        display: none; /* Chrome, Safari and Opera */
    }

    /* Course Navigation Buttons */
    .course-nav-btn {
        position: absolute;
        top: 45%; /* Slightly offset for balance */
        transform: translateY(-50%);
        width: 50px;
        height: 50px;
        background: #fff;
        border: 1px solid rgba(27, 31, 94, 0.1);
        border-radius: 50%;
        color: var(--primary);
        font-size: 1.25rem;
        box-shadow: 0 10px 20px rgba(0,0,0,0.08);
        cursor: pointer;
        z-index: 10;
        transition: all 0.3s ease;
        display: flex;       /* Centers the icon via flexbox instead of depending on d-md-flex overriding */
        align-items: center;
        justify-content: center;
    }
    
    .course-nav-btn:hover {
        background: var(--primary);
        color: var(--gold);
        border-color: var(--primary);
        box-shadow: 0 15px 30px rgba(0,0,0,0.15);
        transform: translateY(-50%) scale(1.05); /* retain Y translation plus grow */
    }
    
    .nav-prev {
        left: 10px;
    }
    
    .nav-next {
        right: 10px;
    }

    .course-scroll-item {
        flex: 0 0 auto;
        width: 380px; /* Fixed width for premium horizontal cards */
        scroll-snap-align: center;
        transition: transform 0.3s ease;
    }

    /* Scale effect on hover for carousel */
    .course-scroll-item:hover {
        transform: translateY(-5px);
        z-index: 10;
    }

.course-tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.course-tag {
    font-size: 0.7rem;
    font-weight: 700;
    background: #f1f2f6;
    padding: 4px 8px;
    border-radius: 4px;
    color: #4b5563;
}

/* ==========================================================================
   MOBILE RESPONSIVENESS UTILITIES & MEDIA QUERIES
   ========================================================================== */
@media (max-width: 991px) {
    .navbar {
        padding: 15px 5%;
    }

    .hero {
        padding-top: 60px !important;
        padding-bottom: 60px !important;
        text-align: center;
        background: linear-gradient(135deg, #1B1F5E 0%, #15194d 100%) !important;
    }

    .hero-content {
        margin: 0 auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .overlap-img-container {
        height: 350px;
        margin-top: 30px;
    }

    .footer-grid,
    .footer-main .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    section {
        padding: 50px 5%;
    }

    .section-title {
        font-size: 32px;
    }

    /* Typography Utilities for Mobile */
    .responsive-hero-h1 {
        font-size: 30px !important;
        line-height: 1.3 !important;
        letter-spacing: -0.02em !important;
        margin-bottom: 1.2rem !important;
        font-weight: 800 !important;
        text-shadow: 0 4px 15px rgba(0,0,0,0.3) !important;
    }

    .responsive-hero-p {
        font-size: 15px !important;
        line-height: 1.7 !important;
        max-width: 100% !important;
        padding: 0 15px;
        opacity: 0.9 !important;
        color: rgba(255, 255, 255, 0.95) !important;
    }

    .hero .section-marker {
        font-size: 12px !important;
        letter-spacing: 0.2em !important;
        margin-bottom: 1rem !important;
    }

    .responsive-hero-stats {
        flex-direction: column !important;
        gap: 20px !important;
        text-align: center;
    }

    .responsive-hero-stats>div[style*="width:1px"] {
        width: 100% !important;
        height: 1px !important;
        margin: 10px 0;
    }

    .hero h1 {
        font-size: 42px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }

    .hero-actions a {
        display: flex;
        justify-content: center;
        text-align: center;
    }

    .footer-grid,
    .footer-main .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .footer-main {
        padding: 50px 5% 30px;
    }

    .footer-links li {
        justify-content: center;
    }

    .social-links {
        justify-content: center;
    }

    /* Adjust glass panels and absolute positioning */
    .glass-panel {
        padding: 25px !important;
        display: block !important;
        width: 100% !important;
        margin-top: 20px;
    }

    .overlap-img-main {
        width: 90%;
        height: 90%;
    }

    .overlap-img-sub {
        width: 50%;
        height: 50%;
        border-width: 5px;
    }

    /* Stats Box on mobile */
    .stat-box {
        padding: 25px 15px;
    }

    /* Floating buttons */
    .floating-widgets {
        bottom: 20px;
        right: 20px;
    }

    .whatsapp-btn {
        bottom: 20px;
        left: 20px;
    }

    /* Ensure padding for overlapping content */
    .pre-footer-cta {
        text-align: center;
        padding: 40px 5%;
    }

    .pre-footer-cta h2 {
        font-size: 32px !important;
    }

    .pre-footer-cta>div>div[style*="display:flex"] {
        flex-direction: column;
    }

    /* Admin/Teacher Profile alignment */
    .overlap-img-container .position-absolute {
        transform: scale(0.8);
    }

    .top-action-bar {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .top-action-bar>.container-fluid {
        flex-direction: column;
        gap: 10px;
    }

    .marquee-container {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .responsive-hero-h1 {
        font-size: 28px !important;
        letter-spacing: -0.01em !important;
    }

    .section-title {
        font-size: 28px;
    }

    .overlap-img-container {
        height: 250px;
    }

    .marquee-item {
    }

    .hero {
        padding-top: 60px !important;
        padding-bottom: 60px !important;
        text-align: center;
        background: linear-gradient(135deg, #1B1F5E 0%, #15194d 100%) !important;
    }

    .hero-content {
        margin: 0 auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .overlap-img-container {
        height: 350px;
        margin-top: 30px;
    }

    .footer-grid,
    .footer-main .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    section {
        padding: 50px 5%;
    }

    .section-title {
        font-size: 32px;
    }

    /* Typography Utilities for Mobile */
    .responsive-hero-h1 {
        font-size: 30px !important;
        line-height: 1.3 !important;
        letter-spacing: -0.02em !important;
        margin-bottom: 1.2rem !important;
        font-weight: 800 !important;
        text-shadow: 0 4px 15px rgba(0,0,0,0.3) !important;
    }

    .responsive-hero-p {
        font-size: 15px !important;
        line-height: 1.7 !important;
        max-width: 100% !important;
        padding: 0 15px;
        opacity: 0.9 !important;
        color: rgba(255, 255, 255, 0.95) !important;
    }

    .hero .section-marker {
        font-size: 12px !important;
        letter-spacing: 0.2em !important;
        margin-bottom: 1rem !important;
    }

    .responsive-hero-stats {
        flex-direction: column !important;
        gap: 20px !important;
        text-align: center;
    }

    .responsive-hero-stats>div[style*="width:1px"] {
        width: 100% !important;
        height: 1px !important;
        margin: 10px 0;
    }

    .hero h1 {
        font-size: 42px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }

    .hero-actions a {
        display: flex;
        justify-content: center;
        text-align: center;
    }

    .footer-grid,
    .footer-main .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .footer-main {
        padding: 50px 5% 30px;
    }

    .footer-links li {
        justify-content: center;
    }

    .social-links {
        justify-content: center;
    }

    /* Adjust glass panels and absolute positioning */
    .glass-panel {
        padding: 25px !important;
        display: block !important;
        width: 100% !important;
        margin-top: 20px;
    }

    .overlap-img-main {
        width: 90%;
        height: 90%;
    }

    .overlap-img-sub {
        width: 50%;
        height: 50%;
        border-width: 5px;
    }

    /* Stats Box on mobile */
    .stat-box {
        padding: 25px 15px;
    }

    /* Floating buttons */
    .floating-widgets {
        bottom: 20px;
        right: 20px;
    }

    .whatsapp-btn {
        bottom: 20px;
        left: 20px;
    }

    /* Ensure padding for overlapping content */
    .pre-footer-cta {
        text-align: center;
        padding: 40px 5%;
    }

    .pre-footer-cta h2 {
        font-size: 32px !important;
    }

    .pre-footer-cta>div>div[style*="display:flex"] {
        flex-direction: column;
    }

    /* Admin/Teacher Profile alignment */
    .overlap-img-container .position-absolute {
        transform: scale(0.8);
    }

    .top-action-bar {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .top-action-bar>.container-fluid {
        flex-direction: column;
        gap: 10px;
    }

    .marquee-container {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .responsive-hero-h1 {
        font-size: 28px !important;
        letter-spacing: -0.01em !important;
    }

    .section-title {
        font-size: 28px;
    }

    .overlap-img-container {
        height: 250px;
    }

    .marquee-item {
        width: 180px;
        font-size: 20px;
    }
}@media (max-width: 768px) { .course-scroll-item { width: 85vw; scroll-snap-align: center; } }

/* Shop Mega Menu Styles - Modernized Premium Layout */
.shop-mega-menu {
    position: static !important;
}

@media (min-width: 992px) {
    .shop-mega-menu:hover .mega-menu-container {
        display: block !important;
        opacity: 1;
        transform: translateX(-50%) translateY(0);
        visibility: visible;
    }
}

.shop-mega-menu .mega-menu-container {
    width: 95vw;
    max-width: 1140px;
    left: 50% !important;
    transform: translateX(-50%) translateY(15px);
    border-radius: 16px;
    border: 1px solid rgba(212, 175, 55, 0.25);
    margin-top: 5px;
    background: #0a1128 !important; /* Force deep dark for premium contrast */
    backdrop-filter: blur(25px);
    box-shadow: 0 25px 70px rgba(0,0,0,0.5);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: none;
    z-index: 1050;
}

[data-theme='dark'] .shop-mega-menu .mega-menu-container {
    background: #050a18 !important;
    border-color: rgba(212, 175, 55, 0.4);
}

.mega-menu-content {
    position: relative;
    z-index: 2;
}

.mega-submenu {
    margin-bottom: 20px;
}

.mega-submenu .dropdown-item {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.75) !important;
    padding: 6px 0 !important;
    background: transparent !important;
    transition: all 0.2s ease;
    white-space: normal;
    display: flex;
    align-items: center;
}

.mega-submenu .dropdown-item:hover {
    color: var(--gold) !important;
    transform: translateX(8px);
}

.shop-mega-menu .dropdown-header {
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    color: var(--gold) !important;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}

.shop-cta {
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.shop-cta:hover {
    background: rgba(212, 175, 55, 0.12) !important;
    transform: translateY(-5px);
    border-style: solid !important;
}

@media (max-width: 991.98px) {
    .shop-mega-menu .mega-menu-container {
        width: 100%;
        position: relative !important;
        left: 0 !important;
        transform: none !important;
        background: rgba(255,255,255,0.05) !important;
        border: none;
        box-shadow: none !important;
        padding: 10px !important;
        display: block !important;
    }
    
    .shop-mega-menu .dropdown-header {
        margin-top: 15px;
        background: transparent !important;
    }
    
    .mega-submenu .dropdown-item {
        color: var(--text-dark) !important;
        padding-left: 15px !important;
    }
    
    [data-theme='dark'] .mega-submenu .dropdown-item {
        color: rgba(255,255,255,0.8) !important;
    }
}


/* ===================================================
   GLOBAL: No Italics Policy
   Overrides Bootstrap, third-party, and inline italics.
=================================================== */
*, *::before, *::after,
em, i.text-italic, .fst-italic {
    font-style: normal !important;
}

/* ==========================================================================
   NEW FOOTER DESIGN (QUINTEDGE STYLE) - High Specificity Fixes
   ========================================================================== */
body .footer-main {
    padding: 0 !important;
    background: #fff !important;
    color: #444 !important;
    font-family: 'Lexend', sans-serif !important;
    border-top: 1px solid #f0f0f0 !important;
}

/* Row 1: Maps (Border-to-Border) */
body .footer-maps-row {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 0 !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

body .footer-maps-row iframe {
    width: 100% !important;
    height: 450px !important;
    border: none !important;
    display: block !important;
}

/* Row 5: Dark Action Bar (Fixed at Bottom) */
body .footer-action-bar {
    background: #000 !important;
    color: #fff !important;
    padding: 12px 0 !important;
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 9999 !important;
    box-shadow: 0 -5px 25px rgba(0,0,0,0.3) !important;
    border-top: 1px solid rgba(255,255,255,0.1) !important;
}

body .footer-action-bar .container {
    display: flex !important;
    justify-content: space-around !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    gap: 15px !important;
}

body .footer-action-link {
    color: #fff !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    font-size: 13.5px !important;
    white-space: nowrap !important;
    transition: all 0.3s ease !important;
}

body .footer-action-link i {
    font-size: 16px !important;
    color: #00d285 !important;
}

body .footer-action-link:hover {
    color: #00d285 !important;
    transform: translateY(-2px) !important;
}

/* Ensure content doesn't get hidden under fixed bar */
body {
    padding-bottom: 60px !important;
}
@media (max-width: 768px) {
    body { padding-bottom: 80px !important; }
    body .footer-action-link span { font-size: 12px !important; }
}

/* Row 3: Main Footer Body */
body .footer-body-row {
    padding: 80px 0 !important;
    background: #fff !important;
}

body .footer-logo-col img {
    max-width: 160px !important;
    height: auto !important;
    margin-bottom: 25px !important;
    display: block !important;
}

body .footer-social-links {
    display: flex !important;
    gap: 15px !important;
    margin-bottom: 25px !important;
}

body .footer-social-links a {
    color: #333 !important;
    font-size: 20px !important;
    text-decoration: none !important;
}

body .footer-col-heading {
    color: #000 !important;
    font-weight: 700 !important;
    font-size: 18px !important;
    margin-bottom: 30px !important;
    text-transform: none !important;
}

body .footer-nav-links {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

body .footer-nav-links li {
    margin-bottom: 12px !important;
}

body .footer-nav-links a {
    color: #555 !important;
    text-decoration: none !important;
    font-size: 15px !important;
    transition: color 0.3s ease !important;
}

body .footer-nav-links a:hover {
    color: #00d285 !important;
}

body .footer-contact-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

body .footer-contact-list li {
    display: flex !important;
    gap: 15px !important;
    margin-bottom: 20px !important;
    font-size: 14px !important;
    color: #555 !important;
    align-items: flex-start !important;
}

body .footer-contact-list i {
    color: #00d285 !important;
    font-size: 18px !important;
    margin-top: 3px !important;
    flex-shrink: 0 !important;
}

body .footer-app-btns {
    display: flex !important;
    gap: 15px !important;
    margin-top: 35px !important;
}

body .footer-app-btns img {
    height: 40px !important;
    width: auto !important;
}

/* Row 4: Legal Bar */
body .footer-legal-bar {
    background: #f8f9fa !important;
    padding: 20px 0 !important;
    border-top: 1px solid #eee !important;
    color: #666 !important;
}

body .footer-legal-bar .container {
    display: flex !important;
    justify-content: center !important;
    gap: 40px !important;
}

body .footer-legal-bar a {
    color: #666 !important;
    text-decoration: none !important;
    font-size: 13px !important;
}

/* ==========================================================================
   NEW COURSES SECTION DESIGN - High Specificity Fixes
   ========================================================================== */
body .courses-new-section {
    padding: 100px 0 !important;
    background: #fff !important;
    font-family: 'Lexend', sans-serif !important;
}

body .courses-subtitle {
    color: #00d285 !important;
    font-weight: 700 !important;
    display: block !important;
    text-align: center !important;
    margin-bottom: 8px !important;
}

body .courses-main-title {
    font-size: 42px !important;
    font-weight: 800 !important;
    color: #000 !important;
    text-align: center !important;
    margin-bottom: 60px !important;
}

body .course-new-card {
    background: #fff !important;
    border: 1px solid #f0f0f0 !important;
    border-radius: 12px !important;
    padding: 50px !important;
    height: 100% !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 10px 40px rgba(0,0,0,0.03) !important;
    display: flex !important;
    flex-direction: column !important;
}

body .course-new-card:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 20px 50px rgba(0,0,0,0.06) !important;
    border-color: #00d285 !important;
}

body .course-card-header {
    display: flex !important;
    align-items: center !important;
    gap: 20px !important;
    margin-bottom: 25px !important;
}

body .course-card-title {
    font-size: 26px !important;
    font-weight: 700 !important;
    color: #000 !important;
}

body .course-card-desc {
    color: #666 !important;
    font-size: 15px !important;
    line-height: 1.7 !important;
    margin-bottom: 30px !important;
}

body .course-card-features {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    flex-grow: 1 !important;
}

body .course-card-features li {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    margin-bottom: 12px !important;
    font-weight: 600 !important;
    color: #333 !important;
}

body .feature-dash {
    width: 20px !important;
    height: 4px !important;
    background: #00d285 !important;
    border-radius: 2px !important;
    flex-shrink: 0 !important;
}

body .course-card-footer {
    border-top: 1px solid #f5f5f5 !important;
    padding-top: 30px !important;
    margin-top: 30px !important;
}

body .course-learn-more {
    color: #555 !important;
    text-decoration: none !important;
    font-weight: 700 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
}

body .course-learn-more:hover {
    color: #00d285 !important;
}

@media (max-width: 768px) {
    body .footer-maps-row { grid-template-columns: 1fr !important; }
    body .course-new-card { padding: 25px !important; }
    body .courses-main-title { font-size: 28px !important; margin-bottom: 40px !important; }
    
    body .course-card-header {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 15px !important;
        margin-bottom: 20px !important;
    }
    
    body .course-card-title { 
        font-size: 19px !important; 
        line-height: 1.3 !important;
        overflow-wrap: break-word !important;
        word-break: break-word !important;
    }

    body .batch-title {
        font-size: 1rem !important;
        line-height: 1.4 !important;
        overflow-wrap: break-word !important;
        word-break: break-word !important;
    }

    body .batch-item-symmetric {
        padding: 20px 15px !important;
    }
}
