@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; */
    }
}
 /* health styling */
 #health{
    background-image: url(home-banner.jpg.webp);
    height: 600px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    margin-top: 100px;
    width: 100%;
    
 }
 .health-container{
    width: 100%;
    justify-content: space-between;
    align-items: center;
    padding: 7%;
    display: flex;
    
 }
 .health-item{
    width: 40%;
    height: fit-content;
    margin-top: 20px;
    transform:translateX(80px);
 }
 .health-item h1{
    font-weight: 800;
    font-size: 50px;
    font-family: 'lexend';
 }
 .health-item span{
    font-weight: 800;
    font-size: 48px;
    font-family: 'lexend';
    line-height: 1.5;
 }
 .health-item p{
    line-height: 2;
   color:  rgb(91, 91, 91);

 }
 .health-child-container{
    width: 100%;
    justify-content: center;
    align-items: center;
    display: flex;
 }
 .health-child-item{
    width: 50%;
    transform: translateX(-150px);

 }
.health-child-item>a{
    
    padding: 2%;
    border: 1px solid rgb(0, 0, 255);
    text-decoration: none;
    color: rgb(250, 251, 253);
    background-color: rgb(43, 43, 220);
}
.health-child-item>a:hover{
    background-color: rgb(138, 43, 226);
}
/* Media query for max-width 1200px */
@media screen and (max-width: 1200px) {

    #health{
        width: 1200px;
    }
    .health-container {
        width: 100%;
        flex-direction: column;
    }
    .health-item {
        width: 100%;
        transform: translateX(0px);
    }
    .health-item h1{
        margin-top: 60px;
        transform: translateX(-50px);
    }
    .health-item p{
        margin-top: 30px;
        transform: translateX(-50px);
        font-size: 20px;
    }
    .health-child-item {
        width: 90%;
        transform: translateX(0px);
    }
    
}
/* Media query for max-width 768px */
@media screen and (max-width: 768px) {

    #health{
        width: 800px;
        
    }
    .health-container {
        width: 90%;
        flex-direction: column;
    }
    .health-item {
        width: 90%;
        transform: translateX(0px);
    }
    .health-item h1{
        margin-top: 60px;
        transform: translateX(-50px);
    }
    .health-item p{
        margin-top: 30px;
        transform: translateX(-50px);
        font-size: 20px;
    }
    .health-child-item {
        width: 90%;
        transform: translateX(0px);
    }
    
}

/* Media query for max-width 470px */
@media screen and (max-width: 470px) {
#health{
    width: 700px;
    
}
.health-container {
    width: 90%;
    flex-direction: column;
}
.health-item {
    width: 90%;
    transform: translateX(0px);
}
.health-item h1{
    margin-top: 60px;
    transform: translateX(-50px);
}
.health-item p{
    margin-top: 30px;
    transform: translateX(-50px);
    font-size: 20px;
}
.health-child-item {
    width: 90%;
    transform: translateX(0px);
}
}

/* primary styling */
#primary{
    background: url(pattern_bg.jpg.webp);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    height: 220px;
}
.primary-container{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 3%;
    gap: 20px;
}
.primary-item{
    color: white;
    width: 25%;
    height: 150px;
    background-color: rrgb(2,81,211);
    box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
}
.primary-item h1{
    text-align: center;
    padding: 5%;
    font-size: 20px;
}
.primary-item p{
    text-align: center;
    line-height: 2;
}

/* Media query for max-width 1200px */
@media screen and (max-width: 1200px) {

    #primary{
        width: 1200px;
        height: 450px;
    }
    .primary-container {
        width: 100%;
        display: flex;
    }
    .primary-item {
        margin-top:80px;
        width: 100%;
        height: 250px;
    }
    .primary-item p{
        font-size: 30px;
    }
   
    
}
/* Media query for max-width 768px */
@media screen and (max-width: 768px) {

    #primary{
        width: 800px;
        height: fit-content;
    }
    .primary-container {
        width: 80%;
        flex-direction: column;
        transform: translateX(60px);
    }
    .primary-item {
        width: 100%;
        margin-top: 20px;
    }
}

/* Media query for max-width 470px */
@media screen and (max-width: 470px) {
#primary{
    width: 700px;
    height: fit-content;
    
}
.primary-container {
    width: 85%;
    flex-direction: column;
}
}

