*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:tahoma;
}

body{
background:#111;
color:#fff;
}

nav{
display:flex;
justify-content:space-between;
align-items:center;
padding:20px 8%;
background:#000;
}

nav ul{
display:flex;
gap:20px;
list-style:none;
}

nav a{
color:white;
text-decoration:none;
}

.hero{
text-align:center;
padding:90px 20px;
background:linear-gradient(#000000b5,#000000b5),url(bg.jpg);
background-size:cover;
}

.hero h1{
font-size:45px;
margin-bottom:20px;
}

.hero p{
color:#ddd;
max-width:650px;
margin:auto;
line-height:2;
}

.hero a{
display:inline-block;
margin-top:30px;
padding:14px 35px;
background:#d10000;
color:#fff;
text-decoration:none;
border-radius:8px;
}

.services{
padding:70px 8%;
}

.services h2{
text-align:center;
margin-bottom:40px;
}

.cards{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
gap:25px;
}

.card{
background:#1d1d1d;
padding:30px;
border-radius:15px;
text-align:center;
transition:.3s;
}

.card:hover{
transform:translateY(-8px);
background:#c40000;
}

.doctor{
display:flex;
gap:40px;
align-items:center;
padding:70px 8%;
flex-wrap:wrap;
}

.doctor img{
width:320px;
border-radius:15px;
}

.doctor p{
line-height:2;
margin-top:15px;
color:#ccc;
}

.contact{
padding:70px 8%;
text-align:center;
background:#181818;
}

.contact p{
margin-top:15px;
}

footer{
padding:20px;
text-align:center;
background:#000;
color:#888;
}

@media(max-width:768px){

nav{
flex-direction:column;
gap:20px;
}

.hero h1{
font-size:33px;
}

.doctor{
justify-content:center;
text-align:center;
}

}