*{
    margin: 0;
    padding: 0;
}
body{
    font-family: 'Roboto', sans-serif;
    background-color: #ffffff;
    color: #222;
}


nav{
    display: flex;
    align-items: center;
    justify-content: space-around;
    background-color: seagreen;
    color: white;
    position: fixed;
    width: 100%;
    top: 0;
    height: 80px;
    box-shadow: 0px 4px 6px rgba(0,0,0,0.2);
    z-index: 1000;
}
ul{
    display: flex;
}
ul li{
    list-style: none;
}
ul li a{
    text-decoration: none;
    font-size: 20px;
    color: white;
    margin-inline: 22px;
    transition: color 0.3s;
}
ul li a:hover{
    color: #dfffe0; /* light sea green */
}
.logo{
    font-size: 22px;
    font-weight: bold;
}


.main{
    display: flex;
    justify-content: center;
    margin-top: 80px;
    background-color: seagreen;
    color: white;
    padding: 40px;
    flex-wrap: wrap;
}
.main img{
    width: 740px;
    border-radius: 10px;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}
.main img:hover{
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}
.main h1{
    font-size: 55px;
}
.mainText{
    margin-top: 40px;
    max-width: 500px;
}
.mainText p{
    margin-top: 20px;
}
.mainText button{
    width: 160px;
    height: 45px;
    background-color: black;
    color: white;
    font-size: 18px;
    border: none;
    margin-top: 30px;
    cursor: pointer;
    border-radius: 6px;
    transition: 0.3s;
}
.mainText button:hover{
    background-color: white;
    color: seagreen;
}


.head{
   text-align: center;
   padding: 70px 20px;
}


.serviceCard{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin-top: 40px;
}
.serviceCard .card{
    width: 220px;
    border: 2px solid seagreen;
    padding: 20px;
    margin: 15px;
    text-align: center;
    border-radius: 10px;
    transition: 0.3s;
    background: white;
}
.serviceCard .card:hover{
    cursor: pointer;
    background-color: seagreen;
    color: white;
    transform: translateY(-8px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.2);
}
.serviceCard .card img{
    width: 100%;
    height: 160px;
    border-radius: 8px;
    margin-bottom: 10px;
    transition: transform 0.4s;
}
.serviceCard .card img:hover{
    transform: scale(1.05);
}


.doctor{
    width: 85%;
    max-width: 900px;
    height: auto;
    margin: auto;
    overflow: hidden;
    text-align: center;
}
.team{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}
.team img{
    width: 220px;
    height: 280px;
    border-radius: 10px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.team img:hover{
    transform: scale(1.05);
    box-shadow: 0 8px 15px rgba(0,0,0,0.3);
}

/* Blogs */
.blogs{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}
.blogs .blogCard{
    width: 300px;
    background-color: seagreen;
    text-align: center;
    color: white;
    padding: 20px;
    border-radius: 10px;
    transition: 0.3s;
}
.blogCard:hover{
    transform: translateY(-8px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.3);
}
.blogCard img{
    width: 100%;
    height: 220px;
    border-radius: 8px;
    margin-bottom: 10px;
    transition: transform 0.4s ease;
}
.blogCard img:hover{
    transform: scale(1.05);
}
.blogCard a{
    padding: 6px 18px;
    background-color: black;
    color: white;
    text-decoration: none;
    font-size: 18px;
    border-radius: 6px;
    transition: 0.3s;
}
.blogCard a:hover{
    background-color: white;
    color: seagreen;
}


.form{
    width: 400px;
    margin: auto;
    padding: 25px;
    background-color: #f0fdf4;
    text-align: center;
    border-radius: 10px;
}
.form input{
    width: 90%;
    font-size: 18px;
    padding: 12px;
    margin-top: 20px;
    outline: none;
    border: 2px solid seagreen;
    border-radius: 6px;
}
.form button{
    width: 200px;
    height: 44px;
    background-color: seagreen;
    color: white;
    font-size: 20px;
    border: none;
    margin-top: 22px;
    border-radius: 6px;
    transition: 0.3s;
}
.form button:hover{
    background-color: black;
    color: white;
}


.footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    background-color: #000; /* pure black */
    color: #fff;
    padding: 40px 60px;
    margin-top: 60px;
    gap: 20px;
}

.footer div {
    flex: 1 1 200px; /* responsive blocks */
    margin: 10px;
}

.footer h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: seagreen;
}

.footer p {
    margin: 8px 0;
    font-size: 14px;
    line-height: 1.6;
}

.footer a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: seagreen;
}


.footer-bottom {
    text-align: center;
    padding: 15px;
    margin-top: 20px;
    border-top: 1px solid #333;
    font-size: 13px;
    color: #bbb;
}
.social-icons {
    margin-top: 15px;
}

.social-icons a {
    font-size: 20px;
    color: white;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: seagreen;
}




@media screen and (max-width:1100px){
    .main{
        flex-direction: column;
        text-align: center;
    }
    .main img{
        width: 80%;
        margin-top: 20px;
    }
}
@media screen and (max-width:920px){
     .doctor{
        width: 95%;
     }
     .doctor img{
        width: 180px;
        height: 230px;
     }
}
@media screen and (max-width:780px){
    .team img{
        width: 140px;
        height: 200px;
    }
}
@media screen and (max-width:580px){
    .team img{
       width: 45%;
       height: auto;
    }
    .form{
        width: 90%;
    }
    .main h1{
        font-size: 40px;
    }
}
#bar{
    display: none;
}
@media screen and (max-width:850px){
    ul{
        display: none;
    }
    #bar{
        display: block;
        font-size: 32px;
    }
}
