/* Google Fonts loaded non-render-blocking in HTML <head> */

:root {
    --nav-height: 80px;
    --glass-bg: rgba(15, 15, 15, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);
    --accent-color: #ff6b00;
    /* Orange accent */
    --text-main: #ffffff;
    --text-dim: rgba(255, 255, 255, 0.7);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

html, body {
    max-width: 100%;
    overflow-x: hidden;
}

#navbar {
    position: absolute;
    top: 35px;
    left: 0;
    width: 100%;
    z-index: 1000;
    font-family: 'Outfit', sans-serif;
    transition: var(--transition);
}

.nav-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    height: var(--nav-height);
    display: flex;
    align-items: center;
    padding: 0 10px;
    /* border: 1px solid rgba(255, 255, 255, 0.25); */
    background: linear-gradient(135deg, #00000087 0%, rgba(255, 255, 255, 0.02) 100%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 40%), rgba(20, 20, 20, 0.35);
    position: relative;
    z-index: 1002;
}

.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

/* Logo */
.nav-left {
    flex: 1;
    display: flex;
    align-items: center;
}

.brand-logo {
    height: 50px;
    width: auto;
    transition: var(--transition);
}

@media (max-width: 991px) {
    .brand-logo {
        height: 60px;
    }
}

@media (max-width: 576px) {
    .brand-logo {
        height: 40px;
    }

    #navbar {
        top: 38px;
        padding: 0 10px;
    }

    .nav-wrapper {
        border-radius: 15px;
    }
}

.logo-link:hover .brand-logo {
    transform: scale(1.05);
}

/* Nav Links */
.nav-center {
    flex: 0 0 auto;
    display: flex;
    justify-content: center;
}

.nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 2.5rem;
}

.menu-link {
    text-decoration: none;
    color: var(--text-dim);
    font-size: 0.95rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    position: relative;
    padding: 5px 0;
}

.menu-link:hover,
.menu-link.active {
    color: var(--text-main);
}

.menu-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: var(--transition);
}

.menu-link:hover::after,
.menu-link.active::after {
    width: 100%;
}

/* ══════════════════════════════════════════════════════
   MEGA MENU DROPDOWN
   ══════════════════════════════════════════════════════ */
.has-dropdown { position: relative; }

.nav-dropdown {
    position: absolute;
    top: calc(100% + 14px);
    left: 50%;
    transform: translateX(-50%) translateY(12px);
    width: 680px;
    background: rgba(10, 10, 14, 0.97);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.28s ease, transform 0.28s ease, visibility 0.28s;
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(255,255,255,0.04);
    z-index: 1100;
    overflow: hidden;
}

.has-dropdown:hover .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* ── Inner layout ── */
.mega-inner {
    display: grid;
    grid-template-columns: 200px 1fr;
    min-height: 280px;
}

/* ── Left panel ── */
.mega-left {
    padding: 28px 24px;
    background: rgba(255, 107, 0, 0.05);
    border-right: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mega-eyebrow {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent-color);
    opacity: 0.8;
}

.mega-heading {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.25;
    margin: 0;
}

.mega-sub {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.55;
    margin: 0;
    flex: 1;
}

.mega-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--accent-color);
    text-decoration: none;
    padding: 8px 14px;
    border-radius: 10px;
    border: 1px solid rgba(255, 107, 0, 0.3);
    background: rgba(255, 107, 0, 0.08);
    transition: all 0.2s ease;
    width: fit-content;
    margin-top: auto;
}

.mega-cta:hover {
    background: rgba(255, 107, 0, 0.18);
    border-color: rgba(255, 107, 0, 0.55);
    color: #ff8c33;
}

.mega-cta i { transition: transform 0.2s ease; }
.mega-cta:hover i { transform: translateX(3px); }

/* ── Course cards grid ── */
.mega-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
    padding: 10px;
    align-content: start;
}

.mega-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 12px;
    text-decoration: none;
    transition: background 0.2s ease;
    cursor: pointer;
}

.mega-card:hover { background: rgba(255, 255, 255, 0.05); }

