body{
  width: 100%;
  margin: 0 auto;
  /* background: linear-gradient(135deg, #d0e8ff, #c3f3e3); */
}
html{
 scroll-behavior: smooth;
}

/* header section css start` */
header {
  background-color: #67a3de;
  padding: 10px 0;
}

.ninty-width {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  width: 90%;
  max-width: 1300px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.logo-container {
  display: flex;
  align-items: center;
}

.logo-text h1,
.logo-text h3 {
  margin: 0;
  font-size: 1.8em;
  color: white;
  font-weight: 600;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.logo-text p {
  margin: 0;
  font-size: 1em;
  color: white;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.desktop-menu {
  display: flex;
  align-items: center;
  gap: 25px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.desktop-menu a {
  text-decoration: none;
  color: white;
  font-size: 18px;
  padding: 6px 10px;
  border-radius: 6px;
  transition: 0.3s ease;
  font-weight: 600; /* ✅ ADD THIS */
}

.desktop-menu a:hover {
  background-color: #4e88c6;
  color: white;
}
.desktop-menu a.active {
  background-color: #558cc4;
  color: white;
  font-weight: 600;
}

.getappoinment {
  height: 40px;
  min-width: 180px;
  border: none;
  border-radius: 20px;
  padding: 10px 20px;
  font-size: 16px;
  background-color: white;
  color: #0057ae;
  cursor: pointer;
  transition: background 0.3s ease;
}

.getappoinment:hover {
  background-color: #4e88c6;
  color: white;
}

#menu-toggle {
  display: none;
}

/* Optional mobile styles */
@media (max-width: 768px) {
  .desktop-menu {
    display: none;
  }

  #menu-toggle {
    display: block;
    background: none;
    font-size: 28px;
    border: none;
    color: white;
  }
}

/* header css ends   */footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 30px;
  padding: 40px 30px;
  background-color: #67a3de;
  color: white;
}

footer > div {
  flex: 1 1 200px;
  min-width: 200px;
}

footer h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: white;
  font-weight: 600;
}

footer p,
footer a {
  font-size: 15px;
  margin: 4px 0;
  text-decoration: none;
  color: white;
  line-height: 1.6;
}

footer a:hover {
  text-decoration: underline;
}

.contacts i {
  margin-right: 8px;
  color: white;
}

.followus i {
  font-size: 24px;
  color: white;
  margin-right: 12px;
  transition: color 0.3s ease;
}

.followus i:hover {
  color: #475f77;
}

.followus a {
  display: inline-block;
  margin-right: 10px;
}

@media (max-width: 768px) {
  footer {
    flex-direction: column;
    align-items: flex-start;
  }

  footer > div {
    width: 100%;
    margin-bottom: 20px;
  }

  .followus a {
    margin-bottom: 10px;
  }
}


/* bannercss start  */
.banner {
  position: relative;
  width: 90%;
  height: 550px;
  overflow: hidden;
  margin: 0 auto;
  margin-top: 30px;
}

.banner img.mySlides1 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;  /* Maintain aspect and fill without stretching */
  display: none;
}

/* banner css end  */
 
/* overlay banner css  */
  
.hero-section {
  background: linear-gradient(135deg,#67a3de, white);
  padding: 80px 40px;
  margin-top: 30px;
}

.hero-content {
  max-width: 1200px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  flex-wrap: wrap;
}

.hero-text {
  flex: 1;
  min-width: 300px;
}

.subtitle {
  font-size: 1.1rem;
  color: white;
  font-weight: 900;
  margin-bottom: 15px;
}

.headline {
  font-size: 2.8rem;
  line-height: 1.4;
  font-weight: 700;
  color: #1e1e1e;
}

.hero-form-container {
  flex: 1;
  min-width: 320px;
}

.consultation-form {
  background: #fff;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.consultation-form h2 {
  text-align: center;
  margin-bottom: 20px;
  font-size: 1.5rem;
  color: #222;
}

.form-group {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
}

.form-group input {
  flex: 1;
}

.consultation-form input,
.consultation-form textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 10px;
  font-size: 1rem;
}

