@import url('https://fonts.googleapis.com/css2?family=Courgette&display=swap');
*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}
/* main nav styling */

nav{
    background-color: rgb(255, 255, 255);
    display: flex;
    width: 100%;
    justify-content: space-around;
    margin-top: 5px;
    position: fixed;
    top: 0;
    height: 60px;
    margin-bottom: 10px;
    
}
.nav-item{
    font-family: montserrat;
    font-size: 15px;
    height: fit-content;
}

.nav-item>a{
    padding: 10px;
    text-decoration: none;
    color: rgb(119, 120, 121);
}
.nav-item>a:hover{
   color: rgb(54, 54, 193);
}

header{
    display: flex;
    height: 40px;
    align-items: center;
    width: 100%;
    background-color: rgb(255, 255, 255);
    justify-content: space-around;
    margin-top: 15px;
    margin-top: 40px;
    z-index: 2;
    position: fixed;
    top: 0;
    
}
.menu{
    width: 10%;
    display: flex;
    flex-direction: column;
    height: 30px;
    gap: 6px;
}
.menu-item{
    width: 25%;
    height: 50px;
    color: white;
    display: none;
}
.nav-link>a{
    font-family: montserrat;
    font-size: 15px;
    height: fit-content;
}
img{
    width: fit-content;
    
}
.nav-link>a{
    text-decoration: none;
    padding: 10px;
    font-size: 15px;
    color: rgb(119, 120, 121);
}
.nav-link>a:hover{
    color: rgb(54, 54, 193);
 }
 @media screen and (max-width:768px){
    nav{
        display: none;
        background-color:rgb(128, 0, 128) ;
        
    }

    
    header{
        width: 800px;
        display: flex;
        justify-content: space-between;
        height: 100px;
        padding: 10px;
    
    }

    header> .nav-link{
        display: flex;
    }

    .menu{
        /* display: block; */
        height: 20px;
        margin-bottom: 50px;
        
    }
    .menu-item{
        margin: 10px;
        background-color: rgb(0, 0, 255);
        height: 10px;
        width: 80%;
        /* display: block; */
    }

}
@media screen and (max-width:470px){
    nav{
        display: none;
        background-color:rgb(128, 0, 128) ;
        
    }

    header{
        width: 700px;
        display: flex;
        justify-content: space-between;
        height: 100px;
        padding: 10px;
    
    }

    header> .nav-link{
        display: flex;
    }

    .menu{
        /* display: block; */
        height: 20px;
        margin-bottom: 50px;
        
    }
    .menu-item{
        margin: 10px;
        background-color: rgb(0, 0, 255);
        height: 10px;
        width: 80%;
        /* display: block; */
    }
}

 /* doc styling */
 #doctors{
    background-image: url(banner-2.jpg.webp);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    height: 250px;
    margin-top: 100px;
    
 }
 .doctors-container{
    width: 100%;
    justify-content: space-between;
    align-items: center;
    padding: 7%;
    display: flex;
    
 }
 .doctors-item{
    
    width: 30%;
    height: fit-content;
    margin-top: 20px;
    transform:translateX(80px);
 }
 .doctors-item h1{
    font-size: 40px;
 }
 .doctors-item p{
    line-height: 1.5;
   color:  rgb(119, 120, 121);
 }
.doctors-item>a{
text-decoration: none;
color: rgb(119, 120, 121);
}
/* Media query for max-width 1200px */
@media screen and (max-width: 1200px) {

    #doctors{
        width: 1200px;
        margin-bottom: 100px;
        height: 400px;
    }
    .doctors-container {
        width: 100%;
        display: flex;
    }
    .doctors-item {
        width: 40%;
        height: 200px;
        text-align: center;
    }
    
    .doctors-item p{
        font-size: 40px;
    }
   .doctors-item h1{
    font-size: 40px;
    margin-top: -30px;
}
}
/* Media query for max-width 768px */
@media screen and (max-width: 768px) {

    #doctors{
        width: 800px;
        margin-bottom: 100px;
        height: 300px;
    }
    .doctors-container {
        width: 100%;
        flex-direction: column;
    }
    .doctors-item {
        width: 60%;
        height: 200px;
        text-align: center;
        margin-top: -30px;
    }
    
    .doctors-item p{
        font-size: 30px;
    }
   .doctors-item h1{
    font-size: 40px;
    margin-top: 30px;
}
}
/* Media query for max-width 470px */
@media screen and (max-width: 470px) {

    #doctors{
        width: 700px;
        margin-bottom: 100px;
        height: 300px;
    }
    .doctors-container {
        width: 100%;
        flex-direction: column;
    }
    .doctors-item {
        width: 60%;
        height: 200px;
        text-align: center;
        margin-top: -30px;
    }
    
    .doctors-item p{
        font-size: 30px;
    }
   .doctors-item h1{
    font-size: 40px;
    margin-top: 30px;
}
}

