:root {
    --light: #fff;
    --dark: #000;
    --red:#9a2015;
   --blue:#0a29c5;
    --green: #599614;
    --secondary: #dfe2e1;
    --fc-light:#f0f3f2;
    --rd-light:rgba(187, 22, 59, 0.5);
    --bg1:#F8F8F8;
    --bg2:#103e68;
    --bg-dark:#0f1d28;
    --bg-color:#9a7822;

}

p{
    color: var(--bg-dark);
}


.boxed-btn {
    display: inline-block;
    color: #fff;
    border-radius: 23px;
    padding: 11px 34px;
    position: relative;
    overflow: hidden;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    background-color: var(--red);
}

.boxed-btn:before,
.boxed-btn:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 60%;
    border-radius: 0;
    z-index: -1;
    height: 100%;
    background: #fff;
    will-change: transform;
    -webkit-transform: skew(-45deg) scaleX(0);
    transform: skew(-45deg) scaleX(0);
    -webkit-transition: -webkit-transform .3s ease-in-out;
    transition: -webkit-transform .3s ease-in-out;
    transition: transform .3s ease-in-out;
    transition: transform .3s ease-in-out, -webkit-transform .3s ease-in-out;
}

.boxed-btn:before {
    right: 75%;
    margin-right: -1px;
    -webkit-transform-origin: 0% 0%;
    transform-origin: 0% 0%;
}

.boxed-btn:after {
    width: 70%;
    left: 75%;
    margin-left: -1px;
    -webkit-transform-origin: 100% 0%;
    transform-origin: 100% 0%;
}

.boxed-btn:hover {
    box-shadow: 0px 16px 35px 0px rgba(0, 0, 0, 0.2);
    z-index: 2;
    color: var(--red);
  }

.boxed-btn:hover:before,
.boxed-btn:hover:after {
    -webkit-transform: skew(-45deg) scaleX(1.5);
    transform: skew(-45deg) scaleX(1.5);
}
/* ------------ */
.banner-height .btn{
    display: none!important;
}
.navbar-brand img{
    width: 90px !important;
    border-radius: 50%;
}
/* #header_sec{
    background-color: var(--fc-light);
} */
.header-part h2 {
    color: var(--red);
    padding-bottom: 10px;
    display: inline-block;
    font-weight: 600;
    position: relative;
    padding: 0 1rem;
    margin-bottom: 2rem;
    text-transform: capitalize;
}
.header-part p{
    color: var(--dark);

}

.header-part h2 span.left-line,
.header-part h2 span.right-line{
    width: 88px;
    background-color: var(--dark);
    display: inline-block;
    position: absolute;
    height: 3px;
    border-radius: 2px;
    top: 100%;
}
.header-part h2 span.left-line{
    right: 100%;
}
.header-part h2 span.right-line{
    left: 100%;
}

/* ------------ */
.th_header {
    background-color: var(--red);
    color: var(--light);
}

.th_header span,
.th_header a {
    color: var(--light);
}

.th_header .text-reset:hover {
    color: var(--light)!important;
}

.th_dropdown .dropdown-menu a {
    color: var(--dark);
}

.responsive-text {
    text-align: end;
    display: inline-block;
}


.category-image-container {
    width: 80%;
    /* Ensures responsiveness */
    padding-top: 80%;
    /* Maintains 1:1 ratio */
    position: relative;
    overflow: hidden;
    /* Prevents overflow */
    margin: auto;
}

.category-image-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Ensures the image fills the container without stretching */
    border-radius: 5px;
    /* Optional: Adds rounded corners */
}

/* -----our-specialities------ */
.our-specialities {
    margin: 2rem 0;
}


.highlight p {
    color:var(--red);
    font-weight: 600;
}

.our-specialities h3 {
    color: var(--red);
    margin-top: 3rem;
    margin-bottom: 1.5rem;
}

.disease-box ul {
    padding-left: 20px;
}

.disease-box ul li {
    margin-bottom: 8px;
    color: var(--dark);
    font-family: "Inter", sans-serif;
}

.highlight {
    padding: 10px;
    margin-top: 3rem;
    color: var(--red);
}

.highlight p strong {
    color: var(--dark);
    font-size: 1.2rem;
    font-weight: bolder;
}

span.tri-box {
    height: 0.8rem;
    width: 0.8rem;
    background-color: #1b1818;
    display: inline-block;
    transform: rotate(45deg);
    margin-right: 0.8rem;
}

.disease-box {
    padding: 1rem;
    background-color:var(--bg1);
    box-shadow: 0px 0px 1px 0px var(--dark);
    border-radius: 10px;
    margin-top: 2rem;
    transition: all 0.3s ease-in-out;
    min-height: 690px;
    margin: 2rem 0;
    display: flex;
    
}



