html, body {
   font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
}
/* ===== TOPBAR ===== */
.topbar {
  background: #074384;
  color: white;
  font-size: 0.92rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  width: 100%;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between; /* left = phone, right = icons */
  padding: 0.4rem 1rem;
  max-width: 1200px;
  margin: auto;
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.phone-label {
  opacity: 0.85;
  font-weight: 400;
  margin-left: 10px;
  color: white;
}

.phone-number {
  color: white;
  text-decoration: none;
  font-weight: 600;
}
.phone-number:hover {
  text-decoration: underline;
}

.topbar-right {
  display: flex;
  gap: 0.4rem;
  align-items: center;
}

.mini-logo {
  height: 22px;
  width: auto;
  display: block;
  border-radius: 4px;
  background: #fff;
  padding: 2px;
}

.social {
  color: #2b6cb0;
  font-size: 0.85rem;
  background: white;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  text-decoration: none;
  transition: 0.3s;
}
.social:hover {
  background: #2b6cb0;
  color: #fff;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .topbar-inner {
    padding: 0.4rem 0.6rem;
  }
  .phone-label {
    font-size: 0.85rem;
  }
  .phone-number {
    font-size: 0.9rem;
    margin-left: 20px;
  }
  .social {
    width: 20px;
    height: 20px;
    font-size: 0.75rem;
  }
  .mini-logo {
    height: 20px;
  }
  .topbar-right {
    margin-right: 14px;
  }
}

/* ===== MOBILE (stacked layout) ===== */
@media (max-width: 480px) {
  .topbar-inner {
    display: flex;
    flex-direction: column; /* stack items vertically */
    align-items: center;    /* center them horizontally */
    padding: 0.3rem 0.5rem;
    text-align: center;
  }

  .phone-label {
    display: block; /* show label */
    font-size: 0.85rem;
    margin-bottom: 4px; /* spacing below label */
  }

  .phone-number {
    font-size: 0.85rem;
    margin-left: 0; /* reset since stacked */
    margin-bottom: 6px;
  }

  .topbar-right {
    margin-right: 0;
    margin-top: 4px;
  }

  .social {
    width: 18px;
    height: 18px;
    font-size: 0.7rem;
  }

  .mini-logo {
    height: 18px;
  }
}


  /* Header */
    .main-header {
      background: white;
      border-bottom: 1px solid #eee;
      position: sticky;
      top: 0;
      z-index: 50;
    }

    .header-inner {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 0.4rem 1rem;
      flex-wrap: wrap;
    }

    .site-logo img {
      height: 70px;
      width: auto;
      margin-left: 15px;
      max-width: 100%;
    }

    .header-nav {
      display: flex;
      gap: 0.5rem;
      margin-right: 15px;
      flex-wrap: wrap;
    }

    .nav-btn {
      padding: 0.5rem 0.6rem;
      text-decoration: none;
      color: #333;
      font-weight: 500;
      border-radius: 6px;
      transition: 0.3s;
      white-space: nowrap;
    }

    .nav-btn:hover {
      background: white;
      color: #1863b4;
    }

    /* Dropdown container */
    .dropdown {
      position: relative;
      display: inline-flex;
      flex-direction: column;
    }

    .dropdown-content {
      display: none;
      position: absolute;
      top: 100%;
      left: 0;
      background-color: #fff;
      min-width: 180px;
      box-shadow: 0px 8px 16px rgba(0,0,0,0.2);
      z-index: 10;
      flex-direction: column;
    }

    .dropdown-content a {
  color: #063970;
  padding: 10px 15px;
  text-decoration: none;
  display: block;
  font-size: 15px; /* ✅ text size */
}


    .dropdown-content a:hover {
      background-color: #f1f1f1;
    }

    /* Desktop hover */
    .dropdown:hover .dropdown-content {
      display: flex;
    }

    /* Mobile Toggle */
    .menu-toggle {
      display: none;
      font-size: 1.8rem;
      border: 0;
      background: white;
      cursor: pointer;
      color: black;
    }

    /* Tablets & Mobiles */
    @media (max-width: 720px) {
         .site-logo img {
      height: 75px;
      width: auto;
      
    }
      .header-nav {
        display: none;
        flex-direction: column;
        align-items: flex-start;
        position: absolute;
        right: 0;
        top: 70px;
        background: #fff;
        padding: 1rem;
        box-shadow: 0 6px 16px rgba(0,0,0,0.08);
        border-radius: 8px 0 0 8px;
        width: 200px;
        max-height: 160vh;
        overflow-y: auto;
      }

      .header-nav.active {
        display: block;
      }

      .nav-btn {
        width: 100%;
        padding: 0.9rem 1.5rem;
      }

      .menu-toggle {
        display: block;
      }

       .dropdown-content {
    display: none;
    flex-direction: column;
    background: #f9f9f9;
    width: 100%;
    margin-left: 10px;   /* thoda indent */
    border-left: 2px solid #ddd;
    position: static;    /* ✅ sidebar ke andar hi rahe */
    box-shadow: none;
  }

  .dropdown.open .dropdown-content {
    display: flex;  /* ✅ sirf JS toggle se khule */
  }

  .dropdown-content a {
    padding: 0.6rem 1rem;
    border-bottom: 1px solid #eee;
    color: #063970;
    text-align: left;
  }

  
}
    

    /* Extra Small Devices (<= 320px) */
    @media (max-width: 320px) {
      .header-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.3rem;
      }
      .site-logo img {
        height: 45px;
        margin: 0;
      }
      .menu-toggle {
        align-self: flex-end;
        font-size: 1.5rem;
      }
      .header-nav {
        width: 100%;
        right: 0;
        top: 60px;
      }
      .nav-btn {
        font-size: 0.85rem;
        padding: 0.5rem;
      }
    }

    /* Ultra Small Devices (<= 200px) */
    @media (max-width: 200px) {
      .header-inner {
        flex-direction: column;
        align-items: center;
        padding: 0.3rem;
      }
      .site-logo img {
        height: 35px;
      }
      .menu-toggle {
        font-size: 1.3rem;
      }
      .header-nav {
        width: 100%;
        top: 55px;
        box-shadow: none;
        border-radius: 0;
        padding: 0.4rem;
      }
      .nav-btn {
        font-size: 0.75rem;
        padding: 0.4rem;
      }
    }

