/* preloader */
.logo-preloader {
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    padding: 0;
    margin-bottom: 20px;
    animation: fadeScale 1.2s infinite ease-in-out;
}

.logo-preloader img {
    width: 190px;
    /* logo size */
    height: auto;
}

/* Header Logo */
.header-logo img {
    max-height: 115px;
    width: auto;
    transition: all 0.3s ease;
    /* margin-left: 48px; */
}

/* header top-bar */
.top-bar-txt {
    font-size: 15px;
}


/* social-icions */
.social-icon a img {
    margin-right: 10px;
    transition: transform 0.3s;
    height: 24px;
    width: 24px;
}

.social-icon a {
    position: relative;
    display: inline-flex;
    padding: 6px;
}

.social-icon a img {
    transition: opacity 0.3s ease;
}

/* bottom accent line */
.social-icon a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -4px;
    width: 0;
    height: 2px;
    background: #0d6efd;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.social-icon a:hover img {
    opacity: 0.75;
    margin-bottom: 10px;
}

.social-icon a:hover::after {
    width: 100%;
}


/* banner */
.hero-height {
    position: relative;
    height: 500px;
    overflow: hidden;
}

.hero-img-home {
    background-size: cover !important;
    background-repeat: no-repeat !important;
}

.hero-content {
    color: #fff;
}

.hero-content h1 {
    font-size: 38px;
    line-height: 1.5;
    margin-bottom: 25px;
    color: #fff;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.3;
    color: #0b2c3d;
}

.hero-title span {
    position: relative;
    display: inline-block;
    padding: 6px 14px;
    background-color: var(--theme-color-2);
    color: #ffffff;
    border-radius: 6px;
    /* width: 100%; */
}

/* @media (max-width: 1400px) {
.header-main {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-around;
    padding: 12px 0px 5px 0;
}
.header-logo img {
    max-height: 115px;
    width: auto;
    transition: all 0.3s ease;
}
} */
/* Appointment Modal */
.appointment-modal {
    position: fixed;
    inset: 0;
    display: none;
    z-index: 9999;
}

.appointment-modal.active {
    display: block;
}

.appointment-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
}

.appointment-modal-content {
    position: relative;
    background: #fff;
    max-width: 600px;
    margin: 30px auto;
    padding: 30px;
    border-radius: 10px;
    z-index: 10;
}

.appointment-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
}

/* Close Button */
.appointment-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: transparent;
    border: none;
    font-size: 20px;
    color: #555;
    cursor: pointer;
    transition: color 0.3s;
}

.appointment-modal-close:hover {
    color: var(--theme-color-2);
}

/* Modal Heading */
.appointment-modal-content h3 {
    font-size: 26px;
    font-weight: 600;
    margin-bottom: 25px;
    text-align: center;
    color: #333;
}

/* Inputs & Selects */
.appointment-modal-content input,
.appointment-modal-content select,
.appointment-modal-content textarea {
    width: 100%;
    padding: 12px 5px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    outline: none;
    color: #82807e;
    /* color: black; */
    transition: all 0.3s ease;
}

.appointment-modal-content input:focus,
.appointment-modal-content select:focus,
.appointment-modal-content textarea:focus {
    border-color: var(--theme-color);
    box-shadow: 0 0 8px rgba(0, 123, 255, 0.2);
}

/* Textarea */
.appointment-modal-content textarea {
    min-height: 100px;
    resize: none;
}

/* Submit Button */
.icon1-home img {
    width: 100%;
    border-radius: 50%;
}

/* floating appointment */
.floating-appointment {
    position: fixed;
    right: -53px;
    bottom: 49%;
    z-index: 9999;
}

.floating-appointment-btn {
    width: 118px;
    height: 56px;
    border-radius: 24px 0px 0px 23px;
    background-color: var(--theme-color-2);
    /* theme color */
    border: none;
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease;
}

.floating-appointment-btn:hover {
    background-color: var(--theme-color);
    transform: translateY(-3px);
}

/* subtle pulse animation */
.floating-appointment-btn::after {
    content: "";
    position: absolute;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--theme-color);
    animation: pulse 1s infinite;
    z-index: -1;
    left: 0px;
}

.floating-appointment-btn:hover::after {
    background: var(--theme-color-2);
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

.floating-icion {
    margin-right: 64px;
    font-size: 31px;
}

@media (max-width: 768px) {
    .floating-appointment {
        right: -69px;

    }

    .floating-icion {
        font-size: 28px;
    }

    .floating-appointment-btn {
        height: 48px;
    }

    .footer-widget-wrapper .single-footer-widget .footer-content .social-icon {
        margin-bottom: 16px;
    }

    .footer-widget-wrapper .single-footer-widget.style-bg-white ul li {
        font-size: 15px;
    }

    .service-details-wrapper .service-details-right-items h3 {
        font-size: 23px;
    }

    .info-box {
        padding: 30px 14px !important;
    }
}

/* whtsapp-call floating */

/* FAB Container */
.fab-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
}

