/* .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;
    padding: 50px 20px;
    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;
    padding: 50px 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;
        }