.mega-card:hover .mega-card-arrow {
    opacity: 1;
    transform: translateX(0);
}

.mega-card-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.mci-purple { background: rgba(139,92,246,0.15); color: #a78bfa; border: 1px solid rgba(139,92,246,0.25); }
.mci-blue   { background: rgba(59,130,246,0.15);  color: #60a5fa; border: 1px solid rgba(59,130,246,0.25); }
.mci-green  { background: rgba(52,211,153,0.15);  color: #34d399; border: 1px solid rgba(52,211,153,0.25); }
.mci-yellow { background: rgba(251,191,36,0.15);  color: #fbbf24; border: 1px solid rgba(251,191,36,0.25); }
.mci-cyan   { background: rgba(6,182,212,0.15);   color: #22d3ee; border: 1px solid rgba(6,182,212,0.25); }
.mci-orange { background: rgba(255,107,0,0.15);   color: #ff8c33; border: 1px solid rgba(255,107,0,0.3); }

.mega-card-body {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
    min-width: 0;
}

.mega-card-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.88);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mega-card-tag {
    font-size: 0.68rem;
    color: rgba(255, 255, 255, 0.65);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mega-card-arrow {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.65);
    flex-shrink: 0;
    opacity: 0;
    transform: translateX(-4px);
    transition: opacity 0.2s, transform 0.2s;
}

/* ── Compact dropdown (single column, no side panel) ── */
.nav-dropdown.mini-menu { width: 320px; }

.mini-menu .mega-grid {
    grid-template-columns: 1fr;
    gap: 4px;
}

.mini-menu .mega-card-name { white-space: normal; }

/* Trigger with no destination of its own */
.menu-link.menu-trigger { cursor: default; }

/* Right CTA */
.nav-right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 1rem;
}

.cta-button {
    text-decoration: none;
    background: var(--accent-color);
    color: #ffffff;
    padding: 10px 24px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    border: 1px solid transparent;
    white-space: nowrap;
}

@media (max-width: 991px) {
    .cta-button {
        padding: 8px 18px;
        font-size: 0.8rem;
    }
}

@media (max-width: 576px) {
    .cta-button {
        display: none;
    }

    .cta-button span {
        display: none;
    }

    .cta-button i {
        margin: 0;
        font-size: 1.1rem;
    }

    .nav-wrapper {
        height: 8vh;
    }
}

.cta-button:hover {
    background: transparent;
    border-color: var(--accent-color);
    color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 107, 0, 0.2);
}

.cta-button i {
    font-size: 1rem;
    transition: var(--transition);
}

.cta-button:hover i {
    transform: translateX(4px);
}

/* ══════════════════════════════════════════════════════
   MOBILE TOGGLE
   ══════════════════════════════════════════════════════ */
.mobile-toggle {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 5px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 1001;
    position: relative;
    transition: var(--transition);
}

.bar {
    display: block;
    width: 22px;
    height: 2px;
    background-color: #ffffff;
    border-radius: 4px;
    transition: var(--transition);
}

.mobile-toggle.active .bar {
    background-color: var(--accent-color);
}

.mobile-toggle.active .bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.mobile-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active .bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* ══════════════════════════════════════════════════════
   MOBILE DRAWER
   ══════════════════════════════════════════════════════ */

/* Backdrop */
.mobile-drawer-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 1098;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s;
}

.mobile-drawer-backdrop.active {
    opacity: 1;
    visibility: visible;
}

/* Drawer panel */
.mobile-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: min(88vw, 360px);
    height: 100dvh;
    background: #0d0d0d;
    border-left: 1px solid rgba(255, 255, 255, 0.07);
    z-index: 1099;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.mobile-drawer.active {
    transform: translateX(0);
}

.mobile-drawer-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
}

/* ── Drawer header ── */
.mobile-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    flex-shrink: 0;
}

