/*=================================================
        JOSTUM PREMIUM ANNOUNCEMENT BAR
==================================================*/

.announcement-bar {
    background: linear-gradient(90deg, #064A29 0%, #0B6B3A 55%, #064A29 100%);
    color: #fff;
    padding: 4px 0;
    position: relative;
    z-index: 1060;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .3);
    border-bottom: 3px solid #F4B400;
}

@keyframes gradientFlow {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.announcement-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.announcement-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(#FFE27A, #FDB913);
    color: #1B5E20;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 15px;
    flex-shrink: 0;
    box-shadow: 0 3px 8px rgba(0, 0, 0, .2);
}

.announcement-text {
    display: flex;
    align-items: center;
    flex: 1;
    min-width: 0;
}

.announcement-text strong {
    color: #FFD54F;
    margin-right: 8px;
    white-space: nowrap;
    font-size: 13px;
    font-weight: 700;
}

.announcement-divider {
    display: none;
}

.announcement-marquee {
    flex: 1;
    overflow: hidden;
    position: relative;
}

.announcement-track {
    display: flex;
    width: max-content;
    animation: announcementTicker 28s linear infinite;
}

.announcement-track span {
    white-space: nowrap;
    padding-right: 60px;
    font-size: 13px;
    letter-spacing: .3px;
}

@keyframes announcementTicker {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

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

.announcement-button {
    display: none;
}

@media (min-width: 768px) {
    .announcement-bar {
        padding: 6px 0;
    }

    .announcement-content {
        gap: 18px;
    }

    .announcement-icon {
        width: 36px;
        height: 36px;
        font-size: 17px;
    }

    .announcement-text strong {
        font-size: 15px;
        margin-right: 12px;
    }

    .announcement-divider {
        display: inline-block;
        margin-right: 15px;
        color: #ddd;
    }

    .announcement-track span {
        font-size: 14px;
        padding-right: 120px;
    }

    .announcement-button {
        display: block;
        flex-shrink: 0;
    }

    .announcement-btn {
        background: linear-gradient(#FFE27A, #FDB913);
        border: none;
        color: #000;
        font-weight: 700;
        padding: 6px 16px;
        border-radius: 40px;
        font-size: 13px;
        transition: .35s;
    }

    .announcement-btn:hover {
        background: #fff;
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, .2);
    }
}

/*==========================================
    TOP BAR (Mobile hidden by default)
==========================================*/

.top-bar {
    display: none;
    background: #064A29;
    color: #fff;
    font-size: 13px;
    padding: 8px 0;
    position: relative;
    z-index: 1050;
    border-bottom: 2px solid #F4B400;
}

.top-contact {
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 20px;
    list-style: none;
}

.top-contact li {
    display: flex;
    align-items: center;
    color: #fff;
}

.top-contact i {
    color: #F4B400;
    margin-right: 6px;
    font-size: 14px;
}

.top-bar a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: .3s;
}

.top-bar a i {
    color: #F4B400;
    margin-right: 6px;
}

.top-bar a:hover {
    color: #F4B400;
}

@media (min-width: 992px) {
    .top-bar {
        display: block;
    }
}

/*==================================================
      MOBILE-FIRST NAVBAR (Baseline < 992px)
===================================================*/

:root {
    --green: #0B6B3A;
    --green-dark: #064A29;
    --green2: #0E8B4D;
    --gold: #F4B400;
    --gold-light: #FFD54F;
    --white: #ffffff;
    --dark: #1a1a1a;
}

.custom-navbar {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1040;
    padding: 10px 0;
    background: linear-gradient(135deg, #064A29, #0B6B3A);
    box-shadow: 0 4px 20px rgba(0, 0, 0, .2);
    transition: .35s ease;
}

/* Brand styling */
.navbar-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.navbar-brand img,
.logo-img {
    width: 72px;
    height: 72px;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    object-fit: contain !important;
    object-position: center;
    background: #ffffff;
    padding: 4px;
    border: 2px solid #FDB913;
    box-shadow: 0 4px 16px rgba(0, 0, 0, .18);
    flex-shrink: 0;
    display: block;
    overflow: hidden;
}

/*==========================
    BRAND TEXT
===========================*/

.brand-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    margin-left: 10px;
    line-height: 1;
}

.brand-text h5 {
    margin: 0 !important;
    padding: 0;
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
}

.brand-text small {
    margin: 1px 0 0 0;
    padding: 0;
    color: #FFC107;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    line-height: 1;
    text-transform: uppercase;
}

/* Toggler Button */
.navbar-toggler {
    border: 1px solid rgba(255, 255, 255, .3);
    padding: 6px 12px;
    font-size: 20px;
    color: #fff;
    border-radius: 8px;
    background: rgba(255, 255, 255, .1);
    transition: .2s ease;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(244, 180, 0, .4);
    outline: none;
}

/* Mobile Nav Drawer / Collapse Menu */
.navbar-collapse {
    margin-top: 14px;
    background: #ffffff;
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, .25);
}

