*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:Arial, Helvetica, sans-serif;
}
html{
scroll-behavior:smooth;
}
/* NAVBAR */

.navbar{
background:#ffffff;
padding:4px 0;
position:sticky;
top:0;
z-index:1000;
box-shadow:0 2px 10px rgba(0,0,0,0.08);
}

.container{
width:90%;
margin:auto;
}

.nav-container{
display:flex;
justify-content:space-between;
align-items:center;
min-height:60px;
}
.logo img{
height:60px;
width:auto;
cursor:pointer;
display:block;
}
.logo h2{
color:white;
letter-spacing:2px;
}

.nav-links{
display:flex;
gap:30px;
}

.nav-links a{
text-decoration:none;
color:#1b5e20;
font-weight:600;
position:relative;
padding-bottom:4px;
}

/* underline hover effect */

.nav-links a::after{
content:"";
position:absolute;
width:0%;
height:2px;
left:0;
bottom:0;
background:#2e7d32;;
transition:0.3s;
}

.nav-links a:hover::after{
width:100%;
}

.menu-toggle{
display:none;
font-size:28px;
color:#1b5e20;
cursor:pointer;
}

/* HERO CAROUSEL */

.hero{
position:relative;
height:85vh;
overflow:hidden;
}

.carousel{
position:absolute;
width:100%;
height:100%;
}

.slide{
position:absolute;
width:100%;
height:100%;
background-size:cover;
background-position:center;
opacity:0;
transition:opacity 1s ease-in-out;
}

.slide.active{
opacity:1;
}

/* overlay */

.hero::before{
content:"";
position:absolute;
width:100%;
height:100%;
background:rgba(0,0,0,0.45);
z-index:1;
}

/* hero text */

.hero-content{
position:absolute;
top:50%;
left:50%;
transform:translate(-50%,-50%);
text-align:center;
color:white;
z-index:2;
width:80%;
max-width:800px;
}

.hero-content h1{
font-size:48px;
margin-bottom:20px;
}

.hero-content p{
font-size:18px;
line-height:1.6;
margin-bottom:30px;
}

.hero-btn{
background:#4caf50;
padding:15px 35px;
border-radius:30px;
text-decoration:none;
color:white;
font-weight:bold;
transition:.3s;
}

.hero-btn:hover{
background:#2e7d32;
transform:scale(1.05);
}

/* MOBILE */

@media(max-width:768px){

.hero{
height:70vh;
}

.hero-content h1{
font-size:32px;
}

.hero-content p{
font-size:15px;
}

}

@media(max-width:768px){

.logo img{
height:38px;
}

}





















/* TREATMENTS SECTION */

.treatments{
padding:80px 5%;
background:#f1f8f4;
text-align:center;
}

/* headings */

.treatments-header h2{
color:#2e7d32;
margin-bottom:10px;
font-weight:600;
}

.treatments-header h3{
font-size:28px;
margin-bottom:10px;
color:#1b5e20;
}

.treatments-header p{
color:#555;
margin-bottom:40px;
}

/* SLIDER */

.treatment-slider{
overflow:hidden;
display:flex;
flex-direction:column;
gap:30px;
}

.treatment-track{
display:flex;
gap:30px;
width:max-content;
}

/* right moving */

.track-right{
animation:scrollRight 28s linear infinite;
}

/* left moving */

.track-left{
animation:scrollLeft 28s linear infinite;
}

/* animations */

@keyframes scrollRight{
0%{
transform:translateX(-50%);
}
100%{
transform:translateX(0);
}
}

@keyframes scrollLeft{
0%{
transform:translateX(0);
}
100%{
transform:translateX(-50%);
}
}

/* pause animation */

.treatment-track:hover{
animation-play-state:paused;
}

.treatment-track:active{
animation-play-state:paused;
}
/* cards */

