﻿
    /* ===== TOP GREEN BAR ===== */
    .top-bar

{
    /* background: #0b6e3c;*/
    background: #ff6f33;
    color: #fff;
    padding: 5px 10px;
    font-size: 13px;
    text-align: center;
}

/* ===== SECOND BAR ===== */
.info-bar {
    background: #f2f2f2;
    padding: 8px 15px;
    display: flex;
    justify-content: space-between;
    font-size: 14px;
}

/* ===== HEADER ===== */
.header {
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ffe1cc;
}

    .header img {
        height: 50px;
    }

/* ===== NAVBAR ===== */
.navbar-custom {
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: #000 !important;
    padding: 12px 15px;
}

/* ===== ALERT BAR ===== */
.alert-bar {
    background: #fff3cd;
    padding: 8px;
    font-size: 14px;
    color: #856404;
    border-top: 1px solid #ddd;
}

    /* ================= GLOBAL FONT ================================================================================================================================== */
 
{
    font-family: 'Roboto Condensed', sans-serif;
    overflow-x: hidden;
}

/* ================= HEADER ================= */
.main-header {
    border-bottom: 1px solid #ddd;
    padding: 5px 0;
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 999;
    transition: 0.3s;
}

    /* Scroll shadow */
    .main-header.scrolled {
        box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    }

/* ================= MENU ================= */
.menu-custom {
    gap: 30px;
}

    .menu-custom .nav-link {
        font-family: 'Montserrat', sans-serif;
        font-weight: 300;
        letter-spacing: 0.2px;
        font-size: 16px;
        color: #000 !important;
        padding: 8px 12px;
        position: relative;
        transition: 0.3s;
    }

        /* Hover effect */
        .menu-custom .nav-link:hover {
            color: #0b5ed7 !important;
        }

        /* Bottom line animation */
        .menu-custom .nav-link::before {
            content: "";
            position: absolute;
            bottom: 0;
            left: 50%;
            width: 0;
            height: 2px;
            background: #0b5ed7;
            transition: 0.3s;
            transform: translateX(-50%);
        }

        .menu-custom .nav-link:hover::before {
            width: 80%;
        }

        /* Active link */
        .menu-custom .nav-link.active {
            color: #0b5ed7 !important;
            font-weight: 600;
        }

            .menu-custom .nav-link.active::before {
                width: 80%;
            }

/* ================= DROPDOWN ================= */
.dropdown-menu {
    border: none;
    border-radius: 10px;
    padding: 10px 0;
    min-width: 220px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
    animation: fadeIn 0.25s ease-in-out;
}

/* Dropdown items */
.dropdown-item {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    letter-spacing: 0.2px;
    font-size: 13px;
    padding: 10px 20px;
    color: #444;
    transition: 0.3s;
}

    /* Hover */
    .dropdown-item:hover {
        background: #fae9c3;
        color: #fa9405;
        padding-left: 25px;
    }

/* ================= DROPDOWN HOVER (DESKTOP) ================= */
@media (min-width: 992px) {
    .nav-item.dropdown:hover > .dropdown-menu {
        display: block;
        margin-top: 0;
    }
}

/* ================= SUBMENU ================= */
.submenu-item {
    position: relative;
}

.submenu-child {
    position: absolute;
    top: 0;
    left: 100%;
    min-width: 200px;
    background: #fff;
    display: none;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.submenu-item:hover .submenu-child {
    display: block;
}

/* ================= ANIMATION ================= */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ================= MOBILE ================= */
@media (max-width: 991px) {

    .menu-custom {
        gap: 10px;
    }

        .menu-custom .nav-link {
            padding: 10px;
        }

    .dropdown-menu {
        box-shadow: none;
        border-radius: 0;
    }

    .dropdown-item {
        font-size: 14px;
        padding: 8px 15px;
    }

    .submenu-child {
        position: static;
        box-shadow: none;
        padding-left: 15px;
    }

    .mega-menu {
        position: static;
        box-shadow: none;
    }
}

/* ================= ACCESSIBILITY ================= */
.nav-link:focus,
.nav-link:active {
    outline: none !important;
    box-shadow: none !important;
}

.nav-link:focus-visible {
    outline: 2px solid #0b5ed7;
    outline-offset: 2px;
}

/* Skip link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 10px;
    background: #000;
    color: #fff;
    padding: 8px 15px;
    z-index: 9999;
    text-decoration: none;
}

    .skip-link:focus {
        top: 10px;
    }

@media (max-width: 991px) {
    .navbar {
        overflow: hidden;
    }

    .navbar-collapse {
        background: #fff;
        padding: 15px;
    }

    .menu-custom {
        flex-direction: column !important; /* 👈 IMPORTANT */
        gap: 0 !important;
    }

        .menu-custom .nav-item {
            width: 100%;
        }

        .menu-custom .nav-link {
            display: block;
            width: 100%;
            padding: 12px;
            border-bottom: 1px solid #eee;
        }

    /* Dropdown fix */
    .dropdown-menu {
        position: static !important;
        display: none;
        width: 100%;
    }

    .dropdown.show .dropdown-menu {
        display: block;
    }
}
.navbar-toggler {
    border: 1px solid #000;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='black' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

/* ===== NOTICE TICKER ===== ============================================================================================================*/
.notice-bar {
    display: flex;
    align-items: center;
    background: #ffdbcc;
    /*border-top: 1px solid #ddd;*/
    overflow: hidden;
}

.notice-label {
    background: #ff9800;
    color: #fff;
    padding: 7px 15px; /* ↓ reduced height */
    font-weight: 600;
    font-size: 13px; /* slightly smaller text */
    line-height: 1.2;
    white-space: nowrap;
}


.notice-container {
    overflow: hidden;
    width: 100%;
}

.notice-scroll {
    display: inline-block;
    white-space: nowrap;
    animation: tickerMove 25s linear infinite;
}

    .notice-scroll span {
        display: inline-block;
        padding: 0 40px;
        font-weight: 500;
        color: #333;
    }

/* Smooth animation */
@keyframes tickerMove {
    0% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(-100%);
    }
}

/* Pause on hover (PRO UX) */
.notice-scroll:hover {
    animation-play-state: paused;
}