/* med styling */
#med{
    font-family: montserrat;
    
}
.med-container{
    width: 100%;
    justify-content: center;
    align-items: center;
    padding: 7%;
    display: flex;
}
.med-item{
    width: 42%;
    height: 60px;
}
.med-item>h1{
    font-family:'lexend';
    font-family: 600;
    font-size: 35px;
}
span{
    font-family: 'lexend';
    font-weight: 600;
    font-size: 35px;
    display: flex;
}
.med-item>p{
    font-size: 13px;
    line-height: 1.5;
}
/* Media query for max-width 1200px */
@media screen and (max-width: 1200px) {

    #med{
        width: 1200px;
    }
    .med-container {
        width: 100%;
        display: flex;
        gap: 0;
    }
    .med-item {
        margin-top:50px;
        width: 100%;
        height: 120px;
    }
    .med-item p{
        font-size: 20px;
    }
   
    
}
/* Media query for max-width 768px */
@media screen and (max-width: 768px) {

    #med{
        width: 800px;
    }
    .med-container {
        width: 100%;
        flex-direction: column;
    }
    .med-item {
        width: 100%;
        margin-top: -20px;
    }
}

/* Media query for max-width 470px */
@media screen and (max-width: 470px) {
#med{
    width: 700px;
    height: fit-content;
    
}
.med-container {
    width: 100%;
    flex-direction: column;
}
}
/* med2 styling */
.med2-container{
    width: 100%;
    justify-content: center;
    align-items: center;
    padding: 7%;
    display: flex;
    gap: 20px;
    overflow: hidden;
}
.med2-item{
    width: 28%;
    height: 400px;
    overflow: hidden;
    border: 1px solid rgb(237, 234, 234);
   background-color:  rgb(247,249,253);
   box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
    
}
.image{
    width: 100%;
    height: 70%;
    overflow: hidden;
}
.image >img{
    width: 100%;
    height: fit-content;
}

.med2-item img:hover{
    transition: .4s ease-in;
    scale: 1.1;
}
.med2-item h1{
    margin-top: 20px;
    text-align: center;
    font-size: 15px;
}
.med2-item p{
    text-align: center;
    font-size: 12px;
    line-height: 2;
}
hr {
    border: none;
    height: 0.50px;
    background-color: rgb(204, 203, 203);
}
/* med3 styling */
.med3-container{
    width: 100%;
    justify-content: center;
    align-items: center;
    display: flex;
    gap: 60px;
}
.med3-item{
    width: 42%;
    margin-top: 10px;
}
.med3-item a{
color: gray;
text-decoration: none;
font-size: 15px;
}
.med3-item>p,a:hover{
    color: blueviolet;
}
/* Media query for max-width 1200px */
@media screen and (max-width: 1200px) {

    #med2{
        width: 1200px;
    }
    .med2-container {
        width: 100%;
        display: flex;
    }
    .med2-item {
        width: 100%;
        height: 500px;
    }
    .med2-item p{
        font-size: 20px;
    }
    .med3-container{
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .med3-item{
        width: 100%;
        display: flex;
        transform: translateX(20px);
    }
    .med3-item a{
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 14px;
    }
}
/* Media query for max-width 768px */
@media screen and (max-width: 768px) {

    #med2{
        width: 800px;
    }
    .med2-container {
        width: 100%;
       flex-direction: column;
    }
    .med2-item {
        width: 80%;
        height: fit-content;
    }
    .med2-item h1{
        font-size: 30px;
    }
    .med2-item p{
        font-size: 30px;
    }
    .med3-container{
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .med3-item{
        width: 100%;
        display: flex;
        transform: translateX(20px);
    }
    .med3-item a{
        display: flex;
        align-items: center;
        justify-content: center;
        transform: translateX(20px);
    }
}
 i{
    gap: 30px;
}
/* Media query for max-width 470px */
@media screen and (max-width: 470px) {
#med2{
    width: 700px;
    height: fit-content;
    
}
.med2-container {
    width: 100%;
    flex-direction: column;
}
}
/* emergency styling */
#emergency{
    background: linear-gradient(rgba(3, 91, 255, 0.729), rgba(5, 86, 246, 0.672)), url('bg1.jpg.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 400px;

}
.emergency-container{
    width: 100%;
    justify-content: center;
    align-items: center;
    display: flex;
    padding: 10%;
}
.emergency-item{
    width:35%;
    height: 200px;
}
.emergency-item h1{
    font-size: 20px;
    color: rgb(255, 255, 255);
    transform: translateX(-7%);
    
}
.emergency-item h2{
    transform: translateX(-10%);
    font-family: 'Roboto', sans-serif;
    font-size: 31px;
    font-weight: 900;
    color: rgb(255, 255, 255);
    line-height: 2;
    letter-spacing: 1px;
}
.emergency-item {
    font-size: 15px;
    text-align: center;
    color: rgb(255, 255, 255);
    line-height: 1.7;
}
/* Media query for max-width 1200px */
@media screen and (max-width: 1200px) {
    #emergency{
        width: 1200px;
    }
    .emergency-container {
        width: 100%;
        display: flex;
    }
    .emergency-item {
        width: 40%;
    }
    .emergency-item h1, h2, p{
        font-size: 40px;
    }
}
/* Media query for max-width 768px */
@media screen and (max-width: 768px) {
    #emergency{
        width: 800px;
    }
    .emergency-container {
        width: 100%;
        display: flex;
    }
    .emergency-item {
        width: 60%;
    }
    .emergency-item h1, h2, p{
        font-size: 40px;
    }
}
/* Media query for max-width 470px */
@media screen and (max-width: 470px) {
    #emergency{
        width: 700px;
    }
    .emergency-container {
        width: 100%;
        display: flex;
    }
    .emergency-item {
        width: 70%;
    }
    .emergency-item h1, h2, p{
        font-size: 50px;
    }
}
/* logo styling  */
#logo{
    background-color: rgb(247,247,247);
}
.logo-container{
    width: 100%;
    justify-content: center;
    display: flex;
    align-items: center;
    padding: 5%;
    gap: 40px;
}
.logo-item{
    width: 12%;
    height: fit-content;
}

