:root{
--primary:#2f8f9d;
--dark:#1f2f38;
--light:#f7fbfc;
}

*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:'Segoe UI',sans-serif;
}

body{
background:var(--light);
color:var(--dark);
}

/* ================= GLOBAL LINK FIX ================= */

a{
color:inherit;
text-decoration:none;
transition:0.3s;
}

a:visited{
color:inherit;
}

a:hover{
color:var(--primary);
}

/* ================= HEADER ================= */

header{
background:white;
position:sticky;
top:0;
z-index:1000;
box-shadow:0 2px 6px rgba(0,0,0,0.05);
}

.navbar{
max-width:1200px;
margin:auto;
display:flex;
justify-content:space-between;
align-items:center;
padding:0 20px;
height:95px;
}

.logo-wrap img{
height:115px;
max-width:220px;
object-fit:contain;
}

nav ul{
list-style:none;
display:flex;
gap:30px;
}

nav a{
font-weight:500;
font-size:15px;
}

/* ================= HERO ================= */

.hero{
position:relative;
background-image:
linear-gradient(to right,
rgba(47,143,157,0.9),
rgba(47,143,157,0.7)),
url("../assets/img/doctor-hero.jpeg");
background-size:cover;
background-position:center;
color:white;
padding:140px 20px;
}

.hero-content{
max-width:1200px;
margin:auto;
}

.hero h1{
font-size:2.5rem;
margin-bottom:15px;
}

.hero p{
font-size:1.1rem;
max-width:600px;
}

/* HERO BUTTONS (FIXED SIZE ISSUE) */

.hero-buttons{
display:flex;
gap:15px;
margin-top:25px;
flex-wrap:wrap;
align-items:center;
}

.hero-btn{
padding:10px 22px;
border:none;
border-radius:25px;
font-size:14px;
cursor:pointer;
transition:all 0.3s ease;
white-space:nowrap;
width:auto;
flex:unset;
}

.enquiry-btn{
background:white;
color:var(--primary);
}

.appointment-btn{
background:var(--primary);
color:white;
animation:pulseGlow 2s infinite;
}

.hero-btn:hover{
transform:translateY(-2px);
box-shadow:0 6px 15px rgba(0,0,0,0.2);
}

/* ================= SECTION ================= */

section{
padding:70px 20px;
}

.container{
max-width:1200px;
margin:auto;
}

.section-title{
text-align:center;
margin-bottom:40px;
}

.section-title h2{
color:var(--primary);
}

/* ================= SERVICES ================= */

.services-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
gap:25px;
}

.service-card{
background:white;
padding:30px;
border-radius:15px;
text-align:center;
box-shadow:0 5px 15px rgba(0,0,0,0.08);
transition:.3s;
}

.service-card:hover{
transform:translateY(-6px);
}

.service-card i{
font-size:38px;
color:var(--primary);
margin-bottom:15px;
}

/* ================= DOCTOR SECTION ================= */

.doctor-section{
background:linear-gradient(135deg,#e9f7f9,#ffffff);
}

.doctor-container{
max-width:1200px;
margin:auto;
display:flex;
align-items:center;
justify-content:space-between;
gap:60px;
}

.doctor-text{
flex:1;
}

.doctor-text h2{
color:var(--primary);
margin-bottom:15px;
}

.doctor-text h4{
margin-bottom:15px;
color:#555;
}

.doctor-text p{
line-height:1.8;
margin-bottom:15px;
}

/* MOBILE IMAGE */

.doctor-image-mobile{
display:none;
margin:20px 0;
text-align:center;
}

.doctor-image-mobile img{
width:100%;
max-width:320px;
border-radius:20px;
box-shadow:0 10px 25px rgba(0,0,0,0.15);
}

/* DESKTOP IMAGE */

.doctor-image-collage{
flex:1;
display:flex;
justify-content:flex-end;
align-items:center; /* ensures vertical alignment */
}

.img-main{
width:100%;
max-width:1820px; /* increased from 420 */
border-radius:20px;
box-shadow:0 20px 45px rgba(0,0,0,0.18); /* deeper premium shadow */
transition:0.4s;
}

.img-main:hover{
transform:scale(1.04);
}

/* ================= HIGHLIGHTS ================= */

.doc-pill{
background:white;
padding:10px 18px;
border-radius:25px;
box-shadow:0 4px 10px rgba(0,0,0,0.08);
margin-bottom:10px;
display:inline-block;
}

/* ================= FLOATING BUTTONS ================= */

.book-btn{
position:fixed;
left:15px;
bottom:30px;
background:var(--primary);
color:white;
padding:12px 18px;
border-radius:30px;
box-shadow:0 6px 18px rgba(0,0,0,0.25);
z-index:9999;
font-size:14px;
}

.call-btn{
position:fixed;
right:15px;
bottom:100px;
background:#2f8f9d;
color:white;
width:55px;
height:55px;
display:flex;
justify-content:center;
align-items:center;
border-radius:50%;
font-size:22px;
z-index:9999;
}

.whatsapp-btn{
position:fixed;
right:15px;
bottom:30px;
background:#25d366;
color:white;
width:55px;
height:55px;
display:flex;
justify-content:center;
align-items:center;
border-radius:50%;
font-size:24px;
z-index:9999;
}

/* ================= FOOTER (PREMIUM) ================= */

footer{
background:#1f2f38;
color:white;
padding:50px 20px 30px;
}

.footer-container{
max-width:1200px;
margin:auto;
display:flex;
justify-content:space-between;
gap:40px;
flex-wrap:wrap;
}

.footer-col{
flex:1;
min-width:220px;
}

.footer-col h3,
.footer-col h4{
margin-bottom:15px;
}

.footer-col p{
color:#ccc;
font-size:14px;
margin-bottom:10px;
line-height:1.6;
}

/* FOOTER LINKS FIX */

.footer-col a{
color:#b3e5ec;
font-weight:500;
}

.footer-col a:hover{
color:#ffffff;
}

/* SOCIAL */

.social-icons{
display:flex;
gap:15px;
margin-top:10px;
}

.social-icons a{
width:40px;
height:40px;
display:flex;
align-items:center;
justify-content:center;
border-radius:50%;
background:#2f8f9d;
color:white;
font-size:18px;
transition:0.3s;
}

.social-icons a:hover{
background:#25d366;
transform:translateY(-3px);
}

/* COPYRIGHT */

footer hr{
margin:25px 0;
border-color:#444;
}

.footer-copy{
text-align:center;
font-size:13px;
color:#aaa;
}

/* ================= ANIMATION ================= */

@keyframes pulseGlow{
0%{box-shadow:0 0 0 0 rgba(47,143,157,0.6);}
70%{box-shadow:0 0 0 15px rgba(47,143,157,0);}
100%{box-shadow:0 0 0 0 rgba(47,143,157,0);}
}

/* ================= MOBILE ================= */

@media(max-width:768px){

.navbar{
padding:10px 15px;
}

.logo-wrap img{
height:50px;
}

nav ul{
gap:12px;
flex-wrap:wrap;
}

nav a{
font-size:13px;
}

.hero h1{
font-size:1.8rem;
}

.img-main{
max-width:300px;
}

/* FULL WIDTH BUTTONS */

.hero-buttons{
flex-direction:column;
}

.hero-btn{
width:100%;
text-align:center;
}

/* STACK LAYOUT */

.doctor-container{
flex-direction:column;
text-align:center;
}

/* SHOW IMAGE BELOW HEADING */

.doctor-image-mobile{
display:block;
}

/* HIDE DESKTOP IMAGE */

.doctor-image-collage{
display:none;
}

.footer-container{
flex-direction:column;
text-align:center;
}

.social-icons{
justify-content:center;
}

}

/* ================= LOCATION PAGES FIX ================= */

/* SECTION SPACING FIX */
.location-section {
    padding: 80px 20px;
    background: #ffffff;
}

/* CONTAINER FIX */
.location-container {
    max-width: 1100px;
    margin: auto;
}

/* HEADINGS */
.location-container h2 {
    font-size: 28px;
    margin-bottom: 15px;
    color: var(--dark);
}

.location-container h3 {
    font-size: 20px;
    margin-top: 25px;
    margin-bottom: 10px;
    color: var(--primary);
}

/* TEXT */
.location-container p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 12px;
}