/* ===== HERO SECTION ===== */
.hero {
  padding: 1rem 1rem;
  background: #f9fafb;   /* light background */
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

/* Left Image */
.hero-left img {
  width: 95%;
  max-width: 500px;
  margin-left: 10px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transition: 0.3s;
}

.hero-left img:hover {
  transform: scale(1.02);
}

/* Right Content */
.hero-right h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  color: #063970;
}

.hero-right h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: #2563eb;
}

.hero-right p {
  font-size: 0.9rem;
  margin-bottom: 2rem;
  color: #374151;
  text-align: justify;
  margin-right: 18px;
 margin-bottom: 1rem; 
 
}

/* Button style */
.btn-appointment {
  display: inline-block;
  padding: 0.9rem 2rem;
  background: #1d5ea8;
  color: white;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 10px;
  transition: 0.3s;
}

.btn-appointment:hover {
  background: #2563eb;
  transform: translateY(-2px);
}

/* ===== RESPONSIVE BREAKPOINTS ===== */

/* ===== Tablets (≤992px) ===== */
@media (max-width: 992px) {
  .hero {
    padding: 3rem 3rem; /* more left-right spacing */
  }

  .hero-right h1 {
    font-size: 2.4rem;
    line-height: 1.2;
    margin-bottom: 0.4rem; /* less gap */
    text-align: start;
  }

  .hero-right h3 {
    font-size: 1.2rem;
    margin-bottom: 0.6rem;
    text-align: start;
  }

  .hero-left img {
    width: 85%;
    margin: 0 auto;
    display: block;
  }
}

/* ===== Mobile (≤768px) ===== */
@media (max-width: 768px) {
  .hero {
    padding: 2.5rem 2rem; /* added more side space */
  }

  .hero-inner {
    grid-template-columns: 1fr;
    text-align: start;
    align-items: center;
  }

  .hero-right h1 {
    font-size: 2.2rem;
    line-height: 1.1;
    margin-bottom: 0.3rem;
    text-align: start;
  }

  .hero-right h3 {
    font-size: 1.1rem;
    margin-top: 0.1rem;
    margin-bottom: 0.4rem;
    text-align: start;
  }

  .hero-right p {
    font-size: 1rem;
    line-height: 1.5;
    text-align: start;
    margin-right: 0;
  }

  .hero-left img {
    margin: 0 auto;
    width: 100%;
  }

  .btn-appointment {
   display: block;
    width: 90%;              /* full width */
    text-align: center;
    padding: 1.4;           /* more height */
    font-size: 1.3rem;        /* larger text */
    font-weight: 600;
    margin-top: 1.5rem;
    
  }
}

