/* Design 3 Header Styles */
:root {
    --main: #3f617d !important;
    --main-dark: #437199!important;
    --light: #f8f9fa!important;
    --border: #e3e6ea!important;
    --text: #1f2937!important;
}

/* ===== HEADER ===== */
header {
    background: #fff;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 999;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.brand {
    gap: 30px;
}

.brand a {
    display: flex;
    align-items: center;
}

.brand img {
    height: 64px !important;
    width: auto !important;
    transition: transform .3s ease;
}

.brand img:hover {
    transform: scale(1.05);
}

/* ===== NAV LINKS ===== */
.navlinks {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    font-weight: 600;
    color: var(--text);
    border-radius: 10px;
    transition: all .3s ease;
    text-decoration: none;
}

.nav-link:hover {
    background: var(--light);
    color: var(--main);
}

/* ===== DROPDOWN ===== */
.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.dropdown-menu {
    position: absolute;
    top: 110%;
    right: 0;
    min-width: 220px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, .08);
    padding: 8px;
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
    transition: all .3s ease;
}

.dropdown-menu .nav-link {
    padding: 10px 14px;
    border-radius: 8px;
}

/* ===== USER NAV ===== */
.user-nav a {
    border: 1px solid var(--border);
    padding: 8px 14px;
    border-radius: 12px;
    font-size: 11px;
    transition: all .3s ease;
    text-align: center;
}

.user-nav a i {
    font-size: 16px;
    margin-right: 10px;
}

.user-nav a:hover {
    background: var(--main);
    color: #fff;
    border-color: var(--main);
}

/* ===== LIVE BUTTON ===== */
#btn-live {
    background: linear-gradient(135deg, #dc3545, #ff6b6b);
    color: #fff;
    border-radius: 30px;
    padding: 6px 16px;
    font-size: 13px;
    font-weight: 600;
    animation: pulse 1.5s infinite;
    border: none;
    cursor: pointer;
}

.section-title_1 {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    cursor: pointer;
    font-weight: bold;
    text-align: center;
    width: 100%;
    border-radius: 20px;
    color: white !important;
}

.contact-info-box .icon a {
    color: #426581;
    transition: color 0.3s ease;
}

.contact-area img.img-fluid {
    border-radius: 6px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.contact-area img.img-fluid:hover {
    transform: scale(1.03);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(220, 53, 69, .5);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(220, 53, 69, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(220, 53, 69, 0);
    }
}

/* ===== MOBILE ===== */
.menu-toggle {
    display: none;
    font-size: 26px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--main);
    box-shadow: none;
}
.menu-toggle i{
    pointer-events: none;
    font-size: 30px;
}
.btn.menu-toggle:focus {
    outline: none !important;
    box-shadow: none !important;
}

@media (max-width: 991px) {
    .user-nav a {
        font-size: 11px;
        flex: 1 1 40%;
    }

    .menu-toggle {
        display: block;
    }

    .second-menu {
        max-height: 0;
        overflow: hidden;
        transition: max-height .45s ease, opacity .3s ease;
    }

    .second-menu.active {
        max-height: 1000px;
    }

    .second-menu .nav-list {
        flex-direction: column;
    }

    .second-menu .nav-link {
        justify-content: center;
        padding: 14px;
        border-radius: 0;
        border-bottom: 1px solid var(--border);
    }

    .dropdown-menu {
        position: static;
        box-shadow: none;
        transform: none;
        opacity: 1;
        pointer-events: auto;
        max-height: 0;
        overflow: hidden;
    }

    .dropdown-menu.active {
        max-height: 500px;
    }

    .contact-info-box .icon a {
        font-size: 26px;
    }
}
