@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root{
    --green:#05846a;
    --black:#444;
    --white:#e9f7f7;
    --lightgreen:rgb(46, 160, 46);
    --blue:rgb(15, 15, 119);
    --light-color:#777;
    --box-shadow:.5rem .5rem 0 rgba(22,160,133,.2);
    --text-shadow:.4rem .4rem 0 rgba(0,0,0,.2);
    --border:.2rem solid var(--green);
    font-family: Arial, Helvetica, sans-serif;

}

*{
    font-family: "Poppins", sans-serif;
    margin:0; padding:0;
    box-sizing: border-box;
    outline: none; border: none;
    text-transform: capitalize;
    transition: all .2s ease-out;
    text-decoration: none;
}


html{
    font-size:90% ;
    overflow-x: hidden;
    scroll-padding-top: 7rem;
    scroll-behavior: smooth;

}
    
section{
    padding: 1.5rem;
}

.nav-div{
    width: 100%;
    min-height: 40px;
    background-color: var(--green);
    color: #fff;
    display: flex;
    gap: 20px;
    align-items: center;
    padding: 0 10px 0 10px;
}

.nav-div .location span ,.time span{
text-transform:none;
font-weight:normal;
}

.heading{
    text-align: center;
    padding-bottom: 2rem;
    text-transform: uppercase;
    color: var(--black);
    font-size: 3rem;
    letter-spacing: .4rem;
}

.heading span{
    text-transform: uppercase;
    color: var(--green);
}

.btn{
    display: inline-block;
    margin-top: 1rem;
    padding: .7rem;
    border:var(--orange);
    border-radius: .5rem ;
    background-color:var(--lightgreen);
    color: var(--white);
    cursor: pointer;
    font-size: 1.2rem;
    margin-top: auto;
    align-self: flex-start;
}

.btn span{
    padding: 0.5rem 0.5rem;  
    border-radius: .5rem;
    background: var(--lightgreen);
    color: #fff;
    margin-left: .5rem;
}

.btn:hover{
    background: var(--lightgreen);
    color: #fff;
}

.btn:hover span{
    color: var(--green);
    background: #fff;
    margin-left: 1rem;
}


.header{
    padding: 1rem 5%; 
    top:0; left:0; right: 0;
    z-index: 1000;
    box-shadow: 0 .5rem 1.5rem rgba(0,0,0, .1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
}

.header .logo{
    font-size:1.5rem;
    color:var(--black);
    display:flex;
    align-items: center;
}

.header .logo img{
    width: 50px;
    height: 60px;
    
}

.header .navbar a{
    font-size: 1.0rem;
    color: var(--light-color);
    margin-left:2rem;
   
}


.header .navbar a:hover{
    color: var(--green);
    font-size: 1.2rem;
}

#menu-btn{
    font-size: 1.5rem;
    border-radius: .5rem;
    background:#eee;
    color: var(--green);
    padding: 1rem 1.5rem;
    cursor: pointer;
    display: none;
}


.icon1{
    color: var(--blue);
    display: flex;
    gap: 20px;
    font-size: 1.5rem;
    align-items: center;
    cursor: pointer;

}


img{
    width: 100%;
    display: flex;

}
.home{
    background-image: linear-gradient(
        to right,
        rgba(25, 100, 57, 0.3),
        rgba(8, 72, 36, 0.3)
    ),
    url(about.jpg);
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap:1.5rem;
    padding-top: 10rem;
}

.home{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap:1.5rem;
    padding-top: 10rem;
}

.home .image{
    flex: 0.5 0.5 25rem;
}

.home .image img{
    width: 100%;
 }
 