/* ===== Small Mobile (≤576px) ===== */
@media (max-width: 576px) {
  .hero {
    padding: 2.5rem 1.8rem; /* more side padding on small screens */
  }

  .hero-right h1 {
    font-size: 1.9rem;
    line-height: 1.15;
    margin-bottom: 0.3rem;
    text-align: start;
  }

  .hero-right h3 {
    font-size: 1rem;
    margin-bottom: 0.4rem;
    text-align: start;
  }

  .hero-right p {
    font-size: 0.95rem;
    line-height: 1.5;
    text-align: start;
  }

  .btn-appointment {
    padding: 0.7rem 1.5rem;
    font-size: 1rem;
    margin-top: 1rem;
    align-self: flex-start;
  }
}



/* ===== Appoinment SECTION ===== */

.time-section {
  font-family: "Segoe UI", sans-serif;
  background-color: #1d5ea8; /* outer background */
  padding: 80px 0; /* reduced top & bottom space */
  margin: 0;
  display: flex;
  justify-content: center;
}


/* ===== Inner Box ===== */
.time-section .working-hours-section {
  background-color: #0c2e4e; /* dark blue box */
  color: white;
  border-radius: 10px;
  width: 95%;
  max-width: 1100px;
  padding: 75px 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  margin: 0 auto;
  transition: all 0.3s ease;
}

/* ===== Container ===== */
.time-section .container {
  width: 90%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
}

/* ===== Columns ===== */
.column {
  flex: 1;
  min-width: 280px;
}

.column h2 {
  color: #d9974d; /* golden orange */
  margin-bottom: 10px;
  font-size: 28px;
  font-weight: 700;
}

.column hr {
  border: none;
  border-top: 1px dotted #b6c1cc;
  margin-bottom: 15px;
}

.branch-name {
  color: #5cc96c; /* green */
  font-weight: 600;
  margin-bottom: 5px;
}

.address,
.timing,
.column p {
  font-size: 16px;
  margin: 6px 0;
}

.timing {
  font-weight: 500;
}

/* ===== Button ===== */
.see-all {
  color: #7fc5e6;
  margin-top: 8px;
  text-decoration: none; /* removes underline */
}
.see-all:hover {
  text-decoration: none; /* keeps it off on hover */
}


/* ===== RESPONSIVE DESIGN ===== */

/* Tablet view */
@media (max-width: 1024px) {
  .working-hours-section {
    width: 95%;
  }

  .column h2 {
    font-size: 24px;
  }
}

/* Mobile view */
@media (max-width: 768px) {
  .time-section{
    padding:20px 0 ;
  }

    .working-hours-section {
    width: 98%;
    padding: 10px 0;
  }

  .time-section .container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2px;
  }

  .column h2 {
    font-size: 32px;
    text-align: left;
  }

  .address,
  .timing,
  .column p {
    font-size: 25px;
    text-align: left;
  }

  .see-all {
    padding: 7px 15px;
    font-size: 14px;
    text-align: left;
  }
}

/* Small mobile view */
@media (max-width: 480px) {
  .working-hours-section {
    width: 100%;
    border-radius: 0;
    padding: 15px 0;
  }

  .column h2 {
    font-size: 20px;
  }

  .address,
  .timing,
  .column p {
    font-size: 14px;
  }

  .see-all-btn {
    padding: 6px 14px;
    font-size: 13px;
  }
}




/* ===== SERVICES SECTION 1 ===== */
.services-section1 {
  background-color: #f9fafb;
  padding: 2rem 1rem;
}

.services-container1 {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.services-title1 {
  font-size: 2.2rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.5rem;
}

.services-subtitle1 {
  color: #6b7280;
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
  padding: 0.5rem;
}

.services-grid1 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  padding: 0 1.2rem;
}

.service-card1 {
  background: #ffffff;
  border: 2px solid #d1d5db;
  border-radius: 12px;
  text-decoration: none;
  color: #111827;
  transition: all 0.3s ease;
  padding: 1.5rem;
  text-align: left;
}

.service-card1:hover {
  border-color: #6f7072;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  transform: translateY(-5px);
}

.service-card1 img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 1rem;
}

.service-card1 h3 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  color: #1f2937;
}

.service-card1 p {
  font-size: 1rem;
  color: #374151;
  line-height: 1.7;
  text-align: justify;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .services-grid1 {
    grid-template-columns: 1fr;
    padding: 0 0.8rem;
  }

  .service-card1 img {
    height: 200px;
  }

  .services-title1 {
    font-size: 1.8rem;
  }

  .services-subtitle1 {
    font-size: 1rem;
  }

  .service-card1 {
    padding: 1rem;
  }
}


