.main-header header {
    width: 100%;
    position: relative;
    z-index: 999;
}

/* =====================================
   TOP BAND
===================================== */
.main-header .top-band {
    background: var(--tts-buttton-bg);
    padding: 8px 0;
    color: var(--tts-buttton-txt);
}

.main-header .tp-band-text p {
    margin: 0;
    font-size: 14px;
    font-weight: 500;
}

/* SOCIAL ICON */
.main-header .social-icon {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
}

.main-header .social-icon a {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--white);
    color: var(--tts-buttton-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.main-header .social-icon a:hover {
    background: var(--topbar-bg);
    color: var(--white);
    transform: translateY(-2px);
}

/* =====================================
   TOP NAVBAR
===================================== */
.main-header .top-navbar {
    background: var(--header-bg);
    border-bottom: 1px solid var(--topbar-txt-color);
    padding: 15px 0;
}

.main-header .logo-img img {
    max-width: 180px;
    max-height: 55px;
    object-fit: contain;
}

/* WIDGET */
.main-header .widget-box {
    display: flex;
    align-items: center;
    gap: 12px;
}

.main-header .widget-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--bg-white);
    border: 1px solid var(--tts-buttton-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.main-header .widget-icon i {
    color: var(--tts-buttton-bg);
}

.main-header .widget-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--header-txt-color);
    margin: 0;
}

.main-header .widget-desc,
.main-header .widget_desc {
    font-size: 13px;
    color: var(--header-txt-color);
    margin: 0;
}

.main-header .widget-desc a,
.main-header .widget_desc a {
    text-decoration: none;
    color: var(--header-txt-color);
}

.main-header .widget-desc a:hover,
.main-header .widget_desc a:hover {
    color: var(--tts-buttton-bg);
}

/* =====================================
   SECOND NAVBAR
===================================== */
.main-header .second-navbar {
    background: var(--header-bg);
    border-top: 1px solid var(--topbar-txt-color);
}

.main-header .navbar {
    padding: 0;
}

.main-header .navbar img {
    max-width: 180px;
    max-height: 55px;
    object-fit: contain;
}

.main-header .navbar-nav {
    align-items: center;
    gap: 18px;
}

.main-header .nav-item {
    position: relative;
}

.main-header .nav-link {
    font-size: 15px;
    font-weight: 500;
    color: var(--header-txt-color);
    padding: 18px 0;
    position: relative;
    transition: 0.3s;
}

.main-header .nav-link:hover,
.main-header .nav-link.active {
    color: var(--tts-buttton-bg);
}

/* HOVER LINE */
.main-header .nav-link::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 3px;
    width: 100%;
    background: var(--tts-buttton-bg);
    transform: scaleX(0);
    transform-origin: left;
    transition: 0.3s;
}

.main-header .nav-link:hover::before,
.main-header .nav-link.active::before {
    transform: scaleX(1);
}

/* =====================================
   LOGIN BUTTON
===================================== */
.main-header .cust-login {
    background: var(--tts-buttton-bg);
    padding: 8px 16px;
    border-radius: 4px;
    transition: 0.3s;
}

.main-header .cust-login a {
    color: var(--white);
    text-decoration: none;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.main-header .cust-login:hover {
    background: var(--tts-buttton-bg1);
}

/* =====================================
   DROPDOWN BASE
===================================== */
.main-header .dropdown-menu {
    border: none;
    border-radius: 0px;
    padding: 0;
    min-width: 240px;
    background: var(--white);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.08);

    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: 0.25s ease;
}

/* SHOW ON HOVER */
@media (min-width: 992px) {
    .main-header .nav-item:hover>.dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        display: block;
    }
}

/* DROPDOWN LINKS */
.main-header .dropdown-menu li a {
    display: flex;
    justify-content: space-between;
    padding: 10px 15px;
    font-size: 14px;
    color: var(--header-txt-color);
    text-decoration: none;
    transition: 0.25s;
}

.main-header .dropdown-menu li a:hover {
    background: var(--tts-buttton-bg);
    color: var(--white);
}

/* =====================================
   MEGA MENU
===================================== */
.main-header .mega-dropdown {
    position: static !important;
}

.main-header .mega-menu {
    width: 100%;
    left: 0;
    display: flex;
    flex-wrap: wrap;
}

.main-header .mega-menu>li {
    width: 25%;
    float: left;
}

.main-header .mega-menu .dropdown-title {
    width: 100%;
    padding: 10px 20px;
    font-weight: 600;
    color: var(--white);
    background: linear-gradient(135deg, var(--tts-buttton-bg), var(--topbar-bg));
}

