.header-wrap.style1 .header-top {
    width: 100%;
    padding-top: 6px;
    padding-bottom: 6px;
}

.header-wrap.style1 .header-top .container {
    max-width: 1320px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
}

.header-wrap.style1 .header-top .row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
}

.header-wrap.style1 .header-top-left {
    width: 100%;
    display: flex;
    justify-content: flex-start;
}

.header-wrap.style1 .header-top-left .contact-info {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    gap: 8px;
}

.header-wrap.style1 .header-top-left .contact-info li {
    margin: 0 15px 0 0;
    white-space: nowrap;
}

.header-wrap.style1 .header-top-left,
.header-wrap.style1 .header-top-left * {
    float: none;
}

.header-wrap.style1 .header-top-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-left: 16px;
    flex-shrink: 0;
    gap: 14px;
}

.header-top-social,
.header-mobile-social {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.header-mobile-social {
    display: none;
}

.header-top-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    color: #fff !important;
    font-size: 15px;
    line-height: 1;
    text-decoration: none;
}

.header-top-social a:hover {
    opacity: 0.85;
    color: #fff !important;
}

.header-wrap .header-top a,
.header-wrap .header-top a:hover,
.header-wrap .header-top a:focus,
.header-wrap .header-top a:focus-visible,
.header-wrap .header-top a:active,
.header-wrap .header-top a:visited {
    outline: none !important;
    box-shadow: none !important;
    border: 0 !important;
    -webkit-tap-highlight-color: transparent;
}

.header-wrap .header-top .header-top-faq {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.02em;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    padding: 0;
}

.header-wrap .header-top .header-top-faq:hover,
.header-wrap .header-top .header-top-faq:focus,
.header-wrap .header-top .header-top-faq:focus-visible,
.header-wrap .header-top .header-top-faq:active,
.header-wrap .header-top .header-top-faq:visited {
    color: #fff;
    text-decoration: none;
}

.header-wrap .header-top .header-top-faq:hover {
    opacity: 0.88;
}

.header-mobile-faq {
    display: none;
}

.faq-wrap#faqs {
    scroll-margin-top: 140px;
}

/* Match shurjopay.com.bd desktop nav: keep multi-word items (e.g. System Status) on one line */
@media only screen and (min-width: 1200px) {
    .header-wrap.style1 .header-bottom .navbar .navbar-collapse.main-menu-wrap {
        display: flex !important;
        flex-wrap: nowrap;
        align-items: center;
        flex: 1 1 auto;
        min-width: 0;
    }

    .header-wrap.style1 .header-bottom .navbar .navbar-nav {
        flex-wrap: nowrap;
        align-items: center;
        flex: 1 1 auto;
    }

    .header-wrap.style1 .header-bottom .navbar .navbar-nav > .nav-item {
        flex: 0 0 auto;
    }

    .header-wrap.style1 .header-bottom .navbar .navbar-nav > .nav-item > a {
        white-space: nowrap;
    }

    .header-wrap.style1 .header-bottom .others-options {
        flex: 0 0 auto;
        margin-left: 8px;
    }
}

@media only screen and (max-width: 1199px) and (min-width: 768px) {
    .header-wrap.style1 .header-top .row {
        flex-wrap: wrap;
    }

    .header-wrap.style1 .header-top-left .contact-info {
        flex-wrap: wrap;
        gap: 4px 10px;
    }

    .header-wrap.style1 .header-top-left .contact-info li {
        margin: 2px 10px 2px 0;
    }
}

