/* ================= GOOGLE FONT ================= */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins',sans-serif;
}

body{
    background:#f8fff8;
    color:#333;
    line-height:1.6;
}

/* ================= HEADER ================= */

header{
    width:100%;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:15px 8%;
    background:#fff;
    box-shadow:0 2px 15px rgba(0,0,0,.08);
    position:sticky;
    top:0;
    z-index:999;
}

.logo{
    display:flex;
    align-items:center;
}

.logo img{
    width:70px;
    margin-right:10px;
}

.logo h2{
    color:#0c8d52;
    font-size:24px;
}

.logo p{
    color:#666;
    font-size:14px;
}

nav ul{
    display:flex;
    list-style:none;
}

nav ul li{
    margin:0 15px;
}

nav ul li a{
    text-decoration:none;
    color:#030303;
    font-weight:500;
    transition:.3s;
}

nav ul li a:hover{
    color:#0c8d52;
}

.btn{
    text-decoration:none;
    background:#0c8d52;
    color:#fff;
    padding:12px 25px;
    border-radius:30px;
}

/* ================= HERO ================= */

.hero{
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:80px 8%;
    background:#eefbf4;
}

.hero-content{
    width:50%;
}

.hero-content h3{
    color:#0c8d52;
    margin-bottom:10px;
}

.hero-content h1{
    font-size:50px;
    margin-bottom:20px;
}

.hero-content p{
    margin-bottom:30px;
}

.hero-btn{
    text-decoration:none;
    background:#0c8d52;
    color:#fff;
    padding:14px 35px;
    border-radius:30px;
}

.hero-image{
    width:45%;
}

.hero-image img{
    width:100%;
    border-radius:20px;
}

/* ================= SECTION TITLE ================= */

.section-title{
    text-align:center;
    margin-bottom:50px;
}

.section-title h2{
    font-size:40px;
    color:#0c8d52;
}

.section-title p{
    color:#666;
}

/* ================= ABOUT ================= */

.about{
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:80px 8%;
}

.about-image{
    width:45%;
}

.about-image img{
    width:100%;
    border-radius:20px;
}

.about-content{
    width:50%;
}

.about-content h2{
    color:#0c8d52;
    margin-bottom:15px;
}

.about-content h3{
    margin-bottom:10px;
}

.about-content p{
    margin:15px 0;
}

.about-btn{
    text-decoration:none;
    background:#0c8d52;
    color:white;
    padding:12px 28px;
    border-radius:25px;
}

/* ================= SERVICES ================= */

.services{
    padding:80px 8%;
}

.service-container{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;
}

.service-card{
    background:#fff;
    border-radius:18px;
    overflow:hidden;
    box-shadow:0 8px 20px rgba(0,0,0,.08);
    transition:.4s;
}

.service-card:hover{
    transform:translateY(-10px);
}

.service-card img{
    width:100%;
    height:220px;
    object-fit:cover;
}

.service-card h3{
    padding:15px;
    color:#0c8d52;
}

.service-card p{
    padding:0 15px 20px;
}

/* ================= DISEASE ================= */

.diseases{
    background:#eefbf4;
    padding:80px 8%;
}

.disease-container{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;
}

.disease-card{
    background:#fff;
    border-radius:18px;
    overflow:hidden;
    box-shadow:0 8px 20px rgba(0,0,0,.08);
}

.disease-card img{
    width:100%;
    height:220px;
    object-fit:cover;
}

.disease-card h3{
    padding:15px;
    color:#0c8d52;
}

.disease-card ul{
    padding:0 30px 25px;
}

.disease-card li{
    margin:8px 0;
}

/* ================= GALLERY ================= */
.gallery{
    padding:80px 8%;
}

.gallery-container{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:20px;
}

.gallery-box{
    height:280px;          /* Same height for all images */
    overflow:hidden;
    border-radius:15px;
}

.gallery-box img{
    width:100%;
    height:100%;
    object-fit:cover;      /* Crop image to fit */
    display:block;
    transition:0.5s;
}

.gallery-box:hover img{
    transform:scale(1.1);
}

/* ================= APPOINTMENT ================= */

.appointment{
    padding:70px 8%;
    background:#0c8d52;
    color:white;
    text-align:center;
}

.call-btn{
    display:inline-block;
    margin-top:20px;
    background:white;
    color:#0c8d52;
    text-decoration:none;
    padding:15px 35px;
    border-radius:30px;
}

/* ================= CONTACT ================= */

.contact{
    padding:80px 8%;
}

.contact-container{
    display:flex;
    justify-content:space-between;
    gap:40px;
}

.contact-info,
.contact-map{
    width:50%;
}

/* ================= FOOTER ================= */

footer{
    background:#083d27;
    color:white;
    padding-top:60px;
}

.footer-container{
    width:85%;
    margin:auto;
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:40px;
}

.footer-about img{
    width:80px;
    margin-bottom:15px;
}

.footer-links ul,
.footer-service ul{
    list-style:none;
}

.footer-links li,
.footer-service li{
    margin:10px 0;
}

.footer-links a{
    color:white;
    text-decoration:none;
}

.copyright{
    margin-top:40px;
    text-align:center;
    background:#062b1c;
    padding:18px;
}

/* ================= WHATSAPP ================= */

.whatsapp{
    position:fixed;
    right:25px;
    bottom:25px;
}

.whatsapp img{
    width:65px;
}

/* ================= RESPONSIVE ================= */

@media(max-width:992px){

header,
.hero,
.about,
.contact-container{
    flex-direction:column;
}

.hero-content,
.hero-image,
.about-content,
.about-image,
.contact-info,
.contact-map{
    width:100%;
}

.hero-content{
    margin-bottom:40px;
}

.service-container,
.disease-container,
.gallery-container,
.why-box,
.footer-container{
    grid-template-columns:repeat(2,1fr);
}

}

@media(max-width:768px){

nav ul{
    flex-direction:column;
}

.service-container,
.disease-container,
.gallery-container,
.why-box,
.footer-container{
    grid-template-columns:1fr;
}

.hero-content h1{
    font-size:34px;
}

.section-title h2{
    font-size:30px;
}

}