.treatment-card{
background:white;
padding:30px;
border-radius:14px;
min-width:260px;
max-width:260px;
text-align:center;
box-shadow:0 6px 18px rgba(0,0,0,0.08);
transition:0.3s;
display:flex;
flex-direction:column;
justify-content:flex-start;
align-items:center;
}

.treatment-card:hover{
transform:translateY(-10px);
box-shadow:0 12px 25px rgba(0,0,0,0.15);
}

.treatment-card img{
width:200px;
height:100px;
object-fit:contain;
margin-bottom:15px;
display:block;
}

.treatment-card h4{
margin-bottom:10px;
color:#1b5e20;
}

.treatment-card p{
font-size:14px;
color:#555;
line-height:1.5;
}

/* ROW 1 */

.track-right .treatment-card{
border-top:4px solid #4caf50;
}

/* ROW 2 */

.track-left .treatment-card{
border-bottom:4px solid #4caf50;
}

/* animation */

@keyframes scrollSlider{

0%{
transform:translateX(0);
}

100%{
transform:translateX(-50%);
}

}

/* dots */

.slider-dots{
margin-top:30px;
}

.slider-dots span{
display:inline-block;
width:10px;
height:10px;
background:#a5d6a7;
border-radius:50%;
margin:5px;
}

.slider-dots span:last-child{
background:#2e7d32;
}


.treatment-track,
.testimonial-track{
cursor: grab;
overflow-x:auto;
scroll-behavior:smooth;
}

.treatment-track.dragging,
.testimonial-track.dragging{
cursor: grabbing;
}

/* hide scrollbar */

.treatment-track::-webkit-scrollbar,
.testimonial-track::-webkit-scrollbar{
display:none;
}

/* MOBILE */

@media(max-width:768px){

.treatment-card{
min-width:250px;
}

.treatments-header h3{
font-size:22px;
}

}



.view-all-container{
margin-top:40px;
text-align:center;
}

.view-all-container button{
background:#4caf50;
color:white;
border:none;
padding:14px 30px;
font-size:16px;
border-radius:25px;
cursor:pointer;
}

.view-all-container button:hover{
background:#2e7d32;
}

/* MODAL */

.treatment-modal{
display:none;
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
background:rgba(0,0,0,0.6);
z-index:2000;
justify-content:center;
align-items:center;
}

.modal-content{
background:white;
padding:40px;
border-radius:12px;
max-width:500px;
width:90%;
max-height:80vh;
overflow-y:auto;
position:relative;
}

.close-modal{
position:absolute;
top:15px;
right:20px;
font-size:28px;
cursor:pointer;
}

.treatment-list{
list-style:none;
padding:0;
}

.treatment-list li{
padding:10px 0;
border-bottom:1px solid #eee;
color:#333;
}













/* ACHIEVEMENTS */

.achievements{
padding:90px 6%;
background:white;
text-align:center;
}

.achievement-title h2{
font-size:34px;
color:#1b5e20;
margin-bottom:10px;
}

.achievement-title p{
color:#666;
margin-bottom:50px;
}

/* grid */

.achievement-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
gap:30px;
}

/* card */

.achievement-box{
background:#f5faf6;
border-radius:12px;
overflow:hidden;
box-shadow:0 6px 20px rgba(0,0,0,0.08);
transition:0.3s;
}

.achievement-box img{
width:100%;
height:220px;
object-fit:cover;
}

/* content */

.achievement-content{
padding:25px;
}

.achievement-content h3{
font-size:40px;
color:#2e7d32;
margin-bottom:10px;
}

.achievement-content p{
color:#555;
line-height:1.5;
}

/* hover */

.achievement-box:hover{
transform:translateY(-10px);
box-shadow:0 15px 35px rgba(0,0,0,0.15);
}






















/* TESTIMONIAL SECTION */

.testimonials{
padding:90px 6%;
background:#f3faf4;
}

.testimonial-title{
text-align:center;
margin-bottom:50px;
}

