.our-service-banner {
    background-image: url("../images/home/bg2.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Optional gradient overlay */
.our-service-banner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background: #000000A6;
}

/* Make content appear above background */
.our-service-banner .banner-content {
    position: relative;
    z-index: 2;
}

.our-service-banner .banner-title {
    margin: unset;
    max-width: 200px;
}

.our-service-banner .banner-heading,
.our-service-banner .banner-subheading,
.our-service-banner .banner-buttons {
    max-width: unset;
    margin: unset;
}

.serving-main-img {
    width: 100%;
    min-height: 424px;
    overflow: hidden;
    border-radius: 20px;
}

.serving-text-content {
    padding: 24px 0;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.serving-single {
    display: flex;
    gap: 24px;
    width: 100%;
}

.serving-heart {
    max-height: 44px;
    min-width: 44px;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.serving-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

/* best section */
.best-content {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.best-card {
    border-radius: 16px;
    padding: 20px;
    border: 1px solid #E2E8F0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 286px;
}

.best-card-icon {
    min-height: 64px;
    min-width: 64px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 16px;
    overflow: hidden;
}

.better-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.facility-img {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 20px;
}

.facility-img::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(181.1deg,
            rgba(0, 8, 20, 0) 39.28%,
            rgba(0, 8, 20, 0.7) 70.1%,
            rgba(0, 0, 0, 0.7) 144.78%);
    border-radius: 20px;
}

.facility-card {
    position: relative;
}

.facility-text {
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: absolute;
    bottom: 20px;
    margin: 0 20px;
}

.better-content .gx-3 {
    --bs-gutter-x: 20px;
}

.query-section {
    padding: 32px;
    background: linear-gradient(268.67deg, rgba(0, 74, 211, 0) -115.28%, #004084 98.87%);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.query-btn {
    display: flex;
    gap: 16px;
    align-items: center;
    justify-content: center;
}

.profile-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 120px;
}

.query-profile-img {
    width: 100%;
    max-width: 56px;
    min-height: 56px;
    /* overflow: hidden; */
    border-radius: 200px;
    position: relative;
    z-index: 3;
}

.query-profile-img img {
    position: relative;
    z-index: 5;
}

.query-profile-img::before,
.query-profile-img::after {
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

/* LEFT image */
.query-profile-img::before {
    left: -30px;
    background-image: url("../images/services/left-prof.svg");
}

/* RIGHT image */
.query-profile-img::after {
    right: -30px;
    background-image: url("../images/services/right-prof.svg");
}

/* find services  */
.location-dropdown-container {
    border-radius: 104px;
    padding: 8px 18px;
    display: flex;
    gap: 12px;
    justify-content: center;
    align-items: center;
}

.loctaion-icon {
    width: 100%;
    max-width: 24px;
    min-height: 24px;
}

.find-service-map {
    /*  flex-lg-row  gap-3 gap-lg-0 justify-content-between w-50 */
    display: flex;
    flex-direction: row;
    gap: 0;
    justify-content: space-between;
    width: 50%;
}

/* custom dropdown */
.location-custom-dropdwon {
    position: relative;
    min-width: 146px;
    /* adjust as needed */
    cursor: pointer;
}

.dropdown-selected {
    background: transparent;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dropdown-selected .loctaion-icon {
    transition: transform 0.3s ease;
}
.input-grp .dropdown-options-wrapper {
    padding-right: 4px; /* Your required spacing */
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 4px;
    z-index: 1000;
}
.input-grp .dropdown-options {
    border: 1px solid #ccc;
    border-radius: 6px;
    background-color: #fff;
    max-height: 150px;
    overflow-y: auto;
}
/* When open, show wrapper instead */
.input-grp .dropdown-options-wrapper {
    display: none;
}

.input-grp .dropdown-options-wrapper.show {
    display: block;
}
/* Scrollbar styling ONLY for dropdown option list */
.input-grp .dropdown-options::-webkit-scrollbar {
    width: 8px;              /* Scrollbar width */
}

/* Track (background) */
.input-grp .dropdown-options::-webkit-scrollbar-track {
    background: #f1f1f1;     /* Track color */
    border-radius: 10px;
}

/* Thumb (the draggable bar) */
.input-grp .dropdown-options::-webkit-scrollbar-thumb {
    background: #c1c1c1;     /* Thumb color */
    border-radius: 10px;
}

/* Thumb hover */
.input-grp .dropdown-options::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;     /* On hover */
}
.dropdown-options {
    position: absolute;
    top: 100%;
    left: -50px;
    right: 0;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    list-style: none;
    margin: 4px 0 0 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    z-index: 10;
}

.dropdown-options li {
    padding: 8px 16px;
    cursor: pointer;
    font-family: var(--primary-font);
    font-weight: 400;
    font-size: 20px;
    line-height: 1.4;
    letter-spacing: -1.5px;
}

.dropdown-options li:hover {
    background-color: #CBE3FF;
}

.location-custom-dropdwon.active .dropdown-options {
    max-height: 200px;
    min-width: 218px;
    overflow-y: scroll;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.location-custom-dropdwon.active .dropdown-selected .loctaion-icon {
    transform: rotate(180deg);
}

.sub-location-btns {
    display: flex;
    gap: 20px;
    max-width: 400px;
    overflow-x: scroll;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.sublocation-btn {
    border: 1px solid var(--color-grey-7);
    padding: 8px 18px;
    border-radius: 12px;
    font-family: var(--primary-font);
    font-weight: 400;
    font-size: 18px;
    line-height: 1.4;
    color: var(--color-grey-3);
    white-space: nowrap;
}

.sublocation-btn.active {
    border: 1px solid var(--color-primary);
    color: var(--color-primary);
}

.service-details-section {
    display: flex;
    gap: 30px;
    border: 1px solid var(--color-grey-8);
    padding: 16px;
    border-radius: 12px;
    justify-content: space-between;
}

.sublocation-img {
    min-height: 186px;
    overflow: hidden;
    border-radius: 8px;
    max-width: 246px;
}

.certification-img img {
    min-height: 120px;
}

.sublocation-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 270px;
}

.services-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.service-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 16px;
    max-height: 16px;
    overflow: hidden;
}

.services-location {
    max-width: 246px;
    max-height: 196px;
    border-radius: 8px;
    overflow: hidden;
}








/* certification-section */
.certification-content {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    justify-content: center;
}

.certification-card {
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 180px;
    min-height: 180px;
    border-radius: 16px;
    overflow: hidden;
}

.certification-img {
    width: 100%;
    min-height: 120px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}








@media (min-width: 992px) {
    .serving-content .col-lg-5 {
        flex: 0 0 auto;
        width: 46.66666667%;
    }

    .serving-content .col-lg-7 {
        flex: 0 0 auto;
        width: 53.33333333%;
    }
}

@media (max-width:1399px) {
    .best-content {
        justify-content: center;
    }
}

@media (max-width:1199px) {
    .service-details-section {
        gap: 20px;
    }
}

@media (max-width:991px) {
    .our-service-banner .banner-title {
        margin: 0 auto;
    }

    .our-service-banner .banner-content {
        gap: 16px;
    }

    .our-service-banner .banner-heading,
    .our-service-banner .banner-subheading,
    .our-service-banner .banner-buttons {
        text-align: center;
        margin: 0 auto;
    }

    .serving-title .h2-text {
        line-height: 1.2;
    }

    .serving-title .ls-1-5 {
        letter-spacing: 0;
    }

    .serving-title .h5-text {
        font-size: 14px;
    }

    .serving-main-img {
        min-height: unset;
        max-height: 298px;
    }
    .serving-main-img img{
        width: 100%;
    }

    .serving-text-content {
        padding: 8px 0 0 0;
    }

    .serving-heart {
        max-height: 36px;
        min-width: 36px;
    }

    .serving-single {
        gap: 18px;
    }

    .serving-text .h4-text {
        font-size: 16px;
    }

    .serving-text-content {
        gap: 16px;
    }

    .best-title .h2-text {
        line-height: 1;
    }

    .best-title .h5-text {
        font-size: 14px;
    }

    .best-card {
        width: 100%;
        max-width: 100%;
        padding: 12px;
        gap: 4px;
        margin-bottom: 16px;
    }

    .best-card-icon {
        min-height: 40px;
        min-width: 40px;
        border-radius: 8px;
    }

    .best-card-icon img {
        max-width: 24px;
        max-height: 24px;
    }

    .best-content {
        max-width: 575px;
        margin: 0 auto;
        gap: 0;
    }

    .best-card-btn {
        font-family: var(--secondary-font);
        font-weight: 600;
        font-size: 14px;
        line-height: 1.4;
        letter-spacing: 0;
        border-radius: 4px;
        padding: 3px 12px;
        justify-content: center;
        align-items: center;
    }

    /*  */
    .best-card.hidden-card {
        max-height: 0;
        opacity: 0;
        overflow: hidden;
        transition: max-height 0.4s ease-in-out, opacity 0.3s ease-in-out;
        padding: 0;
        margin-bottom: 0;
    }

    .best-card.hidden-card.show {
        max-height: 200px;
        /* enough for one card */
        opacity: 1;
        padding: 12px;
        margin-bottom: 16px;
    }

    .best-card-btn img {
        transition: transform 0.3s ease-in-out;
    }

    .best-card-btn.rotate img {
        transform: rotate(180deg);
    }


    .better-title .ls-1-5 {
        letter-spacing: 0;
    }

    .better-title .h5-text {
        font-size: 14px;
    }

    .facility-text .h5-text {
        font-size: 20px;
    }

    .facility-text .para {
        font-size: 16px;
    }

    .better-content .gy-3 {
        --bs-gutter-y: 24px;
    }

    .query-section {
        flex-direction: column;
        gap: 24px;
    }

    .profile-wrapper {
        margin: 0 auto;
    }

    .query-title .h5-text {
        font-size: 20px;
    }

    .query-title .h6-text {
        font-size: 18px;
    }

    .query-btn .btn-secondary {
        padding: 6px 20px;
    }

    .query-btn .btn-primary {
        background: var(--color-white);
        color: var(--color-grey-4);
        padding: 9px 12px;
    }

    .location-dropdown-container {
        max-width: 220px;
        margin: 0 auto;
    }

    .find-section .content-conainer {
        overflow: hidden;
    }

    .find-section .sublocation-btn {
        padding: 6px 18px;
    }

    .service-details-section {
        flex-direction: column;
        gap: 20px;
    }

    .sublocation-img {
        max-width: 100%;
        min-height: unset;
    }

    .sublocation-img img {
        min-height: 190px;
    }

    .sublocation-details .fs-small {
        font-size: 14px;
    }

    .services-list .fs-small {
        font-size: 14px;
    }

    .services-location {
        max-width: 100%;
        /* min-height: 190px; */
        max-height: unset;
    }

    .services-location iframe {
        border-radius: 8px;
        overflow: hidden;
        height: 100%;
        min-height: 192px;
    }

    .certification-title .h5-text {
        font-size: 14px;
    }

    .certification-card {
        min-width: 107px;
        min-height: 102px;
    }

    .certification-img img {
        max-width: 70px;
        max-height: 70px;
        min-height: unset;
    }

    .find-service-map {
        flex-direction: column;
        gap: 16px;
        width: 100%;
    }

    /*  */
    .serving-content,
    .better-content,
    .service-details-section,
    .find-section .content-conainer {
        max-width: 575px;
        margin: 0 auto;
    }
    .facility-img img{
        width: 100%;
    }
}