.carousel-indicators {
        bottom: -60px;
        justify-content: center;
    }
    .carousel-indicators [data-bs-target] {
        background-color: #333;
        width: 10px;
        height: 10px;
        border-radius: 50%;
    }
    .carousel-indicators .active {
        background-color: #007bff;
    }

    /* ===== MEGA MENU - FULL WIDTH ON CLICK ===== */
    .tgmenu__nav .navigation > li {
        position: static;
    }

    /* Dark backdrop behind mega menu */
    .mega-menu-backdrop {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.45);
        z-index: 99990;
    }
    .mega-menu-backdrop.open { display: block; }

    .mega-menu-wrapper {
        display: none;
        position: fixed;
        left: -39px !important;
        width: 100vw !important;
        background: #ffffff !important;
        background-color: #ffffff !important;
        border-top: 3px solid #007bff;
        box-shadow: 0 12px 40px rgba(0,0,0,0.35);
        z-index: 99999 !important;
        padding: 0;
        list-style: none;
        margin: 0;
        max-height: 80vh;
        overflow-y: auto;
        isolation: isolate;
    }

    /* display controlled by JS inline style only - no CSS class toggling */

    .mega-menu-inner {
        display: flex;
        width: 100%;
        max-width: 1320px;
        margin: 0 auto;
        padding: 0;
        flex-wrap: nowrap;
        align-items: flex-start;
    }

    .mega-col {
        flex: 1;
        min-width: 200px;
        padding: 12px 0;
        border-right: 1px solid #f0f0f0;
    }

    .mega-col:last-child { border-right: none; }

    .mega-col-heading {
        display: block;
        font-weight: 700;
        font-size: 11px;
        text-transform: uppercase;
        letter-spacing: 0.6px;
        color: #111;
        background: #e0e0e0;
        padding: 8px 14px;
        margin: 0 0 2px 0;
    }

    .mega-col-heading.sub {
        background: #e0e0e0;
        color: #111;
        font-size: 10px;
        font-weight: 700;
        margin-top: 6px;
        padding: 8px 14px;
    }

    .mega-col ul {
        list-style: none;
        margin: 0;
        padding: 4px 0;
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    /* Mobile: single column list */
    @media (max-width: 991px) {
        .mega-col ul {
            grid-template-columns: 1fr !important;
        }
        .mega-col ul li a.view-all {
            grid-column: span 1 !important;
        }
    }

    .mega-col ul li {
        display: block;
    }

    .mega-col ul li a {
        display: block;
        padding: 5px 14px;
        font-size: 13px;
        color: #333;
        text-decoration: none;
        transition: background 0.15s, color 0.15s;
        line-height: 1.5;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .mega-col ul li a:hover {
        background: #f0f7ff;
        color: #007bff;
    }

    .mega-col ul li a.view-all {
        color: #007bff;
        font-weight: 600;
        border-top: 1px solid #eee;
        margin-top: 4px;
        padding-top: 8px;
        grid-column: span 2;
    }

    /* ===== MASTER COURSES DROPDOWN - BELOW NAV ===== */
    .tgmenu__nav .navigation > li.menu-item-has-children {
        position: relative;
    }

    .tgmenu__nav .navigation > li.menu-item-has-children .sub-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        min-width: 220px;
        background: #fff;
        border-top: 3px solid #007bff;
        box-shadow: 0 8px 30px rgba(0,0,0,0.15);
        z-index: 9999;
        padding: 10px 0;
        list-style: none;
        margin: 0;
    }

    .tgmenu__nav .navigation > li.menu-item-has-children .sub-menu li a {
        display: block;
        padding: 8px 18px;
        font-size: 14px;
        color: #333;
        text-decoration: none;
        white-space: nowrap;
        transition: background 0.15s, color 0.15s;
    }

    .tgmenu__nav .navigation > li.menu-item-has-children .sub-menu li a:hover {
        background: #f0f7ff;
        color: #007bff;
    }

    .tgmenu__nav .navigation > li.menu-item-has-children:hover .sub-menu:not(.mega-menu-wrapper) {
        display: block;
    }
    /* Courses mega-menu: display controlled ONLY by JS inline style */
    /* No hover or class-based display rules - prevents auto-open and blink */
    .tgmenu__nav .navigation > li.courses-mega-item > .mega-menu-wrapper {
        /* JS sets display:block/none via inline style */
    }

    /* ===== MOBILE RESPONSIVE MEGA MENU ===== */
    @media (max-width: 991px) {
        .mega-menu-wrapper {
            position: fixed !important;
            top: 0 !important;
            left: 0;
            width: 100vw;
            height: 100vh;
            max-height: 100vh;
            overflow-y: auto;
            z-index: 99999;
            padding: 60px 0 20px;
        }

        .mega-menu-wrapper .mega-close-btn {
            display: flex !important;
        }

        .mega-menu-inner {
            flex-direction: column;
        }

        .mega-col {
            min-width: 100%;
            border-right: none;
            border-bottom: 1px solid #f0f0f0;
            padding: 10px 0;
        }

        .mega-col ul li a {
            white-space: normal;
            padding: 7px 16px;
            font-size: 14px;
        }
    }

    /* Close button for mobile mega menu */
    .mega-close-btn {
        display: none;
        position: absolute;
        top: 15px;
        right: 15px;
        background: #007bff;
        color: #fff;
        border: none;
        border-radius: 50%;
        width: 36px;
        height: 36px;
        font-size: 18px;
        cursor: pointer;
        align-items: center;
        justify-content: center;
        z-index: 10;
        line-height: 1;
    }

    /* Hide categories button completely */
    .tgmenu__categories { display: none !important; }
    /* Courses nav link: no hover color change to prevent blink */
    .tgmenu__navbar-wrap ul li.courses-mega-item > a,
    .tgmenu__navbar-wrap ul li.courses-mega-item > a:hover,
    .tgmenu__navbar-wrap ul li.courses-mega-item:hover > a {
        color: inherit !important;
        transition: none !important;
    }
    /* Courses chevron arrow — same as menu-item-has-children ::after in main.css */
    .tgmenu__main-menu li.courses-mega-item > a::after {
        content: "\f107";
        display: block;
        font-family: "flaticon_eduvalt";
        color: #5A7093;
        -webkit-transform: rotate(180deg);
        -moz-transform: rotate(180deg);
        -ms-transform: rotate(180deg);
        -o-transform: rotate(180deg);
        transform: rotate(180deg);
        font-size: 12px;
        font-weight: bold;
        margin-left: 6px;
    }

/* ===== MOBILE COURSES INLINE ACCORDION ===== */
.tgmobile__menu .mobile-mega-accordion {
    list-style: none;
    margin: 0;
    padding: 0 0 0 12px;
    background: #f8faff;
    border-left: 3px solid #007bff;
    border-radius: 0 0 8px 8px;
}
.tgmobile__menu .mob-acc-group {
    border-bottom: 1px solid #e8edf5;
}
.tgmobile__menu .mob-acc-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    font-size: 13px;
    font-weight: 700;
    color: #1a1a2e;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    background: #eef3fb;
    user-select: none;
}
.tgmobile__menu .mob-acc-heading:hover { background: #e0eaf8; }
.tgmobile__menu .mob-acc-icon {
    font-size: 11px;
    color: #007bff;
    transition: transform 0.2s;
}
.tgmobile__menu .mob-acc-items {
    list-style: none;
    margin: 0;
    padding: 4px 0;
    background: #fff;
}
.tgmobile__menu .mob-acc-items li a {
    display: block;
    padding: 7px 18px;
    font-size: 13px;
    color: #333;
    text-decoration: none;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.15s, color 0.15s;
}
.tgmobile__menu .mob-acc-items li a:hover {
    background: #f0f7ff;
    color: #007bff;
}
.tgmobile__menu .mob-acc-items li a.view-all {
    color: #007bff;
    font-weight: 600;
}

/* ===== HEADER TOP BAR ===== */
.tg-header__top {
    background: #0f2a4d;
    color: #fff;
    padding: 6px 0;
    font-size: 14px;
}
.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.header-left {
    display: flex;
    align-items: center;
    gap: 10px;
}
.header-left i,
.header-right i {
    font-size: 14px;
    vertical-align: middle;
}
.header-left span {
    display: flex;
    align-items: center;
    gap: 5px;
}
.header-left a {
    color: #fff;
    text-decoration: none;
}
.header-right {
    display: flex;
    align-items: center;
    gap: 10px;
}
.header-right a {
    color: #fff;
    font-size: 13px;
}
.divider {
    opacity: 0.6;
}
@media (max-width: 768px) {
    .header-flex {
        flex-direction: column;
        text-align: center;
        gap: 5px;
    }
}