.drawer-close-btn {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.drawer-close-btn:hover {
    background: rgba(255, 107, 0, 0.15);
    border-color: rgba(255, 107, 0, 0.4);
    color: var(--accent-color);
}

/* ── Nav items ── */
.mobile-nav { flex: 1; padding: 12px 16px; }

.mobile-nav-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mobile-nav-menu li { width: 100%; }

.mobile-link {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.82);
    text-decoration: none;
    padding: 13px 16px;
    border-radius: 12px;
    border: 1px solid transparent;
    width: 100%;
    transition: all 0.2s ease;
}

.mobile-link i {
    font-size: 1.15rem;
    color: var(--accent-color);
    width: 22px;
    text-align: center;
    flex-shrink: 0;
}

.mobile-link:hover {
    background: rgba(255, 107, 0, 0.08);
    border-color: rgba(255, 107, 0, 0.18);
    color: #fff;
}

/* Courses row */
.mobile-link-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
}

.mobile-link-wrapper .mobile-link { flex: 1; }

.mobile-has-dropdown .mobile-link { margin-bottom: 0; }

.mobile-dropdown-toggle {
    background: rgba(255, 107, 0, 0.08);
    border: 1px solid rgba(255, 107, 0, 0.2);
    color: var(--accent-color);
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.mobile-dropdown-toggle i { transition: transform 0.3s ease; }

.mobile-has-dropdown.active .mobile-dropdown-toggle {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: #fff;
}

.mobile-has-dropdown.active .mobile-dropdown-toggle i {
    transform: rotate(180deg);
}

/* ── Dropdown courses ── */
.mobile-dropdown-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-has-dropdown.active .mobile-dropdown-content {
    max-height: 600px;
}

.mobile-dropdown-list {
    list-style: none;
    padding: 6px 0 8px 10px;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.mobile-sub-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 10px;
    text-decoration: none;
    transition: background 0.2s ease;
}

.mobile-sub-link:hover { background: rgba(255, 255, 255, 0.05); }

.msub-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.82rem;
    flex-shrink: 0;
}

.msub-purple { background: rgba(139,92,246,0.15);  color: #a78bfa; }
.msub-blue   { background: rgba(59,130,246,0.15);  color: #60a5fa; }
.msub-green  { background: rgba(52,211,153,0.15);  color: #34d399; }
.msub-yellow { background: rgba(251,191,36,0.15);  color: #fbbf24; }
.msub-cyan   { background: rgba(6,182,212,0.15);   color: #22d3ee; }
.msub-orange { background: rgba(255,107,0,0.15);   color: #ff8c33; }
.msub-dim    { background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.65); }

.msub-text {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.msub-name {
    font-size: 0.88rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.82);
}

.msub-tag {
    font-size: 0.68rem;
    color: rgba(255, 255, 255, 0.65);
}

/* ── Drawer footer ── */
.mobile-drawer-footer {
    padding: 16px 20px 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mobile-cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 20px;
    background: var(--accent-color);
    color: #fff;
    text-decoration: none;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 700;
    transition: all 0.2s ease;
}

.mobile-cta-btn:hover {
    background: #e05e00;
    color: #fff;
    transform: translateY(-1px);
}

.mobile-cta-btn i { transition: transform 0.2s; }
.mobile-cta-btn:hover i { transform: translateX(3px); }

.mobile-socials {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.mobile-social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.2s ease;
}

.mobile-social-icon:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: #fff;
    transform: translateY(-3px);
}

.border-white-10 { border-color: rgba(255, 255, 255, 0.1) !important; }

/* ============================
   Footer Styles
   ============================ */

.footer-section {
    background:
        radial-gradient(ellipse 50% 50% at 0% 50%, rgba(255, 107, 0, 0.15) 0%, transparent 100%),
        radial-gradient(ellipse 40% 50% at 100% 50%, rgba(108, 92, 231, 0.1) 0%, transparent 100%),
        #1a1a1a;
    color: var(--text-dim);
    padding: 80px 0 30px;
    font-family: 'Outfit', sans-serif;
    position: relative;
    overflow: hidden;
}

/* Background Gradients - replaced by section background property */
.footer-section::before,
.footer-section::after {
    display: none;
}

.footer-top {
    position: relative;
    z-index: 1;
    margin-bottom: 50px;
}



.footer-logo {
    display: inline-block;
    width: 180px;
    margin-bottom: 1.5rem;
}

.logo-text .highlight {
    color: var(--accent-color);
}

.footer-desc {
    color: var(--text-dim);
    margin-bottom: 2rem;
    line-height: 1.6;
    max-width: 320px;
}

/* Social Icons */
.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-main);
    text-decoration: none;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 107, 0, 0.3);
    color: white;
}

/* Footer Titles */
.footer-title {
    color: var(--text-main);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--accent-color);
    border-radius: 2px;
}

