*{
    font-family:"Montserrat", serif;
    font-size:400;
    padding: 0px;
    margin:0px;
    
   
}
body{
    background-color: #1f8384;
    overflow-x: hidden;
}
.navigation{
    display:flex;
    box-shadow:2px 2px 5px #1f8384;
    height:80px;
    align-items:center;
    position:sticky;
    top:0px;
    background-color:rgb(255, 243, 243);
    justify-content: space-between;
    z-index: 1000;
}
.navigation .applogo{
    color:#1f8384;
    margin-left:30px;
    margin-top:8px;
}
.applogo h3{
    font-size:50px;
}
.navigation .signin{
    border:2px solid #1f8384;
    border-radius:10px;
    margin-right: 30px;
    width:100px;
    height:45px;
    font-size:20px;
    color:#1f8384;
    font-weight:500;
}
.navigation .signin:hover{
    background-color:#1f8384 ;
    color:rgb(255, 243, 243);
    transition:0.5s ease-in-out;
    box-shadow: 2px 2px 10px #1f8384;
}
.navigation .signinbutton{
    margin-right:30px;
}

.second{
    display:flex;
    margin-top:40px;
    margin-left: 30px;
}
 .map{
    width: 300px;
    height:40px;
    background-color:rgb(255, 243, 243);
    display: flex;
    border-radius: 20px;
 }
 i{
    font-size: 25px;
    color: #1f8384;
    margin-top: 5px;
    margin-left: 5px;
 }
 .mapss{
    width: 300px;
    height: 40px;
    background-color:rgb(255, 243, 243);
    border: none;
    border-radius: 20px;
   
 }

.doctors #select{
    width:400px;
    height:40px;
    border:2px solid #1f8384;
    border-radius:20px;
    font-size:20px;
    font-weight:500;
    text-align: center;
}
.search{
    height: 35px;
    width: 35px;
    border-radius: 50%;
    background-color:rgb(255, 243, 243);
    position: relative;
    top: 2px;
    right: 50px;
    border: none;
}
.doctors #select{
    width:400px;
    height:40px;
    border:2px solid #1f8384;
    border-radius:20px;
    font-size:20px;
    font-weight:500;
    text-align: center;
    margin-left:15px;
}
a{
    text-decoration: none;
    color: #1f8384;
    color:black;
    height: auto;
    width: auto;
    cursor: inherit;
}
.doctors #select:hover{
    box-shadow: 2px 2px 10px #1f8384;
    transition: 0.5s ease-in-out;
}

.image{
    margin-top:1.5rem;
}
.image img{
    width: 100%;
    height:400;
}
.mainfour{
    margin-top:5rem;
    display: flex;
    justify-content: space-around;
}
#change{
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: center;
    background-color: white;
}
.one{
    height: 350px;
    width:300px;
    border:2px solid whitesmoke;
    border-radius:20px;
    margin-left: 20px;
    margin-right:50px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    /* box-shadow: 2px 2px 4px whitesmoke; */
    /* background-color: white; */
   
}
.one:hover{
    transform: scale(1.07);
    transition: 0.2s ease-out;
    box-shadow: 2px 2px 14px whitesmoke ;
}
.one .caption{
    font-size:20px;
    text-align: center;
    font-weight:600;
    color:#1f8384;
    background-color: white;
    border-radius: 0 0 20px 20px;
    padding: 10px;
    /* flex-grow: 1; */
    display: flex;
    align-items: center;
    justify-content: center;
}
.one img{
    height: 80%;
    width:100%;
    border-radius: 20px 20px 0 0;
}
.fields{
    display:flex;
    justify-content: space-evenly;
    margin-top: 5rem;
    align-items:center;
    gap: 5px;
    flex-wrap: wrap;
}

.spec{
    border:2px solid white ;
    border-radius:1rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: white;
    align-items: center;
    height: 100%;
   
}
.spec img{
    height:210px;
    width:210px;
    border-radius: 1rem 1rem 0 0;
}
.spec p{
    text-align:center;
    font-weight:500;
    color:#1f8384 ;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}
.spec:hover{
    box-shadow:2px 2px 10px #d1ded1;
    transition:0.15s all ease-in-out;
}
.footer{
   margin-top:50px;
    background-color: white;
    height: 250px;
    color:black;

 
}

#out {
    color: black;
    font-size: 16px;
    font-weight: normal;
    line-height: 1.5;
    margin-top: 10px;
}

#outputBox {
    background-color: #f9f9f9;
    border: 2px solid #1f8384;
    border-radius: 10px;
    padding: 20px;
    margin-top: 20px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
}



/* === Responsive Styles === */

/* Phones and small devices */
@media (max-width: 768px) {
    .navigation {
        flex-direction: column;
        height: auto;
        align-items: flex-start;
        padding: 10px;
    }

    .applogo h3 {
        font-size: 30px;
    }

    .signin, .signinbutton {
        margin-top: 10px;
        margin-right: 0;
        width: 100%;
    }

    .second {
        flex-direction: column;
        align-items: center;
        margin-left: 0;
        padding: 0 15px;
    }

    .maps, .doctors {
        width: 100%;
        margin-bottom: 20px;
    }

    .doctors #select {
        width: 100%;
        margin-left: 0;
    }

    .search {
        right: 20px;
    }

    .image img {
        height: auto;
    }

    .mainfour {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .one {
        width: 90%;
        max-width: 350px;
        margin: auto;
    }

    .fields {
        flex-direction: column;
        gap: 20px;
        padding: 0 15px;
    }

    .spec {
        width: 90%;
        max-width: 300px;
    }

    .spec img {
        width: 100%;
        height: auto;
    }

    .footer {
        text-align: center;
        height: auto;
        padding: 20px;
    }

    .footer2 {
        margin-top: 20px;
    }
}
