/*==============================
RESET
==============================*/
html{
  scroll-behavior: smooth;
}
*{
margin:0;
padding:0;
box-sizing:border-box;
}

body{
font-family:'Poppins',sans-serif;
background:#f7f9fc;
color:#222;
line-height:1.6;
}

img{
max-width:100%;
display:block;
}

a{
text-decoration:none;
}

.container{
width:90%;
max-width:1200px;
margin:auto;
}

/*==============================
HEADER
==============================*/

.header{
position:fixed;
top:0;
left:0;
width:100%;
background:#fff;
box-shadow:0 4px 18px rgba(0,0,0,.08);
z-index:999;
}

.nav{
display:flex;
justify-content:space-between;
align-items:center;
height:75px;
}

.logo{
display:flex;
align-items:center;
gap:10px;
font-size:22px;
font-weight:700;
color:#0f172a;
}

.logo img{
width:48px;
height:48px;
border-radius:50%;
}

nav{
display:flex;
gap:30px;
}

nav a{
color:#333;
font-weight:600;
transition:.3s;
}

nav a:hover{
color:#0ea5e9;
}

/*==============================
HERO
==============================*/

.hero{
position:relative;
height:auto;
overflow:hidden;
}

.hero-img{
width:100%;
height:auto;
display:block;
object-fit:contain;
}

.hero-overlay{
position:absolute;
inset:0;
background:rgba(0,0,0,.55);

display:flex;
justify-content:center;
align-items:center;
text-align:center;
padding:20px;
}

.hero-content{
color:#fff;
max-width:750px;
}

.hero-content h1{
font-size:55px;
margin-bottom:15px;
}

.hero-content p{
font-size:22px;
margin-bottom:25px;
}

.hero-btns{
display:flex;
justify-content:center;
gap:20px;
flex-wrap:wrap;
}

.btn{
display:inline-block;
padding:15px 30px;
background:#2563eb;
color:#fff;
border-radius:50px;
font-weight:600;
text-decoration:none;
transition: all .3s ease;
box-shadow:0 8px 20px rgba(37,99,235,.3);
}

.btn:hover{
background:#1d4ed8;
transform:translateY(-4px);
box-shadow:0 12px 30px rgba(37,99,235,.35);
}

.blue{
background:#2563eb;
}

.green{
background:#22c55e;
}
.hero-trust{
    margin-top:20px;
    font-size:16px;
    font-weight:600;
    color:#ffffff;
    line-height:1.8;
    text-shadow:0 2px 6px rgba(0,0,0,.5);
}
.badge{
display:inline-block;
padding:10px 18px;
background:#ecfeff;
border:1px solid #06b6d4;
border-radius:50px;
font-weight:600;
font-size:14px;
color:#0f172a;
}
/*==============================
COMMON SECTION
==============================*/

section{
padding:90px 0;
}

h2{
font-size:38px;
text-align:center;
margin-bottom:20px;
color:#0f172a;
}

.section-text{
text-align:center;
max-width:700px;
margin:auto;
margin-bottom:45px;
color:#555;
font-size:17px;
}

/*==============================
ABOUT
==============================*/

.about{
background:#fff;
}

.about-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
gap:30px;
margin-top:40px;
}

.about-card{
background:#fff;
padding:35px;
border-radius:20px;
text-align:center;
box-shadow:0 10px 25px rgba(0,0,0,.08);
transition:.3s;
}

.about-card:hover{
transform:translateY(-8px);
}

.about-card i{
font-size:48px;
color:#0ea5e9;
margin-bottom:20px;
}

.about-card h3{
margin-bottom:12px;
font-size:22px;
color:#0f172a;
}

.about-card p{
color:#666;
}

/*==============================
SERVICES
==============================*/

.services{
background:#f1f8ff;
}

.service-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
gap:25px;
margin-top:40px;
}

.service-card{
background:#fff;
padding:35px;
border-radius:18px;
text-align:center;
box-shadow:0 8px 22px rgba(0,0,0,.08);
transition: transform .3s ease, box-shadow .3s ease;
}

.service-card:hover{
transform:translateY(-10px);
box-shadow:0 18px 40px rgba(37,99,235,.18);
}

.service-card i{
font-size:45px;
color:#2563eb;
margin-bottom:18px;
}

.service-card h3{
font-size:20px;
color:#0f172a;
}

