*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  font-family: Arial, sans-serif;
}

body{
  background:#ffffff;
}

/* ===== BOXED ===== */
.boxed{
  max-width:1200px;
  margin:auto;
  padding:0 15px;
}

/* ===== DESKTOP HEADER ===== */
.site-header{
  background:#fff;
  border-bottom:1px solid #eee;
}

.header-wrap{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:15px 0;
}

.logo{
  display:flex;
  align-items:center;
  gap:10px;
}

.logo img{
  width:55px;
  height:55px;
  border-radius:10px;
}

.logo span{
  font-weight:bold;
  color:#0b3fa5;
}




.header-buttons{
  display:flex;
  flex-direction:column;
  gap:10px;
}


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}


/* ===== HERO ===== */
/* ===== HERO BACKGROUND ===== */
.hero-banner{
  background: url("../images/banner.jpg") no-repeat center center/cover;
  padding: 90px 0;
}

/* ===== BOXED LAYOUT ===== */
.hero-container{
  max-width:1200px;
  margin:auto;
  padding:0 20px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:40px;
}

/* ===== TEXT ===== */
.hero-text{
  max-width:560px;
}

.hero-text h1{
  font-size:30px;
  color:#0b3fa5;
  line-height:1.4;
  margin-bottom:22px;
}

.hero-text h2{
  font-size:26px;
  color:#1bb56d;
  margin-bottom:15px;
}

.hero-text p{
  font-size:15px;
  margin-bottom:30px;
}