.consultation-form button {
  width: 100%;
  padding: 12px;
  background-color: #67a3de;
  color: white;
  font-size: 1rem;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.consultation-form button:hover {
  background-color:  #1976d2;
}
/* overlay banner css  end  */




/* SUBHERO CSS START  */
.blissful-section {
  background-color: #f8f9fa;
  padding: 80px 20px;
  text-align: center;
}

.blissful-heading {
  font-size: 36px;
  font-weight: 700;
  color: #333;
  margin-bottom: 20px;
}

.blissful-text {
  font-size: 18px;
  color: #666;
  max-width: 700px;
  margin: 0 auto 40px auto;
  line-height: 1.6;
}

.btn-appointment {
  display: inline-block;
  padding: 15px 30px;
  background-color: #1976d2;
  color: #fff;
  font-size: 18px;
  border-radius: 25px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.btn-appointment:hover {
  background-color:  #0057ae;
}

/* SUB HERO CSS END  */
/* MAP CSS  */.attachments-title {
text-align: center;
margin-top: 40px;
font-size: 28px;
color: #67a3de ;
}

.branch-container {
display: flex;
align-items: flex-start;
justify-content: space-between;
gap: 20px;
margin: 40px auto;
max-width: 1200px;
flex-wrap: wrap;
}

.map-box, .text-box, .image-box {
flex: 1;
min-width: 280px;
}

.map-box iframe {
width: 100%;
height: 200px;
border-radius: 8px;
}

.text-box {
padding: 0 10px;
}

.text-box h3 {
color: #1976d2;
font-weight: 700;
margin-bottom: 8px;
}

.image-box img {
width: 100%;
max-width: 320px;
height: 250px;
border-radius: 8px;
}

.attachments-title {
  margin-top: 60px;
  text-align: center;
}

.hospital-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
  text-align: left;
  max-width: 600px;
}

.hospital-list li {
  font-size: 16px;
  margin-bottom: 12px;
  color: #222;
}

.hospital-list i {
  color: green;
  margin-right: 8px;
}


/* MAP CSS END  */
/* -----------------------------------
   ABOUT PAGE CSS - Clean and Responsive
------------------------------------ */

/* -----------------------------------
   ABOUT PAGE CSS - Final Responsive
------------------------------------ */

/* Doctor Intro Section */
.doctor-intro {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 40px;
  padding: 60px 40px;
  background: linear-gradient(135deg, #ffffff, #e0f7fa);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  max-width: 1200px;
  margin: 60px auto;
}

.doctor-left {
  flex: 1;
  min-width: 280px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.doctor-photo {
  width: 100%;
  max-width: 280px;
  height: auto;
  border-radius: 20px;
  border: 5px solid #fff;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.doctor-photo:hover {
  transform: scale(1.03);
}

.doctor-right {
  flex: 2;
  min-width: 280px;
  padding: 0 10px;
}

.doctor-right h2 {
  font-size: 28px;
  color: #023e8a;
  font-weight: 700;
  margin-bottom: 16px;
}

.doctor-right hr {
  width: 60px;
  height: 4px;
  background-color: #1976d2;
  border: none;
  border-radius: 3px;
  margin-bottom: 20px;
}

.doctor-right p {
  font-size: 16px;
  color: #444;
  line-height: 1.7;
  text-align: justify;
  margin-bottom: 20px;
}

.know-more-btn {
  display: inline-block;
  padding: 12px 24px;
  background-color: #1976d2;
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.know-more-btn:hover {
  background-color: #0a5cab;
}

/* Responsive Fix for Doctor Intro */
@media (max-width: 768px) {
  .doctor-intro {
    flex-direction: column;
    padding: 40px 20px;
    text-align: center;
  }

  .doctor-left,
  .doctor-right {
    width: 100%;
    max-width: 100%;
  }

  .doctor-photo {
    margin-bottom: 20px;
  }

  .doctor-right h2 {
    font-size: 22px;
  }

  .doctor-right p {
    font-size: 15px;
    line-height: 1.6;
    text-align: justify;
  }
}


/* About Premium Section */
.about-premium {
  padding: 80px 20px;
}

.premium-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: auto;
  background: #fff;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.premium-photo img {
  width: 300px;
  height: 300px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.premium-content {
  flex: 1;
  min-width: 280px;
}

.premium-content h2 {
  font-size: 32px;
  color: #023e8a;
  margin-bottom: 10px;
}

.premium-content h4 {
  font-size: 18px;
  color: #1976d2;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.premium-content p {
  font-size: 16px;
  color: #444;
  line-height: 1.8;
  margin-bottom: 25px;
  text-align: justify;
}

.doctor-facts {
  list-style: none;
  padding: 0;
  margin: 0 0 30px 0;
}

.doctor-facts li {
  font-size: 20px;
  margin: 10px 0;
  color: #333;
}

.doctor-facts i {
  color: #1976d2;
  margin-right: 10px;
}

.cta-button {
  display: inline-block;
  padding: 12px 25px;
  background-color: #1976d2;
  color: white;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.cta-button:hover {
  background-color: #0a5cab;
}

/* Responsive Fix for About Premium */
@media (max-width: 768px) {
  .premium-container {
    flex-direction: column;
    text-align: center;
    padding: 30px 20px;
  }

  .premium-photo img {
    width: 220px;
    height: 220px;
  }

  .premium-content h2 {
    font-size: 24px;
  }

  .premium-content p {
    font-size: 15px;
  }

  .doctor-facts li {
    font-size: 20px;
    text-align: left;
  }
}
/* about end  */
/* ===== SERVICE SECTION CSS START ===== */

/* Base styles */
.services-container {
  max-width: 1200px;
  margin: 40px auto;
  padding: 20px;
}

.section-title21 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 10px;
  color: #558cc4;
}

.section-subtitle {
  text-align: center;
  color: #666;
  margin-bottom: 30px;
}

.tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.tab {
  padding: 10px 20px;
  border: 2px solid #67a3de;
  border-radius: 30px;
  background: white;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.tab.active {
  background:#558cc4;
  color: white;
}

.tab-content {
  display: none;
  animation: fadeIn 0.3s ease-in-out;
}

.tab-content.active {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  padding: 20px;
}

.tab-content.active p,
.tab-content.active h4 {
  color: black;
  text-align: left justify;
}

/* Flip Card Styles */
.service-card {
  background: transparent;
  perspective: 1000px;
  width: 100%;
  max-width: 250px;
  height: 220px;
  margin: 0 auto;
  position: relative;
  cursor: pointer;
}

.flip-inner {
  width: 100%;
  height: 100%;
  transition: transform 0.6s ease;
  transform-style: preserve-3d;
  transform-origin: center center;
  position: relative;
}

.service-card.flipped .flip-inner {
  transform: rotateY(180deg);
}

.card-front,
.card-back {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 15px;
  box-sizing: border-box;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

.card-front {
  background-color: #fff;
  color: black;
  z-index: 2;
}

.card-back {
  background-color: #67a3de;
  color: white;
  transform: rotateY(180deg);
}

/* Icon and Text */
.card-front i {
  font-size: 1.8rem;
  color: #67a3de;
  margin-bottom: 8px;
}

.card-front h4,
.card-back p {
  font-size: 15px;
  padding: 0 10px;
  text-align: center;
  color: white;
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 480px) {
  .services-container {
    padding-left: 10px;
    padding-right: 10px;
    box-sizing: border-box;
  }

  .tabs {
    flex-direction: row !important;
    justify-content: center !important;
    gap: 10px;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .tab {
    flex: 0 0 auto;
    min-width: 120px;
    text-align: center;
  }

  .tab-content.active {
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 50px;
    width: 100%;
    margin: 40px 0;
    min-height: auto;
    padding: 0 10px;
    box-sizing: border-box;
  }

  .service-card {
    max-width: 250px;
    height: 220px;
    margin: 20px auto;
  }

  .card-front i {
    font-size: 2rem;
  }

  .card-front h4,
  .card-back p {
    font-size: 16px;
  }
}

/* ===== SERVICE SECTION CSS END ===== */


/* service page css end   */

/* reviews page start  */
.testimonials {
  padding: 50px 20px;
  background-color: #f9fbfb;
  text-align: center;
}

.section-title {
  font-size: 28px;
  color: #1976d2;
  margin-bottom: 30px;
}

.testimonials-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  border-radius: 15px;
  padding: 25px;
  width: 300px;
  box-shadow: 0 0 10px rgba(0,0,0,0.08);
  text-align: left;
}
.testimonial-card p {
  text-align: justify;
}

.testimonial-card.center {
  text-align: center;
}

.testimonial-card img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  margin-bottom: 15px;
  object-fit: cover;
}

.testimonial-card h4 {
  font-weight: bold;
  margin-top: 10px;
}

.stars {
  color: orange;
  margin-top: 10px;
}

.review-footer {
  margin-top: 40px;
}

.social-icons a {
  margin: 0 10px;
  font-size: 20px;
  background: #1976d2;
  color: white;
  padding: 10px;
  border-radius: 5px;
}


/* reviews page end  */


/* gallery css  */
.gallery-section {
  padding: 60px 20px;
  background-color: #f9f9f9;
  text-align: center;
}

.gallery-title {
  font-size: 32px;
  color: #558cc4;
  margin-bottom: 40px;
  font-weight: bold;
  text-transform: uppercase;
}

.gallery-clean-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  max-width: 1200px;
  margin: 0 auto;
}

.gallery-item {
  overflow: hidden;
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.gallery-item:hover img {
  transform: scale(1.02);
}

/* blogs */
/* Blog Section Styling */
.blog-section {
  padding: 60px 20px;
  background-color: #fefefe;
  text-align: center;
}

.section-title1 {
  font-size: 2.5em;
  margin-bottom: 50px;
  color: #558cc4;
}

.blog-entry {
  max-width: 800px;
  margin: 50px auto;
  background-color: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  padding-bottom: 30px;
  text-align: left;
}

.blog-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.blog-title {
  font-size: 1.8em;
  margin: 20px 25px 10px;
  color: #222;
}

.blog-description {
  font-size: 1.05em;
  margin: 0 25px;
  color: #555;
  line-height: 1.6;
}

/* Accordion Button Styling */
.accordion-btn {
  margin: 20px 0;
  padding: 10px;
  font-size: 1.1em;
  background-color: #67a3de;
  color: white;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  border-radius: 5px;
  transition: background-color 0.3s;
}

.accordion-btn i {
  margin-left: 10px;
}



/* Accordion Content Styling */
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  margin: 0 25px;
  padding: 0 0;
  font-size: 1.05em;
  color: #555;
  line-height: 1.6;
}
.accordion-content p{
 overflow-x: hidden; /* prevent horizontal scroll */
  overflow-y: auto;   /* allow vertical scroll */
  text-align: justify;
}

.accordion-content.open {
  padding: 15px 0;
  max-height: 300px; /* or any fixed height you prefer */
  overflow-y: auto;
  overflow-x: hidden;
  opacity: 1;
}
.accordion-content.open::-webkit-scrollbar {
  width: 6px;
}

.accordion-content.open::-webkit-scrollbar-thumb {
  background-color: #ccc;
  border-radius: 4px;
}

.Faq-section {
  max-width: 900px;
  margin: 80px auto;
  padding: 50px 30px;
  background: #f9f9f9;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.Faq-section h2 {
  font-size: 34px;
  color: #67a3de;
  margin-bottom: 35px;
  font-weight: 700;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.faq-item {
  margin-bottom: 22px;
  text-align: left;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.05);
}

.faq-question {
  width: 100%;
  background: #67a3de;
  color: #fff;
  font-weight: 600;
  font-size: 18px;
  padding: 16px 20px;
  border: none;
  text-align: left;
  cursor: pointer;
  transition: background 0.3s ease;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.faq-question:hover {
  background: #356596;
}

.faq-answer {
  display: none;
  padding: 16px 20px;
  background: #fff;
  border-left: 4px solid #67a3de;
  animation: fadeIn 0.3s ease;
  font-size: 16px;
  line-height: 1.6;
  color: #333;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .Faq-section {
    padding: 30px 20px;
  }

  .faq-question {
    font-size: 16px;
    padding: 14px 16px;
  }

  .faq-answer {
    font-size: 15px;
    padding: 14px 16px;
  }
}
.contacts i {
  margin-right: 8px;
  color: white;
}
