*{
    margin: 0;
    padding: 0;
}

html{
    scroll-behavior: smooth;
}

body{
    font-family: 'Roboto',sans-serif;
    background-color: #e6e6e6;
}
nav{
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 20px;
    background-color: rgb(11, 78, 78);
    color: white;
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    box-shadow: 0 0.5 1.5rem rgba(0, 0, 0, 0.3);

}
ul{
    display: flex;
}
ul li{
    list-style: none;
}
ul li a{
    text-decoration: none;
    font-size: 20px;
    margin-inline: 20px;
    color: white;
}
ul li a:hover{
    color: red;
    border-bottom: 2px solid gold;
}
.logo{
    font-size: 22px;
    display: flex;
    cursor: pointer;
   
}
.logo .logo{
    margin-right: 15px;
}
.logo h1 span{
    color: gold;
}
#bar{
    font-size: 26px;
    display: none;
}
.main{
    display: flex;
   align-items: center;
    justify-content: space-around;
    color: white;
    background-color: rgb(14, 97, 97);
    height: 640px;
    padding: 8px;
    margin-top: 55px;
}
.mainText h1{
    font-size: 55px;
}
.mainText h3{
    font-size: 35px;
    margin-top: 20px;
}

.mainText button{
    width: 140px;
    height: 40px;
    background-color: black;
    color: white;
    border: none;
    margin-top: 20px;
    font-size: 20px;
    border-radius: 6px;
}
.mainText button:hover{
    border: 2px solid black;
    background-color: transparent;
    color: red;

}

.teams{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.teams .card{
    width: 300px;
    height: 450px;
    background-color: #fff;
    border-radius: 8px;
    border: 2px solid rgb(221, 217, 217);
    box-shadow: 0 0.5 1.5rem rgba(0, 0, 0, 0.3); 
    margin-top: 22px;
     
}
.card img{
    width: 87%;
    height: 320px;
    border-radius: 8px;
     margin: 20px 0 0px 20px;   
     box-shadow: 0 0.5 1.5rem rgba(0, 0, 0, 0.3); 

}
.card p{
    margin-top: 11px;
    margin-left: 15px;
}
.head{
   text-align: center; 
   padding: 80px;
   font-size: 25px;
   
}

.seciality{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.seciality .spCard{
  width: 300px;
  padding: 22px;
  background-color: #fff;
  text-align: center;
 margin-top: 22px;
  border-radius: 7px;
  margin-inline: 20px;  
}
.spCard img{
    width: 200px;
}
.spCard p{
    margin-top: 11px;
}

.reviews{
    width: 800px;
    height: 400px;
    position: relative;
    margin: auto;
    overflow: hidden;
}
.patientReview{
    display: flex;
    justify-content: center;
    width: 100%;
    height: 100%;
    position: absolute;
     background-color: #fff; 
    border-radius: 8px;
    transition: all 1s ease;
}
.patientReview img{
    width: 300px;
    margin-inline: 20px;
    border-radius: 6px;
    margin-top: 15px;
}
.contact{
    width: 300px;
    background: #fff;
    padding: 22px;
    border-radius: 6px;
    text-align: center;
    margin: auto;
    
}
.contact input{
    width: 90%;
    font-size: 18px;
    padding: 9px;
    margin-top: 22px;
    border: none;
    outline: none;
    background-color: #e4e1e1;
    border-radius: 3px;
}
.contact button{
     width: 100px;
    height: 30px;
    background-color: rgb(14, 97, 97);
    color: white;
    border: none;
    margin-top: 22px;
    font-size: 17px;
    border-radius: 6px;
}
.contact h1{
    color: rgb(16, 103, 103);
}

.footer{
   display: flex; 
   flex-wrap: wrap;
   justify-content: space-between;
   padding: 66px;
   margin-top: 66px;
   background-color: rgb(11, 76, 76);
   color: #fff;

}
.text p{
    margin-top: 12px;
}
.text p .fa-solid , .fa-brands {
    margin-right: 10px;
    color: red;
    background: white;
    border-radius: 50%;
    padding: 3px;
    border: 2px solid black;
}  
.text h3{
    color: gold;
}

.detail{
    display: none;
    position: fixed;
    left: 50%;
    right: 50%;
    top: 5%;
    transform: translate(-50%, 40%);
    background-color: #fff;
    padding: 22px;
    width: 400px;
    border-radius: 5px;
  
}
.content{
    display: flex;
    gap: 22px;
}
.content img{
     margin-inline: 22px; 
    width: 200px;
    height: 15.625rem;
    border-radius: 5px;
}

.content p{
    margin-top: 22px;
}
.detail button{
    position: relative;
    top: -23px;
    left: -22px;
    width: 30px;
    height: 30px;
    background-color: rgb(12, 94, 94);
    color: #fff;
    font-size: 18px;
    border: none;
    border-radius: 5px;
    cursor: pointer;

}

nav .fa-solid{
    display: none ;
}




/* ----------------------Moble Screen------------ */

@media screen and (max-width:1100px){
    .main{
        display: block;
        text-align: center;
         /* height: auto;  */
    }
    .mainText h1{
        margin-top: 76px;
    }

    nav .fa-solid{
    display: block ;
    font-size: 25px;
}

}

@media screen and (max-width:900px){
   
   nav ul{
    background: #f203aa;
    position: fixed;
    top: 0;
    right: -200px;
    width: 200px;
    height: 50vh;
    padding-top: 50px;
    z-index: 2;
    transition: right 0.6s ease;
    flex-direction: column;
    
    
    text-align: start;
}



ul li a:hover{
    color: white;
    border-bottom: 2px solid gold;
}

   
    /* ul{
        display: none;
    }
    #bar{
        display: block;
    }


    */
nav ul li{
    display: block;
    margin: 16px 0 ;
    
    
}
nav ul .fa-solid{
    position: absolute;
    top: 25px;
    left: 25px;
    cursor: pointer;
}


}

@media screen and (max-width:850px){
    .reviews{
        width: 90%;
         
    }
    .patientReview img{
        width: 40%;
        height: 200px;
    }
}

@media screen and (max-width:600px){
    .mainText h1{
        font-size: 33px;
    }
    .mainText h3{
        font-size: 23px;
    }
    .main img{
        width: 90%;
    }
    .reviews{
        width: 80%;
    }
    .patientReview img{
        width: 40%;
        height: 160px;
        margin-inline: 6px;
    }
    .contact{
        width: 80%;
    }
    .detail{
        width: 80%;
    }
    .content{
        display: block;
        text-align: center;
    }
    .content img{
        width: 90%;
    }
}