/********** Template CSS **********/
:root {
    --primary: #d6261c;
    /* --primary: #06A3DA; */
    --secondary: #F57E57;
    --light: #EEF9FF;
    --dark: #091E3E;
}

h1,
h2,
.font-weight-bold {
    font-weight: 700 !important;
}

h3,
h4,
.font-weight-semi-bold {
    font-weight: 600 !important;
}

h5,
h6,
.font-weight-medium {
    font-weight: 500 !important;
}

.btn {
    font-family: 'Jost', sans-serif;
    font-weight: 600;
    transition: .5s;
}

.btn-primary,
.btn-secondary {
    color: #FFFFFF;
}

.btn-primary:hover {
    background: var(--secondary);
    border-color: var(--secondary);
}
.navbar-brand img{
    max-height: 90px;
    padding: 5px;
}
.btn-secondary:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.btn-square {
    width: 36px;
    height: 36px;
}

.btn-sm-square {
    width: 28px;
    height: 28px;
}

.btn-lg-square {
    width: 46px;
    height: 46px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding-left: 0;
    padding-right: 0;
    text-align: center;
}

#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}

.top-shape::before {
    position: absolute;
    content: "";
    width: 35px;
    height: 100%;
    top: 0;
    left: -17px;
    background: var(--primary);
    transform: skew(40deg);
}

.navbar-light .navbar-nav .nav-link {
    font-family: 'Jost', sans-serif;
    padding: 35px 15px;
    font-size: 18px;
    color: var(--dark);
    outline: none;
    transition: .5s;
}

.sticky-top.navbar-light .navbar-nav .nav-link {
    padding: 20px 15px;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--primary);
}

@media (max-width: 991.98px) {
    .navbar-light .navbar-nav .nav-link,
    .sticky-top.navbar-light .navbar-nav .nav-link {
        padding: 10px 0;
    }
}

.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* background: rgba(9, 30, 62, .85); */
    z-index: 1;
}

@media (max-width: 576px) {
    .carousel-caption h5 {
        font-size: 14px;
        font-weight: 500 !important;
    }

    .carousel-caption h1 {
        font-size: 30px;
        font-weight: 600 !important;
    }
}

.carousel-control-prev,
.carousel-control-next {
    width: 10%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
}

.section-title h5::before {
    position: absolute;
    content: "";
    width: 45px;
    height: 3px;
    right: -55px;
    bottom: 11px;
    background: var(--primary);
}

.section-title h5::after {
    position: absolute;
    content: "";
    width: 15px;
    height: 3px;
    right: -75px;
    bottom: 11px;
    background: var(--secondary);
}

