/* ========================================
   BSL PRO - Mobile Menu Design
   Clean, Modern, Beautiful
   ======================================== */

/* Mobile menu container */
.tmenu-mobile {
    background-color: #ffffff;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 990;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

/* Top bar with logo and hamburger */
.tmenu-mobile__container {
    min-height: 70px;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #ffffff;
    border-bottom: 1px solid rgba(0,0,0,0.08);
}

/* Logo styling */
.tmenu-mobile__logo {
    display: block;
    max-width: 140px;
    height: auto;
}

.tmenu-mobile__logo-img {
    width: 100%;
    height: auto;
    display: block;
}

/* Menu Toggle Button */
.tmenu-mobile__toggle {
    width: 40px;
    height: 40px;
    position: relative;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    margin: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
        background-color: #ffffff00;
}

/* Hamburger Icon (3 lines) */
.tmenu-mobile__burger {
    width: 24px;
    height: 18px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: opacity 0.3s ease;
}

.tmenu-mobile__burger span {
    display: block;
    width: 100%;
    height: 2px;
    background: #304658;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Close Icon (X) */
.tmenu-mobile__close {
    position: absolute;
    top: 10%;
    left: 10%;
    transform: translate(-50%, -50%);
    width: 24px;
    height: 24px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tmenu-mobile__close span {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background: #304658;
    border-radius: 2px;
}

.tmenu-mobile__close span:first-child {
    transform: translateY(-50%) rotate(45deg);
}

.tmenu-mobile__close span:last-child {
    transform: translateY(-50%) rotate(-45deg);
}

/* Toggle States */
.tmenu-mobile__toggle.active .tmenu-mobile__burger {
    opacity: 0;
}

.tmenu-mobile__toggle.active .tmenu-mobile__close {
    opacity: 1;
}

/* Support for old class name */
.t-menuburger {
    width: 40px;
    height: 40px;
    position: relative;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1000;
}

.t-menuburger-opened .tmenu-mobile__burger {
    opacity: 0;
}

.t-menuburger-opened .tmenu-mobile__close {
    opacity: 1;
}

/* Menu list container */
.tmenu-mobile__list {
    background: #ffffff;
    max-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.tmenu-mobile__list.active {
    max-height: calc(100vh - 71px);
}

.tmenu-mobile__items {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Menu items */
.tmenu-mobile__item {
    border-bottom: none;
}

/* Services header */
.tmenu-mobile__services-header {
    margin-top: 0;
    padding: 0;
    background-color: #f8f9fa;
}

.tmenu-mobile__services-title {
    color: #6c757d;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 12px 20px 8px 20px;
    margin: 0;
}

/* Menu links */
.tmenu-mobile__link {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 15px 20px;
    color: #304658;
    text-decoration: none;
    font-size: 15px;
    font-weight: 400;
    transition: all 0.2s ease;
    background: transparent;
    border: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
}



.tmenu-mobile__link:hover,
.tmenu-mobile__link:active {
    background-color: #f8f9fa;
    color: #1a3a52;
}

/* Service links */
.tmenu-mobile__service-link {
    padding-left: 20px;
    font-size: 15px;
    color: #304658;
    background-color: #ffffff;
}

.tmenu-mobile__service-link:hover,
.tmenu-mobile__service-link:active {
    background-color: #f8f9fa;
    color: #1a3a52;
}

/* CTA Button Section (Get a Quote) */
.tmenu-mobile__item_cta {
    padding: 20px;
    border-bottom: none;
    background-color: #ffffff;
}

.tmenu-mobile__cta-btn {
    display: block !important;
    width: 100%;
    background: #304658;
    color: #ffffff !important;
    padding: 14px 25px !important;
    border-radius: 6px;
    text-align: center;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    box-shadow: 0 2px 8px rgba(48, 70, 88, 0.15);
    transition: all 0.3s ease;
    border: none;
}

.tmenu-mobile__cta-btn:hover {
    background: #1a3a52;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(48, 70, 88, 0.2);
}

/* Language selector */
.tmenu-mobile__item_lang {
    padding: 15px 20px 20px 20px;
    border-top: 1px solid #e9ecef;
    background-color: #f8f9fa;
}

.tmenu-mobile__lang-btn {
    width: 100%;
    background-color: #ffffff !important;
    color: #304658 !important;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    padding: 12px 15px !important;
    font-weight: 500;
    font-size: 14px;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    transition: all 0.2s ease;
    cursor: pointer;
}

.tmenu-mobile__lang-btn:hover {
    background-color: #f8f9fa !important;
    border-color: #adb5bd;
}

.tmenu-mobile__lang-btn i {
    font-size: 14px;
    margin-right: 6px;
    color: #6c757d;
}

.tmenu-mobile__dropdown-arrow {
    font-size: 9px;
    opacity: 0.6;
    transition: transform 0.3s ease;
    margin-left: 8px;
}

.tmenu-mobile__lang-btn.active .tmenu-mobile__dropdown-arrow {
    transform: rotate(180deg);
}

/* Language dropdown */
.tmenu-mobile__lang-dropdown {
    margin-top: 8px !important;
    background-color: #ffffff !important;
    border: none !important;
    border-radius: 6px !important;
    overflow: hidden !important;
    list-style: none !important;
    padding: 0 !important;
    max-height: 0 !important;
    transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.tmenu-mobile__lang-dropdown.active {
    max-height: 300px !important;
    padding: 4px 0 !important;
}

.tmenu-mobile__lang-dropdown li {
    list-style: none;
}

.tmenu-mobile__lang-dropdown .tmenu-mobile__dropdown-link {
      display: flex !important;
    padding: 10px 15px !important;
    text-align: center !important;
    color: #556b7d !important;
    font-size: 14px !important;
    border-left: none !important;
    border-bottom: 1px solid #f0f0f0 !important;
    transition: all 0.2s 
ease !important;
}

.tmenu-mobile__lang-dropdown li:last-child .tmenu-mobile__dropdown-link {
    border-bottom: none !important;
}

.tmenu-mobile__lang-dropdown .tmenu-mobile__dropdown-link:hover,
.tmenu-mobile__lang-dropdown .tmenu-mobile__dropdown-link:active {
    background-color: #f8f9fa !important;
    color: #304658 !important;
    padding-left: 15px !important;
}

/* Remove old dropdown styles (not needed anymore) - but keep language dropdown */
.tmenu-mobile__dropdown:not(.tmenu-mobile__lang-dropdown) {
    display: none !important;
}

.tmenu-mobile__dropdown-btn {
    display: none !important;
}

/* Responsive adjustments */
@media (max-width: 480px) {
    .tmenu-mobile__container {
        padding: 12px 15px;
        min-height: 65px;
    }

    .tmenu-mobile__logo {
        max-width: 120px;
    }

    .tmenu-mobile__link {
        padding: 14px 15px;
        font-size: 15px;
    }

    .tmenu-mobile__service-link {
        padding-left: 15px;
        font-size: 15px;
    }

    .tmenu-mobile__service-link:hover,
    .tmenu-mobile__service-link:active {
        padding-left: 15px;
    }

    .tmenu-mobile__item_cta {
        padding: 15px 15px 12px 15px;
    }

    .tmenu-mobile__cta-btn {
        padding: 13px 20px !important;
        font-size: 15px;
    }

    .tmenu-mobile__item_lang {
        padding: 12px 15px 8px 15px;
    }

    .tmenu-mobile__services-header {
        padding: 0 15px;
    }
}

/* Show mobile menu only on mobile devices */
@media (max-width: 980px) {
    .tmenu-mobile {
        display: block;
    }
}

@media (min-width: 981px) {
    .tmenu-mobile {
        display: none;
    }
}

/* Smooth scrolling for menu */
.tmenu-mobile__list::-webkit-scrollbar {
    width: 5px;
}

.tmenu-mobile__list::-webkit-scrollbar-track {
    background: #f8f9fa;
}

.tmenu-mobile__list::-webkit-scrollbar-thumb {
    background: #dee2e6;
    border-radius: 3px;
}

.tmenu-mobile__list::-webkit-scrollbar-thumb:hover {
    background: #adb5bd;
}

/* Prevent body scroll when menu is open */
body.menu-opened {
    overflow: hidden !important;
    position: fixed !important;
    width: 100% !important;
    height: 100% !important;
}