/* ===== SERVICES SECTION ===== */
.services {
  padding: 3rem 1rem;
  background: #ffffff;
  text-align: center;
}

.section-title {
  font-size: 2rem;
  color: #063970;
  margin-bottom: 2rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* Desktop */
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.service-box {
   background: #ffffff;
  border: 2px solid #d1d5db;
  border-radius: 12px;
  text-decoration: none;
  color: #111827;
  transition: all 0.3s ease;
  padding: 1.5rem;
  text-align: left;
}

.service-box:hover {
  background: #e0f2fe;
  transform: translateY(-5px);
}

.service-box img {
  width: 100%;
  max-width: 330px;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.service-box h3 {
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
  color: #063970;
 }

.service-box p {
  font-size: 0.95rem;
  color: #70747a;
  font-size: 1rem;
  line-height: 1.7;
 
}


/* Desktop (≤1024px) */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 per row */
    padding: 0 1.2rem; /* reduced side padding */
  }
  .section-title {
    font-size: 1.8rem;
  }
  .service-box {
    border: 1.5px solid #d1d5db;
    border-radius: 10px;
    padding: 1.5rem;
    transition: all 0.3s ease;
  }
  .service-box:hover {
    border-color: #2563eb;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  }
  .service-box img {
    max-width: 100%;
    height: auto;
  }
}

/* Tablets (≤768px) */
@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    padding: 0 1rem; /* reduced side padding */
  }
  .service-box {
    border: 1.3px solid #cbd5e1;
    border-radius: 8px;
    padding: 1.2rem;
  }
  .service-box h3 {
    font-size: 1.1rem;
  }
  .service-box p {
    font-size: 0.9rem;
    text-align: justify;
  }
}

/* Mobile (≤480px) */
@media (max-width: 480px) {
  .services-grid {
    grid-template-columns: 1fr;
    padding: 0 0.6rem; /* very small side padding */
  }
  .section-title {
    font-size: 1.5rem;
    padding: 0 0.5rem; /* reduced */
  }
  .service-box {
    border: 1.2px solid #cbd5e1;
    border-radius: 8px;
    padding: 1rem;
  }
  .service-box img {
    max-width: 100%;
    height: auto;
  }
  .service-box p {
    font-size: 0.9rem;
    text-align: justify;
  }
}




/* Section */
.image-slider-section {
  padding: 20px 20px;
  background: #efefef;
  text-align: center;
}

.slider-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #074384;
}

/* Slider Container */
.image-slider {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.image-track {
  display: flex;
  flex-wrap: nowrap;
  width: max-content;
  animation: scroll-left 30s linear infinite;
}

.image-track img {
  height: 150px;      /* max height for all images */
  width: auto;         /* adjust width automatically */
  margin: 0 10px;
  border-radius: 10px;
  object-fit: contain; /* ensure no part of image is cropped */
  flex-shrink: 0;      /* prevent shrinking */
  transition: transform 0.3s ease;
}


.image-track img:hover {
  transform: scale(1.05);
}

/* Animation */
@keyframes scroll-left {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); } /* only move half bcz we duplicated */
}

/* Responsive Breakpoints */

/* Tablets */
@media (max-width: 992px) {
  .slider-title {
    font-size: 1.6rem;
  }
  .image-track img {
    width: 180px;
    height: 110px;
    margin: 0 6px;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .slider-title {
    font-size: 1.4rem;
  }
  .image-track img {
    width: 140px;
    height: 90px;
    margin: 0 4px;
  }
}

/* Extra Small Mobile */
@media (max-width: 400px) {
  .slider-title {
    font-size: 1.2rem;
  }
  .image-track img {
    width: 120px;
    height: 75px;
    margin: 0 5px;
  }
}




/* ===== GALLERY SECTION ===== */
.gallery {
  padding: 3rem 1rem;
  background: #f9fafb;
  text-align: center;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: #063970;
  margin-bottom: 2.5rem;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: #007bff;
  margin: 10px auto 0;
  border-radius: 2px;
}

/* Grid Layout */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

.gallery-grid img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.3s, box-shadow 0.3s;
}

.gallery-grid img:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}

/* ===== Responsive Gallery Section (Reduced Padding) ===== */