.hero-header {
    background: linear-gradient(rgba(9, 30, 62, .85), rgba(9, 30, 62, .85)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

/*  */
.whatsapp-icon {
    position: fixed;
    top: 450px;
    right: 20px;
    background-color: #d6261c;
    color: #060606;
    border-radius: 50%;
    padding: 15px;
    box-shadow: 0 2px 5px rgb(0 0 0 / 0.2);
    z-index: 1000;
}
.whatsapp-icon i {
    font-size: 30px;
    font-weight: 600;
}
.whatsapp-icon a {
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
}
.whatsapp-icon:hover {
    transform: scale(1.1);
}
.phone-icon {
    position: fixed;
    top: 350px;
    right: 20px;
    background-color: #d6261c;
    color: #060606;
    border-radius: 50%;
    padding: 15px;
    box-shadow: 0 2px 5px rgb(0 0 0 / 0.2);
    z-index: 1000;
}
.phone-icon i {
    font-size: 24px;
}
.phone-icon a {
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
}
.phone-icon:hover {
    transform: scale(1.1);
}

/*  */
.about-us img{
    object-fit: cover;
   border-radius: 10px;
}
.about-us img:hover{
     transform: scale(1.04);

    box-shadow: 0 30px 60px rgba(76, 15, 15, 0.18);
}
.service-item {

}
.service-item .bg-light,
.service-item .bg-light h5,
.team-item .team-text {
    transition: .5s;
    /* border:5px solid red;     */
}
.service-item img{
position:absolute;

    width:100%;

    height:100%;

    object-fit:cover;

    opacity:0;

    transition:1s;
}
.team-item 

.service-item:hover img {
    transform: scale(1.15);
}

.team-item .team-text::after,
.service-item .bg-light::after {
    position: absolute;
    content: "";
    top: 50%;
    bottom: 0;
    left: 15px;
    right: 15px;
    border-radius:100px / 15px;
    box-shadow: 0 0 15px rgba(0, 0, 0, .7);
    opacity: 0;
    transition: .5s;
    z-index: -1;
}
.team-item{
   border: 4px solid red;   
   border-radius: 10px;
     background-color: #091E3E !important;
    
}

.team-item:hover{
         transform: scale(1.04);
    box-shadow: 0 30px 60px rgba(218, 7, 7, 0.18);
}
.team-text p{
   text-align: center;
    color: #fbf8f8;
}

/* .team-text {
   border: 2px solid red;
} */
/* .team-item:hover .team-text::after {
    opacity: 9;
    background-color: #091E3E !important;
    color: #d6261c;
} */
.service-item:hover .bg-light::after {
    opacity: 1;
    background-color: #091E3E !important;
}
/* Service-Card */
  .services{

    padding:90px 0;

}

.container{

    width:90%;
    margin:auto;

}

.section-title{

    text-align:center;
    margin-bottom:60px;

}

.section-title h3{

    /* font-size:42px; */
    color:#1b3556;
    font-weight:bold;

}

.section-title p{

    color:#666;
    margin-top:15px;

}

.service-slider{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(240px,1fr));

    gap:35px;

}

.service-card{

    background:white;

    border-radius:15px;

    overflow:hidden;

    position:relative;

    transition:.5s;

    box-shadow:0 25px 50px rgba(0,0,0,.08);

    animation:float 4s ease-in-out infinite;
     background:linear-gradient(120deg,
    transparent,
    rgba(225, 223, 223, 0.1),
    transparent);
/* background: linear-gradient(135deg, #091e3e 0%, #1e4a87 100%); */

}

/* .service-card:hover{

    transform:translateY(-15px) rotateX(5deg);

    box-shadow:0 35px 60px rgba(0,0,0,.18);
     background:white;

} */

.service-card::before{

    content:"";

    position:absolute;

    left:-100%;

    top:0;

    width:100%;

    height:100%;

    background:linear-gradient(120deg,
    transparent,
    rgba(255,255,255,.45),
    transparent);

    transition:1s;

}

.service-card:hover::before{

    left:120%;

}

/* Smooth transition */
.service-card .content p,
.service-card .content a{
    transition: all 0.4s ease;
}
.service-card .content h3{
color: #d6261c;
}
.service-card .content p{
    color: #0096c7;
}
/* Hover Effect */
.service-card:hover{
   
}

/* Heading Color */
.service-card:hover .content h3{
     
     color:  #091e3e;
}

/* Paragraph Color */
.service-card:hover .content p{
    color: rgba(255,255,255,0.9);
}

/* Button */
.service-card:hover .content a{
    background: #ffffff;
    color: #0d6efd;
}

.service-card:hover .content a:hover{
    background: #f5f5f5;
    color: #0056d6;
}


.image-slider{

    position:relative;

    height:250px;

    overflow:hidden;

}

.image-slider img{

    position:absolute;

    width:100%;

    height:100%;

    object-fit:cover;

    opacity:0;

    transition:1s;

}

.image-slider img.active{

    opacity:1;

}

.content{

    padding:30px;
  
}


.content h3{
    margin-bottom:10px;
    /* color: #d6261c; */

}



.content p{

    color:#666;

    line-height:28px;

    /* margin-bottom:25px; */

}

.content a{

    text-decoration:none;

    color:white;

    background:#1b76ff;

    padding:12px 30px;

    border-radius:40px;

    transition:.4s;

    display:inline-block;

}

.content a:hover{

    background:#003c92;

    transform:translateY(-4px);

}

@keyframes float{

    0%{

        transform:translateY(0);

    }

    50%{

        transform:translateY(-10px);

    }

    100%{

        transform:translateY(0);

    }

}

@media(max-width:768px){

.service-slider{

grid-template-columns:1fr;

}

.section-title h2{

/* font-size:32px; */

}

}
/*  */
.partner-slider-loop {
    width: 100%;
    overflow: hidden;
    background-color: #eff6fd;
    padding: 20px 0;
}

.slide-track-loop {
    display: flex;
    animation: scrollLoop 60s linear infinite;
    width: max-content;
}

.slide-loop-1,
.slide-loop-2,
.slide-loop-3,
.slide-loop-4,
.slide-loop-5,
.slide-loop-6 {
    width: 200px;
    height: 150px;
    margin: 0 10px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 16px rgb(0 0 0 / 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.slide-loop-1 img {
    max-width: 120px;
    max-height: 80px;
    object-fit: contain;
}

.slide-loop-2 img {
    max-width: 188px;
    max-height: 80px;
    object-fit: contain;
}

.slide-loop-3 img {
    max-width: 197px;
    max-height: 80px;
    object-fit: contain;
}

.slide-loop-4 img {
    max-width: 120px;
    max-height: 124px;
    object-fit: contain;
}

.slide-loop-5 img {
    max-width: 140px;
    max-height: 80px;
    object-fit: contain;
}

.slide-loop-6 img {
    max-width: 120px;
    max-height: 80px;
    object-fit: contain;
}

@keyframes scrollLoop {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}
/*  */
.diabetic-header{

    backdrop-filter:blur(10px);

    border-radius:18px;

    padding:15px;

    text-align:center;

    /* transition:.4s; */

    border:1px solid rgba(252, 60, 60, 0.2);
    margin-bottom: 10px;
}
.diabetic-card{

    background:#bd464615;

    backdrop-filter:blur(10px);
    border-radius:18px;

    padding:15px;

    text-align:center;

    /* transition:.4s; */

    border:1px solid rgba(252, 60, 60, 0.2);
    margin-bottom: 10px;

}



.diabetic-card h3{

    font-size:16px;

    color:#383737;

    font-weight:400;

}

.diabetic-card p{

    /* font-size:18px; */
color: #444343;
    /* line-height:18px; */
    text-align: center !important;

}
.diabetic-card h6{
   color: #d6261c; 
}
/*  */
 .cardia-header{
   

    backdrop-filter:blur(10px);

    border-radius:18px;

    padding:15px;

    text-align:center;

    /* transition:.4s; */
color: #fff !important;
    border:1px solid rgba(252, 60, 60, 0.2);
    margin-bottom: 10px;

    background-color: #001392 !important;
}
.cardia-card{

    background:#3453dd15;

    backdrop-filter:blur(10px);
    /* backdrop-filter:blur(10px); */

    border-radius:18px;

    padding:15px;

    text-align:center;

    /* transition:.4s; */

    border:1px solid rgba(252, 60, 60, 0.2);
    margin-bottom: 10px;

}


.cardia-card h3{

    font-size:16px;

    color:#383737;

    font-weight:400;

    /* margin-bottom:15px; */

}

.cardia-card p{
color: #444343;
    text-align: center !important;
   
}
.cardia-card h6{
   color: #d6261c; 
}
/*  */
.gastro-header{
    background:#e2892a;

    backdrop-filter:blur(10px);
    /* backdrop-filter:blur(10px); */

    border-radius:18px;

    padding:15px;

    text-align:center;

    /* transition:.4s; */

    border:1px solid rgba(252, 60, 60, 0.2);
    margin-bottom: 10px;
}
.gastro-card{

    background:#eda30529;

    backdrop-filter:blur(10px);
    /* backdrop-filter:blur(10px); */

    border-radius:18px;

    padding:15px;

    text-align:center;

    /* transition:.4s; */

    border:1px solid rgba(252, 60, 60, 0.2);
    margin-bottom: 10px;

}

.gastro-card h3{

    font-size:16px;

    color:#383737;

    font-weight:400;

    /* margin-bottom:15px; */

}

.gastro-card p{

    /* font-size:18px; */
color: #444343;
    /* line-height:18px; */
    text-align: center !important;

}
.gastro-card h6{
    color: #d6261c;
}
/* ================= */
/* ================================
   HIDE EXTRA PRODUCTS
================================ */

.extra-product {
    display: none;
}

/* When View More is clicked */
.product-column.show-all .extra-product {
    display: block;
}


/* ================================
   VIEW MORE BUTTON
================================ */

.view-more-btn {
    width: 100%;
    border: none;
    padding: 13px 20px;
    border-radius: 12px;
    margin-top: 5px;
    margin-bottom: 20px;

    background: #f9c7018d;
    color: #0a0a0a;

    font-size: 15px;
    font-weight: 600;

    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    transition: all 0.3s ease;
}

.view-more-btn:hover {
    background: #5a3535;
    transform: translateY(-2px);
    color: #fff;
}

.view-more-btn i {
    transition: transform 0.3s ease;
}

/* Rotate arrow when opened */
.product-column.show-all .view-more-btn i {
    transform: rotate(180deg);
}


/* ================================
   CARD ANIMATION
================================ */

.product-column.show-all .extra-product {
    animation: productFadeIn 0.4s ease forwards;
}

@keyframes productFadeIn {

    from {
        opacity: 0;
        transform: translateY(-15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


/* ================================
   MOBILE
================================ */

@media (max-width: 767px) {

    .view-more-btn {
        font-size: 14px;
        padding: 12px;
    }

}


/*  */


.partner-header {
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
}
/*  */
/*  */
.address {
/* margin-left: 150px; */
}
label{
    color: var(--primary);
    font-weight: 500;
}
.appointment-form input, textarea{
    border-radius: 12px;
    color: #060606;
}
.appointment-form textarea{
    border-radius: 12px;
    color: #060606;
}
.popup-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    justify-content: center;
    align-items: center;
    z-index: 99999;
}

.popup-box {
    width: 470px;
    max-width: 90%;
    background: white;
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    animation: zoomIn .4s ease;
}


.popup-box button {
    margin-top: 20px;
    padding: 12px 30px;
    border: none;
    background: #1f7a5c;
    color: white;
    border-radius: 8px;
    cursor: pointer;
}

@keyframes zoomIn {
    from {
        transform: scale(.7);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}
.footer-brand img{
    max-height: 100px;
}
/*  */


/*  */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(0 0 0 / 0.7);
    justify-content: center;
    align-items: center;
}

.modal-content {
    position: relative;
    width: 80%;
    max-width: 700px;
    background-color: #fff;
    padding: 0;
}

.close-1 {
    position: absolute;
    top: 10px;
    right: 20px;
    color: #ef0404;
    font-size: 28px;
    font-weight: 700;
    cursor: pointer;
}

.close-1:hover,
.close-1:focus {
    color: #f26565;
    text-decoration: none;
    cursor: pointer;
}

.play-button {
    display: inline-block;
    background-color: #d6261c;
    color: #fff;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 18px;
    border-radius: 5px;
}

.iframe {
    width: 100%;
    height: 400px;
}