/* ===== Google Fonts ===== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* ===== NEITE Website Styles ===== */
:root {
    --primary: #1a3a6c;
    --secondary: #e8a020;
    --primary-dark: #0d2444;
    --light-bg: #f0f4fa;
    --text-dark: #2a2a2a;
}

body {
    font-family: 'Poppins', 'Segoe UI', sans-serif;
    font-size: 15px;
    color: var(--text-dark);
    line-height: 1.7;
}

/* ===== TOP BAR ===== */
.top-bar {
    background-color: var(--primary-dark);
    font-size: 0.8rem;
    padding: 7px 0;
    color: #ccd9f0;
}
.top-bar a {
    color: #ccd9f0;
    text-decoration: none;
}
.top-bar a:hover { color: var(--secondary); }
.top-bar .bi {
    margin-right: 5px;
    color: var(--secondary);
    font-size: 0.85rem;
}
.topbar-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: var(--secondary);
    color: var(--primary-dark) !important;
    font-size: .75rem;
    font-weight: 700;
    padding: 2px 10px;
    border-radius: 20px;
    text-decoration: none !important;
    text-transform: uppercase;
    letter-spacing: .3px;
    transition: background .2s, color .2s;
}
.topbar-badge:hover {
    background: #f5b835;
    color: var(--primary-dark) !important;
}
.topbar-badge .bi { color: var(--primary-dark); margin-right: 0; font-size: .8rem; }

/* ===== NAVBAR ===== */
.navbar {
    background-color: var(--primary) !important;
    padding: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}
.navbar-brand img {
    height: 60px;
}
.navbar-brand .brand-text {
    color: #fff;
    line-height: 1.2;
}
.navbar-brand .brand-text span {
    display: block;
    font-size: 0.72rem;
    color: #adc4e8;
    font-weight: 400;
}
.navbar-nav .nav-link {
    color: #dce8f8 !important;
    font-size: 0.88rem;
    font-weight: 500;
    padding: 18px 14px !important;
    transition: color 0.2s, background 0.2s;
    border-bottom: 3px solid transparent;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--secondary) !important;
    border-bottom-color: var(--secondary);
}
.navbar-nav .dropdown-menu {
    border: none;
    border-top: 3px solid var(--secondary);
    border-radius: 0 0 4px 4px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.15);
    min-width: 230px;
}
.navbar-nav .dropdown-item {
    font-size: 0.875rem;
    padding: 9px 18px;
    color: var(--primary);
    font-family: 'Poppins', sans-serif;
}
.navbar-nav .dropdown-item:hover {
    background-color: var(--light-bg);
    color: var(--secondary);
}
.navbar-toggler {
    border-color: #adc4e8;
}
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Hover dropdowns on desktop */
@media (min-width: 992px) {
    .navbar-nav .dropdown:hover > .dropdown-menu {
        display: block;
        margin-top: 0;
        animation: fadeInDown 0.15s ease;
    }
}
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Mobile nav — overlay so content doesn't shift */
@media (max-width: 991.98px) {
    .navbar {
        position: relative;
    }
    #mainNav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--primary);
        padding: 8px 16px 16px;
        box-shadow: 0 8px 20px rgba(0,0,0,0.25);
        z-index: 1050;
    }
    .navbar-brand img {
        display: none;
    }
}

/* ===== HERO SLIDER ===== */
#heroCarousel .carousel-item img {
    height: 500px;
    object-fit: cover;
    width: 100%;
}
#heroCarousel .carousel-caption {
    background: rgba(13, 36, 68, 0.65);
    border-left: 4px solid var(--secondary);
    text-align: left;
    bottom: 60px;
    left: 10%;
    right: auto;
    max-width: 520px;
    padding: 22px 28px;
    border-radius: 0 4px 4px 0;
}
#heroCarousel .carousel-caption h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 8px;
}
#heroCarousel .carousel-caption p {
    font-size: 0.95rem;
    margin-bottom: 16px;
    color: #dce8f8;
}
#heroCarousel .carousel-indicators [data-bs-target] {
    background-color: var(--secondary);
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
#heroCarousel .carousel-control-prev-icon,
#heroCarousel .carousel-control-next-icon {
    filter: invert(0.2) sepia(1) saturate(4) hue-rotate(0deg);
}