/* Tablet View (≤900px) */
@media (max-width: 900px) {
  .gallery-grid {
    padding: 0 1rem; /* reduced side padding */
  }

  .gallery-grid img {
    height: 200px;
    width: 100%;
    object-fit: cover;
    border-radius: 6px;
  }
}

/* Mobile View (≤600px) */
@media (max-width: 600px) {
  .gallery-grid {
    padding: 0 0.7rem; /* smaller padding for mobile */
  }

  .gallery-grid img {
    height: 180px;
    width: 100%;
    object-fit: cover;
    border-radius: 6px;
  }
}




/* ===== GALLERY SECTION ===== */
.gallery-section {
  padding: 4rem 1rem;
  background: #f9fafb;
  text-align: center;
}

.gallery-container {
  max-width: 1100px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
  justify-content: center;
}

.gallery-text {
  flex: 1;
  min-width: 280px;
  text-align: left;
  margin-top: -90px;
 
}

.gallery-text h2 {
  font-size: 2rem;
  color: #063970;
  margin-bottom: 1rem;
}

.gallery-text p {
  font-size: 1rem;
  color: #444;
  line-height: 1.6;
  text-align: justify;
}

.gallery-image {
  flex: 1;
  min-width: 280px;
  text-align: center;
}

.gallery-image img {
  width: 100%;
  max-width: 500px;
  border-radius: 10px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
}

.gallery-image img:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 25px rgba(0,0,0,0.2);
}

/* Button Style */
.gallery-btn {
  width: 50%;
  display: inline-block;
  margin-top: 1rem;
  padding: 10px 20px;
  background: #1d5ea8;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  transition: background 0.3s, transform 0.2s;
}

.gallery-btn:hover {
  background: #0a4a8e;
  transform: scale(1.05);
}

/* Responsive */
@media (max-width: 768px) {
  .gallery-container {
    flex-direction: column;
    text-align: center;
    padding: 0 0.3rem; /* added side padding */
  }

  .gallery-text {
    text-align: center;
    padding: 0 1rem; /* ensures equal padding for text too */
  }
}








/* ===== OUR CLINICS SECTION ===== */
.clinics {
  margin-top: -50px;
  padding: 3rem 1rem;
  background: #f9fafb;
  text-align: center;
}

.section-title {
  font-size: 2rem;
  color: #063970;
  margin-bottom: 2rem;
}

.clinics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 per row */
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.clinic-card {
  background: #fff;
  border-radius: 12px;
  padding: 1.5rem;
  text-align: left;
  box-shadow: 0 3px 8px rgba(0,0,0,0.1);
  transition: 0.3s;
}

.clinic-card:hover {
  transform: translateY(-5px);
  background: #e0f2fe;
}

.clinic-card h3 {
  color: #2563eb;
  margin-bottom: 0.8rem;
}

.clinic-card p {
  color: #374151;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  line-height: 1.4;
  text-align: justify;
}

.clinic-card a {
  color: #2563eb;
  text-decoration: none;
}

.clinic-card a:hover {
  text-decoration: underline;
}

.clinic-map {
  margin-top: 1rem;
  border-radius: 8px;
  overflow: hidden;
}

/* Responsive */
@media (max-width: 900px) {
  .clinics-grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 0 0.9rem;
  }
}

@media (max-width: 600px) {
  .clinics-grid {
    grid-template-columns: 1fr;
  }
}



/* ========== Rewievs ========== */

.testimonials-section {
  background: whitesmoke;
  color: black;
  padding:20px 20px;
  text-align: center;
}

 .testimonials-section .section-title {
  font-size: 2.5rem;
  font-weight: bold;
  color: #ff9800;
  margin-bottom: 30px;
  
}

.swiper {
  max-width: 800px;
  margin: auto;
}
.swiper-slide {
  width: 100% !important;  /* ✅ full width le */
  height: 100%;
  box-sizing: border-box;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  padding: 30px 25px;
  box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s;
}

.testimonial-card:hover {
  transform: translateY(-5px);
}

.testimonial-text {
  font-size: 1.1rem;
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 25px;
}

.testimonial-user {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.user-img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 3px solid #ff9800;
  object-fit: cover;
}

.testimonial-user strong {
  font-size: 1.1rem;
  color: #ff9800;
}

.testimonial-user span {
  font-size: 0.9rem;
  color: black;
}

.swiper-pagination-bullet {
  background: #ccc;
  opacity: 0.7;
}

.swiper-pagination-bullet-active {
  background: #ff9800;
  opacity: 1;
}

