@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root{
    --bgcolor1:#c71585;
    --bgcolor2:#87CEFA;
    --txtc1:#FF1493;
    --txtc2:#D3D3D3;
    --primary-color: 111, 76, 255;
}
*{
    margin: 0; padding: 0;
    box-sizing: border-box;
    font-family: "poppins", sans-serif;
    outline: none; border: none;
    text-transform: capitalize;
    transition: .2s linear;
    text-decoration: none;
}
html{
    font-size: 62.5%;
    scroll-behavior: smooth;
    scroll-padding-top:6rem;
    overflow-x: hidden;
}
header{
    position: fixed;
    top: 0; left: 0; right: 0;
    background:#fff;
    padding: 2rem 9%;
    display: flex;
    align-items: center;
    justify-content:space-between ;
    z-index: 1000;
    box-shadow: 0.5rem 1rem rgba(0,0,0,.1) ;
}
header .brand{
   width:10rem;
   
}
header .nabh{
    height: 3rem;
}
header .hospi-head{
    font-size: 2rem;
    color: var(--bgcolor1);
    text-transform: uppercase;
}
header .dept-head{
    font-size: 1.5rem;
    color: var(--bgcolor2);
}
main{
    margin: 8rem 15rem;
}
main .intro{
    font-size: 1.5rem;
    color: #333;
    background-color:var(--bgcolor2);
    padding: 2rem 8rem;
    line-height: 1.5;
    text-indent: 2rem;
}
.card-container{
    background-color: var(--bgcolor1);
    padding-bottom: 3rem;
}
.card-container h1{
    text-align: center;
    font-size: 3rem;
    color: #87CEFA;
}
.doctors {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin: 20px 0;
}
.doctor-card {
    background: white;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(251, 250, 250, 0.5);
    max-width: 300px;
    text-align: center;
    margin: 10px;
    padding: 15px;
}
.doctor-card img {
    border-radius: 50%;
    width: 120px;
    height: 120px;
    object-fit: cover;
    margin-bottom: 15px;
}
.doctor-card h3 {
    margin: 10px 0 5px;
    color: #2c3e50;
}
.doctor-card p {
    color: #555;
    font-size: 14px; 
}
.description{
    padding: 2rem 8rem;
    background-color: var(--bgcolor2);
}
.description .head{
    font-size: 2.5rem;
    color: #c71585;
    text-align: center;
}
.description .sub-head{
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--bgcolor1);
    margin: 2rem 0;
}
.description p{
    font-size: 1.5rem;
}
.description ul{
    padding-left: 5rem;
}
.description .list{
    font-size: 1.6rem;
    font-weight: 600;
    margin: 1rem 0;
}
.bottom{
    background-color: #999;
    padding: 2rem 8rem;
}
.bottom .head{
    font-size: 2.5rem;
    color: #c71585;
    text-align: center;
}
.bottom p{
    font-size: 1.5rem;
}
.bottom p span{
    color: var(--bgcolor2);
}




/*-------------media query----------*/

@media screen and (max-width:550px){
    header .hospi-head{
        display: none;
    }
    main{
        margin: 0;
        padding: 0;
    }
    .description{
        padding: 1rem 1.5rem;
        text-align: justify;
    }
    .bottom{
        padding: 1rem 1.5rem;
        text-align: justify;
    }
    main .intro{
        padding-top: 10rem;
        padding-left: 1rem;
        padding-right: 1rem;
        text-align: justify;
    }
}