/* Media query for max-width 1200px */
@media screen and (max-width: 1200px) {
    #logo{
        width: 1200px;
        height: fit-content; 
    }
    .logo-container {
        width: 100%;
        display: flex;
    }
    }
    .logo-item{
        width: 20%;
    }
    /* Media query for max-width 800px */
@media screen and (max-width: 768px) {
    #logo{
        width: 800px;
        height: fit-content; 
    }
    .logo-container {
        width: 100%;
        flex-direction: column;
    }
    }
    .logo-item{
        width: 20%;
    }
      /* Media query for max-width 470px */
@media screen and (max-width: 470px) {
    #logo{
        width: 700px;
        height: fit-content; 
    }
    .logo-container {
        width: 100%;
        flex-direction: column;
    }
    }
    .logo-item{
        width: 20%;
    }
/* footer styling */

.cont-container{
    width: 100%;
    justify-content: center;
    align-items: center;
    display: flex;
    padding: 5%;
    gap: 15px;
    background-color: rgb(51, 51, 51);
}
.cont-item{
    width: 15%;
    height: 280px;
}
.cont-item h1{
    color: #99ccff;;
    font-size: 17px;
    line-height: 2;
}
.cont-item p{
    font-size: 15px;
    color:  rgb(163, 164, 164);
    line-height: 2;
}
.cont-item p:hover{
    color: rgb(167, 0, 179);;
}
form {
    display: flex;
    align-items: center;
    justify-content: center;
    
}
input{
    text-align: center;
    width: 200px;
    padding: 10px;
    height: 40px;
    outline: none;
    border: 1px solid rgba(0, 0, 0, 0.2);
    
}
button {
    padding: 14px;
    border: none;
    background-color: rgb(0, 102, 255);
    color: rgb(255, 255, 255);
    cursor: pointer;
}
button:hover {
    background-color: rgb(167, 0, 179);
}
/* Media query for max-width 1200px */
@media screen and (max-width: 1200px) {

    .cont{
        width: 1200px;
    }
    .cont-container {
        width: 100%;
        display: flex;
    }
    .cont-item {
        width: 100%;
    }
}
/* Media query for max-width 768px */
@media screen and (max-width: 768px) {

    .cont{
        width: 800px;
    }
    .cont-container {
        width: 100%;
       flex-direction: column;
    }
    .cont-item {
        width: 100%;
        height: 200px;
    }
    .cont-item h1,p{
        align-items: center;
        justify-content: center;
        display: flex;
        font-size: 25px;
    }
}
/* Media query for max-width 470px */
@media screen and (max-width: 470px) {

    .cont{
        width: 700px;
    }
    .cont-container {
        width: 100%;
       flex-direction: column;
    }
    .cont-item {
        width: 100%;
        height: 200px;
    }
    .cont-item h1,p{
        align-items: center;
        justify-content: center;
        display: flex;
        font-size: 25px;
    }
}