@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root{
--primary:#0d6efd;
--secondary:#00b894;
--dark:#0f172a;
--light:#f8fafc;
--text:#475569;
--white:#ffffff;
--danger:#dc3545;
}

*{
margin:0;
padding:0;
box-sizing:border-box;
}

html{
scroll-behavior:smooth;
}

body{
font-family:'Poppins',sans-serif;
color:var(--text);
background:#fff;
overflow-x:hidden;
}

/* Top Bar */

.topbar{
background:var(--primary);
color:#fff;
padding:10px 0;
font-size:14px;
font-weight:500;
}

/* Navbar */

.navbar{
padding:15px 0;
}

.navbar-brand{
font-size:1.7rem;
font-weight:700;
}

.nav-link{
margin-left:10px;
font-weight:500;
color:#334155 !important;
transition:.3s;
}

.nav-link:hover{
color:var(--primary)!important;
}

/* Hero Slider */

.heroSlider{
height:92vh;
}

.hero-slide{
position:relative;
height:92vh;
background-size:cover;
background-position:center;
}

.slide1{
background-image:url('https://images.unsplash.com/photo-1586773860418-d37222d8fce3');
}

.slide2{
background-image:url('https://images.unsplash.com/photo-1576091160550-2173dba999ef');
}

.slide3{
background-image:url('https://images.unsplash.com/photo-1516549655169-df83a0774514');
}

.overlay{
position:absolute;
inset:0;
background:rgba(0,0,0,.55);
}

.hero-content{
position:absolute;
top:50%;
left:50%;
transform:translate(-50%,-50%);
z-index:5;
color:white;
text-align:center;
width:90%;
}

.hero-content h1{
font-size:4rem;
font-weight:800;
margin-bottom:20px;
}

.hero-content p{
font-size:1.2rem;
margin-bottom:25px;
}

/* Buttons */

.btn-primary{
padding:12px 30px;
border-radius:50px;
}

.btn-danger{
padding:12px 30px;
border-radius:50px;
}

/* Sections */

section{
position:relative;
}

.section-title h2{
font-size:2.5rem;
font-weight:700;
color:var(--dark);
}

/* Info Boxes */

.info-box{
background:#fff;
padding:35px 25px;
border-radius:20px;
text-align:center;
transition:.4s;
box-shadow:0 10px 25px rgba(0,0,0,.06);
}

.info-box:hover{
transform:translateY(-10px);
}

.info-box i{
font-size:42px;
color:var(--primary);
margin-bottom:15px;
}

/* Service Cards */

.service-card{
background:#fff;
padding:40px 30px;
border-radius:20px;
text-align:center;
transition:.4s;
box-shadow:0 10px 25px rgba(0,0,0,.08);
}

.service-card:hover{
transform:translateY(-10px);
}

.service-card i{
font-size:50px;
color:var(--primary);
margin-bottom:20px;
}

.service-card h5{
font-weight:600;
}

/* Doctor Cards */

.doctor-card{
background:#fff;
border-radius:20px;
overflow:hidden;
text-align:center;
box-shadow:0 10px 25px rgba(0,0,0,.08);
transition:.4s;
}

.doctor-card:hover{
transform:translateY(-10px);
}

.doctor-card img{
width:100%;
height:320px;
object-fit:cover;
}

.doctor-card h5{
margin-top:20px;
font-weight:700;
}

.doctor-card p{
padding-bottom:20px;
}

/* Emergency */

.emergency-section{
background:linear-gradient(
135deg,
#dc3545,
#b91c1c
);
color:white;
padding:100px 0;
}

.emergency-section h2{
font-size:3rem;
font-weight:700;
}

/* Appointment Banner */

.appointment-banner{
background:linear-gradient(
135deg,
#0d6efd,
#2563eb
);
color:white;
padding:90px 0;
}

.appointment-banner h2{
font-size:2.8rem;
font-weight:700;
}

/* Statistics */

.stats{
background:#f8fafc;
}

.stat-box{
text-align:center;
}

.stat-box h3{
font-size:3rem;
color:var(--primary);
font-weight:700;
}

/* Gallery */

.gallery-item{
overflow:hidden;
border-radius:15px;
}

.gallery-item img{
width:100%;
transition:.5s;
}

.gallery-item:hover img{
transform:scale(1.08);
}

/* Contact */

.contact-card{
background:#fff;
padding:35px;
border-radius:20px;
box-shadow:0 10px 25px rgba(0,0,0,.08);
}

/* Appointment Form */

.appointment-form{
background:#fff;
padding:40px;
border-radius:20px;
box-shadow:0 10px 25px rgba(0,0,0,.08);
}

.form-control,
.form-select{
height:55px;
border-radius:12px;
}

textarea.form-control{
height:auto;
}

/* Footer */

.footer{
background:var(--dark);
color:white;
padding:70px 0 20px;
}

.footer h5{
margin-bottom:20px;
}

.footer ul{
list-style:none;
padding-left:0;
}

.footer ul li{
margin-bottom:10px;
}

.footer a{
color:#cbd5e1;
text-decoration:none;
}

.footer a:hover{
color:white;
}

/* Floating Buttons */

.whatsapp-btn{
position:fixed;
bottom:20px;
right:20px;
width:60px;
height:60px;
background:#25d366;
color:white;
display:flex;
align-items:center;
justify-content:center;
border-radius:50%;
font-size:28px;
z-index:999;
text-decoration:none;
}

.call-btn{
position:fixed;
bottom:95px;
right:20px;
width:60px;
height:60px;
background:#0d6efd;
color:white;
display:flex;
align-items:center;
justify-content:center;
border-radius:50%;
font-size:24px;
z-index:999;
text-decoration:none;
}

/* Animations */

.fade-up{
animation:fadeUp 1s ease;
}

@keyframes fadeUp{
from{
opacity:0;
transform:translateY(40px);
}
to{
opacity:1;
transform:translateY(0);
}
}

/* Responsive */

@media(max-width:992px){

.hero-content h1{
font-size:3rem;
}

.hero-content p{
font-size:1rem;
}

.emergency-section h2{
font-size:2rem;
}

.appointment-banner h2{
font-size:2rem;
}

}

@media(max-width:768px){

.heroSlider,
.hero-slide{
height:75vh;
}

.hero-content h1{
font-size:2.2rem;
}

.hero-content{
width:95%;
}

.section-title h2{
font-size:2rem;
}

.navbar-brand{
font-size:1.3rem;
}

.doctor-card img{
height:260px;
}

.emergency-section{
padding:70px 0;
}

.appointment-banner{
padding:70px 0;
}

}

@media(max-width:576px){

.hero-content h1{
font-size:1.8rem;
}

.hero-content p{
font-size:.95rem;
}

.info-box,
.service-card{
padding:25px;
}

}