.wrap-sec {
    padding: 5rem 0;
}
.feature-sec{
    background-color: var(--bg1);
}
.disease-img-sec{
    position: relative;
}
.di-img{
    height: 400px;
    width: 100%;
    position: relative;
}
.di-img img{
    height: 100%;
    cursor: pointer;
    border-radius: 10px;
}
.disease-slider {
    background-color: var(--light);
    padding: 2rem;
    border-radius: 10px;
}
.disease-slider p{
    text-align: center;
    padding-top: 1rem;
    text-transform: capitalize;
    color: var(--red);
    font-size: 1.5rem;
}

.ban-next.slick-arrow,
.ban-back.slick-arrow {
    position: absolute;
    content: '';
    z-index: 1;
    top: 40%;
    font-size: 26px;
    font-weight: 700;
    padding: 8px;
    cursor: pointer;
    color: var(--light);
    background-color: var(--green);
    transition: all 0.3s ease-in-out;
    width: 100%;
    max-width: 38px;
    height: 38px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 80px;
    box-shadow: 1px 2px 9px 2px rgba(0, 0, 0, .08);
    cursor: pointer;
}

/* .ban-next.slick-arrow:hover,
.ban-back.slick-arrow:hover {
    color: var(--light);
    background-color: var(--green);
    box-shadow: rgba(0, 0, 0, 0.05) 0px 6px 24px 0px, rgba(0, 0, 0, 0.08) 0px 0px 0px 1px;
} */

.ban-next.slick-arrow {
    right: -20px;
}

.ban-back.slick-arrow {
    left: -20px;
}
/* -------- */
.our-treatment{
    background-color: var(--bg1);
    position: relative;
    background-image: url(../images/xy/xy-bg.jpg);
    background-size: cover;
    background-attachment: fixed;
}
.treatment-sec h1 {
    font-size: 2.5rem;
    color: #3a3a3a;
    margin-bottom: 15px;
    text-align: center;
}

.treatment-sec h2 {
    font-size: 2rem;
    color: var(--green);
    margin-top: 20px;
}

.treatment-sec h3 {
    font-size: 1.5rem;
    margin-top: 15px;
    color: var(--green);
}

.treatment-sec ul {
    list-style-type: disc;
    padding-left: 20px;
}

.treatment-list li,
.benefits-list li,
.extra-tips li {
    margin-bottom: 10px;
}

.treatment-list li strong,
.benefits-list li strong,
.extra-tips li strong {
    color: var(--dark);
}

.treatment-sec .intro,
.treatment-sec .description,
.treatment-sec .disclaimer {
    font-size: 1rem;
    margin-top: 15px;
    color: var(--dark)
}

.treatment-sec .note {
    font-weight: bold;
    color: var(--red)
}

.treatment-sec .disclaimer {
    font-size: 0.9rem;
    color: var(--dark);
    margin-top: 10px;
}

.ot-element{
    margin: 3rem 0;
}

/* --------contact-us----- */
.contact-header h2{
    color: var(--green);
}