.navbar-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 0;
    margin: 0;
}

.nav-link {
    color: #2c3e50 !important;
    font-weight: 600;
    font-size: 15px;
    padding: 12px 16px !important;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: .25s ease;
    min-height: 46px;
}

.nav-link:hover,
.nav-link:focus {
    background: rgba(11, 107, 58, .08);
    color: var(--green) !important;
}

.nav-link.active {
    background: linear-gradient(135deg, #0B6B3A, #0E8B4D);
    color: #ffffff !important;
}

/* Mobile Dropdown Styling */
.dropdown-menu {
    border: none;
    background: #f8f9fa;
    border-radius: 12px;
    padding: 8px;
    margin-top: 4px;
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, .05);
}

.dropdown-item {
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    display: flex;
    align-items: center;
    min-height: 42px;
    transition: .2s ease;
}

.dropdown-item i {
    width: 22px;
    color: var(--green);
    font-size: 14px;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background: var(--green);
    color: #fff;
}

.dropdown-item:hover i,
.dropdown-item:focus i {
    color: var(--gold-light);
}

/* Mobile Nav Action Buttons */
.nav-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid #e9ecef;
}

.btn-portal {
    background: var(--green);
    color: #fff !important;
    border-radius: 30px;
    padding: 12px 20px;
    font-weight: 600;
    font-size: 14px;
    text-align: center;
    min-height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .3s;
    border: none;
    width: 100%;
}

.btn-portal:hover {
    background: var(--green-dark);
    box-shadow: 0 6px 16px rgba(11, 107, 58, .3);
}

.btn-postutme {
    background: linear-gradient(135deg, #FFD54F, #F4B400);
    color: #111 !important;
    font-weight: 700;
    font-size: 14px;
    padding: 12px 20px;
    border-radius: 30px;
    text-align: center;
    min-height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .3s;
    border: none;
    width: 100%;
    box-shadow: 0 4px 15px rgba(244, 180, 0, .35);
}

.btn-postutme:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(244, 180, 0, .5);
}

/*==================================================
    DESKTOP ENHANCEMENT BREAKPOINT (>= 992px)
===================================================*/

@media (min-width: 992px) {
    .custom-navbar {
        position: sticky;
        top: 0;
        padding: 14px 0;
        background: rgba(6, 74, 41, 0.95);
        backdrop-filter: blur(14px);
        border-bottom: 1px solid rgba(255, 255, 255, .1);
    }

    .custom-navbar.scrolled {
        background: linear-gradient(135deg, #064A29, #0B6B3A);
        padding: 10px 0;
        box-shadow: 0 12px 30px rgba(0, 0, 0, .25);
    }

    .navbar-brand img,
    .logo-img {
        width: 62px;
        height: 62px;
    }

    .brand-text h5 {
        font-size: 19px;
    }

    .brand-text small {
        font-size: 11px;
    }

    .navbar-collapse {
        margin-top: 0;
        background: transparent;
        border-radius: 0;
        padding: 0;
        box-shadow: none;
    }

    .navbar-nav {
        flex-direction: row;
        gap: 6px;
    }

    .nav-link {
        color: #ffffff !important;
        padding: 10px 16px !important;
        border-radius: 20px;
        position: relative;
        font-size: 15px;
    }

    .nav-link::after {
        content: "";
        position: absolute;
        left: 50%;
        bottom: 2px;
        width: 0;
        height: 3px;
        background: var(--gold);
        border-radius: 30px;
        transform: translateX(-50%);
        transition: .35s;
    }

    .nav-link:hover {
        background: transparent;
        color: #FFD54F !important;
    }

    .nav-link:hover::after,
    .nav-link.active::after {
        width: 60%;
    }

    .nav-link.active {
        background: transparent;
        color: #FFD54F !important;
    }

    .dropdown-menu {
        background: #ffffff;
        border-radius: 16px;
        padding: 12px;
        margin-top: 14px;
        box-shadow: 0 20px 50px rgba(0, 0, 0, .18);
        animation: dropdown .3s ease;
    }

    @keyframes dropdown {
        from {
            opacity: 0;
            transform: translateY(12px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .dropdown-item {
        padding: 10px 16px;
        border-radius: 10px;
    }

    .dropdown-item:hover {
        background: linear-gradient(90deg, #0B6B3A, #0E8B4D);
        color: #fff;
        transform: translateX(4px);
    }

    .nav-actions {
        flex-direction: row;
        width: auto;
        margin-top: 0;
        padding-top: 0;
        border-top: none;
        gap: 10px;
    }

    .btn-portal {
        background: #ffffff;
        color: var(--green-dark) !important;
        width: auto;
        padding: 10px 20px;
        border-radius: 40px;
    }

    .btn-portal:hover {
        background: #FFD54F;
        color: #111 !important;
        transform: translateY(-2px);
    }

    .btn-postutme {
        width: auto;
        padding: 10px 24px;
        border-radius: 40px;

    }
}