/*==============================
DOCTORS
==============================*/

.doctor-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
gap:30px;
margin-top:40px;
}

.doctor-card{
background:#fff;
border-radius:20px;
overflow:hidden;
text-align:center;
box-shadow:0 10px 25px rgba(0,0,0,.08);
transition:.3s;
}

.doctor-card:hover{
transform:translateY(-10px);
box-shadow:0 18px 40px rgba(37,99,235,.18);
}
.doctor-card img{
width:100%;
height:380px;
object-fit:cover;
}

.doctor-card h3{
margin:20px 0 10px;
font-size:24px;
}

.doctor-card p{
padding-bottom:25px;
color:#666;
}

/*==============================
GALLERY
==============================*/

.gallery{
background:#fff;
}

.gallery-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
gap:20px;
margin-top:40px;
}

.gallery-grid img{
width:100%;
height:260px;
object-fit:cover;
border-radius:18px;
transition:.3s;
cursor:pointer;
}

.gallery-grid img:hover{
transform:scale(1.04);
}

/*==============================
REVIEWS
==============================*/

.reviews{
background:#f1f8ff;
}

.review-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
gap:25px;
margin-top:40px;
}

.review-card{
background:#fff;
padding:30px;
border-radius:18px;
box-shadow:0 8px 20px rgba(0,0,0,.08);
text-align:center;
transition:.3s;
}

.review-card:hover{
transform:translateY(-6px);
}

.review-card p{
margin:18px 0;
color:#555;
font-size:16px;
}

.review-card h4{
color:#0ea5e9;
font-weight:600;
}

/*==============================
CONTACT
==============================*/

.contact{
background:#ffffff;
}

.contact p{
text-align:center;
font-size:18px;
margin:15px 0;
color:#444;
}

.contact i{
color:#0ea5e9;
margin-right:8px;
}

/*==============================
MAP
==============================*/

.map{
padding:0;
}

.map iframe{
width:100%;
height:420px;
border:none;
display:block;
}

/*==============================
APPOINTMENT
==============================*/

.appointment{
background:#f1f8ff;
}

.appointment form{
max-width:650px;
margin:auto;
display:flex;
flex-direction:column;
gap:18px;
margin-top:35px;
}

.appointment input,
.appointment textarea{
padding:16px;
border:1px solid #d9d9d9;
border-radius:12px;
font-size:16px;
font-family:'Poppins',sans-serif;
outline:none;
}

.appointment textarea{
height:140px;
resize:none;
}

.appointment button{
background:#22c55e;
color:#fff;
border:none;
padding:16px;
border-radius:12px;
font-size:17px;
font-weight:600;
cursor:pointer;
transition:.3s;
}

.appointment button:hover{
background:#16a34a;
}

/*==============================
FOOTER
==============================*/

footer{
background:#0f172a;
color:#fff;
text-align:center;
padding:45px 20px;
}

footer h3{
font-size:26px;
margin-bottom:10px;
}

footer p{
opacity:.9;
margin:6px 0;
}

/*==============================
FLOATING BUTTONS
==============================*/

.floating-whatsapp,
.floating-call{

position:fixed;
width:60px;
height:60px;
border-radius:50%;
display:flex;
justify-content:center;
align-items:center;
font-size:26px;
color:#fff;
box-shadow:0 8px 20px rgba(0,0,0,.25);
z-index:999;

}

.floating-whatsapp{

right:20px;
bottom:95px;
background:#25D366;

}

.floating-call{

right:20px;
bottom:165px;
background:#2563eb;

}

/*==============================
BOTTOM NAVIGATION
==============================*/

.bottom-nav{

display:none;

position:fixed;

bottom:0;

left:0;

width:100%;

background:#fff;

box-shadow:0 -5px 18px rgba(0,0,0,.1);

justify-content:space-around;

padding:10px 0;

z-index:998;

}

.bottom-nav a{

display:flex;

flex-direction:column;

align-items:center;

font-size:13px;

color:#333;

}

.bottom-nav i{

font-size:20px;

margin-bottom:4px;

}

/*==============================
RESPONSIVE
==============================*/