/* BUTTON */
.hero-btn{
  display:inline-block;
  padding:12px 30px;
  border-radius:30px;
  background:linear-gradient(45deg,#2ecc71,#27ae60);
  color:#fff;
  text-decoration:none;
  font-weight:bold;
}

/* ===== DOCTOR IMAGE ===== */
.hero-doctor img{
  width:350px;
  display:block;
  filter: drop-shadow(0 18px 35px rgba(0,0,0,0.15));
}

/* ===== RESPONSIVE ===== */
@media(max-width:768px){
  .hero-container{
    flex-direction:column;
    text-align:center;
  }

  .hero-text h1{
    font-size:22px;
  }

  .hero-text h2{
    font-size:20px;
  }

  .hero-doctor img{
    width:280px;
    margin-top:30px;
  }
}


/* ================= MOBILE VIEW ================= */
@media (max-width:768px){

  /* Hide desktop header */
  .site-header{
    display:none;
  }

  /* Show mobile header */
  .mobile-header{
    display:block;
    padding:15px;
    background:#fff;
  }

  .mobile-top{
    display:flex;
    justify-content:space-between;
    align-items:center;
  }

  .mobile-logo{
    display:flex;
    align-items:center;
    gap:10px;
  }

  .mobile-logo img{
    width:70px;
    border-radius:15px;
  }

  .mobile-logo span{
    font-weight:bold;
    color:#0b3fa5;
    font-size:14px;
  }

  .hamburger span{
    display:block;
    width:28px;
    height:3px;
    background:#8e24aa;
    margin:5px 0;
  }

  /* Appointment buttons */
  .mobile-buttons{
    margin-top:15px;
    display:flex;
    flex-direction:column;
    gap:12px;
  }

  .mobile-buttons .btn{
    font-size:14px;
    padding:12px;
  }

  /* HERO */
  .hero{
    padding:40px 0 90px;
  }

  .hero-container{
    flex-direction:column;
    align-items:flex-start;
  }

  .hero-content{
    text-align:left;
  }

  .hero-content h1{
    font-size:24px;
  }

  .hero-content h2{
    font-size:20px;
  }

  /* Doctor image center */
  .hero-image{
    width:100%;
    text-align:center;
    margin-top:25px;
  }

  .hero-image img{
    width:260px;
    margin:auto;
  }
  
}
.doctor-section {
  padding: 60px 20px;
  background: #ffffff;
}
@media (max-width: 480px){
  .doctor-section {
    padding: 60px 0px;
    background: #ffffff;
}
}

/* ===== MOBILE BOTTOM BAR ===== */
.mobile-bottom-bar{
  display:none;
}

@media (max-width:768px){
  .mobile-bottom-bar{
    display:flex;
    position:fixed;
    bottom:0;
    left:0;
    width:100%;
    background:linear-gradient(to top,#0b3fa5,#ffffff);
    justify-content:space-around;
    padding:12px 0;
    z-index:999;
  }

  .mobile-bottom-bar a{
    width:50px;
    height:50px;
    background:#fff;
    border-radius:8px;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:22px;
    text-decoration:none;
    box-shadow:0 4px 10px rgba(0,0,0,0.2);
  }
}





.doctor-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 40px;
  align-items: flex-start;
}

.doctor-image-box {
  width: 350px;
  height: 500px;             
  border-radius: 12px;
  position: relative;
  object-fit: content;

  border: 4px solid #27c26b;
  overflow: hidden; 
      
}       

.doctor-image-box img {
  width: 350px;
  height: 500px;
  position :absolute ;   /* fills the box */
  display: block;    
}

/* CONTENT */
.doctor-content h2 {
  color: #0a3c8a;
  font-size: 28px;
  margin-bottom: 15px;
}

.doctor-list {
  padding-left: 20px;
  margin-bottom: 20px;
}

.doctor-list li {
  margin-bottom: 8px;
  font-size: 15px;
}

.divider {
  border: none;
  height: 2px;
  background: #a800a8;
  width: 100%;
  margin: 20px 0;
}

.doctor-content p {
  font-size: 15px;
  color: #222;
  margin-bottom: 15px;
  line-height: 1.7;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .doctor-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .doctor-list {
    text-align: left;
  }
  
}

.why-section {
  padding: 80px 50px;
  background: #fff;
}

.why-section h2 {
  text-align: center;
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 70px;
  color: #000;
}

/* GRID */
.why-grid {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 320px 1fr;
  align-items: center;
  gap: 0px;
}

/* COLUMNS */
.why-col {
  display: flex;
  flex-direction: column;
  gap: 45px;
}

/* BOX */
.why-box {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

/* RIGHT SIDE */
.why-box.reverse {
  flex-direction: row-reverse;
}

/* TEXT */
.why-text h3 {
  color: #0a3c8a;
  font-size: 18px;
  margin-bottom: 8px;
}

.why-text p {
  font-size: 15px;
  color: #222;
  line-height: 1.6;
  max-width: 330px;
}

/* ICON */
.why-icon img {
  width: 100px;
  height: 100px;
  object-fit: contain;
}

/* CENTER ICON */
.why-center {
  display: flex;
  justify-content: center;
}

.why-center img {
  width: 260px;
  max-width: 100%;
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .why-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .why-box,
  .why-box.reverse {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .why-text p {
    max-width: 100%;
  }

  .why-center img {
    width: 220px;
  }
}







.section-title {
  background: #ffffff;
  padding: 40px 20px;
  text-align: center;
}

.specialities-section {
  padding: 40px 40px;
  background: linear-gradient(to bottom, #0b3fa8, #e11d48);
}

.specialities-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 25px;
}

.speciality-card {
  text-align: center;
  color: #fff;
}

.speciality-card h3 {
  background: #0b3fa8;
  padding: 12px 8px;
  font-size: 18px;
  font-weight: 700;
  border-radius: 6px 6px 0 0;
}

.speciality-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 0 0 10px 10px;
  background: #fff;
}

.speciality-card p {
  margin-top: 15px;
  font-size: 14px;
  line-height: 1.6;
  padding: 0 5px;
}

/* Responsive */
@media (max-width: 1200px) {
  .specialities-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .specialities-grid {
    grid-template-columns: repeat(1, 1fr);
  }

  .section-title {
    font-size: 28px;
  }
}



.stats-section {
  background: linear-gradient(to bottom, #eef4ff, #dbe7ff);
  padding: 50px 20px;
}

.stats-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}

.stat-box img {
  width: 60px;
  height: 60px;
  margin-bottom: 15px;
}

.stat-box h3 {
  font-size: 32px;
  font-weight: 700;
  color: #000;
  margin-bottom: 6px;
}

.stat-box p {
  font-size: 16px;
  color: #000;
  font-weight: 500;
}

/* Tablet */
@media (max-width: 992px) {
  .stats-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
}

/* Mobile */
@media (max-width: 576px) {
  .stats-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .stat-box h3 {
    font-size: 28px;
  }
}





* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: Arial, Helvetica, sans-serif;
}

/* Section */

.section-testimonials{
  background: #ffffff;
  padding: 20px 20px;
  text-align: center;
}



.testimonials-section {
    background-color: #8FAED4;
    padding: 40px 20px 60px;
}

/* Title */
.section-title {
    text-align: center;
    font-size: 36px;
    font-weight: bold;
    color: #000;
    margin-bottom: 40px;
}

/* Grid */
.testimonials-container {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 70px;
}

/* Card */
.testimonial-card {
    background-color: #ffffff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.15);
}

/* Name */
.testimonial-card h3 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #000;
}