/* Responsive */
@media (max-width: 768px) {
  .section-title {
    font-size: 2rem;
  }

  .testimonial-card {
    padding: 20px;
  }

  .testimonial-text {
    font-size: 1rem;
  }
}

/* ========== FOOTER ========== */
/* ===== FOOTER ===== */
.footer {
  background: linear-gradient(135deg, #052c65, #074384); /* gradient blue */
  color: #f1f5f9;
  padding: 3rem 1rem 1rem;
  font-size: 0.95rem;
  position: relative;
  overflow: hidden;
}

/* Decorative background shapes */
.footer::before {
  content: "";
  position: absolute;
  top: -50px;
  left: -50px;
  width: 200px;
  height: 200px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
  z-index: 0;
}
.footer::after {
  content: "";
  position: absolute;
  bottom: -80px;
  right: -80px;
  width: 220px;
  height: 220px;
  background: rgba(255,255,255,0.04);
  border-radius: 50%;
  z-index: 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 3rem;
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
  margin-left: 20px;
}

.footer-col h3 {
  margin-bottom: 1rem;
  font-size: 1.3rem;
  color: #fff;
  position: relative;
}

.footer-col h3::after {
  content: "";
  display: block;
  width: 50px;
  height: 3px;
  background: #60a5fa;
  margin-top: 6px;
  border-radius: 2px;
}

.footer-col p {
  margin: 0.4rem 0;
  line-height: 1.8;
  text-align: justify;
  color: #e2e8f0;
}

.footer-col a {
  color: #dbeafe;
  text-decoration: none;
  transition: 0.3s;
  display: inline-block;
}

.footer-col a:hover {
  color: #60a5fa;
  transform: translateX(5px);
}

/* List styling */
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin: 0.5rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-col ul li::before {
  content: "›";
  color: #60a5fa;
  font-weight: bold;
}

/* Social Icons */
.footer-social {
  display: flex;
  gap: 0.6rem;
  margin-top: 1rem;
}

.footer-social a {
  width: 35px;
  height: 35px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #074384;
  font-size: 1rem;
  transition: 0.3s;
}

.footer-social a:hover {
  background: #60a5fa;
  color: #fff;
  transform: scale(1.1);
}

/* Footer bottom */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  text-align: center;
  padding-top: 1rem;
  font-size: 0.9rem;
  opacity: 0.9;
  position: relative;
  z-index: 1;
}

.footer-bottom p {
  color: #fff;
  margin: 0;
}

/* Responsive */
@media (max-width: 600px) {
  .footer-inner {
    gap: 2rem;
    margin-left: 0;
  }
  .footer-col h3 {
    font-size: 1.1rem;
  }
}


/* ========== conditions page ========== */

.terms-section {
  line-height: 1.7;
  max-width: 1000px;
  margin: 40px auto;
  padding: 30px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.terms-section h1 {
  color: #004080;
  margin-bottom: 15px;
}

.terms-section h2 {
  color: #0066cc;
  margin-top: 25px;
  margin-bottom: 10px;
}

.terms-section p {
  margin-bottom: 15px;
  text-align: justify;
}

.terms-section ul {
  margin: 10px 0 20px 20px;
}

.terms-section a {
  color: #004080;
  text-decoration: none;
}

.terms-section a:hover {
  text-decoration: underline;
}


/* ===== CONTACT form SECTION ===== */
.contact-section {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 60px 15px;
  background: #f5f7fa;
}

.form-container {
  background: #fff;
  padding: 30px 35px;
  border-radius: 12px;
  box-shadow: 0px 6px 18px rgba(0,0,0,0.1);
  width: 100%;
  max-width: 420px;
  transition: transform 0.3s ease;
}

.form-container:hover {
  transform: translateY(-5px);
}

.form-container h2 {
  text-align: center;
  margin-bottom: 25px;
  color: #063970;
  font-size: 1.8rem;
  font-weight: bold;
}

label {
  display: block;
  margin-bottom: 6px;
  color: #444;
  font-weight: 600;
  font-size: 0.95rem;
}

input, textarea {
  width: 100%;
  padding: 12px 4px;
  margin-bottom: 18px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 15px;
  transition: 0.3s;
  font-family: inherit;
}

input:focus, textarea:focus {
  border-color: #25D366; /* WhatsApp green */
  outline: none;
  box-shadow: 0 0 6px rgba(37, 211, 102, 0.35);
}

textarea {
  resize: none;
  min-height: 120px;
}

.contact-section button {
  width: 100%;
  padding: 12px;
  background: #084182;
  border: none;
  border-radius: 8px;
  color: white;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
}

.contact-section button:hover {
  background: #0954a5;
  transform: scale(1.03);
}

/* ===== WHATSAPP FLOATING BUTTON ===== */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 20px;
  right: 20px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0px 5px 12px rgba(0,0,0,0.25);
  z-index: 1000;
  transition: transform 0.3s, box-shadow 0.3s;
}