@media(max-width:900px){

nav{

display:none;

}

.hero-content h1{

font-size:34px;

}

.hero-content p{

font-size:18px;

}

.hero-btns{

flex-direction:column;

align-items:center;

}

.hero-btns .btn{

width:240px;

text-align:center;

}

h2{

font-size:30px;

}

.doctor-card img{

height:300px;

}

.gallery-grid img{

height:220px;

}

.bottom-nav{

display:flex;

}

body{

padding-bottom:75px;

}

.floating-call{

bottom:90px;

}

.floating-whatsapp{

right:90px;

bottom:20px;

}

}

@media(max-width:480px){

.logo span{

font-size:18px;

}

.hero-content h1{

font-size:28px;

}

.hero-content p{

font-size:16px;

}

.section-text{

font-size:15px;

}

.about-card,
.service-card,
.review-card{

padding:24px;

}

}

/* ==========================
MOBILE MENU
========================== */

.menu-toggle{
display:none;
font-size:28px;
cursor:pointer;
color:#0f172a;
}

@media(max-width:900px){

.menu-toggle{
display:block;
}

nav{
position:fixed;
top:75px;
left:-100%;
width:260px;
height:100vh;
background:#fff;
flex-direction:column;
padding:30px;
gap:25px;
transition:.4s;
box-shadow:0 10px 25px rgba(0,0,0,.12);
}

nav.active{
left:0;
}

}

/* OPD Timing Card */

.timing-card{
max-width:450px;
margin:0 auto 30px;
padding:25px;
background:#ffffff;
border-radius:18px;
text-align:center;
box-shadow:0 8px 20px rgba(0,0,0,.08);
}

.timing-card h3{
margin-bottom:15px;
color:#2563eb;
}

.appointment{
padding:70px 20px;
background:#f8fafc;
}

.appointment .container{
max-width:900px;
margin:auto;
}

#appointmentForm{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
gap:18px;
margin-top:25px;
}

#appointmentForm input,
#appointmentForm select,
#appointmentForm textarea{
width:100%;
padding:14px;
border:1px solid #d1d5db;
border-radius:10px;
font-size:16px;
box-sizing:border-box;
}

#appointmentForm textarea{
grid-column:1/-1;
min-height:120px;
resize:vertical;
}

#appointmentForm button{
grid-column:1/-1;
padding:15px;
background:#2563eb;
color:#fff;
border:none;
border-radius:10px;
font-size:18px;
font-weight:600;
cursor:pointer;
}

#appointmentForm button:hover{
background:#1d4ed8;
}

.timing-card{
background:#fff;
padding:25px;
border-radius:15px;
box-shadow:0 5px 15px rgba(0,0,0,.08);
margin-bottom:30px;
text-align:center;
}

.faq{
padding:70px 20px;
background:#f8fafc;
}

.faq h2{
text-align:center;
margin-bottom:35px;
}

.faq-item{
background:#fff;
padding:20px;
margin-bottom:18px;
border-radius:12px;
box-shadow:0 5px 15px rgba(0,0,0,.08);
}

.faq-item h3{
color:#2563eb;
margin-bottom:10px;
}

.social-links{
margin:20px 0;
display:flex;
justify-content:center;
gap:18px;
}

.social-links a{
width:45px;
height:45px;
display:flex;
align-items:center;
justify-content:center;
background:#2563eb;
color:#fff;
border-radius:50%;
font-size:20px;
text-decoration:none;
transition:.3s;
}

.social-links a:hover{
transform:translateY(-4px);
background:#1d4ed8;
}

.map-btn{
text-align:center;
margin:20px 0;
}

.map-btn a{
display:inline-block;
padding:14px 30px;
background:#2563eb;
color:#fff;
text-decoration:none;
border-radius:30px;
font-weight:600;
transition:.3s;
}

.map-btn a:hover{
background:#1d4ed8;
transform:translateY(-3px);
}

.fade-in{
opacity:0;
transform:translateY(40px);
transition:all .7s ease;
}

.fade-in.show{
opacity:1;
transform:translateY(0);
}

.why-us{
background:#f8fbff;
}

.why-us h2{
color:#0f172a;
margin-bottom:40px;
text-align:center;
}

.why-us .service-card{
background:#fff;
border-radius:18px;
padding:30px;
box-shadow:0 10px 25px rgba(0,0,0,.08);
transition:.3s;
}

.why-us .service-card:hover{
transform:translateY(-8px);
}

.why-us .service-card i{
font-size:42px;
color:#2563eb;
margin-bottom:18px;
}