@media only screen and (max-width: 767px) {
    html {
        scroll-behavior: auto;
    }

    html,
    body {
        overflow-x: clip;
    }

    .page-wrapper {
        overflow-x: hidden;
    }

    .feature-wrap,
    .logo-carousel,
    .logo-track {
        overflow-x: hidden !important;
    }

    .header-wrap.style1 .header-top {
        position: fixed !important;
        top: 0 !important;
        left: -110% !important;
        width: min(340px, 88vw) !important;
        max-width: 88vw !important;
        height: 100vh !important;
        height: 100dvh !important;
        padding: 56px 22px 28px !important;
        background: #fff !important;
        z-index: 10050 !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        visibility: hidden;
        pointer-events: none;
        box-shadow: none;
        transition: left 0.35s ease, visibility 0s linear 0.35s;
    }

    .header-wrap.style1 .header-top.open {
        left: 0 !important;
        visibility: visible;
        pointer-events: auto;
        box-shadow: 8px 0 32px rgba(16, 24, 40, 0.18);
        transition: left 0.35s ease, visibility 0s linear 0s;
    }

    .header-wrap.style1 .header-top .container {
        max-width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .header-wrap.style1 .header-top .row {
        display: flex !important;
        flex-direction: column !important;
        flex-wrap: wrap !important;
        align-items: flex-start !important;
        justify-content: flex-start !important;
    }

    .header-wrap.style1 .header-top-left,
    .header-wrap.style1 .header-top-left .contact-info {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        width: 100% !important;
        max-width: 100% !important;
        gap: 0 !important;
    }

    .header-wrap.style1 .header-top-left .contact-info li {
        display: flex !important;
        align-items: flex-start !important;
        white-space: normal !important;
        margin: 0 0 16px 0 !important;
        max-width: 100%;
    }

    .header-wrap.style1 .header-top .header-top-left .contact-info li i,
    .header-wrap.style1 .header-top .header-top-left .contact-info li i:before {
        color: #009247 !important;
        font-size: 18px !important;
        line-height: 1 !important;
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        width: 22px;
        min-width: 22px;
        margin-right: 10px !important;
        margin-top: 2px;
        flex-shrink: 0;
        visibility: visible !important;
        opacity: 1 !important;
        position: relative;
        top: 0 !important;
    }

    .header-wrap.style1 .header-top-left .contact-info li p,
    .header-wrap.style1 .header-top-left .contact-info li a {
        white-space: normal !important;
        color: #030734;
        word-break: break-word;
    }

    .header-wrap.style1 .header-top-right {
        width: 100% !important;
        margin: 4px 0 0 !important;
        justify-content: flex-start !important;
        flex-wrap: wrap;
        gap: 12px;
    }

    .header-wrap.style1 .header-top .header-top-social a {
        color: #009247 !important;
        width: 32px;
        height: 32px;
        font-size: 18px;
    }

    .header-wrap.style1 .header-top .header-top-faq,
    .header-wrap.style1 .header-top .header-top-faq:hover,
    .header-wrap.style1 .header-top .header-top-faq:visited {
        color: #009247 !important;
        font-size: 16px;
        white-space: nowrap;
    }

    .header-wrap.style1 .header-bottom {
        min-height: 56px;
        padding: 0 !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
    }

    .header-wrap.style1 .header-bottom .container {
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 6px 12px !important;
        min-height: 56px;
        width: 100%;
        max-width: 100%;
        gap: 8px;
    }

    .header-wrap.style1 .header-bottom .navbar {
        padding: 0 !important;
        margin: 0 !important;
        flex: 1 1 auto;
        min-width: 0;
        width: auto !important;
        max-width: none;
    }

    .header-wrap.style1 .header-bottom .navbar .navbar-brand {
        padding: 0 !important;
        margin: 0 !important;
        display: flex;
        align-items: center;
    }

    .header-wrap.style1 .header-bottom .navbar .navbar-brand img,
    .header-wrap.style1 .navbar-brand img {
        max-width: 108px !important;
        width: auto;
        height: auto;
        max-height: 32px;
        object-fit: contain;
    }

    .header-wrap.style1 .mobile-bar-wrap {
        display: flex !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: flex-end !important;
        gap: 2px;
        top: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        flex: 0 0 auto;
        max-width: none;
    }

    .header-wrap.style1 .mobile-bar-wrap .searchbtn {
        display: none !important;
    }

    .header-mobile-faq {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        height: 32px;
        padding: 0 6px;
        margin-right: 0;
        color: #009247;
        font-size: 12px;
        font-weight: 600;
        letter-spacing: 0.01em;
        text-decoration: none;
        line-height: 1;
        white-space: nowrap;
    }

    .header-mobile-faq:hover,
    .header-mobile-faq:focus,
    .header-mobile-faq:visited {
        color: #009247;
        text-decoration: none;
        outline: none;
    }

    .header-mobile-social {
        display: inline-flex;
        align-items: center;
        margin-right: 0;
        gap: 0;
    }

    .header-mobile-social a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 28px;
        height: 32px;
        color: #009247;
        font-size: 15px;
        text-decoration: none;
    }

    .header-mobile-social a:hover,
    .header-mobile-social a:visited {
        color: #009247;
    }

    .header-wrap.style1 .mobile-sidebar {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        width: 28px;
        height: 32px;
        top: 0 !important;
        line-height: 1;
        margin: 0;
    }

    .header-wrap.style1 .mobile-sidebar i {
        font-size: 17px !important;
        line-height: 1;
    }

    .header-wrap.style1 .mobile-menu {
        display: inline-flex !important;
        align-items: center;
        top: 0 !important;
        margin: 0 0 0 2px !important;
        position: relative;
    }

    .header-wrap.style1 .mobile-menu a {
        width: 32px !important;
        height: 32px !important;
        min-width: 32px;
    }

    .header-wrap.style1 .mobile-menu a i {
        font-size: 18px !important;
        line-height: 1;
    }

    .header-wrap.style1 .full-width-line {
        margin: 0 !important;
        opacity: 0.35;
    }

    .faq-wrap#faqs {
        scroll-margin-top: 72px;
    }
}

@media only screen and (max-width: 380px) {
    .header-wrap.style1 .header-bottom .navbar .navbar-brand img,
    .header-wrap.style1 .navbar-brand img {
        max-width: 92px !important;
        max-height: 28px;
    }

    .header-mobile-faq {
        font-size: 11px;
        padding: 0 4px;
    }

    .header-mobile-social a,
    .header-wrap.style1 .mobile-sidebar {
        width: 26px;
    }

    .header-wrap.style1 .mobile-menu a {
        width: 30px !important;
        height: 30px !important;
        min-width: 30px;
    }
}