.whatsapp-float:hover {
  transform: scale(1.12);
  box-shadow: 0px 8px 18px rgba(0,0,0,0.3);
}

.whatsapp-float img {
  width: 34px;
  height: 34px;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
  .contact-section {
    padding: 4rem 2rem;
  }
  .form-container {
    padding: 25px 40px;
  }
  .form-container h2 {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .contact-section {
    padding: 30px 15px;
  }
  .form-container {
    width: 100%;
    max-width: 100%;
    border-radius: 10px;
  }
  .form-container h2 {
    font-size: 1.3rem;
  }
  input, textarea {
    font-size: 14px;
    padding: 10px;
  }
  .contact-section button {
    font-size: 15px;
    padding: 10px;
  }
  .whatsapp-float {
    width: 50px;
    height: 50px;
    bottom: 15px;
    right: 15px;
  }
  .whatsapp-float img {
    width: 28px;
    height: 28px;
  }
}


/* ========== certifications page ========== */
.cards-section {
  padding: 50px 20px;
  background: #f9f9f9;
}

.cards-section h1 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 28px;
}

.cards-section .container {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* Default: 3 cards per row */
  gap: 20px;
}

.card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s;
}

.card:hover {
  transform: translateY(-5px);
}

.card img {
  width: 100%;
  height: auto; /* maintain aspect ratio */
  display: block;
}

.card p {
  padding: 15px;
  font-size: 16px;
  color: #333;
  line-height: 1.5;
   text-align: justify;
}

/* ========== Responsive Breakpoints ========== */

/* Large Tablets / Small Laptops (max-width: 1200px) */
@media (max-width: 1200px) {
  .cards-section .container {
    grid-template-columns: repeat(2, 1fr);
  }
  .cards-section h1 {
    font-size: 26px;
  }
}

/* Tablets (max-width: 768px) */
@media (max-width: 768px) {
  .cards-section .container {
    grid-template-columns: 1fr 1fr; /* 2 cards per row */
    gap: 15px;
  }
  .card p {
    font-size: 15px;
    padding: 12px;
     text-align: justify;
  }
}

/* Mobile (max-width: 480px) */
@media (max-width: 480px) {
  .cards-section .container {
    grid-template-columns: 1
  }}






  /* ===== GALLERY SECTION ===== */
.galleryy {
  padding: 3rem 1rem;
  background: #f9fafb;
  text-align: center;
}

.galleryy .section-title {
  font-size: 2.2rem;
  color: #063970;
  margin-bottom: 2rem;
}

.galleryy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 5 images per row desktop */
  gap: 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

.galleryy-grid img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 8px;
  transition: transform 0.3s;
}

.galleryy-grid img:hover {
  transform: scale(1.05);
}



/* Responsive */
@media (max-width: 1024px) {
  .galleryy-grid {
    grid-template-columns: repeat(3, 1fr); /* 3 per row on tablet */
  }
}

@media (max-width: 600px) {
  .galleryy-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 per row on mobile */
  }
  .galleryy-grid img {
    height: 160px;
  }
}



/* Services pages*/