.testimonial-title h2{
font-size:34px;
color:#1b5e20;
}

/* layout */

.testimonial-container{
display:grid;
grid-template-columns:1fr 1fr;
gap:40px;
}

/* video */

.video-testimonial h3{
margin-bottom:15px;
color:#2e7d32;
}

.video-box{
border-radius:10px;
overflow:hidden;
box-shadow:0 8px 20px rgba(0,0,0,0.1);
}

/* text testimonial */

.text-testimonial h3{
margin-bottom:15px;
color:#2e7d32;
}

.testimonial-slider{
display:flex;
flex-direction:column;
gap:20px;
}

.testimonial-slide{
display:none;
background:white;
padding:25px;
border-left:4px solid #2e7d32;
border-radius:8px;
box-shadow:0 6px 15px rgba(0,0,0,0.08);
}

.testimonial-slide.active{
display:block;
}

.testimonial-slide p{
color:#555;
line-height:1.6;
margin-bottom:10px;
}

.testimonial-slide span{
font-weight:bold;
color:#1b5e20;
}

/* responsive */

@media(max-width:900px){

.testimonial-container{
grid-template-columns:1fr;
}

}







.reviews-modal{
display:none;
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
background:rgba(0,0,0,0.6);
z-index:2000;
justify-content:center;
align-items:center;
}

.review-list{
display:flex;
flex-direction:column;
gap:20px;
margin-top:20px;
}

.review-item{
background:#f5faf6;
padding:18px;
border-radius:10px;
border-left:4px solid #2e7d32;
}

.review-item p{
color:#555;
line-height:1.6;
margin-bottom:8px;
}

.review-item span{
font-weight:600;
color:#1b5e20;
}

.close-reviews{
position:absolute;
top:15px;
right:20px;
font-size:28px;
cursor:pointer;
}








/* FAQ SECTION */

.faq-section{
padding:90px 6%;
background:#f5faf6;
}

.faq-title{
text-align:center;
margin-bottom:50px;
}

.faq-title h2{
font-size:34px;
color:#1b5e20;
}

.faq-container{
max-width:900px;
margin:auto;
display:flex;
flex-direction:column;
gap:20px;
}

.faq-item{
background:white;
border-radius:10px;
box-shadow:0 6px 15px rgba(0,0,0,0.08);
overflow:hidden;
}

.faq-question{
width:100%;
padding:20px 25px;
background:none;
border:none;
display:flex;
justify-content:space-between;
align-items:center;
font-size:18px;
cursor:pointer;
color:#1b5e20;
font-weight:600;
}

.faq-icon{
font-size:24px;
color:#2e7d32;
}

.faq-answer{
max-height:0;
overflow:hidden;
transition:max-height 0.4s ease;
padding:0 25px;
}

.faq-answer p{
padding-bottom:20px;
color:#555;
line-height:1.6;
}













/* FOOTER */

/* FOOTER */

.footer{
background:#1b5e20;
color:white;
padding:60px 20px 20px;
}

.footer-container{
max-width:1200px;
margin:auto;
display:grid;
grid-template-columns:repeat(4,1fr);
gap:40px;
}

/* logo */

.footer-logo{
width:150px;
margin-bottom:15px;
}

.footer-box h3{
margin-bottom:15px;
color:#a5d6a7;
}

/* links */

.footer-links{
list-style:none;
padding:0;
}

.footer-links li{
margin-bottom:8px;
}

.footer-links a{
text-decoration:none;
color:white;
transition:0.3s;
}

.footer-links a:hover{
color:#a5d6a7;
padding-left:5px;
}

/* contact */

.footer-box p{
font-size:14px;
line-height:1.6;
color:#e0e0e0;
}

/* socials */
.social-icons{
display:flex;
gap:12px;
margin-top:15px;
}