.contact_form .form-control{
    border: 1px solid var(--dark)!important;
}
.contact-box {
    padding: 40px 30px;
    width: 100%;
    background-color: var(--bg1);
    box-shadow: rgba(0, 0, 0, 0.12) 0px 1px 3px, rgba(0, 0, 0, 0.24) 0px 1px 2px;
    border-radius: 10px;
    margin-top: 2rem;
  }
  .contact-section{
    background-color: var(--bg);
  }
  .contact-title h2 {
    padding: 5px 0px;
    border-radius: 3px;
    margin-bottom: 10px;
    text-transform: capitalize;
    color: var(--red);
    font-weight: 600;
    margin-bottom: 1.5rem;
  }
  
  .con-ul {
    margin: 0px 0;
    padding-bottom: 0px;
  }
  .contact-box a{
    color: var(--dark);
  }
  .c-list {
    width: 100%;
    position: relative;
    margin: 0px 0 20px 0;
    min-height: 80px;
  }
  
  .c-icon {
    position: relative;
    text-align: center;
    display: flex;
    justify-content: center;
  }
  
  .c-icon i {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    text-align: center;
    padding: 20px;
    color: var(--dark);
    font-size: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .cb-content {
    margin-left: 20px;
  }
  
  .cb-content span {
    font-size: 20px;
    line-height: 30px;
    width: 100%;
    display: inline-block;
    color: var(--dark);
    text-transform: capitalize;
    text-transform: capitalize;
    font-weight: 600;
  }
  
  .cb-content p {
    font-size: 14px;
    line-height: 26px;
    width: 100%;
    color: #333;
    display: inline-block;
    margin-bottom: 10px;
  }
  
  .cb-content p a:hover {
    color: var(--blue);
  }
  
  .cb2-content {
    font-size: 24px;
    line-height: 34px;
    color: var(--dark);
    text-transform: capitalize;
    font-family: var(--font1);
    font-weight: 500;
    margin-bottom: 1rem;
  }
  .xy_footer{
    /* background-color:var(--fc-light);  */
    position: relative;
    /* z-index: 9; */
    padding-bottom:3rem;
  }
  .xy_footer::before{
    position: absolute;
    left: 0;
    top: 0;
    content: '';
    width: 100%;
    height: 100%;
    z-index: -1;
    background-color: var(--red);
    opacity: 0.4;

  }
  .xy_footer:after{
    position: absolute;
    left: 0;
    top: 0;
    content: '';
    width: 100%;
    height: 100%;
    z-index: -9;
    background-image: url(../images/xy/bg3.jpg);
    background-size: cover;
    background-position: center;
    opacity: 0.4;
  }
  .xy_footer h5{
    color: var(--light);
  }
  .footer_ul li a{
    color: var(--light)!important;
  }
  
  .copy-right span, .copy-right li {
     /* color: var(--light); */
     padding: 0 1rem;
  }
  .copy-right a {
    color: black;
}
  .btn-icon.btn-xs{
    color: var(--light)!important;
    border: 1px solid var(--light)!important;
  }
 .text-light{
    color: black !important;
 }

.bg-success {
    --fc-bg-opacity: 1;
    background-color: #154069 !important;
}
@media (min-width: 992px) {
    .d-lg-block {
        display: block !important;
        text-align: center;
    }
}
 /* -------------------- */
 .man-disease h2{color: var(--green);}
 .man-disease {
    background: var(--bg);
    border-left: 4px solid var(--red);
    border-right: 4px solid var(--red);
    margin-bottom: 20px;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  }
  .man_dis_gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin: 30px 0px;
  }
  .man_dis_gallery img {
    width: 100%;
    max-width: 300px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  }

  .quick_contact a {
    position: fixed;
    width: 40px;
    height: 40px;
    right: 18px;
    color: #fff;
    border-radius: 50px;
    text-align: center;
    font-size: 22px;
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.2);
    z-index: 100;
    transition: transform 0.5s ease;
  }
  .qwhtsapp {
    bottom: 70px;
    background-color: #25d366;
  }
  .qcall {
    bottom: 120px;
    background-color: #2196f3;
  }
  .quick_contact_icon {
    margin-top: 10px;
  }
  .quick_contact a:hover {
    transform: scale(1.1);
  }
  .md-banner{
    position: relative;
    width: 100%;
    height: 500px;
    background-image: url(../images/xy/bg2.webp);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

  }
  .md-banner:after{
    position: absolute;
    content: "";
    z-index: -9;
    left: 0px;
    top: 0px;
    right: 0px;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
  }
 /* -------------------- */
 .nadi-row{
    background-color: var(--green);
    box-shadow: 0px 1px 1px var(--light);
    color: var(--light);
    padding: 1rem;
    border-radius: 10px;
    margin: 2rem auto;
 }
 .nadi-content .header-part h1, .nadi-content p {
    padding: 1rem;
    color: var(--light);
 }
 .nadi-image {
    overflow: hidden;
 }
 .nadi-image img{
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
 }
 .nadi-image img:hover{
    transform: scale(1.1);
 }
 /* - */
 .bottom-sec{
    background-color: var(--bg1);
 }
/* --------mission----- */
.mission-box{
    padding: 1rem;
    box-shadow: 0px 1px 1px 1px var(--secondary);
    background-color: var(--bg);
    border-radius: 10px;
    text-align: center;
    min-height: 340px;
    position: relative;
    z-index: 9;
    transition: all 0.2s ease;
}
.mission-box:hover{
    transform: scaleY(-10px);
}
.mission-box::after{
    position: absolute;
    content: "";
    background-image: url(../images/xy/xy-bg.jpg);
    background-size: cover;
    background-position: center;
    opacity: 0.5;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}