/* Main + Button */
.fab-main {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--theme-color);
    color: #fff;
    border: none;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

/* Child Icons */
.fab-item {
    position: absolute;
    right: 6px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 20px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(0);
    transition: all 0.3s ease;
}

/* WhatsApp */
.fab-item.whatsapp {
    background: #25d366;
}

/* Phone */
.fab-item.phone {
    background: var(--theme-color);
}

/* Active State */
.fab-container.active .fab-item {
    opacity: 1;
    visibility: visible;
}

.fab-container.active .fab-item.whatsapp {
    transform: translateY(-118px);
}

.fab-container.active .fab-item.phone {
    transform: translateY(-177px);
}

.fab-container.active .fab-main {
    transform: rotate(45deg);
}


/* home-about */

.highlight-service {
    font-weight: 600;
    color: var(--theme-color-2);
    /* medical green */
}


/* icu-home */

.icu-home {
    color: var(--theme-color-2);
    font-size: 38px;

}

.icu-btn-home {
    padding-bottom: 40px !important;
}

.icu-home2 {
    font-size: 25px;
    color: #ffffff;
    text-align: center;
    letter-spacing: 1.5px;
}

/* doctor-home */
.doctor-home-title {
    font-size: 35px;
}

.doctor-about {
    font-size: 18px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 5px;
}

.doctors-img {
    position: relative;
    top: 172px;
}

.doctor-btn {
    margin-top: 50px;
}

/* physician-treatment */
.phy-treat {
    padding-top: 34px;
}

.py-35 {
    padding-top: 100px;
    padding-bottom: 35px
}


/* gynecology-trestment */
.li-z-index {
    z-index: 1;
}

/* gallery section css  */