/* Text */
.testimonial-card p {
    font-size: 14.5px;
    line-height: 1.6;
    color: #333;
}

/* Responsive */
@media (max-width: 992px) {
    .testimonials-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .testimonials-container {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 28px;
    }
}













.section-gallery{
  background: #ffffff;
  padding: 40px 20px;
  text-align: center;
}

.gallery-section {
  background: #8fb0d8;
  padding: 60px 40px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}




.consult-section {
  padding: 60px 80px;
  background: #fff;
}

.consult-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 50px;
}

.consult-form h3,
.consult-info h3 {
  font-size: 26px;
  margin-bottom: 20px;
}

.consult-form label {
  font-size: 14px;
}

.consult-form input {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
}

.submit-btn {
  width: 100%;
  padding: 12px;
  background: #0b3fa8;
  color: #fff;
  border: none;
  font-size: 15px;
}

.btn-group {
  margin-top: 30px;
  display: flex;
  gap: 20px;
}

.cta-btn {
  padding: 14px 20px;
  background: #0b3fa8;
  color: #fff;
  text-decoration: none;
  border-radius: 10px;
  font-size: 14px;
}





.faq-section {
  padding: 50px 80px;
}

.faq-section h2 {
  text-align: center;
  font-size: 34px;
  margin-bottom: 30px;
}

.faq-item {
  border-bottom: 1px solid #ddd;
}

.faq-question {
  padding: 16px 10px;
  font-size: 15px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  cursor: pointer;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  font-size: 14px;
  line-height: 1.6;
  color: #444;
  padding: 0 10px;
  transition: max-height 0.35s ease;
}

.faq-item.active .faq-answer {
  padding-bottom: 16px;
}

.arrow {
  transition: transform 0.3s ease;
}

.faq-item.active .arrow {
  transform: rotate(90deg);
}



@media (max-width: 992px) {
  .faq-section,
  .consult-section {
    padding: 40px 30px;
  }

  .consult-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .btn-group {
    flex-direction: column;
  }
}









.footer {
    background-color: #2f3842;
    color: #ffffff;
}

.footer-container {
    display: flex;
    gap: 40px;
    padding: 40px 60px;
}

/* LEFT */
.footer-left {
    width: 25%;
}

.footer-left img {
    width: 120px;
    border-radius: 4px;
    margin-bottom: 15px;
}

.footer-left h3 {
    margin: 10px 0;
}

.footer-left p {
    font-size: 14px;
    line-height: 1.6;
}

.social-icons {
    margin-top: 20px;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    margin-right: 10px;
    border-radius: 5px;
    color: #fff;
    text-decoration: none;
}

.social-icons a:nth-child(1) {
    background: #3b5998;
}

.social-icons a:nth-child(2) {
    background: #e1306c;
}

.social-icons a:nth-child(3) {
    background: #0077b5;
}

.social-icons i {
    font-size: 18px;
}

/* MIDDLE */
.footer-middle {
    width: 30%;
}

.footer-middle iframe {
    width: 100%;
    height: 230px;
    border-radius: 10px;
    border: none;
    margin-bottom: 20px;
}

/* RIGHT */
.footer-right {
    width: 45%;
}

.footer-right h2 {
    margin-bottom: 15px;
}

.footer-right h4 {
    margin-top: 20px;
    margin-bottom: 8px;
}

.footer-right p {
    font-size: 14px;
    line-height: 1.6;
}

.footer-right i {
    margin-right: 8px;
}