.home .content{
    flex: 0.5 0.5 25rem;
 }

 .home .content h3{
    font-size: 3.5rem;
    color: var(--white);
    line-height: 1.8;
 }

  .home .content p{
    color: #fff;
    text-align: justify;
  }

 .home .content a{
    margin: 20px 20px 20px 0px;
 }


 .icons-container{
    display: grid;
    gap: 2.5rem;
    grid-template-columns: repeat(auto-fit, minmax(10rem,1fr));
    padding-top: 5rem;
    padding-bottom: 5rem;
    margin-left: 2rem;
    margin-right: 2rem;
    cursor: pointer;
    
 }

 .icons-container .icons{
    border: var(--border);
    box-shadow: var(--box-shadow);
    border-radius: .5rem;
    text-align: center;
    padding: 1.5rem;  
 }

 .icons-container .icons i{
    font-size: 2.5rem;
    color: var(--lightgreen);
    padding-bottom: .7rem;
    align-items: center;
 }

 .icons-container .icons a{
    font-size: 1.2rem;
    border: none;
    box-shadow: none;
    text-align: center;
    background-color:var(--box-shadow);
    color: var(--light-color);
    padding: 0%;
 }


 .icons-container .icons p{
    text-align: center;
  
 }

 .icons-container .icons:hover{
    transform: scale(1.1);
    z-index: 2;
 }


 .services .box-container{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(25rem,1fr));
    grid-column-gap: 30px;
    background-color: var(--white);
    padding: 30px;
 }

 .services .box-container .box{
    background: #fff;
    border-radius: .5rem;
    flex-direction: column;
    box-shadow: 0px 5px 15px rgba(0,0,0, .1);
    border: var(--box-shadow);
    margin-top: 1.5rem;
    display: flex;
 }
 .services .box-container .box .containt{
    padding: 20px;
 }


 .services .box-container .box .icon{
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--green);
    border-radius: 0.2rem;

 }

 .services .box-container .box .icon h2{
    color: #fff;
    margin-left: 10px;
    font-family: "Poppins", sans-serif;
    font-size: 1rem;
    padding: 0.5rem 0;

 }
 .card_text{
     display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 30px;
    color: #fff;
 }


 .services .box-container .box .com{
    display: flex;
    margin-top: 20px;
    align-self:initial;
    
 }

 .services .box-container .box .com .box-1{
    flex-grow: 1;
    color:var(--black);
 }

 .services .box-container .box .com .box-2{
    text-align:center;
    background-color:var(--lightgreen);
    padding: 7px;
    border-radius: .5rem;
   
}

 .services .box-container .box .com .box-2 a{
    color: #fff;
}
.services .box-container .box .com .box-2 span{
    padding: 0.5rem 0.5rem;  
    border-radius: .5rem;
    background: var(--lightgreen);
    color: #fff;
    margin-left: .5rem;
} 

.services .box-container .box .com .box-2:hover span{
    color: var(--green);
    background: #fff;
    margin-left: 1rem;
}


 .services .box-container .box h2{
    color: var(--black);
    font-size: 1rem;
    padding: 0.5rem 0;
 }

 .services .box-container .box p{
    color: var(--light-color);
    font-size: .9rem;
    line-height: 2;
 }

 .services .box-container .box p i{
    font-size: medium;
    margin-right: 10px;
 }


 .services .view{
    background-color: var(--white);
    margin-top: auto;
    text-align: end;
    padding: 20px;
    font-size:1.5rem;
}

 .services .box-container .box:hover{
    transform: scale(1.1);
    box-shadow: 1px 1px 10px 4px var(--green);
    
 }

 
 
 .services .box-container .box:hover .box-1{
    background-color: #fff;
    border: none;
    
 }

.about .row{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap:2rem;
    background-color: var(--white);
}

.about .row .image{
    flex: 0.5 0.5 25rem;
    
}

.about .row .image img{
    width: 100%;
    border-bottom-right-radius: 200px;
}

.about .row .content{
    flex: 0.5 0.5 25rem;
    padding: 10px 20px 20px 0;
}

.about .row .content h3{
    color: var(--green);
    font-size: 2.7rem;
    line-height: 1.8;
    padding-left: 10px;
}

.about .row .content p{
    color: var(--light-color);
    padding: 0rem 0;
    font-size: 1.5;
    line-height: 1.8;
   text-align: justify;
   padding-left: 10px;
}

.about .row .content a{
    margin-top: 1rem;
    
}

.booking .box-container{
    background-image: linear-gradient(
        to right,
        rgba(25, 100, 57, 0.3),
        rgba(8, 72, 36, 0.3)
    ),
    url(b1.jpg);
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    padding-top: 10rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(20rem,1fr));
    gap: 2rem;
    background-color: var(--white);
    padding: 20px;
    color: #fff;
}


.booking .box-container .box img{
    width: 100%;
    display: block;
    margin-left: auto;
    margin-right: auto;

}

.booking .box-container .box i{
    align-items: center;
    display: flex;
    padding-left: 20px;
}