.mission-icon img{
    width: 50px;
}
.miss-heading{
    margin: 2rem 0;
    color: var(--red);
    text-transform: capitalize;
}
/* ------------ */
.director-sec{
    background-color: var(--bg1);
    background: url(../images/xy/d-bg1.jpg) no-repeat center / 100% 100%;
    padding: 30px 0;
    margin-top: 50px;
}
/* -------- */
.pulse-section{
    background-image: url(../images/xy/pulse.jpeg);
    background-size: cover;
    background-repeat: no-repeat;
    min-height: 300px;
    background-position: center;
    position: relative;
    z-index: 9;
}
.pulse-section:after{
    position: absolute;
    content: '';
    width: 100%;
    height: 100%;
    background:var(--dark);
    top: 0px;
    z-index: -1;
    opacity: 0.5;
}

.nadi-pg{
    text-align: center;
    padding: 2rem 0;
}
/*_________testimonail________*/

.testimonial-sec{
    background-color: var(--secondary);
    position: relative;
    z-index: 9;
}

.testi-sec{
    position: relative;
    
}
.testi-slider{
    position: static;
}
.testi-slider .f-back.slick-arrow{
    left: 0px;
}
.testi-slider .f-next.slick-arrow{
    right: 0px;
}
.testi-box{
    padding: 2rem;
    background-color: var(--light);
    border-radius: 1rem;
    margin: 2rem;
    box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 2px 6px 2px;
}
.testi-img img{
    width: 60px;
    height: 60px;
    border-radius: 50%;
}
.testi-thumb{
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}
.testi-name{
    text-transform: capitalize;
    font-size: 20px;
    font-weight: 600;
    color: var(--bg-dark);
    display: block;
}
.testi-icon{
    font-size: 42px;
    color: var(--bg2);
}
ul.testi-star{
    display: flex;
    justify-content: center;
    margin: 20px;
}
ul.testi-star li {
    list-style: none;
}
ul.testi-star li span{
    margin: 5px;
    color: var(--bg-color);
}

.f-next.slick-arrow {
    position: absolute;
    top: 50%;
    right:  10px;
    padding: 5px 2px;
    font-size: 40px;
    color: var(--red);
    z-index: 999;
    border-radius: 5%;
    height: 40px;
    text-align: center;
    width: 40px;
    text-shadow:  0px 1px 2px var(--light);
}

.f-back.slick-arrow {
    position: absolute;
    top: 50%;
    left: 10px;
    border-radius: 5%;
    padding: 5px 2px;
    font-size: 40px;
    z-index: 999;
    color: var(--red);
    height: 40px;
    width: 40px;
    text-align: center;
    text-shadow: 0px 1px 2px var(--light);
}
/* ---------------- */
  .fixed-footer{
    position: fixed;
    left: 5px;
    bottom: 75px;
    padding: 0.5rem;
    background-color: #154069;;
    color: var(--light);
    z-index: 999;
    overflow: hidden;
    border-radius: 20px;
  }
  .fixed-footer p{
    color: var(--light);
    margin-bottom: 0px;
    font-size: 0.9rem;
  }
  .fixed-footer a{
    color: var(--light)!important;
    font-size: 0.9rem;
  }
  .blink_text {
 animation-name: blinker;
 animation-duration: 5s;
 animation-timing-function: linear;
 animation-iteration-count: infinite;
}

@keyframes blinker {  
 0% { opacity: 1.0; }
 20% { opacity: 0.8 }
   50% { opacity: 0.0; }
   80% { opacity: 0.8; }
 100% { opacity: 1.0; }
}
  /* --------media-queries----- */

@media (max-width:992px) {
    .fixed-footer {
        height: 60px;
      }

    .disease-img-sec.col-md-6{
        order: 2;
    }
    .th_dropdown .dropdown-toggle:after{
        float: none;
    }
    .disease-box {
        min-height: fit-content;
    }

    .treatment-sec h1 {
        font-size: 2rem;
    }

    .treatment-sec h2 {
        font-size: 1.8rem;
    }

    .treatment-sec h3 {
        font-size: 1.3rem;
    }

    .wrap-sec {
        padding: 3rem 0;
    }
    .contact_form {
        margin-bottom: 2rem;
    }
    .di-img{
        height: 300px;
    }
    .discease_slide{
        order: 2;
    }
    .md-banner{
        position: relative;
    height: 350px;
      }
      .director-sec{
        background: var(--bg);
    }
    .mission-box{
        margin-bottom: 2rem;
    }
    .abt-img{
        margin-bottom: 2rem;
    }
}

/* ------------------------------- */
.text-primary {
    /* --fc-text-opacity: 1; */
    color: #154069 !important;
}
.active{
    /* --fc-text-opacity: 1; */
    color: #a28234 !important;
}
@media (max-width: 767px) {
    .responsive-text {
        text-align: center;
    }
    .di-img{
        height: 250px;
    }
    .md-banner{
        position: relative;
        height: 250px;
      }
}