.timing {
    margin-top: 10px;
    font-size: 14px;
}

/* BOTTOM */
.footer-bottom {
    background-color: #0d3b8e;
    text-align: center;
    padding: 12px;
    font-size: 14px;
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .footer-container {
        flex-direction: column;
    }

    .footer-left,
    .footer-middle,
    .footer-right {
        width: 100%;
    }
}



/* =========================
   GLOBAL MOBILE FIXES
========================= */
img {
  max-width: 100%;
  height: auto;
}

body {
  overflow-x: hidden;
}

/* =========================
   HEADER & NAV FIX
========================= */
@media (max-width: 992px) {
  .navbar {
    display: none;
  }

  .header-buttons {
    display: none;
  }
}

/* =========================
   HERO SECTION FIX
========================= */
@media (max-width: 768px) {
  .hero-banner {
    padding: 50px 0;
  }

  .hero-container {
    flex-direction: column;
    text-align: center;
  }

  .hero-text {
    max-width: 100%;
  }

  .hero-text h1 {
    font-size: 22px;
  }

  .hero-text h2 {
    font-size: 18px;
  }

  .hero-doctor img {
    width: 260px;
    margin: 20px auto 0;
  }
}

/* =========================
   DOCTOR SECTION FIX
========================= */
@media (max-width: 768px) {
  .doctor-container {
    grid-template-columns: 1fr;
  }

  .doctor-image-box {
    width: 100%;
    height: auto;
    position: relative;
  }

  .doctor-image-box img {
    position: static;
    width: 100%;
    height: auto;
  }

  .doctor-content {
    text-align: left;
  }
}

