/* .dropdown-menu li {
    position: relative;
    }
    .dropdown-menu .dropdown-submenu {
    display: none;
    position: absolute;
    right: 30%;
    top: 40px;
    }
    .dropdown-menu .dropdown-submenu-left {
    right: 70%;
    left: 70%;
    }
    .dropdown-menu > li:hover > .dropdown-submenu {
    display: block;
    } */

body,
html {
    max-width: 100% !important;
    overflow-x: hidden !important;

}

[type='checkbox']:checked,
[type='radio']:checked,
.dark [type='checkbox']:checked,
.dark [type='radio']:checked {
    background-color: var(--site_color) !important;
}

[type='checkbox']:focus,
[type='radio']:focus {
    --tw-ring-color: none !important;
}

.invalid-feedback {
    font-size: 12px;
    font-weight: bolder;
    color: red;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}

[multiple],
[type=date],
[type=datetime-local],
[type=email],
[type=month],
[type=number],
[type=password],
[type=search],
[type=tel],
[type=text],
[type=time],
[type=url],
[type=week],
select,
textarea {
    border-color: #D8D8D8 !important;
}

.select2-results__option,
.select2-selection__rendered {
    font-family: 'Fira Sans';
}

.select2-container--default .select2-selection--single {
    border: 1px solid rgb(216 216 216 / var(--tw-border-opacity)) !important;
    border-radius: 0px !important;
}

.download-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.image-column img {
    max-width: 100%;
    height: auto;
}