.booking .box-container .box .address{
    padding: 1rem;

}

.booking .box-container .box .address span{
  font-weight: 400;

}

.booking .box-container .box .time{
    border-top: .1rem solid rgba(0,0,0, .1);
    padding: 1rem;
}

.booking .box-container .box h2{
  text-align: center;
}

.booking .box-container .box .btn{
  background-color:var(--lightgreen);
  color: white;
  padding: 12px;
  margin: 10px 0;
  border: none;
  width: 100%;
  border-radius: 3px;
  cursor: pointer;
  font-size: 17px;
  text-align: center;
    
}

.booking .box-container .box .btn:hover{
    background:#eee;
    color: #333;
    border: var(--border);
}

.booking .box-container .box .fields{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.5rem;
    border: var(--light-color);
    
}

 .input-field, textarea
 {
  width: 100%; /* Full width */
  padding: 12px; /* Some padding */ 
  border: 1px solid #ccc; /* Gray border */
  border-radius: 4px; /* Rounded borders */
  box-sizing: border-box; /* Make sure that padding and width stays in place */
  margin-top: 6px; /* Add a top margin */
  margin-bottom: 16px; /* Bottom margin */
  resize: vertical;
}

 
textarea{
    height: 200px;

}
 

.booking .box-container .box .gender-details .gender-title{
  width: 100%; /* Full width */
  font-weight:bold;
  font-size:medium;
}


.booking .box-container .box .gender-details .category {
    display:flex;
    grid-template-columns: repeat(auto-fit, minmax(20rem,1fr));
    width: 80%;
    margin: 14px 0;
    justify-content: space-between;
    gap: 2rem;
}

.booking .box-container .box .gender-details .category label{
    display: flex;
    align-items: center;
    cursor: pointer;

}

.booking .box-container .box .gender-details .category label .dot{
    height: 18px;
    width: 18px;
    border-radius: 50%;
    margin-right: 10px;
    background: #d9d9d9;
    border: 5px solid transparent;
    transition: all 0.3s ease;
  }
  #dot-1:checked~.category label .one,
  #dot-2:checked~.category label .two,
  #dot-3:checked~.category label .three {
    background: #087548;
    border-color: #d9d9d9;
  }
 .booking .box-container .box .gender-details input[type="radio"] {
    display: none;
  }

.g-recaptcha{
    transform-origin: left top;
    -webkit-transform-origin: left top;
}



.doctors .box-container{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(20rem,1fr));
    gap: 3rem;
    background-color: var(--white);
    padding: 30px;
}

.doctors .box-container .box{
    text-align: center;
    background: #fff;
    border-radius: .5rem;
    box-shadow: 0px 5px 15px rgba(0,0,0, .1);
    padding: 0 30px 0 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.doctors .box-container .box img{ 
    height: 17rem;
    width: 15rem;
    border-radius: .5rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
}


.doctors .box-container .box h3{
    color: var(--black);
    font-size: 1.5rem;
   
}

.doctors .box-container .box span{
    color: var(--green);
    font-size: 1rem;
    margin-bottom: 20px;
}



.doctors .box-container .box:hover{
    box-shadow: 1px 1px 10px 4px var(--green);
}


.doctors .box-container .box .share a:hover{
    background: var(--lightgreen);
    color: #fff;
    box-shadow: var(--box-shadow);
}

.team .box-container{
    min-height: 30rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
   

}

.team .box-container .wrapper{
    display: flex;
    overflow-x: auto;
    transform: 0.5s;
    scroll-behavior: smooth;
    padding: 30px 10px 30px 10px;
    cursor: pointer;
}

.wrapper::-webkit-scrollbar{
    width: 0;
}

.team .box-container .wrapper .item{
    min-width: 20rem;
    height: 25rem;
    text-align: center;
    background:#fff;
    margin-right: 2rem;

}

.team .box-container .wrapper .item img{
    height: 70%;
    width: 100%;
}

.team .box-container  .wrapper .item h3{
    color: var(--black);
    font-size: 1.5rem;
    margin-top: 1.5rem;
   
}

.team .box-container  .wrapper .item span{
    color: var(--green);
    font-size: 1rem;
}

.team .box-container .wrapper .item:hover{
    box-shadow: 1px 1px 10px 4px var(--green);
    transform: scale(1.1);
    scroll-behavior:none;
}

.team .box-container img{
    width: 5%;
    height: 5%;
    
}

#leftBtn, #rightBtn{
    width: 3.5%;
    cursor: pointer;
    margin: 2px;
    padding: 7px;
    border-radius: 1.5rem;
    background-color:#fff;
    box-shadow: var(--box-shadow);
}