/* =========================
   WHY SECTION FIX
========================= */
@media (max-width: 768px) {
  .why-section {
    padding: 50px 20px;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .why-box,
  .why-box.reverse {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .why-icon img {
    width: 80px;
    height: 80px;
  }
}

/* =========================
   SPECIALITIES FIX
========================= */
@media (max-width: 768px) {
  .specialities-section {
    padding: 30px 15px;
  }

  .speciality-card img {
    height: 180px;
  }

  .speciality-card p {
    font-size: 14px;
  }
}

/* =========================
   GALLERY FIX
========================= */
@media (max-width: 768px) {
  .gallery-section {
    padding: 40px 20px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================
   CONSULT FORM FIX
========================= */
@media (max-width: 768px) {
  .consult-section {
    padding: 40px 20px;
  }

  .consult-form h3,
  .consult-info h3 {
    font-size: 22px;
  }

  .submit-btn,
  .cta-btn {
    font-size: 14px;
    padding: 12px;
  }
}

/* =========================
   FAQ FIX
========================= */
@media (max-width: 768px) {
  .faq-section {
    padding: 40px 20px;
  }

  .faq-section h2 {
    font-size: 26px;
  }
}

/* =========================
   FOOTER FIX
========================= */
@media (max-width: 768px) {
  .footer-container {
    padding: 30px 20px;
  }

  .footer-left img {
    width: 100px;
  }

  .footer-right h2 {
    font-size: 22px;
  }
}




.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.modal {
  background: #fff;
  width: 95%;
  max-width: 420px;
  padding: 25px;
  border-radius: 12px;
  position: relative;
}

.close-btn {
  position: absolute;
  top: 12px;
  right: 15px;
  font-size: 26px;
  cursor: pointer;
}


/* MODAL */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: none;
  justify-content: center;
  align-items: center;
}

.modal {
  background: #fff;
  width: 420px;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: 12px;
  position: relative;
}

.modal-header {
  background: linear-gradient(90deg,#ff1b8d,#ff4da6);
  color: #fff;
  padding: 16px;
  text-align: center;
  border-radius: 12px 12px 0 0;
}

.close-btn {
  position: absolute;
  right: 15px;
  top: 10px;
  font-size: 24px;
  color: #fff;
  cursor: pointer;
}

.appointment-form {
  padding: 20px;
}

.appointment-form input,
.appointment-form select {
  width: 100%;
  padding: 12px;
  margin: 8px 0;
  border-radius: 10px;
  border: 1px solid #ddd;
}

.loading {
  font-style: italic;
  color: #666;
}

.pay-btn {
  width: 100%;
  padding: 14px;
  border: 2px dashed #ff1b8d;
  background: transparent;
  color: #ff1b8d;
  border-radius: 30px;
  margin-top: 15px;
}

.confirm-btn {
  width: 100%;
  padding: 16px;
  margin-top: 15px;
  background: linear-gradient(90deg,#ff1b8d,#ff4da6);
  color: #fff;
  border: none;
  border-radius: 30px;
}




/* ===========================
   FINAL MOBILE RESPONSIVE FIX
   (DO NOT REMOVE EXISTING CSS)
=========================== */

/* Prevent horizontal scroll */
html, body {
  max-width: 100%;
  overflow-x: hidden;
}

/* Global image fix */
img {
  max-width: 100%;
  height: auto;
}

/* ---------- HEADER ---------- */
@media (max-width: 992px) {
  .site-header {
    display: none;
  }

  .mobile-header {
    display: block;
    background: #fff;
  }
}

/* ---------- HERO SECTION ---------- */
@media (max-width: 768px) {
  .hero-banner {
    padding: 40px 15px;
  }

  .hero-container {
    flex-direction: column;
    text-align: center;
  }

  .hero-text h1 {
    font-size: 22px;
    line-height: 1.4;
  }

  .hero-text h2 {
    font-size: 18px;
  }

  .hero-text p {
    font-size: 14px;
  }

  .hero-doctor img {
    width: 260px;
    margin: 20px auto 0;
  }
}

/* ---------- DOCTOR SECTION ---------- */
@media (max-width: 768px) {
  .doctor-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .doctor-image-box {
    width: 100%;
    height: auto;
    margin: auto;
  }

  .doctor-image-box img {
    width: 100%;
    height: auto;
    position: static;
  }

  .doctor-content {
    text-align: left;
  }
}

/* ---------- WHY SECTION ---------- */
@media (max-width: 768px) {
  .why-section {
    padding: 40px 15px;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .why-box,
  .why-box.reverse {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .why-icon img {
    width: 80px;
    height: 80px;
  }
}

/* ---------- SPECIALITIES ---------- */
@media (max-width: 768px) {
  .specialities-grid {
    grid-template-columns: 1fr;
  }

  .speciality-card img {
    height: 180px;
  }
}

/* ---------- STATS ---------- */
@media (max-width: 768px) {
  .stats-container {
    grid-template-columns: 1fr;
  }
}

/* ---------- GALLERY ---------- */
@media (max-width: 768px) {
  .gallery-section {
    padding: 40px 15px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- CONSULT SECTION ---------- */
@media (max-width: 768px) {
  .consult-section {
    padding: 40px 15px;
  }

  .consult-grid {
    grid-template-columns: 1fr;
  }

  .btn-group {
    flex-direction: column;
  }
}

/* ---------- FAQ ---------- */
@media (max-width: 768px) {
  .faq-section {
    padding: 40px 15px;
  }

  .faq-section h2 {
    font-size: 24px;
  }
}

/* ---------- FOOTER ---------- */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    padding: 30px 15px;
  }

  .footer-left,
  .footer-middle,
  .footer-right {
    width: 100%;
  }

  .footer-middle iframe {
    height: 220px;
  }
}



/* =========================
   MOBILE NAV FIX
========================= */



@media (max-width: 992px) {
  .navbar {
    display: none;
    background: #fff;
    width: 100%;
  }

  .navbar.active {
    display: block;
  }

  .nav-menu {
    flex-direction: column;
  }

  .nav-menu li {
    position: relative;
    border-bottom: 1px solid #eee;
  }

  .nav-link {
    padding: 12px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  /* Disable hover effect on mobile */
  .mega-dropdown:hover .mega-menu {
    display: none;
  }

  /* Mega menu mobile style */
  .mega-menu {
    display: none;
    position: static;
    box-shadow: none;
    padding: 10px 15px;
    background: #f9f9f9;
  }

  .mega-dropdown.active .mega-menu {
    display: block;
  }

  .mega-column a {
    padding: 8px 0;
    display: block;
    font-size: 14px;
  }

  .arrow {
    transition: transform 0.3s ease;
  }

  .mega-dropdown.active .arrow {
    transform: rotate(180deg);
  }
}
