/* ==========================
   CarePlus Clinic CSS
========================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins',sans-serif;
    scroll-behavior:smooth;
}

body{
    background:#f8fbff;
    color:#222;
    overflow-x:hidden;
}

a{
    text-decoration:none;
}

ul{
    list-style:none;
}

img{
    max-width:100%;
    display:block;
}

.container{
    width:90%;
    max-width:1200px;
    margin:auto;
}

/* ==========================
Navbar
========================== */

header{

position:fixed;
top:0;
left:0;
width:100%;
background:white;
box-shadow:0 5px 20px rgba(0,0,0,.08);
z-index:999;

}

.navbar{

height:80px;
display:flex;
justify-content:space-between;
align-items:center;
width:90%;
max-width:1200px;
margin:auto;

}

.logo{

font-size:30px;
font-weight:700;
color:#0077ff;

}

.logo i{

margin-right:8px;

}

.nav-links{

display:flex;
gap:35px;

}

.nav-links a{

color:#222;
font-weight:500;
transition:.3s;

}

.nav-links a:hover{

color:#0077ff;

}

/* ==========================
Buttons
========================== */

.btn{

display:inline-block;
background:#0077ff;
color:white;
padding:14px 30px;
border-radius:50px;
transition:.3s;
font-weight:600;

}

.btn:hover{

background:#005ed8;
transform:translateY(-3px);

}

.btn-outline{

display:inline-block;
border:2px solid #0077ff;
color:#0077ff;
padding:14px 30px;
border-radius:50px;
margin-left:15px;
transition:.3s;
background:white;

}

.btn-outline:hover{

background:#0077ff;
color:white;

}

/* ==========================
Hero
========================== */

.hero{

height:100vh;
background:
linear-gradient(rgba(255,255,255,.75),rgba(255,255,255,.85)),
url("../images/hero.jpg") center/cover;
display:flex;
justify-content:center;
align-items:center;
text-align:center;
padding:120px 20px;

}

.hero-content{

max-width:850px;

}

.hero h1{

font-size:65px;
color:#0077ff;

}

.hero h2{

margin:20px 0;
font-size:34px;

}

.hero p{

font-size:18px;
color:#666;
line-height:1.8;
margin-bottom:35px;

}

/* ==========================
About
========================== */

.about{

padding:100px 0;

}

.about .container{

display:grid;
grid-template-columns:1fr 1fr;
gap:60px;
align-items:center;

}

.about img{

border-radius:20px;

}

.about h4{

color:#0077ff;
margin-bottom:10px;

}

.about h2{

font-size:42px;
margin-bottom:20px;

}

.about p{

color:#666;
line-height:1.8;

}

.about ul{

margin:30px 0;

}

.about li{

margin:15px 0;

}

.about i{

color:#0077ff;
margin-right:10px;

}

/* ==========================
Services
========================== */

.services{

padding:100px 0;
background:white;

}

.section-title{

text-align:center;
font-size:45px;
margin-bottom:60px;
color:#0077ff;

}

.services .container{

display:grid;
grid-template-columns:repeat(3,1fr);
gap:30px;

}

.service{

background:#fff;
padding:40px;
border-radius:20px;
box-shadow:0 15px 40px rgba(0,0,0,.08);
text-align:center;
transition:.4s;

}

.service:hover{

transform:translateY(-10px);

}

.service i{

font-size:55px;
color:#0077ff;
margin-bottom:20px;

}

.service h3{

margin-bottom:15px;

}

.service p{

color:#666;
margin-bottom:25px;

}

/* ==========================
Doctors
========================== */

.doctors{

padding:100px 0;
background:#eef6ff;

}

.doctors .container{

display:grid;
grid-template-columns:repeat(3,1fr);
gap:30px;

}

.doctor{

background:white;
border-radius:20px;
overflow:hidden;
text-align:center;
box-shadow:0 10px 30px rgba(0,0,0,.08);
transition:.4s;

}

.doctor:hover{

transform:translateY(-10px);

}

.doctor img{

width:100%;
height:320px;
object-fit:cover;

}

.doctor h3{

margin-top:20px;

}

.doctor p{

color:#666;
margin:15px 0;

}

.doctor .btn{

margin-bottom:30px;

}

/* ==========================
Contact
========================== */

.contact{

padding:100px 20px;
text-align:center;
background:#0077ff;
color:white;

}

.contact h2{

font-size:45px;
margin-bottom:20px;

}

.contact p{

margin-bottom:35px;

}

.contact .btn{

background:white;
color:#0077ff;

}

.contact .btn:hover{

background:#f5f5f5;

}

/* ==========================
Footer
========================== */

footer{

background:#003b7a;
padding:25px;
text-align:center;
color:white;

}

/* ==========================
Popup
========================== */

.popup{

display:none;
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
background:rgba(0,0,0,.75);
justify-content:center;
align-items:center;
z-index:99999;

}

.popup-box{

width:90%;
max-width:520px;
background:white;
padding:40px;
border-radius:20px;
text-align:center;
box-shadow:0 20px 50px rgba(0,0,0,.25);

}

.popup-box h2{

color:#0077ff;
margin-bottom:20px;

}

.popup-box p{

line-height:1.8;
color:#555;
margin-bottom:30px;

}

.popup-buttons{

display:flex;
justify-content:center;
gap:15px;
flex-wrap:wrap;

}

/* ==========================
Responsive
========================== */

@media(max-width:991px){

.nav-links{

display:none;

}

.about .container{

grid-template-columns:1fr;

}

.services .container{

grid-template-columns:1fr;

}

.doctors .container{

grid-template-columns:1fr;

}

.hero h1{

font-size:45px;

}

.hero h2{

font-size:28px;

}

}

@media(max-width:600px){

.hero h1{

font-size:34px;

}

.hero h2{

font-size:22px;

}

.hero p{

font-size:15px;

}

.section-title{

font-size:34px;

}

.about h2{

font-size:30px;

}

.contact h2{

font-size:32px;

}

.btn,
.btn-outline{

display:block;
margin:10px auto;
width:220px;

}

}