/* awesome styling  */
.awesome-container{
    width: 100%;
    padding: 10%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.awesome-item{
    width: 46%;
    height: 20px;
}
.awesome-item h1{
    font-size: 30px;
    color: rgb(59, 58, 58);
}
.awesome-item h1 span{
    display: flex;
    flex-direction: column;
}
.awesome-item p{
    font-size: 15px;
    line-height: 2;
}
/* Media query for max-width 1200px */
@media screen and (max-width: 1200px) {

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

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

/* Media query for max-width 470px */
@media screen and (max-width: 470px) {
#awesome{
    width: 700px;
    height: fit-content;
    
}
.awesome-container {
    width: 85%;
    flex-direction: column;
}
}
/* awesome2 styling */
.awesome2-container{
    width: 100%;
    padding: 5%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}
.awesome2-item{
    background-color: rgb(247,249,253);
    width: 30%;
    height: 300px;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
    
}
.awesome2-item img{
   background-color: rgba(206, 204, 204, 0.391);
   border-radius: 100%;
   padding: 2%;
   transform: translateX(30px);
   margin-top: 20px;
}
.awesome2-item h1{
    margin-top: 40px;
    text-align: center;
    font-size: 20px;
    color: rgb(59, 58, 58);
}
.awesome2-item p{
    text-align: center;
    margin-top: 30px;
    line-height: 1.5;
}
.awesome2-item a{
    text-decoration: none;
    color: rgb(128, 128, 128);
}
.awesome2-item a:hover{
    color: blueviolet;
}

/* Media query for max-width 1200px */
@media screen and (max-width: 1200px) {

    #awesome2{
        width: 1200px;
    }
    .awesome2-container {
        width: 100%;
        display: flex;
    }
    .awesome2-item {
        margin-top:-50px;
        width: 100%;
        
    }
    .awesome2-item p{
        font-size: 10px;
    }
}
/* Media query for max-width 768px */
@media screen and (max-width: 768px) {
    #awesome2{
        width: 800px;
        height: 1500px;
    }
    .awesome2-container {
        width: 100%;
        flex-direction: column;
        margin-top: -40px;
    }
    .awesome2-item {
        width: 80%;
        margin-top: -30px;
        height: 400px;
        border-color: rgb(179, 153, 203)
    }
    .awesome2-item p{
        font-size: 50px;
    }
}

/* Media query for max-width 470px */
@media screen and (max-width: 470px) {
#awesome2{
    width: 700px;
    height: 1500px;
    margin-top: 50px;
}
.awesome2-container {
    width: 100%;
    flex-direction: column;
}
}
.awesome2-item{
    width: 100%;
    height: 350px;
    border-color: rgb(179, 153, 203)
}
.awesome2-item p{
    font-size: 20px;
}
/* second styling  */
#second{
    
    background-image: url(bg_1.png.webp);
    background-position:left;
    background-repeat: no-repeat;   
    background-size:cover;
    background-blend-mode: multiply;
    height: 700px;
    margin-top: -200px;
}
.second-container{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.second-item{
    width: 50%;
    height: fit-content;
    margin-top: 210px;
}
.second-item img{
    width: 100%;
    height: fit-content;
}
.second-item h1{
    line-height: 1.2;
    margin-bottom: 30px;
    font-size: 28px;
}
.second-item p{
    font-size: 18px;
    
}
/* Media query for max-width 1200px */
@media screen and (max-width: 1200px) {

    #second{
        width: 1200px;
    }
    .second-container {
        width: 100%;
        display: flex;
    }
    .second-item {
        margin-top:px;
        width: 100%;
    }
    .second-item h1{
        margin-top: 90px;
        font-size: 30px;
    }
    .second-item p{
        font-size: 60px;
    }
}
/* Media query for max-width 768px */
 @media screen and (max-width: 768px) {

    #second{
        width: 800px;
        margin-top: -600px;
    }
        .second-container {
            width: 100%;
            flex-direction: column;
        }
        .second-item {
            text-align: center;
            margin-top: 80px;
            width: 100%;
            height: fit-content;
        }
        .second-item img{
            display: none;
        }
        .second-item h1{
            font-size: 50px;
        }
        .second-item p{
            font-size: 60px;
        }
    }

/* Media query for max-width 470px */
@media screen and (max-width: 470px) {
    #second{
        width: 700px;
        margin-top: -700px;
    }
        .second-container {
            width: 100%;
            flex-direction: column;
        }
        .second-item {
            margin-top: 100px;
            text-align: center;
            width: 100%;
            height: fit-content;
            
        }
        .second-item img{
            display: none;
        }
        .second-item h1{
            font-size: 50px;
        }
        .second-item p{
            font-size: 60px;
        }
    }

/* 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;
}
}

/* appoint styling  */