.spine-surgery {
  max-width: 1200px;
  margin: auto;
  padding: 25px 60px; /* desktop spacing */
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.spine-surgery h1 {
  font-size: 32px;
  color: #063970;
  margin-bottom: 15px;
  line-height: 1.3;
  text-align: center;
}

.spine-surgery h2 {
  font-size: 24px;
  color: #0a5ca8;
  margin-top: 25px;
  margin-bottom: 10px;
}

.spine-surgery p {
  margin-bottom: 15px;
  font-size: 16px;
  line-height: 1.6;
  text-align: justify;
 
}

.images1 {
  display: flex;
  gap: 20px;
  margin: 20px 0;
  flex-wrap: wrap;
  justify-content: center;
  padding: 0 30px;
}

.images1 img {
  width: 100%;
  max-width: 500px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.spine-surgery ul {
  margin: 15px 0;
  padding-left: 40px;
}

.spine-surgery ul li {
  margin-bottom: 8px;
  font-size: 16px;
}

.spine-surgery .consult-btn {
  text-align: center;
  margin-top: 40px;
}

.spine-surgery .consult-btn a {
  display: inline-block;
  background: #063970;
  color: #fff;
  padding: 12px 25px;
  font-size: 18px;
  border-radius: 6px;
  text-decoration: none;
  transition: 0.3s ease;
}

.spine-surgery .consult-btn a:hover {
  background: #0a5ca8;
}

/* ✅ RESPONSIVE DESIGN */

/* Tablets */
@media (max-width: 992px) {
  .spine-surgery {
    padding: 20px 30px;
  }

  .spine-surgery h1 {
    font-size: 28px;
  }

  .spine-surgery h2 {
    font-size: 22px;
  }

  .images1 {
    padding: 0 15px;
    gap: 15px;
  }

  .images1 img {
    max-width: 100%;
  }
}

/* Mobiles */
@media (max-width: 576px) {
  .spine-surgery {
    padding: 15px 15px; /* side padding reduce */
  }

  .spine-surgery h1 {
    font-size: 24px;
  }

  .spine-surgery h2 {
    font-size: 20px;
  }

  .spine-surgery p,
  .spine-surgery ul li {
    font-size: 15px;
  }

  .images1 {
    flex-direction: column;
    align-items: center;
    padding: 0;
  }

  .spine-surgery .consult-btn a {
    font-size: 16px;
    padding: 10px 20px;
  }
}


/* Conditions pages*/

.backache-full {
  width: 100%;
  background: #fff;
  padding: 50px 30px;
  box-sizing: border-box;
}

.backache-full h1 {
  font-size: 36px;
  color: #0a5ca8;
  margin-bottom: 20px;
  text-align: center;
}

.backache-full h2 {
  font-size: 24px;
  color: #063970;
  margin: 25px 0 12px;
}

.backache-full p {
  font-size: 17px;
  line-height: 1.8;
  margin-bottom: 15px;
  color: #333;
}

.backache-full ul {
  padding-left: 30px;
  margin-bottom: 25px;
}

.backache-full ul li {
  margin-bottom: 10px;
  font-size: 16px;
  color: #444;
}

.backache-image {
  text-align: center;
  margin: 30px 0;
}

.backache-image img {
  width: 100%;
  max-width: 500px; /* ✅ smaller size */
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.consult-btn {
  text-align: center;
  margin-top: 30px;
}

.consult-btn a {
  display: inline-block;
  background: #0a5ca8;
  color: #fff;
  padding: 14px 32px;
  font-size: 18px;
  border-radius: 8px;
  text-decoration: none;
  transition: 0.3s ease;
}

.consult-btn a:hover {
  background: #063970;
}





/* ===== ABOUT SECTION ===== */
.about-section {
  padding: 3rem 1rem;
  background: #ffffff;
}

.about-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  gap: 2rem;
}

.about-text {
  flex: 1;
  margin-left: 10px;
}

.about-text h2 {
  font-size: 2.2rem;
  color: #063970;
  margin-bottom: 1rem;
}

.about-text p {
  max-width: 600px;   /* ✅ fixed width ki jagah max-width */
  font-size: 1rem;
  color: #374151;
  line-height: 1.7;
  text-align: justify;
}

/* Right Image */
.about-image {
  flex: 1;
  text-align: center;
}

.about-image img {
  width: 85%;
  max-width: 500px;   /* ✅ image resize limit */
  margin-left: auto;
  margin-right: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.1);
  transition: 0.3s ease;
}

.about-image img:hover {
  transform: scale(1.02);
}

/* Responsive Breakpoints */

/* Tablets (≤992px) */
@media (max-width: 992px) {
  .about-text h2 {
    font-size: 1.8rem;
  }
  .about-text p {
    font-size: 0.95rem;
  }
}

/* Mobile (≤900px) */
@media (max-width: 900px) {
  .about-container {
    flex-direction: column;
    text-align: center;
  }
  .about-text {
    margin-left: 0;
    margin-bottom: 1.5rem;
  }
  .about-text p {
    max-width: 100%;   /* ✅ full width on small devices */
  }
  .about-image img {
      width: 90%;
    margin-left: 0;
  
    display: block;
    margin: 0 auto;
  }
}


/* Small Mobile (≤576px) */
@media (max-width: 576px) {
  .about-section {
    padding: 2rem 1rem;
  }
  .about-text h2 {
    font-size: 1.5rem;
  }
  .about-text p {
    font-size: 0.9rem;
    line-height: 1.5;
  }
}