/* Services dropdown – theme #070707, #fc0100 | hover open + icon */
.services-dropdown .services-sub-menu {
    opacity: 0;
    visibility: hidden;
    margin-top: 12px;
    padding: 12px 0;
    min-width: 220px;
    background: #070707;
    border-radius: 8px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.25);
    border-top: 3px solid #fc0100;
    transition: opacity 0.35s ease, visibility 0.35s ease, margin-top 0.35s ease, transform 0.35s ease;
    transform: translateY(-6px);
}
.services-dropdown:hover .services-sub-menu,
.services-dropdown:focus-within .services-sub-menu {
    opacity: 1;
    visibility: visible;
    margin-top: 0;
    transform: translateY(0);
    transition: opacity 0.35s ease, visibility 0.35s ease, margin-top 0.35s ease, transform 0.35s ease;
}
.services-dropdown-icon {
    font-size: 10px;
    margin-left: 6px;
    opacity: 0.9;
    transition: transform 0.3s ease;
}
.services-dropdown:hover .services-dropdown-icon {
    transform: rotate(180deg);
}
.services-sub-menu li {
    list-style: none;
    margin: 0;
    padding: 0;
    border: none;
}
.services-sub-menu li a {
    display: block;
    padding: 10px 20px;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.25s ease, color 0.25s ease, padding-left 0.25s ease;
}
.services-sub-menu li a:hover {
    background: rgba(252,1,0,0.15);
    color: #fc0100;
    padding-left: 24px;
}
@media only screen and (max-width: 991px) {
    .services-dropdown .services-sub-menu {
        opacity: 1;
        visibility: visible;
        position: static;
        margin-top: 0;
        transform: none;
        background: transparent;
        border: none;
        box-shadow: none;
        border-top: 1px solid rgba(255,255,255,0.2);
        padding: 8px 0 8px 16px;
    }
    .services-dropdown-icon {
        transform: none;
    }
    .services-dropdown:hover .services-dropdown-icon {
        transform: none;
    }
    .services-sub-menu li a {
        color: inherit;
        padding: 6px 0;
    }
    .services-sub-menu li a:hover {
        color: #fc0100;
        padding-left: 0;
    }

    /* Sidebar: dropdown icon sab pages pe – Home + About/Services (inner-header) dono */
    #navbarNavDropdown .services-dropdown > a .services-dropdown-icon,
    .header-nav .services-dropdown > a .services-dropdown-icon,
    .header-nav.show .services-dropdown > a .services-dropdown-icon,
    .site-header .header-nav .services-dropdown > a .services-dropdown-icon,
    .inner-header .header-nav .services-dropdown > a .services-dropdown-icon,
    .inner-header .header-nav.show .services-dropdown > a .services-dropdown-icon {
        display: inline-block !important;
        visibility: visible !important;
        opacity: 1 !important;
        font-size: 11px !important;
        margin-left: 8px !important;
        vertical-align: middle;
        background: none !important;
        width: auto !important;
        height: auto !important;
        line-height: 1 !important;
        float: none !important;
        color: inherit !important;
    }
    #navbarNavDropdown .services-dropdown > a .services-dropdown-icon::before,
    .header-nav .services-dropdown > a .services-dropdown-icon::before,
    .header-nav.show .services-dropdown > a .services-dropdown-icon::before,
    .site-header .header-nav .services-dropdown > a .services-dropdown-icon::before,
    .inner-header .header-nav .services-dropdown > a .services-dropdown-icon::before,
    .inner-header .header-nav.show .services-dropdown > a .services-dropdown-icon::before {
        content: "\f078" !important;
        font-family: "Font Awesome 5 Free" !important;
        font-weight: 900 !important;
    }
    /* Theme override: koi bhi page (inner-header) pe icon na chhupe */
    .navbar-collapse .nav .services-dropdown .services-dropdown-icon,
    .collapse.show .services-dropdown-icon {
        display: inline-block !important;
        visibility: visible !important;
        font-size: 11px !important;
    }
    .navbar-collapse .nav .services-dropdown .services-dropdown-icon::before,
    .collapse.show .services-dropdown-icon::before {
        content: "\f078" !important;
        font-family: "Font Awesome 5 Free" !important;
        font-weight: 900 !important;
    }

    /* Sidebar: horizontal scroll band + solid bg, full height */
    .header-nav.navbar-collapse,
    .header-nav.collapse,
    .header-nav.show {
        background: #fff !important;
        min-height: 100vh !important;
        height: 100vh !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        z-index: 9999 !important;
        max-width: 100vw !important;
    }
    .header-nav .nav.navbar-nav {
        background: #fff;
        padding-bottom: 2rem;
        max-width: 100%;
        overflow-x: hidden;
    }
    .header-nav .sidebar-mobile-header,
    .header-nav .logo-header,
    .header-nav .nav {
        max-width: 100%;
        overflow-x: hidden;
    }
    .header-nav .sidebar-logo-img {
        max-height: 40px;
        width: auto;
    }

    /* Sidebar: X (close) button */
    .sidebar-close-btn {
        width: 44px;
        height: 44px;
        min-width: 44px;
        padding: 0;
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        background: #fc0100 !important;
        color: #fff !important;
        border: none;
        border-radius: 6px;
        font-size: 20px;
        transition: background 0.2s ease, opacity 0.2s ease;
    }
    .sidebar-close-btn:hover {
        background: #070707 !important;
        color: #fff !important;
        opacity: 0.95;
    }
    .sidebar-mobile-header {
        flex-shrink: 0;
        background: #fff;
    }

    /* Sidebar closed: hide mobile header and X so they never show when menu is off */
    #navbarNavDropdown.collapse:not(.show) .sidebar-mobile-header,
    #navbarNavDropdown.collapse:not(.show) .sidebar-close-btn {
        visibility: hidden;
        opacity: 0;
        pointer-events: none;
    }
}