/*review.*/
.review .box-container{
    padding: 1rem;
    min-height: 35rem;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;   

}

.review .box-container .wrappers{
    display: flex;
    overflow-x: auto;
    transform: 0.5s;
    scroll-behavior: smooth;
    padding: 30px 10px 30px 10px;
    cursor: pointer;
}


.review .box-container .wrappers .box{
    background: #fff;
    padding: 2rem 2rem;
    transition: .2s linear;
    margin-right: 2rem;
    min-width: 20rem;
    margin: 20px 20px 10px 10px;
    text-align: center;
    
}

.review .box-container .wrappers .box:hover{
    box-shadow: 1px 1px 10px 4px var(--green);
    transform: scale(1.1);
}


.review .box-container .wrappers .box p{
    padding: 1rem 0;
    line-height: 1.5;
    font-size: 1rem;
}

.review .box-container .wrappers .box h3{
    padding: 1rem 0;
    font-size: 1.5rem;
    color: var(--green); 
    margin-bottom: auto;  
   
}

.review .box-container .wrappers .box .stars{
    position: relative;
    bottom: 0;
}

.review .box-container .wrappers .box .stars i 
{
    color: orange;
    font-size: 1rem;
}

.wrappers::-webkit-scrollbar{
    width: 0;
}

#backBtn, #nextBtn{
    width: 3.7%;
    cursor: pointer;
    margin: 2px;
    padding: 7px;
    border-radius: 1.5rem;
    background-color:#fff;
    box-shadow: var(--box-shadow);
}



.tests .box-container .boxs{
    background-color: var(--white);
    line-height: 2rem;
    padding: 15px;
}

.tests .box-container .boxs .title{
    background-color: var(--green);
    color: #fff;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: .5rem;
}

.hometests .box-container .boxs{
    background-color: var(--white);
    line-height: 2rem;
    padding: 15px;
}

.hometests .box-container .boxs .title{
    background-color: var(--green);
    color: #fff;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: .5rem;

}

.quility {
    background-color: var(--white);
}

.quility .box-container{
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(10rem,1fr));
    background-color: var(--white);
    line-height: 2rem;
    padding: 15px;
}

.quility h1{
    font-size:x-large;
    margin-bottom: 20px;
    text-align: center;
}

.quility h1 span{
    color: var(--green);
}


.quility .box-container .box{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    background-color: #fff;
    padding: 10px;
    margin: 10px;
    border-radius: .5rem;


}

.quility .box-container .box img{
    height:4rem;
    width:4rem;
    display: block;
    margin: auto;
}

.quility .box-container .box p{
    text-wrap: wrap;
   text-align: center;
   margin: auto;
}




.footer{
    background-color: var(--white);
}


.footer .box-container{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(15rem,1fr));
    gap:2rem;
}

.footer .box-container .box h3{
    font-size: 2rem;
    color: black;
    padding: 1rem 0;
}

.footer .box-container .box a{
    display: block;
    font-size: 1rem;
    color: var(--light-color);
    padding: 1rem 0;
}

.footer .box-container .box a i{
    padding-right: .5rem;
    color: var(--blue);
}

.footer .box-container .box a:hover i{
    padding-right: 2rem;

}



.foot .box-container{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(15rem,1fr));
    gap:2rem;
    left: 0;
    bottom: 0;
    width: 100%;
    padding: 10px 30px 10px 30px;
    background: rgba(18, 172, 142, .9);
    color: #fff;
    text-align: center;
}


.foot .box-container .box input{
    width: 50%;
}

.foot .box-container .box button{
    right: 28px;
    width: 110px;
}

* {box-sizing: border-box;}

/* Button used to open the chat form - fixed at the bottom of the page */
.open-button {
  background-color:var(--blue);
  color: white;
  padding: 12px;
  border-radius:.5rem ;
  border: none;
  cursor: pointer;
  opacity: 0.8;
  position: fixed;
  bottom: 23px;
  right: 28px;
  width: 110px;
}