/* Links List */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-links a {
    color: var(--text-dim);
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
    font-size: 0.92rem;
    line-height: 1.5;
}

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

/* Contact Info */
.contact-info {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 18px;
    color: var(--text-dim);
    font-size: 0.92rem;
    line-height: 1.5;
}

.contact-info i {
    color: var(--accent-color);
    font-size: 1.1rem;
    margin-top: 3px;
}

.contact-info a {
    color: var(--text-dim);
    text-decoration: none;
    transition: var(--transition);
}

.contact-info a:hover {
    color: var(--accent-color);
}

/* Map */
.footer-map {
    border-radius: 16px;
    overflow: hidden;
    height: 200px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    position: relative;
}

.footer-map iframe {
    width: 100%;
    height: 100%;
    filter: invert(90%) hue-rotate(180deg) brightness(90%);
    transition: var(--transition);
}

.footer-map:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border-color: var(--accent-color);
}

.footer-map:hover iframe {
    filter: none;
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 25px;
    position: relative;
    z-index: 1;
}

.copyright {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.9rem;
    margin: 0;
}

.copyright a {
    color: var(--accent-color);
    text-decoration: underline;
    transition: var(--transition);
}


.footer-legal a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    margin-left: 20px;
    font-size: 0.9rem;
    transition: var(--transition);
}

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

@media (max-width: 992px) {
    .footer-brand {
        margin-bottom: 2rem;
    }
       .contact-info {
        flex-direction: column;
        justify-content: space-between;
    }
}

@media (max-width: 768px) {
    .footer-section {
        padding: 50px 0 30px;
    }

    .footer-brand {
        text-align: center;
        margin-bottom: 2rem;
    }

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

    /* Ensure specific sections are left aligned */
    .footer-links,
    .contact-info,
    .footer-title {
        text-align: left;
    }

    .footer-title::after {
        left: 0;
        transform: none;
    }

    .footer-map {
        margin-top: 20px;
    }

    .footer-legal {
        margin-top: 15px;
    }

    .footer-legal a {
        margin: 0 10px;
    }

    .contact-info li {
        justify-content: flex-start;
    }

    .contact-info span,
    .contact-info a {
        font-size: 0.87rem;
        word-break: break-word;
        /* Handle long addresses */
    }

 

}

@media (max-width: 562px) {
    .contact-info i {
        font-size: 0.8rem;
    }
}

/* Footer Column Spacing Fix on Mobile */
@media (max-width: 767px) {

    /* Allow footer columns to stay side-by-side on mobile if they have col-6 */
    .footer-top .col-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .footer-top .col-lg-2,
    .footer-top .col-lg-3 {
        margin-bottom: 30px;
    }

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

    .footer-title {
        margin-bottom: 1.2rem;
    }
}

/* ── Sticky Announcement Bar (shared across all pages) ── */
@keyframes ann-ray {
    0%   { transform: translateX(-120%) skewX(-20deg); }
    100% { transform: translateX(220%) skewX(-20deg); }
}