#appoint h1{
    margin-bottom: 30px;
    font-size: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.appoint-container{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.appoint-item{
    width: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}
.appoint-item form{
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    height: 500px;
}
.appoint-item label{
    font-size: 30px;
    color: rgb(67, 66, 66);
}
.appoint-item label:hover{
    color: blueviolet;
}
.appoint-item textarea{
    width: 50%;
    height: 25%;
    border-color: rgb(220, 221, 222);
}
.appoint-item a{
    margin-top: 20px;
    padding: 2%;
    border: 1px solid rgb(0, 0, 255);
    text-decoration: none;
    color: rgb(250, 251, 253);
    background-color: rgb(43, 43, 220);
}
.appoint-item a:hover{
    background-color: blueviolet;
}
/* Media query for max-width 1200px */
@media screen and (max-width: 1200px) {

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

    #appoint{
        width: 800px;
    }
    .appoint-container {
        width: 100%;
        flex-direction: column;
    }
    .appoint-item {
        width: 100%;
        height: 550px;
    }
    .input{
        width: 400px;
    }
}
/* Media query for max-width 470px */
@media screen and (max-width: 470px) {

    #appoint{
        width: 700px;
        /* height: 600px; */
    }
    .appoint-container {
        width: 100%;
        flex-direction: column;
    }
    .appoint-item {
        width: 100%;
        height: 550px;
    }
    .input{
        width: 400px;
    }
}

/* doc styling */
#doc{
    background-image: url(bg_2.png.webp);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    height: 400px;
}
.doc-container{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10%;
}
.doc-item{
    width: 35%;
    text-align: center;
   
}
.doc-item img{
    border-radius: 100%;
    width: 15%;
    text-align: center;
    
}
.doc-item p{
    margin-top: 20px;
    font-size: 15px;
    color: rgb(120, 119, 119);
}
.doc-item h6{
    margin-top: 20px;
    font-size: 15px;
}
/* Media query for max-width 1200px */
@media screen and (max-width: 1200px) {
    #doc{
        width: 1200px;
    }
    .doc-container {
        width: 100%;
        display: flex;
    }
    .doc-item {
        width: 35%;
    }
    .doc-item p{
        font-size: 20px;
    }
    .doc-item h6{
        font-size: 20px;
    }
}
/* Media query for max-width 768px */
@media screen and (max-width: 768px) {
    #doc{
        width: 800px;
    }
    .doc-container {
        width: 100%;
        display: flex;
    }
    .doc-item {
        width: 50%;
    }
    .doc-item p{
        font-size: 20px;
    }
    .doc-item h6{
        font-size: 20px;
    }
}
/* Media query for max-width 470px */
@media screen and (max-width: 470px) {
    #doc{
        width: 700px;
    }
    .doc-container {
        width: 100%;
        display: flex;
    }
    .doc-item {
        width: 50%;
    }
    .doc-item p{
        font-size: 20px;
    }
    .doc-item h6{
        font-size: 20px;
    }
}
/* 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;
    }
}
/* medical styling */
#medical{
    font-family: montserrat;
    
}
.medical-container{
    width: 100%;
    justify-content: center;
    align-items: center;
    padding: 7%;
    display: flex;
}
.medical-item{
    width: 42%;
    height: 60px;
}
.medical-item>h1{
    font-family:'lexend';
    font-family: 600;
    font-size: 35px;
}
span{
    font-family: 'lexend';
    font-weight: 600;
    font-size: 35px;
    display: flex;
}
.medical-item>p{
    font-size: 12px;
    line-height: 1.5;
}
/* Media query for max-width 1200px */
@media screen and (max-width: 1200px) {

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

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

/* Media query for max-width 470px */
@media screen and (max-width: 470px) {
#medical{
    width: 700px;
    height: fit-content;
    
}
.medical-container {
    width: 100%;
    flex-direction: column;
}
}

/*  medical2 styling */
.medical2-container{
    width: 100%;
    justify-content: center;
    align-items: center;
    padding: 7%;
    display: flex;
    gap: 20px;
    overflow: hidden;
}
.medical2-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;
}
.medical2-item.image{
    width: 100%;
    height:70%;
    overflow: hidden;
}
.medical2-item img:hover{
    transition: .4s ease-in;
    scale: 1.1;
}
.medical2-item img{
    width: 100%;
    height: fit-content;
}
.medical2-item h1{
    margin-top: 20px;
    text-align: center;
    font-size: 10px;
}
.medical2-item p{
    text-align: center;
    font-size: 12px;
    line-height: 2;
}
/* Media query for max-width 1200px */
@media screen and (max-width: 1200px) {

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

    #medical2{
        width: 800px;
    }
    .medical2-container {
        width: 100%;
        flex-direction: column;
    }
    .medical2-item {
        width: 50%;
        height: 550px;
    }
    .medical2-item p{
        font-size: 20px;
        margin-top: 20px;
    }
   .medical2-item h1{
    margin-top: -20px;
    font-size: 20px;
}
}

/* Media query for max-width 470px */
@media screen and (max-width: 470px) {
#medical2{
    width: 700px;
    height: fit-content;
    
}
.medical2-container {
    width: 100%;
    flex-direction: column;
}
}
/* 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;
    }
}