.arrivals-image {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.arrivals-image img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.arrivals-image:hover img {
    transform: scale(1.08);
}

/* Overlay Icon */
.gallery-icon {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.3s;
}

.gallery-icon i {
    color: #fff;
    font-size: 28px;
    background: var(--theme-color);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.arrivals-image:hover .gallery-icon {
    opacity: 1;
}

/* TESTIMONIOLS */
.client-home img {
    width: 130px;
    height: 130px;
}

/* footer-home */

.footer-Logoimg {
    height: 120px;
    display: block;
    margin: 0 auto;
    /* centers image horizontally */
}

.footer-p {
    font-size: 16px;
}

.footer-row-contact {
    width: 100%;
    max-width: 290px;
    /* keeps same desktop size */
}

.footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.footer-contact-list li i {
    color: var(--theme-color);
    /* change as needed */
    font-size: 16px;
}

.footer-contact-list li a {
    text-decoration: none;
    color: inherit;
    color: rgb(255 255 255 / 80%);
}

.footer-developer-link {
    color: var(--theme-color-2);
}

.footer-container {
    max-width: 1300px;
}

.hospital-name {
    font-size: 17px;
    font-weight: 700;
    color: var(--theme-color-2);
    /* display: inline-block; */
    /* margin-bottom: 6px; */
}

.footer-address .hospital-name {
    /* display: block; */
    /* line-height: 1.6; */
    color: var(--theme-color-2);
}

.footer-contact-phone {
    color: #fff !important;
}

.hero-2 .hero-content h1 {
    color: var(--white);
    text-transform: capitalize;
    margin-top: 20px;
}

.footer-contact-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.footer-contact-list li i,
.footer-contact-list li a {
    color: #ffffff;
    /* default color */
    transition: color 0.3s ease, transform 0.3s ease;
}

/* hover on li */
.footer-contact-list li:hover i,
.footer-contact-list li:hover a {
    color: var(--theme-color-2);
}

/* optional icon movement */
.footer-contact-list li:hover i {
    transform: scale(1.1);
    color: var(--theme-color-2) !important;
}

/* mail li hover */
.footer-contect>li:last-child {
    cursor: pointer;
}

.footer-contect>li:last-child .icon i,
.footer-contect>li:last-child .content a {
    /* color: #ffffff; */
    /* default */
    transition: color 0.3s ease, transform 0.3s ease;
}

/* joint hover */
.footer-contect>li:last-child:hover .icon i,
.footer-contect>li:last-child:hover .content a {
    color: var(--theme-color-2) !important;
}

/* optional icon animation */
.footer-contect>li:last-child:hover .icon i {
    transform: scale(1.1);
    color: var(--theme-color-2);
}



/* Responsive */
@media (max-width: 768px) {
    .contact-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .contact-item i {
        margin-top: 0;
        margin-bottom: 4px;
    }

    .footer-phone a {
        font-size: 14px;
        display: block;
    }

    .header-contact {
        padding-bottom: 20px;
    }

    .hero-height {
        height: 300px !important;
        min-height: 200px !important;
    }

    .hero-2 .hero-bg {
        /* height: 100%; */
        width: 100%;
        background-size: cover;
        background-position: center center;
        /* height: 227px; */
    }

    .mobile-display-none {
        display: none !important;
    }

    .header-logo img {
        max-height: 100px;
    }

    .banner-btn {
        padding: 9px 21px !important;
        font-size: 15px !important;
        font-weight: 500 !important;
    }

    .hero-content h1 {
        font-size: 22px;
        /* width: 307px; */
        line-height: 1.5;
        margin-top: 5px !important;

    }

    .about-main {
        padding: 20px 0 10px;
    }

    .choose-us-wrapper .choose-us-image img {
        height: auto;
        max-height: 320px;
        object-fit: contain;
        /* width: 100%; */
        position: relative;
        top: 0px;
    }

    .footer-address .hospital-name {
        display: block;
    }

    .footer-bottom .footer-bottom-wrapper p {
        font-size: 20px;
        text-align: center;
    }

    .phy-treat {
        padding-top: 34px;
    }

    .footer-widget-wrapper .single-footer-widget {
        padding: 5px 19px !important;
    }

    .icu-title {
        margin-top: 0px !important;
    }

    .footer-section-4 .footer-shape-1 {
        top: -4%;
        left: 16%;
    }
    .doctors-img {
    position: relative;
    top: 14px;
    }
    .doctor-padding{
        padding: 34px 12px 60px 12px !important;
    }
}

@media (max-width: 576px) {
    .footer-bottom .footer-bottom-wrapper p {
        /* font-size: 15px; */
        font-size: 11px;
        text-align: center;
    }

}



/* ===============================
  Breadcrumb-section
================================ */

.bbreadcrumb-wrapper.bbreadcrumb-wrapper-about {
    background-image: url(../img/page-header/bg-3.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 75px 0 75px;
    position: relative;
}

/* CENTER EVERYTHING */
.bbreadcrumb-wrapper.bbreadcrumb-wrapper-about .page-heading {
    color: #ffffff;
    text-align: center;
    padding-left: 0;
}

/* TITLE */
.bbreadcrumb-wrapper.bbreadcrumb-wrapper-about .page-title h1 {
    font-size: 38px;
    font-weight: 700;
    color: #ffffff;
    /* margin-bottom: 15px; */
}

/* BREADCRUMB WRAPPER */
.bbreadcrumb-wrapper.bbreadcrumb-wrapper-about .bbreadcrumb-items-area {
    display: flex;
    justify-content: center;
    /* margin-top: 10px; */
}

/* BREADCRUMB BOX */
.bbreadcrumb-wrapper.bbreadcrumb-wrapper-about .bbreadcrumb-items {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    /* background: #ffffff; */
    color: var(--theme-color-2);
    font-weight: 500;
    padding: 9px 22px;
    border-radius: 4px;
    list-style: none;
    margin: 0;
    position: static; /* ❗ remove offset */
}
.breadcrumb-a{
    color: #fff;
}

/* ICON */
.bbreadcrumb-items li a i {
    margin-right: 6px;
    font-size: 14px;
}

/* ===============================
   MOBILE RESPONSIVE
================================ */

@media (max-width: 768px) {

    .bbreadcrumb-wrapper.bbreadcrumb-wrapper-about {
        padding: 30px 0 30px;
        background-size: cover;
        background-position: top;
        background-repeat: no-repeat;
        background-position-x: right;
    }

    .bbreadcrumb-wrapper.bbreadcrumb-wrapper-about .page-heading {
        text-align: center;
        padding-left: 0px;
    }

    .bbreadcrumb-wrapper.bbreadcrumb-wrapper-about .page-title h1 {
        font-size: 22px;
        margin-bottom: 0px !important;
    }

    .bbreadcrumb-wrapper.bbreadcrumb-wrapper-about .page-title p {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    .bbreadcrumb-wrapper.bbreadcrumb-wrapper-about .bbreadcrumb-items-area {
        justify-content: center;
        /* margin-top: 15px; */
        display: block;
    }

    .bbreadcrumb-wrapper.bbreadcrumb-wrapper-about .bbreadcrumb-items {
        top: 0;
        padding: 0;
        font-size: 13px;
        background: transparent;
    }

    .bbreadcrumb-wrapper.bbreadcrumb-wrapper-about .bbreadcrumb-items li a i {
        font-size: 13px;
    }

    .breadcrumb-a {
        color: white;
    }

    .about-txt2 {
        padding: 0px 15px;
        margin-top: -10px !important;
    }
}




/* ===============================
   Contact PAGE 
================================ */

.contact-info-left {
    background: #0276b114;
    padding: 10px 10px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.contact-info-box-items {
    display: flex;
    gap: 15px;
}

.contact-info-box-items .content.contact-phone a {
    display: block;
    /* each number in new line */
    /* color: #333; */
    /* font-weight: 500; */
    margin-top: 4px;
    text-decoration: none;
}

.contact-info-box-items .icon {
    font-size: 30px;
    color: #ffffff;
}

.contact-info-box-items h6 {
    margin-bottom: 5px;
    font-weight: 600;
}

.googpemap iframe {
    width: 100%;
    height: 450px;
    border-radius: 10px;
}

.contact-box {
    font-size: 18px;
    line-height: 24px;
}

.highlight-service-contact {
    color: var(--theme-color-2);
}

.doctorSelect {
    width: 100%;
    border-radius: 4px;
    border: 1px solid rgba(35, 31, 32, 0.11);
    background: var(--white);
    color: rgba(100, 100, 100, 0.81);
    font-size: 16px;
    font-weight: 500;
    line-height: 1;
    padding: 15px 4px;
    outline: none;
    border: none;
}

.treatmentSelect {
    width: 100%;
    border-radius: 4px;
    border: 1px solid rgba(35, 31, 32, 0.11);
    background: var(--white);
    color: rgba(100, 100, 100, 0.81);
    font-size: 16px;
    font-weight: 500;
    line-height: 1;
    padding: 15px 4px;
    outline: none;
    border: none;
}

@media (max-width: 768px) {

    .contact-info-left {
        text-align: center;
        padding: 30px 14px;
    }

    .contact-info-left h3 {
        margin-bottom: 20px;
    }

    .contact-info-box-items {
        flex-direction: column;
        align-items: center !important;
        text-align: center !important;
    }

    .contact-info-box-items .icon {
        margin-bottom: 10px;
        line-height: 54px;

    }

    .contact-info-box-items .icon i {
        font-size: 20px;
    }

    .contact-info-box-items .content h6 {
        margin-bottom: 5px;
        /* text-align: center; */
        display: block !important;
    }

    .contact-info-box-items .content p,
    .contact-info-box-items .content a {
        font-size: 14px;
        line-height: 1.6;
        text-align: center;
    }

    .contact-info-box-items .highlight-service-contact {
        display: block;
        margin-bottom: 4px;
    }

    .facility-modal-title {
        font-size: 20px !important;
    }

    .facility-modal-content {
        font-size: 15px;
    }
}

/* ===============================
   Testimonials PAGE 
================================ */


.testimonials-page {
    padding: 60px 0;
}

.section-title {
    /* text-align: center; */
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 40px;
}

.testimonial-item.side-layout {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    max-width: 900px;
    margin: 0 auto 30px;
    padding: 20px 25px;
    border: 1px solid #e6e6e6;
    /* BORDER */
    border-radius: 10px;
    /* ROUNDED */
    background-color: #fff;
}

.testimonial-item.side-layout:hover {
    border-color: var(--theme-color);
    /* theme color */
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.icon-box img {
    width: 85px;
    height: 85px;
    flex-shrink: 0;
}

.testimonial-content p {
    font-size: 16px;
    line-height: 1.7;
    color: #555;
    margin-bottom: 8px;
}

.testimonial-content h5 {
    font-size: 15px;
    font-weight: 600;
    color: #222;
}

.testimonial-name {
    font-size: 18px;
    font-weight: 600;
    color: #222;
    position: relative;
    display: inline-block;
    padding: 0 12px;
}

.testimonial-name::before {
    content: "";
    width: 15px;
    height: 2px;
    background: black;
    display: inline-block;
    vertical-align: middle;
}

.testimonial-name::before {
    margin-right: 10px;
}

.testimonial-name::after {
    margin-left: 10px;
}


.testimonial-name::before {
    margin-right: 8px;
}

.testimonial-name::after {
    margin-left: 8px;
}

@media (max-width: 768px) {

    .testimonials-page {
        padding: 40px 0;
    }

    .testimonials-page .section-title {
        text-align: center;
        font-size: 26px;
        margin-bottom: 30px;
        margin-top: 0;
    }

    .testimonial-item.side-layout {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 20px;
        margin-bottom: 20px;
        border: 1px solid #e5e5e5;
        border-radius: 10px;
    }

    .testimonial-item .icon-box img.review-icon {
        width: 80px;
        height: 80px;
        object-fit: contain;
    }

    .testimonial-content p {
        /* font-size: 14px; */
        line-height: 1.6;
        margin-bottom: 12px;
    }

    .testimonial-name {
        font-size: 16px;
        font-weight: 600;
        margin-top: 6px;
    }
}


/* ===============================
   Gallary PAGE media query 
================================ */


/* @media (max-width: 768px) {

  .shop-section {
    padding: 40px 0;
  }

  .arrivals-products-box-items-4 {
    border-radius: 10px;
    overflow: hidden;
  }

  .arrivals-products-box-items-4 .arrivals-image img {
    width: 100%;
    height: auto;
    object-fit: contain; 
    border-radius: 10px;
  }

  .arrivals-products-box-items-4 .arrivals-image {
    position: relative;
  }

  .gallery-icon {
    width: 40px;
    height: 40px;
    font-size: 14px;
  }
} */

.Physician-bg {
    background-image: url(../img/home/physiciantreatments/bg.jpg);
    background-repeat: no-repeat;

}

.project-section-3::before {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    content: "";
    opacity: 0.85;
    background: rgba(255, 255, 255, 0.95);
}

.gynecology-bg {
    background-image: url(../img/home/gynecologyservices/bg-img.png);
    /* background-repeat: no-repeat; */
}

.doctor-btn {
    margin-top: 50px;
    background-color: var(--theme-color-2);
}

.gyn-padding {
    padding: 95px 0px;
}

.treatment-padding {
    padding: 108px 100px;
}


/* physician treatment page services */

.page-title-inner {
    position: relative;
    font-size: 34px;
    font-weight: 700;
    color: #0b2c4d;
    padding: 14px 20px 14px 26px;
    background: #f1f8ff;
    border-left: 6px solid var(--theme-color);
    border-radius: 4px;
    display: inline-block;
    margin-top: 28px;
    margin-bottom: 11px;

}

.page-title-inner::after {
    content: "";
    position: absolute;
    left: 26px;
    bottom: 6px;
    width: 60px;
    height: 3px;
    background: var(--theme-color-2);
    border-radius: 2px;
}

.service-img {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.service-img img {
    width: 100%;
    height: auto;
    transition: transform 0.6s ease;
}

.service-img::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.05),
            rgba(0, 0, 0, 0.35));
    opacity: 0;
    transition: opacity 0.5s ease;
}

.service-img:hover img {
    transform: scale(1.08);
}

.service-img:hover::after {
    opacity: 1;

}

/* ✅ CURRENT ACTIVE ITEM */
.service-details-sidebar ul li.current a {
    background: var(--theme-color) !important;
    color: #fff;
    font-weight: 600;
}

/* Current arrow stays moved */
.service-details-sidebar ul li.current .icon {
    transform: translateX(6px);
}

/* Left highlight bar */
.service-details-sidebar ul li.current a::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: #ffffff;
    border-radius: 4px 0 0 4px;
}

@media (max-width: 768px) {
    .treatment-padding {
        padding: 50px 0px;
    }

    .page-title-inner {
        font-size: 25px;
    }

    .service-title-h3 {
        font-size: 23px !important;
    }

    .service-details-wrapper .service-details-sidebar .sidebar-widget ul li a {
        font-size: 16px;
        padding: 5px 20px;

    }

    .service-details-wrapper .service-details-right-items .list-box ul li {
        /* font-size: 16px; */
    }

    .service-details-wrapper .service-details-right-items p {
        /* font-size: 17px; */
        margin-bottom: 30px;
    }

    .service-details-wrapper .service-details-sidebar .sidebar-widget ul li:not(:last-child) {
        margin-bottom: 15px;
    }
}



/* facilities page */


/* Facilities Section */
.facilities-section {
    background: linear-gradient(180deg, #f7fbfe, #ffffff);
    padding: 70px 20px;
}

/* Grid Container */
.facilities-section .container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

/* Facility Card */
.facility-card {
    background: #fff;
    padding: 20px 16px;
    /* reduced from 38px 26px */
    border-radius: 14px;
    text-align: center;
    box-shadow: 0 12px 35px rgba(2, 118, 177, 0.12);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    /* keeps content aligned nicely */
}

/* Glow Line Effect */
.facility-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 14px;
    border: 2px solid transparent;
    transition: 0.4s ease;
}

.facility-card:hover::before {
    border-color: var(--theme-color-2);
}

/* Hover Motion */
.facility-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 55px rgba(2, 118, 177, 0.25);
}

/* Icon */
.facility-icon {
    width: 75px;
    height: 75px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: rgba(2, 118, 177, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}

/* Icon Animation */
.facility-icon i {
    font-size: 34px;
    color: var(--theme-color);
    transition: transform 0.4s ease, color 0.4s ease;
}



.facility-card:hover .facility-icon i {
    color: #fff;
    transform: rotate(-8deg) scale(1.15);
}

/* Title */
.facility-card h3 {
    font-size: 20px;
    color: var(--theme-color);
    /* margin-bottom: 12px; */
    font-weight: 600;
    transition: color 0.3s ease;
}

.facility-card:hover h3 {
    color: var(--theme-color-2);
}

/* Paragraph */
.facility-text {
    /* font-size: 14.2px; */
    /* line-height: 1.75; */
    /* color: #555; */
    text-align: center;
}

/* View More Inline */
.view-more {
    color: var(--theme-color-2);
    font-weight: 600;
    cursor: pointer;
    margin-left: 6px;
    position: relative;
}

/* Underline Animation */
.view-more::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 2px;
    background: var(--theme-color-2);
    transition: width 0.3s ease;
}

.view-more:hover::after {
    width: 100%;
}

/* Expand Text Animation */
.more-text {
    display: none;
    animation: fadeSlide 0.4s ease forwards;
}

.facility-text.expanded .more-text {
    display: inline;
}

@keyframes fadeSlide {
    from {
        opacity: 0;
        transform: translateY(6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ================== Responsive ================== */

/* Tablets */
@media (max-width: 992px) {
    .facilities-section .container {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile */
@media (max-width: 576px) {
    .facilities-section {
        padding: 45px 15px;
    }

    .facilities-section .container {
        grid-template-columns: 1fr;
    }

    .facility-card {
        padding: 32px 22px;
    }

    .facility-card h3 {
        font-size: 18px;
    }

    .facility-text {
        font-size: 15.6px;
    }
}



.facility-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: all 0.4s ease;
    border: 2px dashed var(--theme-color-2);

}

.facility-icon img {
    width: 67px;
    height: 67px;
    object-fit: contain;
    transition: transform 0.4s ease;
}

/* Hover animation */
.facility-card:hover .facility-icon {
    background: #ffffff;
    border: 2px dashed var(--theme-color);

}

/* Modal Overlay */
.facility-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    opacity: 0;
    visibility: hidden;
    transition: 0.3s ease;
    z-index: 998;
}

.facility-modal-overlay-active {
    opacity: 1;
    visibility: visible;
}

/* Modal Box */
.facility-modal {
    position: fixed;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background: #fff;
    width: 100%;
    max-width: 600px;
    max-height: 85vh;
    border-radius: 14px;
    padding: 24px 20px;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s ease;
    z-index: 999;
}

/* Active Modal */
.facility-modal.active,
.facility-modal-overlay.active {
    opacity: 1;
    margin-top: 0px;
    visibility: visible;
}

/* Active modal */
.facility-modal.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

/* Close Button */
.facility-modal-close {
    position: absolute;
    top: 12px;
    right: 18px;
    font-size: 28px;
    font-weight: bold;
    color: #333;
    cursor: pointer;
    transition: color 0.3s ease;
}

.facility-modal-close:hover {
    color: var(--theme-color-2);
}

/* Modal Icon */
.facility-modal-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 15px;
    border-radius: 50%;
    background: #ffffff;
    display: flex;
    border: 2px dashed var(--theme-color-2);
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: all 0.3s ease;
}

.facility-modal-icon img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.facility-modal-icon img:hover {
    transform: scale(1.1);
}

/* Modal Title */
.facility-modal-title {
    font-size: 22px;
    color: var(--theme-color);
    margin-bottom: 15px;
    font-weight: 600;
    text-align: center;
}

/* Modal Content */
.facility-modal-content {
    /* font-size: 15px; */
    line-height: 1.75;
    color: #555;
    text-align: justify;
    max-height: 400px;
    /* optional: scroll if content is long */
    overflow-y: auto;
    padding-right: 5px;
}

/* Scrollbar for modal content (optional) */
.facility-modal-content::-webkit-scrollbar {
    width: 6px;
}

.facility-modal-content::-webkit-scrollbar-thumb {
    background-color: rgba(2, 118, 177, 0.3);
    border-radius: 3px;
}



/* About Divine Grace Hospital; */

.fotter-padding {
    padding: 100px 0px;
}

.about-merquree-logo {
    height: 80px;
    width: 80px;
}

.marquee-section-2 {
    margin-bottom: 50px;
}

.box-icon {
    font-size: 55px;
    color: var(--theme-color);
    margin-bottom: 5px;
    text-align: center;
}

/* NEW ABOUT LAYOUT */


/* Image wrapper */
.about-image-wrapper {
    position: relative;
    display: flex;
    gap: 20px;
}

/* Common image style */
.about-img img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

/* First image */
.about-img.img-1 {
    width: auto;
}

/* Second image overlapping */
.about-img.img-2 {
    width: 45%;
    position: absolute;
    bottom: -40px;
    right: 0;
    border: 6px solid #fff;
    border-radius: 16px;
}

/* About list */
.about-list {
    margin: 25px 0;
    padding: 0;
    list-style: none;
}

.about-list li {
    margin-bottom: 10px;
    /* font-size: 16px; */
}

.about-list i {
    color: var(--theme-color-2);
    margin-right: 10px;
}

/* Mobile fix */
@media (max-width: 768px) {
    .about-image-wrapper {
        position: relative;
        flex-direction: column;
        margin-top: 22px;

    }

    .about-img.img-1,
    .about-img.img-2 {
        width: 100%;
        position: static;
    }

    .footer-card-box-item {
        padding: 35px 18px;
        height: auto;
    }

    .about-section-3 {
        padding: 0px;
    }

    .fotter-padding {
        margin-top: 60px;
    }

    .bbreadcrumb-wrapper.bbreadcrumb-wrapper-about .bbreadcrumb-items {
        display: ruby !important;
        position: relative;
        left: 0px;
    }
}


/* Dr-page */
.doctor-card {
    display: flex;
    gap: 25px;
    background: #fff;
    padding: 25px;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    align-items: center;
}

.doctor-card-left img {
    width: 261px;
    border-radius: 14px;
}

.doctor-card-middle h2 {
    font-size: 26px;
    margin-bottom: 5px;
}

.degree {
    color: var(--theme-color);
    font-weight: 600;
    margin-bottom: 15px;
}

.icion-dr {
    color: var(--theme-color-2);
}

.doctor-meta {
    list-style: none;
    padding: 0;
}

.doctor-meta li {
    margin-bottom: 8px;
    /* font-size: 14px; */
    /* color: #555; */
}

.doctor-card-right {
    margin-left: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.call-btn,
.whatsapp-btn,
.appointment-btn {
    padding: 10px 16px;
    border-radius: 30px;
    font-size: 14px;
    text-align: center;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.3s ease;
}

/* Individual Colors */
.call-btn {
    background: var(--theme-color);
}

.whatsapp-btn {
    background: #25d366;
}

.appointment-btn {
    background: var(--theme-color-2);
}

/* Hover Effects */
.call-btn:hover,
.whatsapp-btn:hover,
.appointment-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    filter: brightness(1.1);
    color: #fff;
}

/* Optional: Click Effect */
.call-btn:active,
.whatsapp-btn:active,
.appointment-btn:active {
    transform: translateY(0);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.12);
}

.doctor-edu-exp {
    padding: 60px 0;
}

.info-box {
    background: #fff;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.info-box h4 {
    font-size: 22px;
    margin-bottom: 25px;
    color: #222;
}

.info-item {
    display: flex;
    gap: 15px;
    margin-bottom: 18px;
}

.info-item .dot {
    width: 10px;
    height: 10px;
    background: var(--theme-color-2);
    border-radius: 50%;
    margin-top: 6px;
}

.doctor-profile-description {
    padding: 0px 0 20px;
}

.doctor-description-box {
    background: #ffffff;
    padding: 30px 35px;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.doctor-description-box p {
    /* font-size: 15px; */
    /* line-height: 1.8; */
    /* color: #444; */
    margin-bottom: 16px;
}

.doctor-description-box p:last-child {
    margin-bottom: 0;
}


@media (max-width: 768px) {

    .doctor-card {
        padding: 20px;
        border-radius: 14px;
        display: block;
        text-align: center;
    }

    .doctor-card-left img {
        /* width: 120px; */
    }

    .doctor-card-middle h2 {
        font-size: 22px;
        margin-top: 17px;
    }

    .degree {
        font-size: 14px;
        margin-bottom: 10px;
        text-align: center;
    }

    .doctor-meta li {
        font-size: 14px;
    }

    .doctor-card-right {
        flex-direction: column;
        align-items: center;
    }

    .call-btn,
    .whatsapp-btn,
    .appointment-btn {
        width: 65%;
        font-size: 13px;
        padding: 7px;
    }

    .doctor-description-box {
        padding: 22px;
    }

    .info-box h4 {
        font-size: 20px;
    }

    .info-item {
        gap: 12px;
    }

    .doctor-description-box p {
        font-size: 17px;
    }

    .dr-education-p {
        /* font-size: 16px; */
        text-align: start;
    }

    .team-section-5 {
        height: auto;
    }

    .about-img-2 {
        position: relative !important;
        top: -50px;
    }
}

.doctor-padding {
    padding: 108px 0px 60px 0px;
}



/* gyn */


/* Center service card layout */
.center-card {
    display: flex;
    flex-direction: column;
    text-align: center;
    background: #0f2a3f;
    padding: 30px 25px;
    border-radius: 12px;
    min-height: 420px;
}

/* Image styling */
.center-card .service-image {
    position: relative;
    width: 189px;
}

.center-card .service-image img {
    max-width: 100%;
    border-radius: 10px;
}

/* Label on image */
.center-card .post-box {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--theme-color);
    color: #fff;
    padding: 6px 14px;
    font-size: 14px;
    border-radius: 20px;
}

/* Content */
.center-card .service-icon-box h3 {
    color: #fff;
    font-size: 22px;
    margin-bottom: 10px;
}

.center-card .service-icon-box p {
    color: #d9e6f0;
    font-size: 15px;
    line-height: 1.5;
}

/* Button centered */
.center-card .theme-btn {
    margin-top: auto;
    align-self: center;
}


/* Right service list container */
.right-service-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 0;
    margin: 0;
}

/* Each service item */
.right-service-list .service-item {
    list-style: none;
}

/* Nav link styling */
.list2 {
    text-align: end;
}

/* Icon (left arrow) */
.right-service-list .nav-link i {
    width: 36px;
    height: 36px;
    min-width: 36px;
    background: var(--theme-color-2);
    color: #fff;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: all 0.3s ease;
}

/* Text */
.right-service-list .nav-link span {
    flex: 1;
    line-height: 1.3;
}



/* Active tab */
.right-service-list .nav-link.active {
    background: var(--theme-color-2);
    color: #fff;
    border-color: var(--theme-color-2);
}

/* Active icon */
.right-service-list .nav-link.active i {
    background: #ffffff;
    color: var(--theme-color-2);
}



.pre-next-btn {
    margin-top: -46px !important;
}

.info-item .arrow-icon {
    position: relative;
    width: 12px;
    height: 12px;
    margin-top: -4px;
}

.info-item .arrow-icon::before,
.info-item .arrow-icon::after {
    content: "›";
    position: absolute;
    color: var(--theme-color-2);
    font-size: 24px;
    font-weight: bold;
}

.info-item .arrow-icon::before {
    left: 0;
}

.info-item .arrow-icon::after {
    left: 6px;
}

.highlight-service-blue {
    color: var(--theme-color);
}

.contact-info-box-items {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

/* icon box */


/* content */
.contact-info-box-items .content {
    flex: 1;
}

/* h6 + text alignment */
.contact-info-box-items .content h6 {
    margin: 0 0 4px;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
}

/* links & text */
.contact-info-box-items .content a,
.contact-info-box-items .content p {
    margin: 0;
    font-size: 17px;
    line-height: 1.6;
    display: block;
}

.contact-submit {
    text-align: center;
}



/* ndcvlkfdn */

.custom-select {
    position: relative;
    width: 100%;
}

.select-btn {
    position: relative;
    /* make it relative so arrow can be absolute inside */
    width: 100%;
    border-radius: 8px;
    border: 1px solid rgba(35, 31, 32, 0.11) !important;
    background: var(--white);
    color: rgba(100, 100, 100, 0.81);
    font-size: 16px;
    font-weight: 500;
    line-height: 1;
    padding: 15px 40px 15px 12px;
    /* extra right padding for arrow */
    outline: none;
    cursor: pointer;
}

/* Add down arrow inside the select field */
.select-btn::after {
    content: "˅";
    /* ▼ unicode character */
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    font-size: 14px;
    /* slightly bigger for visibility */
    font-weight: 700;
    /* makes it bold */
    color: rgba(50, 50, 50, 0.9);
    /* darker for stronger contrast */
}



.select-options {
    display: none;
    position: absolute;
    width: 100%;
    max-height: 200px;
    /* 5 options */
    overflow-y: auto;
    border: 1px solid #ccc;
    background: #fff;
    z-index: 9999;
}

.select-options div {
    padding: 3px 7px;
    cursor: pointer;
    font-size: 15px;
}

.select-options div:hover {
    background: #007bff;
    color: #fff;
}

.doctor {
    border-radius: 4px;
    padding: 16px 8px;
}

.single-footer-widget .list-area li i {
    color: var(--theme-color-2);
    /* Blue – change as needed */
    margin-right: 6px;
    transition: color 0.3s ease;
}

.footer-contect>li {
    padding: 12px 10px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.footer-contect>li:hover {
    /* background-color: rgba(255, 255, 255, 0.08); */
    transform: translateX(5px);
    /* swipe left */
    color: var(--theme-color-2) !important;
}

.footer-contact-list a {
    color: white;
}

/* Default address color */
.footer-address,
.footer-address a,
.footer-address span {
    color: #cccccc;
    transition: color 0.3s ease;
}

/* Hover effect on address LI */
.footer-contect>li:hover .footer-address,
.footer-contect>li:hover .footer-address a,
.footer-contect>li:hover .footer-address span {
    color: var(--theme-color-2) !important;
    /* blue */
}

/* Default color */
.footer-contect li i,
.footer-contect li a,
.footer-contect li p {
    color: #cccccc;
    transition: color 0.3s ease, background 0.3s ease;
}

/* Hover effect on full li */
.footer-contect li:hover i,
.footer-contect li:hover a,
.footer-contect li:hover p {
    color: var(--theme-color-2) !important;
    /* blue */
}
.contact-doctor{
    color: #28241F;
}