/* ===== SECTION HEADING ===== */
.section-heading {
    position: relative;
    padding-bottom: 14px;
    margin-bottom: 30px;
}
.section-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 56px;
    height: 3px;
    background: var(--secondary);
}
.section-heading.centered::after {
    left: 50%;
    transform: translateX(-50%);
}

/* ===== NOTICE SCROLLER ===== */
.notice-scroller-wrap {
    background: var(--secondary);
    border-top: 2px solid #c8880e;
}
.notice-scroller {
    height: 44px;
}
.notice-label {
    background: var(--primary);
    color: #fff;
    font-size: .8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    padding: 0 18px;
    white-space: nowrap;
    gap: 6px;
}
.notice-track-outer {
    mask-image: linear-gradient(to right, transparent, black 40px, black calc(100% - 40px), transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 40px, black calc(100% - 40px), transparent);
    height: 100%;
}
.notice-track {
    white-space: nowrap;
    animation: noticeScroll 28s linear infinite;
    padding: 0 24px;
    will-change: transform;
    height: 100%;
    align-items: center;
}
.notice-track:hover { animation-play-state: paused; }
@keyframes noticeScroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.notice-item {
    color: var(--primary-dark);
    font-size: .8rem;
    padding: 0 12px;
    border-right: 1px solid rgba(0,0,0,.12);
    gap: 8px !important;
    transition: color .2s;
}
.notice-item:hover { color: var(--primary); }
.notice-cat {
    background: var(--primary);
    color: #fff;
    font-size: .68rem;
    font-weight: 700;
    padding: 1px 7px;
    border-radius: 20px;
    text-transform: uppercase;
    white-space: nowrap;
}
.notice-title {
    color: inherit;
    font-weight: 500;
}
.notice-all {
    background: rgba(0,0,0,.1);
    color: var(--primary-dark);
    font-size: .8rem;
    font-weight: 700;
    padding: 0 16px;
    text-decoration: none;
    white-space: nowrap;
    border-left: 1px solid rgba(0,0,0,.12);
    transition: background .2s;
}
.notice-all:hover {
    background: rgba(0,0,0,.18);
    color: var(--primary);
}
/* Mobile notice list */
.notice-mobile-list {
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    padding: 0 12px;
    gap: 10px !important;
}
.notice-mobile-list::-webkit-scrollbar { display: none; }
.notice-mobile-item {
    color: var(--primary-dark);
    font-size: .78rem;
    font-weight: 600;
    white-space: nowrap;
    padding: 3px 10px;
    background: rgba(0,0,0,.08);
    border-radius: 20px;
    flex-shrink: 0;
}

@media (max-width: 767.98px) {
    .notice-scroller {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
        height: auto;
        padding: 1rem 0;
    }
    .notice-label {
        width: 100%;
        padding: 14px 18px;
        border-radius: 12px;
    }
    .notice-track-outer {
        display: none !important;
    }
    .notice-mobile-list {
        display: block !important;
        overflow: visible !important;
        white-space: normal !important;
        padding: 0;
        gap: 0;
    }
    .notice-mobile-list .notice-mobile-item {
        display: block;
        width: 100%;
        white-space: normal;
        padding: 12px 14px;
        margin-bottom: 10px;
        border-radius: 12px;
        background: #ffffff;
        color: var(--text-dark);
        box-shadow: 0 1px 4px rgba(0,0,0,0.08);
    }
    .notice-mobile-item:hover {
        color: var(--primary);
        background: rgba(232,160,32,0.08);
    }
    .notice-all {
        width: 100%;
        justify-content: center;
        border-left: none;
        border-radius: 12px;
        padding: 12px 16px;
        background: rgba(0,0,0,.08);
        text-align: center;
    }
}