@media (max-width: 768px) {
    .download-section {
        flex-direction: column;
        text-align: center;
        position: relative;
        z-index: 1;
    }

    .image-column {
        margin-bottom: 1.5rem;
        width: 100%;
    }

    .image-column img {
        /*max-width: 10rem !important;*/
        /*height: auto;*/
        /*margin-left: -26px;*/
    }

    .content-column {
        /*width: 100vw;*/
        box-sizing: border-box;
        position: relative;
        z-index: 2;
        max-width: 110% !important;
    }

    .content-column .sec-title h2 {
        font-size: 1.4rem;
        line-height: 1.6rem;
    }

    .content-column p {
        font-size: 0.9rem;
    }

    .btn-box {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .btn-box img {
        width: 160px;
        height: auto;
        margin: 0.5rem 0;
    }
}

.banner-bg {
    position: relative;
    /* make sure the pseudo-element stays inside */
    background-image: url('../image/bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* ✅ Overlay using ::before */
.banner-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    /* top:0; right:0; bottom:0; left:0 */
    background: rgba(0, 0, 0, 0.3);
    /* black with 50% opacity */
    z-index: 0;
    /* keep it behind content */
}

/* ✅ Ensure your text/form stays above overlay */
.banner-bg>* {
    position: relative;
    z-index: 1;
}


.site-hero {
    clip-path: polygon(0 0, 100% 0, 100% 85%, 50% 100%, 0 85%);
    -webkit-clip-path: polygon(0 0, 100% 0, 100% 85%, 50% 100%, 0 85%);
}

body[dir='rtl'] .btn-appointment {
    margin-right: 10px;
}

.doctors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.banne_b {
    position: relative;
    /*top: -100px;*/
}

.text-white {
    color: white;
}

.doctors-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.doctors-header h2 {
    font-size: 28px;
    font-weight: 600;
    color: #333;
}

a {
    text-decoration: none !important;
}

.imagePopup {
    width: 100%;
    max-width: 70vw;
    height: 100%;
    max-height: 70vh;
}

.slick-slider .element {
    color: #fff;
    border-radius: 5px;
    display: inline-block;
    margin: 0px 10px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    font-size: 20px;
}

.slick-disabled {
    pointer-events: none;
    border-color: var(--site_color_hover);
}

.slick-disabled svg {
    fill: var(--site_color_hover);
}

.slick-dots {
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 1rem 0;
    list-style-type: none;
}

.slick-dots li {
    margin: 0 0.25rem;
}

.slick-dots button {
    display: block;
    width: 10px;
    height: 10px;
    padding: 0;
    border: none;
    border-radius: 100%;
    background-color: #D9D9D9;
    text-indent: -9999px;
}

.slick-dots li.slick-active button {
    background-color: var(--site_color);
}

.site-hero .btn-appointment {
    bottom: 55%;
    left: 7%;
}

.slick-track {
    margin-bottom: 10px;
}

.cta-section {
    position: relative;
    padding-top: 80px;
}

.cta-section {
    position: relative;
    background-color: #f8f9fa;
    overflow: hidden;
}

.cta-section .pattern-layer .pattern-1 {
    position: absolute;
    left: 70px;
    bottom: 0;
    width: 299px;
    height: 142px;
    background-repeat: no-repeat;
}

.cta-section .pattern-layer .pattern-2 {
    position: absolute;
    left: 240px;
    top: 15px;
    width: 460px;
    height: 387px;
    background-repeat: no-repeat;
}

.cta-section .pattern-layer .pattern-3 {
    position: absolute;
    right: 70px;
    top: 0;
    width: 349px;
    height: 228px;
    background-repeat: no-repeat;
}

.download-section {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.image-column {
    flex: 1;
    max-width: 40%;
    text-align: center;
}

.content-column {
    flex: 1;
    max-width: 50%;
}

.image-column img {
    max-width: 100%;
    height: auto;
}

.content-box {
    text-align: left;
    max-width: 500px;
}

.sec-title p {
    font-size: 16px;
    color: #555;
    text-transform: uppercase;
}

.sec-title h2 {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 15px;
}

.btn-box {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap;
}


.mainDiv .hoverDoc {
    display: none;
}

.mainDiv:hover .mainDiv1 {
    display: none;
}

.mainDiv:hover .hoverDoc,
.mainDiv1 {
    display: block;
}


/*        @media(min-width: 1600px){*/
/*    .custom-grid{*/
/*        grid-template-columns: repeat(6, minmax(0, 1fr));*/
/*    }*/
/*}*/

.grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

@media (min-width: 1024px) {
    .lg\:grid-cols-4 {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 575px) {
    .mt-sm-16 {
        margin-top: 64px !important;
    }

    .custom-center {
        text-align: center;
    }

    .image-column {
        max-width: 100%;
    }

    .mb-sm-16 {
        margin-bottom: 64px !important;
    }

    .doctors-header {
        flex-direction: column !important;
    }
}

.mb-sm-16 {
    margin-bottom: 0px;
}

.mt-sm-16 {
    margin-top: 0px;
}



/*@media(min-width: 1024px) and (max-width: 1600px){*/
/*    .custom-grid{*/
/*        grid-template-columns: repeat(6, minmax(0, 1fr));*/
/*    }*/
/*}*/

/*@media(min-width: 768px) and (max-width: 1023px){*/
/*    .custom-grid{*/
/*        grid-template-columns: repeat(3, minmax(0, 1fr));*/
/*    }*/
/*}*/


.s-static__card {
    vertical-align: top;
}

.card-our-offerings {
    border: 1px solid #f0f0f5;
    box-shadow: 0 4px 8px rgba(0, 0, 0, .12);
    border-radius: 24px;
    cursor: pointer;
}

.card__img--200x290 {
    width: 200px;
    height: 290px;
}

.card {
    position: relative;
}

.card-link {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.card-our-offerings .img-wrapper {
    width: 200px;
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
    height: 170px;
}

.card-our-offerings .info {
    padding-top: 20px;
    padding-left: 16px;
    padding-right: 16px;
}

.card-our-offerings .info .row-1 {
    padding-bottom: 8px;
}

.card-our-offerings .info .row-2 {
    font-weight: 400;
}

.u-margin--60__top {
    margin-top: 60px;
}

.content {
    width: 1180px;
    zoom: 1;
    margin: auto;
}

.u-d__flex--jc-center {
    justify-content: center;
}

.u-d__flex {
    display: flex;
}

.custom-grid-banner {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* 2 cards on small screens */
    gap: 20px;
    justify-items: center;
}

@media (min-width: 768px) {
    .custom-grid-banner {
        grid-template-columns: repeat(4, 1fr);
        /* 4 cards after tablet */
    }

}

.s-static__card {
    width: 100%;
    max-width: 270px;
    /* optional: control card width */
}


@media (min-width: 376px) and (max-width: 768px) {
    .card__img--200x290 {
        width: 140px;
        height: 210px;
    }

    .card-our-offerings .img-wrapper {
        width: 140px;
        border-top-left-radius: 24px;
        border-top-right-radius: 24px;
        height: 110px;
    }

    .u-margin--10__right {
        margin-right: 0px;
    }

    .card-our-offerings .info {
        padding-top: 10px;
        padding-left: 10px;
        padding-right: 10px;
    }

    .u-t-c--grey_1 {
        font-size: 15px;
    }

    .u-font--20 {
        font-size: 15px;
    }

}

.slick-slide img {
    border-radius: 4px;
}


@media (min-width: 575px) {
    .custom-grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }

}

@media (max-width: 376px) {
    .card__img--200x290 {
        width: 120px;
        height: 190px;
    }

    .card-our-offerings .img-wrapper {
        width: 120px;
        border-top-left-radius: 24px;
        border-top-right-radius: 24px;
        height: 100px;
    }

    .u-margin--10__right {
        margin-right: 0px;
    }

    .u-t-c--grey_1 {
        font-size: 12px;
    }

    .u-font--20 {
        font-size: 12px;
    }

    .card-our-offerings .info {
        padding-top: 10px;
        padding-left: 10px;
        padding-right: 10px;
    }

}

/* minimal mobile overlay for the collapsed menu */
@media (max-width: 767px) {

    /* anchor for absolute menu */
    nav>.flex {
        position: relative;
        z-index: 10;
    }

    /* make the collapsed menu overlay instead of pushing layout */
    #mobile-menu-language-select {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        background: #fff;
        border-top: 1px solid #e5e7eb;
        box-shadow: 0 6px 12px rgba(0, 0, 0, .06);
        z-index: 999;
    }

    .custom-end {
        justify-content: end !important;
    }
}

/* Doctor Card Container */
.col-12.col-sm-6.col-md-4.col-lg-3 .border-0 {
    /*background: #ffffff;*/
    /*border-radius: 12px;*/
    /*box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);*/
    /*transition: all 0.3s ease;*/
    overflow: hidden;
}


/* Image Wrapper */
.col-12.col-sm-6.col-md-4.col-lg-3 .ratio {
    position: relative;
    width: 100%;
    aspect-ratio: 1/1;
    border-radius: 10px;
    overflow: hidden;
}

/* Image (no stretch, clean fit) */
.col-12.col-sm-6.col-md-4.col-lg-3 .card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.4s ease;
}

/* Image hover zoom */
.col-12.col-sm-6.col-md-4.col-lg-3:hover .card-image {
    transform: scale(1.08);
}

/* Text & Typography */
.col-12.col-sm-6.col-md-4.col-lg-3 h5 {
    font-size: 1.05rem;
    font-weight: 600;
    color: #222;
    margin-bottom: 4px;
    transition: color 0.3s ease;
}

.col-12.col-sm-6.col-md-4.col-lg-3 h5:hover {
    color: #03045e;
}

.col-12.col-sm-6.col-md-4.col-lg-3 p {
    margin: 0;
    line-height: 1.4;
}

.col-12.col-sm-6.col-md-4.col-lg-3 p.text-primary {
    font-size: 0.9rem;
    font-weight: 500;
}

.col-12.col-sm-6.col-md-4.col-lg-3 p.text-gray-500 {
    font-size: 0.85rem;
    color: #6c757d;
}

/* Star color consistency */
.col-12.col-sm-6.col-md-4.col-lg-3 .fa-star {
    color: #fbbf24;
}

/* Responsive adjustment */
@media (max-width: 575px) {
    .col-12.col-sm-6.col-md-4.col-lg-3 .border-0 {
        padding: 1rem;
        border-radius: 10px;
    }
}

.custom-height {
    height: 300px;
}

.banner-bg {
    background-size: 100% 100% !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
}