.main-header .mega-menu a {
    display: block;
    padding: 8px 20px;
    border-bottom: 1px solid var(--topbar-txt-color);
    font-size: 14px;
    color: var(--header-txt-color);
    text-decoration: none;
}

.main-header .mega-menu a:hover {
    background: var(--tts-buttton-bg);
    color: var(--white);
}

.main-header .dropdown-submenu {
    position: relative;
}

.main-header .dropdown-submenu .dropdown-menu {
    position: absolute;
    left: 100%;
    top: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: 0.25s ease;
    max-height: 250px;
    overflow-x: auto;
    border-radius: 0;
}

.main-header .dropdown-submenu:hover>.dropdown-menu {
    opacity: 1;
    visibility: visible;
    display: block;
    transform: translateX(0);
}

/* =====================================
   RESPONSIVE
===================================== */

/* Tablet */
@media (max-width: 992px) {
    .main-header .widget-box {
        margin-bottom: 10px;
    }

    .main-header .social-icon {
        justify-content: center;
        margin-top: 5px;
    }
}

/* Mobile */
@media (max-width: 991px) {

    .main-header .navbar-nav {
        gap: 0;
        align-items: start;
    }

    .main-header .nav-link {
        padding: 12px;
        border-bottom: 1px solid var(--topbar-txt-color);
    }

    /* Disable hover dropdown */
    .main-header .dropdown-menu {
        position: static;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        box-shadow: none;
    }

    .main-header .mega-menu>li {
        width: 100%;
    }

    .main-header .cust-login {
        margin-top: 15px;
        text-align: center;
    }

    .top-navbar {
        display: none;
    }
}

/* Small Mobile */
@media (max-width: 768px) {
    .main-header .top-band .row {
        flex-direction: column;
        text-align: center;
    }

    .top-navbar {
        display: none;
    }

    .main-header .logo-img {
        text-align: center;
        margin-bottom: 10px;
    }

    .main-header .tp-band-text p {
        font-size: 13px;
    }
}


/* ===============================
   MOBILE OFFCANVAS MENU
================================= */
.offcanvas.offcanvas-start.mobileMenu-offcanvas {
    width: 280px;
    background: #fff;
    box-shadow: 2px 0 15px rgba(0, 0, 0, 0.08);
}

.mobileMenu-offcanvas .offcanvas-header {
    border-bottom: 1px solid #eee;
    padding: 14px 16px;
}

.mobileMenu-offcanvas .offcanvas-header h5 {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

.mobileMenu-offcanvas .offcanvas-body {
    padding: 0;
    overflow-y: auto;
    height: calc(100vh - 60px);
}

.mobileMenu-offcanvas .navbar-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobileMenu-offcanvas .navbar-nav>li {
    border-bottom: 1px solid #f1f1f1;
}

.mobileMenu-offcanvas .navbar-nav>li>a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    font-size: 15px;
    font-weight: 500;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
}

.mobileMenu-offcanvas .navbar-nav>li>a:hover {
    background: #f8f9fa;
    color: var(--tts-buttton-bg);
}

.mobileMenu-offcanvas .navbar-nav>li>a.active {
    color: var(--tts-buttton-bg);
    font-weight: 600;
}


.mobileMenu-offcanvas .navbar-nav i {
    font-size: 12px;
    transition: transform 0.3s ease;
}


.mobileMenu-offcanvas a[aria-expanded="true"] i {
    transform: rotate(180deg);
}

.mobileMenu-offcanvas .collapse {
    background: #fafafa;
    transition: all 0.3s ease;
}

.mobileMenu-offcanvas .collapse li a {
    display: block;
    padding: 10px 20px;
    font-size: 14px;
    color: #555;
    text-decoration: none;
    transition: all 0.3s ease;
}

.mobileMenu-offcanvas .collapse li a:hover {
    background: #f1f1f1;
    color: var(--tts-buttton-bg);
}

.mobileMenu-offcanvas .collapse .collapse {
    background: #f4f4f4;
    max-height: 250px;
    overflow-x: auto;
}

.mobileMenu-offcanvas .collapse .collapse li a {
    padding-left: 30px;
    font-size: 13px;
}

.mobileMenu-offcanvas .fw-bold {
    padding: 10px 16px;
    font-size: 13px;
    color: #999;
}

.mobileMenu-offcanvas .cust-login {
    padding: 15px;
}

.mobileMenu-offcanvas .cust-login a {
    display: block;
    width: 100%;
    text-align: center;
    background: var(--tts-buttton-bg);
    color: #fff;
    padding: 10px;
    border-radius: 6px;
    font-size: 14px;
    text-decoration: none;
    transition: 0.3s;
}

.mobileMenu-offcanvas .cust-login a:hover {
    background: #0b5ed7;
}