/* ===== HOME ABOUT SECTION ===== */
.home-about {
    padding: 70px 0;
    background: #fff;
}
.home-about img {
    border-radius: 6px;
    box-shadow: 8px 8px 0 var(--secondary);
}

/* ===== COURSES SECTION (HOME) ===== */
.home-courses {
    padding: 70px 0;
    background: var(--light-bg);
}
.course-card {
    border: none;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.25s, box-shadow 0.25s;
    height: 100%;
}
.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(26,58,108,0.15) !important;
}
.course-card .card-icon {
    width: 56px;
    height: 56px;
    background: var(--light-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--primary);
    margin-bottom: 14px;
}
.course-card .card-title {
    color: var(--primary);
    font-weight: 600;
    font-size: 1rem;
}
.course-card .card-footer {
    background: transparent;
    border-top: 1px solid #eef2f9;
}

/* ===== STATS BAR ===== */
.stats-bar {
    background: var(--primary);
    padding: 40px 0;
    color: #fff;
}
.stat-item h3 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--secondary);
}
.stat-item p {
    font-size: 0.875rem;
    color: #adc4e8;
    margin: 0;
}

/* ===== PAGE HEADER / BREADCRUMB ===== */
.page-header-section {
    background: #2c3345;   /* dark slate — not blue, not orange */
    padding: 32px 0;
    position: relative;
    overflow: hidden;
}
.page-header-section::before {
    content: '';
    position: absolute;
    top: -40px; right: -40px;
    width: 200px; height: 200px;
    border-radius: 50%;
    background: rgba(255,255,255,0.04);
    pointer-events: none;
}
.page-header-section h1 {
    color: #fff;
    font-size: 1.6rem;
    font-weight: 600;
    margin: 0;
}
.breadcrumb {
    background: transparent;
    padding: 0;
    margin: 6px 0 0;
    font-size: 0.8rem;
}
.breadcrumb-item a {
    color: var(--secondary);
    text-decoration: none;
}
.breadcrumb-item a:hover { color: #f5c05a; }
.breadcrumb-item.active { color: #a0aec0; }
.breadcrumb-item + .breadcrumb-item::before { color: #6b7a99; }

/* ===== INNER PAGE CONTENT ===== */
.inner-content {
    padding: 55px 0;
}
.inner-content h2, .inner-content h3 {
    color: var(--primary);
}
.inner-content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 28px;
}

/* ===== TABLE STYLES ===== */
.table-neite thead {
    background: var(--primary);
    color: #fff;
}
.table-neite thead th {
    border: none;
    font-weight: 500;
}
.table-neite tbody tr:hover {
    background: var(--light-bg);
}

/* ===== INFO CARDS ===== */
.info-card {
    border-left: 4px solid var(--secondary);
    background: var(--light-bg);
    border-radius: 0 6px 6px 0;
    padding: 20px 24px;
    margin-bottom: 20px;
}

/* ===== SIDEBAR ===== */
.sidebar-nav ul,
.sidebar-nav li {
    list-style: none;
    padding-left: 0;
    margin: 0;
}
.sidebar-nav .list-group-item {
    border: none;
    border-bottom: 1px solid #e8eef6;
    padding: 10px 16px;
    color: var(--primary);
    font-size: 0.875rem;
    display: block;     /* ensure <a> fills the row */
    text-decoration: none;
}
.sidebar-nav .list-group-item:hover,
.sidebar-nav .list-group-item.active {
    background: var(--primary);
    color: #fff;
    border-bottom-color: var(--primary);
}
.sidebar-nav .list-group-item .bi {
    margin-right: 6px;
    color: var(--secondary);
}
.sidebar-nav .list-group-item.active .bi { color: #fff; }

/* ===== FOOTER ===== */
.footer {
    background: var(--primary-dark);
    color: #b0c4de;
    padding: 55px 0 30px;
}
.footer h5 {
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 18px;
    position: relative;
    padding-bottom: 10px;
}
.footer h5::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 36px; height: 2px;
    background: var(--secondary);
}
.footer ul li { list-style: none; }
.footer a {
    color: #b0c4de;
    text-decoration: none;
    font-size: 0.875rem;
    line-height: 2.2;
    transition: color 0.2s;
}
.footer a:hover { color: var(--secondary); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 18px;
    margin-top: 30px;
    font-size: 0.8rem;
    color: #7a9ccc;
}
.footer-contact li {
    font-size: 0.875rem;
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
.footer-contact .bi {
    color: var(--secondary);
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: 2px;
}

/* ===== BUTTONS ===== */
.btn-primary-custom {
    background: var(--secondary);
    border: none;
    color: var(--primary-dark);
    font-weight: 600;
    padding: 10px 26px;
    border-radius: 4px;
    font-family: 'Poppins', sans-serif;
    transition: background 0.2s, transform 0.2s;
}
.btn-primary-custom:hover {
    background: #d4910a;
    color: #fff;
    transform: translateY(-1px);
}
.btn-outline-custom {
    border: 2px solid var(--secondary);
    color: var(--secondary);
    font-weight: 600;
    padding: 8px 24px;
    border-radius: 4px;
    background: transparent;
    font-family: 'Poppins', sans-serif;
    transition: all 0.2s;
}
.btn-outline-custom:hover {
    background: var(--secondary);
    color: var(--primary-dark);
}

/* ===== CONTACT PAGE ===== */
.contact-info-card {
    border: none;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    background: var(--light-bg);
    height: 100%;
}
.contact-info-card .icon-wrap {
    width: 68px; height: 68px;
    background: var(--primary);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.6rem; color: var(--secondary);
    margin: 0 auto 16px;
}
.contact-info-card h6 {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 6px;
}

/* ===== FRANCHISE ===== */
.franchise-feature {
    display: flex;
    gap: 14px;
    margin-bottom: 18px;
}
.franchise-feature .fi-icon {
    width: 44px; height: 44px;
    background: var(--secondary);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 1.1rem;
    flex-shrink: 0;
}

/* ===== INVESTMENT CARDS ===== */
.investment-card {
    border-radius: 8px;
    overflow: hidden;
    border: none;
    box-shadow: 0 4px 18px rgba(0,0,0,0.1);
    height: 100%;
}
.investment-card .card-header {
    background: var(--primary);
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
    text-align: center;
    padding: 16px;
}

.home-gallery {
    padding: 80px 0;
}
.gallery-thumb {
    position: relative;
    transition: transform .25s ease;
    background: transparent;
}
.gallery-thumb a.gallery-link {
    display: block;
    position: relative;
    background: transparent;
}
.gallery-thumb img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform .35s ease;
}
.gallery-thumb:hover img {
    transform: scale(1.06);
}
.gallery-overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0,0,0,0.28);
    opacity: 0;
    transition: opacity .25s ease;
}
.gallery-thumb:hover .gallery-overlay {
    opacity: 1;
}
.modal-content {
    background: transparent;
    box-shadow: none;
}
.modal-body {
    padding: 0;
    background: transparent;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
    #heroCarousel .carousel-item img { height: 340px; }
    #heroCarousel .carousel-caption { left: 5%; bottom: 30px; }
    #heroCarousel .carousel-caption h2 { font-size: 1.3rem; }
    .navbar-nav .nav-link { padding: 12px 14px !important; border-bottom: none; }
    .home-about { padding: 50px 0; }
    .home-courses { padding: 50px 0; }
    .home-gallery { padding: 50px 0; }
}
@media (max-width: 575px) {
    #heroCarousel .carousel-item img { height: 260px; }
    #heroCarousel .carousel-caption { display: none; }
}