/* The popup chat - hidden by default */
.chat-popup {
  display: none;
  position: fixed;
  bottom: 0;
  right: 15px;
  border: 3px solid #f1f1f1;
  z-index: 9;
}

/* Add styles to the form container */
.form-container {
  max-width: 300px;
  padding: 10px;
  background-color: white;
}

/* Full-width textarea */
.form-container textarea {
  width: 100%;
  padding: 15px;
  margin: 5px 0 22px 0;
  border: none;
  background: #f1f1f1;
  resize: none;
  min-height: 200px;
}

/* When the textarea gets focus, do something */
.form-container textarea:focus {
  background-color: #ddd;
  outline: none;
}



/* Set a style for the submit/send button */
.form-container .btn {
  background-color:var(--green);
  color: white;
  padding: 16px 20px;
  border: none;
  cursor: pointer;
  width: 100%;
  margin-bottom:10px;
  opacity: 0.8;
}

/* Add a red background color to the cancel button */
.form-container .cancel {
  background-color:var(--blue);
}

/* Add some hover effects to buttons */
.form-container .btn:hover, .open-button:hover {
  opacity: 1;
}

/* membership form */
.overlay{
    width: 100%;
    position: fixed;
    height: 100vh;
    background: rgba(0, 0, 0, 0.2);
    z-index: -1;
    opacity: 0;
    cursor: pointer;
}

.showoverlay{
    opacity: 1;
    z-index:1;
}

/*.container {
   z-index: 10000008;
   position: fixed;
   left: 0px;
   right: 0px;
   height: 100%;
   width: 100%;
   background: black;
   opacity: 0.5;
  }

.open-popup{
    visibility: visible;
    top: 100%;
    transform: translate(-50%,-50%) scale(1);
}*/

.container .cancel span{
    position: absolute;
    right: 0px;
    top: 0px;
    width: 30px;
    height: 30px;
    background-color: var(--blue);
    color: #fff;
    text-align: center;
    font-size:large;
    cursor: pointer;
}

  .container .title {
    font-size: 25px;
    font-weight: 500;
    position: relative;
  }
  .container .title::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 3px;
    width: 30px;
    border-radius: 5px;
    background: linear-gradient(135deg, #087548, #05e3c9);
  }
  .content form .user-details {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 20px 0 20px 0;
    text-align: justify;
  }
  
.content form .user-details span{
    margin-bottom: 20px;
    font-weight: bold;
   }
 
   .content p span{
    font-weight: bold;
    font-size: larger;
   }



#resipopup{
  position: fixed;
  top: 50%;
  left: 50%;
  border-radius: .5rem;
  transform: translate(-50%, -50%);
  background-color: #ffffff;
  padding: 20px;
  border: 1px solid #ccc;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  z-index: 1000; /* Ensures it's on top of other content */
  text-align: center;
}



.top img {
    position: fixed !important;
    right: 10px;
    bottom: 20px;      
    margin-right:10px;
    /* visual styling */
    text-decoration: none;
    font-family: sans-serif;
    white-space: nowrap;
    width: 50px;
    height:50px;
    opacity: 1;
    z-index: 999;
}

.top img:hover{
    transform: scale(1.1);
}




/*media quries */
@media (max-width:991px){

    html{
        font-size:55%;
    
    }
    .header{
        padding: 2rem;
        position: fixed;
    }

    section{
        padding:2rem;
    }
}

@media (max-width:768px){
    #menu-btn{
        display:initial;
    }

    .header .navbar{
        position: absolute;
        top: 100px; right:.2rem;
        border-radius: .5rem;
        box-shadow: var(--box-shadow);
        width: 30rem;
        border:var(--border);
        background: #fff;
        transform: scale(0);
        opacity: 0;
        transform-origin: top right;
        transition: none;
    }

    .header .navbar.active{
        transform: scale(1);
        opacity: 1;
        transition: .2s ease-out;
    }

    .header .navbar a{
        font-size: 2rem;
        display: block;
        margin:2.5rem;
    }

    .header .search-form{
       width: 90%;
       top: 120px;
    } 

    .open-popup{
    top: 20%;
}

.booking .box-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.footer .box-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
    gap: 1.5rem;
}
}


@media (max-width:450px){

    html{
        font-size:50%;  
}
}