/* LIST FIX */
.location-container ul {
    margin-top: 10px;
    padding-left: 20px;
}

.location-container ul li {
    margin-bottom: 8px;
    font-size: 15px;
    color: #444;
    position: relative;
}

/* NICE BULLETS */
.location-container ul li::marker {
    color: var(--primary);
}

/* CTA BUTTON ALIGNMENT */
.location-cta {
    margin-top: 20px;
}

/* HERO BUTTON ALIGNMENT FIX */
.hero-content button {
    margin-top: 15px;
}

/* ================= MOBILE OPTIMIZATION ================= */

@media(max-width:768px){

    .location-section{
        padding: 50px 20px;
    }

    .location-container h2{
        font-size: 22px;
    }

    .location-container h3{
        font-size: 18px;
    }

    .location-container p{
        font-size: 14px;
    }

}

.reviews{
background:#ffffff;
}

.reviews-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
gap:25px;
}

.review-card{
background:#f7fbfc;
padding:25px;
border-radius:15px;
box-shadow:0 5px 15px rgba(0,0,0,0.05);
font-size:14px;
line-height:1.6;
}

.review-card h4{
margin-top:10px;
color:var(--primary);
font-size:14px;
}

/* ================= APPOINTMENT PAGE FIX ================= */

.appointment-section{
padding:80px 20px;
background:#f4fbfc;
}

.appointment-container{
max-width:520px;
margin:auto;
background:white;
padding:40px 30px;
border-radius:20px;
box-shadow:0 10px 30px rgba(0,0,0,0.08);
}

/* HEADING */
.appointment-container h2{
text-align:center;
color:var(--primary);
margin-bottom:25px;
font-size:24px;
}

/* FORM */
.appointment-form{
display:flex;
flex-direction:column;
gap:18px;
}

/* INPUT + SELECT */
.appointment-form input,
.appointment-form select{
width:100%;
padding:14px;
border-radius:10px;
border:1px solid #ccc;
font-size:14px;
outline:none;
transition:0.3s;
}

.appointment-form input:focus,
.appointment-form select:focus{
border-color:var(--primary);
box-shadow:0 0 0 2px rgba(47,143,157,0.1);
}

/* DATE INPUT FIX */
input[type="date"]{
font-family:'Segoe UI',sans-serif;
}

/* BUTTON */
.appointment-btn-submit{
margin-top:10px;
padding:14px;
background:var(--primary);
color:white;
border:none;
border-radius:30px;
font-size:16px;
cursor:pointer;
transition:0.3s;
font-weight:500;
}

.appointment-btn-submit:hover{
background:#247884;
transform:translateY(-2px);
box-shadow:0 8px 20px rgba(0,0,0,0.15);
}

/* FEE BOX */
.fee-box{
margin-top:20px;
padding:15px;
background:#e9f7f9;
border-radius:12px;
text-align:center;
font-size:14px;
color:#333;
}

/* NOTE TEXT */
.fee-note{
text-align:center;
font-size:13px;
color:#777;
margin-top:8px;
}

/* MOBILE */
@media(max-width:600px){

.appointment-container{
padding:25px 20px;
}

.appointment-container h2{
font-size:20px;
}

}