.social-icons a{
width:40px;
height:40px;
display:flex;
align-items:center;
justify-content:center;
background:#2e7d32;
border-radius:50%;
color:white;
font-size:18px;
text-decoration:none;
transition:0.3s;
}

.social-icons a:hover{
background:#a5d6a7;
color:#1b5e20;
transform:translateY(-3px);
}

/* bottom */

.footer-bottom{
text-align:center;
margin-top:40px;
padding-top:15px;
border-top:1px solid rgba(255,255,255,0.2);
font-size:14px;
color:#ccc;
}

/* responsive */

@media(max-width:900px){

.footer-container{
grid-template-columns:1fr 1fr;
}

}

@media(max-width:600px){

.footer-container{
grid-template-columns:1fr;
text-align:center;
}

.social-icons{
align-items:center;
}

}












/* hatade */
@media(max-width:768px){

.nav-links{
position:absolute;
top:70px;
left:0;
width:100%;
background:#2e7d32;
flex-direction:column;
align-items:center;
display:none;
padding:20px 0;
}

.nav-links.active{
display:flex;
}

.menu-toggle{
display:block;
}

}



@media(max-width:768px){

.menu-toggle{
display:block;
}

@media(max-width:768px){

.nav-links{
position:absolute;
top:70px;
left:0;
width:100%;
background:#ffffff;   /* same as navbar */
flex-direction:column;
align-items:center;
gap:20px;
padding:25px 0;
display:none;
box-shadow:0 6px 15px rgba(0,0,0,0.08);
}

.nav-links.active{
display:flex;
}

.nav-links a{
font-size:18px;
color:#1b5e20;
}

}

.nav-links a{
font-size:18px;
}

}














/* footer form */

.footer-form{
display:flex;
flex-direction:column;
gap:12px;
margin-top:10px;
}

.footer-form input{
padding:12px;
border:none;
border-radius:6px;
outline:none;
font-size:14px;
}

.footer-form button{
background:#4caf50;
color:white;
border:none;
padding:12px;
border-radius:25px;
font-weight:bold;
cursor:pointer;
transition:0.3s;
}

.footer-form button:hover{
background:#2e7d32;
}


.footer-form textarea{
padding:12px;
border:none;
border-radius:6px;
outline:none;
font-size:14px;
resize:none;
font-family:Arial, Helvetica, sans-serif;
}



























/* TESTIMONIALS */

.testimonials{
padding:90px 5%;
background:#f1f8f4;
text-align:center;
overflow:hidden;
}

.testimonial-title h2{
font-size:34px;
color:#1b5e20;
margin-bottom:50px;
}

.testimonial-wrapper{
overflow:hidden;
width:100%;
}

.testimonial-track{
display:flex;
gap:30px;
width:max-content;
animation:scrollTestimonials 35s linear infinite;
}

/* pause on hover */

.testimonial-track:hover{
animation-play-state:paused;
}

/* cards */

.testimonial-card{
background:white;
padding:20px 28px;
border-radius:12px;
min-width:520px;
max-width:520px;
text-align:left;
box-shadow:0 6px 16px rgba(0,0,0,0.08);
border-left:5px solid #2e7d32;
}

.testimonial-card p{
font-size:16px;
line-height:1.7;
margin-bottom:12px;
color:#555;
}

.testimonial-card span{
font-weight:600;
color:#1b5e20;
}

.testimonial-stars{
margin-bottom:12px;
}

.testimonial-stars i{
color:#fbc02d;
font-size:18px;
margin-right:3px;
}

/* infinite scroll animation */

@keyframes scrollTestimonials{

0%{
transform:translateX(0);
}

100%{
transform:translateX(-50%);
}

}

/* mobile */

@media(max-width:768px){

.testimonial-card{
min-width:260px;
}

}



























/* GALLERY */

.gallery{
padding:80px 6%;
background:#f5faf6;
text-align:center;
}

.gallery-title{
font-size:34px;
color:#1b5e20;
margin-bottom:40px;
}