#announcement-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: linear-gradient(90deg, #0a0a0a 0%, #1f0900 30%, #ff5500 55%, #1f0900 80%, #0a0a0a 100%);
    color: #fff;
    text-align: center;
    padding: 6px 40px;
    font-size: 0.82rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    letter-spacing: 0.4px;
    /* border-bottom: 1px solid rgba(255, 106, 0, 0.4); */
    overflow: hidden;
   
}
/* light ray sweep */
#announcement-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 40%;
    height: 100%;
    background: linear-gradient(
        105deg,
        transparent 20%,
        rgba(255, 200, 120, 0.55) 50%,
        transparent 80%
    );
    animation: ann-ray 2.4s cubic-bezier(0.4, 0, 0.6, 1) infinite;
    pointer-events: none;
}
#announcement-bar span,
#announcement-bar a {
    position: relative;
    z-index: 1;
    color: #fff;
}
#announcement-bar a {
    text-decoration: underline;
    text-underline-offset: 3px;
    white-space: nowrap;
    font-weight: 800;
    font-size: 1.02rem;
}
#announcement-bar a:hover {
    transform: translateY(-2px);
    transform:scale(1.07);
    text-decoration: none;
}
@media (max-width: 600px) {
    #announcement-bar {
        font-size: 0.7rem;
        padding: 5px 12px;
        gap: 6px;
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
    }
    #announcement-bar span { white-space: normal; }
}

/* ========================================
   FLOATING BUTTONS (shared across all pages)
   ======================================== */
.floating-btns {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 15px;
    z-index: 9999;
}

.floating-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #fffffff1;
    text-decoration: none;
    border: none;
    cursor: pointer;
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 0;
    visibility: hidden;
    transform: translateX(100px) rotate(90deg);
}

.floating-btn.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0) rotate(0deg);
}

@keyframes whatsapp-blink {
    0%, 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    50% { box-shadow: 0 0 0 14px rgba(37, 211, 102, 0); }
}

.whatsapp-btn {
    background: #25D366;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    animation: whatsapp-blink 2s infinite;
}

.top-btn {
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.096);
}

.top-btn i {
    color: #ff6b00;
    transition: color 0.3s ease;
}

.floating-btn:hover {
    transform: translateY(-8px) scale(1.1);
}

.whatsapp-btn:hover {
    background: #20b858;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.5);
    animation: none;
}

.top-btn:hover {
    background: #00000033;
}

.top-btn:hover i {
    color: #fff;
}

/* Proactive WhatsApp chat bubble (stacks above the whatsapp-btn via the
   existing .floating-btns flex column, so it inherits its positioning,
   sticky-bar offset and mobile breakpoint for free). */
.chat-bubble {
    position: relative;
    max-width: 230px;
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 12px 26px 12px 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: none;
}

.chat-bubble.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.chat-bubble::after {
    content: '';
    position: absolute;
    bottom: -8px;
    right: 20px;
    width: 14px;
    height: 14px;
    background: #1a1a1a;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transform: rotate(45deg);
}

.chat-bubble-close {
    position: absolute;
    top: 4px;
    right: 6px;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    padding: 4px;
}

.chat-bubble-close:hover {
    color: #fff;
}

.chat-bubble-link {
    display: block;
    text-decoration: none;
}

.chat-bubble-header {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #25D366;
    font-weight: 600;
    font-size: 13px;
    margin-bottom: 6px;
}

.chat-bubble-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #25D366;
    margin-left: auto;
    box-shadow: 0 0 0 2px rgba(37, 211, 102, 0.25);
}

.chat-bubble-text {
    display: block;
    color: rgba(255, 255, 255, 0.75);
    font-size: 13px;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .chat-bubble {
        max-width: 190px;
        padding: 10px 24px 10px 12px;
    }
}

@media (max-width: 768px) {
    .floating-btns {
        bottom: 20px;
        right: 20px;
        gap: 12px;
    }

    .floating-btn {
        width: 50px;
        height: 50px;
        font-size: 22px;
    }
}

/* Lift the floating buttons clear of the bottom sticky batch bar (index/courses
   pages) so its CTA text and link aren't hidden underneath them. */
body.sticky-bar-active .floating-btns {
    bottom: 96px;
}

@media (max-width: 768px) {
    body.sticky-bar-active .floating-btns {
        bottom: 78px;
    }
}