/* grid layout */

.gallery-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
gap:20px;
}

/* images */

.gallery-grid img{
width:100%;
height:220px;
object-fit:cover;
border-radius:12px;
cursor:pointer;
transition:0.4s;
}

.gallery-grid img:hover{
transform:scale(1.05);
box-shadow:0 10px 25px rgba(0,0,0,0.15);
}



/* ==========================footer========================== */
/* FOOTER */

.footer{
background:#ffffff; /* same as navbar */
padding:60px 20px 20px ;
border-top:1px solid #e0e0e0;
}

.footer-container{
max-width:1200px;
margin:auto;
display:grid;
grid-template-columns:repeat(4,1fr);
gap:50px;
}

.footer-logo{
width:150px;
margin-bottom:15px;
}

.footer-box h3{
color:#1b5e20;
margin-bottom:15px;
}

/* quick links */

.footer-links{
display:flex;
justify-content:center;
align-items:center;
gap:8px;
white-space:nowrap;
margin-top:10px;
}

.footer-links a{
text-decoration:none;
color:#333;
font-size:15px;
}

.footer-links a:hover{
color:#2e7d32;
}

.footer-links a:not(:last-child)::after{
content:" | ";
margin:0 6px;
color:#888;
}

/* contact links */

.footer-box a{
color:#333;
text-decoration:none;
}

.footer-box a:hover{
color:#2e7d32;
}

/* socials */

.social-icons{
display:flex;
gap:10px;
margin-top:15px;
}

.social-icons a{
width:38px;
height:38px;
display:flex;
align-items:center;
justify-content:center;
background:#2e7d32;
color:white;
border-radius:50%;
}

.social-icons a:hover{
background:#4caf50;
}

/* form */

.footer-form{
display:flex;
flex-direction:column;
gap:12px;
}

.footer-form input,
.footer-form textarea{
padding:12px;
border:1px solid #ddd;
border-radius:6px;
outline:none;
}

.footer-form button{
background:#4caf50;
color:white;
border:none;
padding:12px;
border-radius:25px;
cursor:pointer;
font-weight:bold;
}

.footer-form button:hover{
background:#2e7d32;
}

/* bottom */

.footer-bottom{
text-align:center;
margin-top:40px;
padding-top:15px;
border-top:1px solid #ddd;
color:#666;
font-size:14px;
}

/* responsive */

@media(max-width:900px){

.footer-container{
grid-template-columns:1fr 1fr;
}

}

@media(max-width:600px){

.footer-container{
grid-template-columns:1fr;
text-align:center;
}

.social-icons{
justify-content:center;
}

}






.footer-brand{
color:#2e7d32;
text-decoration:none;
font-weight:600;
}

.footer-brand:hover{
text-decoration:underline;
}

.footer-box:first-child{
display:flex;
flex-direction:column;
align-items:center;
text-align:center;
}





/* =====================doctor================== */
.doctor{
padding:90px 6%;
background:white;
}

.doctor-container{
display:grid;
grid-template-columns:1fr 1fr;
gap:50px;
align-items:center;
max-width:1100px;
margin:auto;
}

.doctor-image img{
width:100%;
border-radius:12px;
box-shadow:0 10px 25px rgba(0,0,0,0.1);
}

.doctor-content h2{
color:#2e7d32;
margin-bottom:10px;
}

.doctor-content h3{
font-size:28px;
color:#1b5e20;
margin-bottom:8px;
}

.doctor-qual{
color:#777;
margin-bottom:20px;
font-weight:600;
}

.doctor-content p{
color:#555;
line-height:1.6;
margin-bottom:20px;
}

.doctor-points{
list-style:none;
padding:0;
}

.doctor-points li{
margin-bottom:8px;
color:#333;
}

/* mobile */

@media(max-width:768px){

.doctor-container{
grid-template-columns:1fr;
text-align:center;
}

}