/* ===== FIX HORIZONTAL SCROLL ===== */
html,
body {
  overflow-x: hidden;
}

/* ===== GLOBAL ===== */
body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background: #fff;
}


h1, h2, h3, h4, h5, h6 {
  font-family: 'Lato', sans-serif;
}

p {
  font-size: 18px !important;
  color: #515151 !important;
}

ul {
  font-size: 18px !important;
  color: #515151 !important;
}
/* ================= TOP HEADER ================= */
.top-header {
  /* background: #f8f9fa; */
  padding: 8px 0;
  border-bottom: 1px solid #eee;
}

.top-container{
  background-color: #fff;
  height: 55px;
  /* padding-top: 100px; */
  margin-left: 20px;
}

/* CONTACT LIST */
.top-contact {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
  /* ✅ responsive */
}

/* EACH ITEM */
.top-contact li {
  display: flex;
  align-items: center;
  position: relative;
}

/* LINKS */
.top-contact li a {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #1f7a99;
  font-weight: 500;
}

/* ICON */
.top-contact i {
  margin-right: 6px;
  font-size: 18px;
  color: #1f7a99;
}

/* TEXT */
.top-contact span {
  font-size: 20px;
}

/* SEPARATOR */
.top-contact li:not(:last-child)::after {
  content: "|";
  margin-left: 12px;
  color: #ccc;
}

/* ================= SOCIAL ================= */

/* ===== SOCIAL WRAPPER ===== */
.top-social {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 25px;
  margin-right: 30px;
}

/* CIRCLE */
.circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  /* 🔥 important */
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  transition: 0.3s;
}

/* ICON LINK */
.circle a {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 15px;
}

/* FACEBOOK */
.circle .facebook {
  color: #1877f2;
}

/* INSTAGRAM */
.circle .instagram {
  color: #e1306c;
}

/* HOVER */
.circle:hover {
  transform: scale(1.2);
  
  /* background: #1f7a99; */
}

.circle:hover a {
  color: #fff !important;
}

@media (max-width: 768px) {

  .top-header {
    display: none;
  }

  .top-container {
    display: none;   /* 🔥 REMOVE SPACE COMPLETELY */
  }

}


}


/* navbar should stick top of thr screen after scrolling down til top header. and in laptop view not menu button suppose to display.in laptop view navbar menu names should display */

/* ================= NAVBAR ================= */
.custom-navbar {
  background: #1f7a99;
  padding: 10px 0;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  font-size: 12px;
}

/* ✅ SMALL LAPTOP / TABLET VIEW (1024px to 1200px) */
@media (max-width: 1200px) and (min-width: 992px) {
  .logo-box {
    width: 200px !important;
    height: 75px !important;
    padding: 10px !important;
  }
  
  .logo-box img {
    height: 55px !important;
  }

  .navbar-nav .nav-link {
    font-size: 14px !important;
    padding: 8px 4px !important;
  }

  .navbar-nav {
    gap: 4px !important;
  }

  .appointment-btn {
    font-size: 15px !important;
    padding: 8px 14px !important;
    margin-right: 5px !important;
  }
}


.logo-box {
  background: #fff;
  width: 240px;
  /* control white space */
  padding: 15px;
  height: 85px;
  clip-path: polygon(0 0, 85% 0, 100% 100%, 0 100%);


}

/* REMOVE ALL SPACE FROM NAVBAR */
.custom-navbar {
  background-color: #2b7a8f;
  padding: 0;
}


/* NAVBAR ALIGN */
.navbar {
  align-items: center;
}

/* LOGO */
.logo-box img {
  height: 70px;
  max-width: 100%;
  display: block;
}

/* MENU CENTER DESKTOP */
.navbar-nav {
  gap: 10px;
}

/* MENU LINKS */
.navbar-nav .nav-link {
  color: #fff;
  font-weight: 500;
  font-size: 16px;
  padding: 10px;
  white-space: nowrap;
}

.navbar-nav .nav-link:hover {
  color: #e0e0e0;
}

/* BUTTON */
.appointment-btn {
  background: linear-gradient(to right, #0f9d4d, #0b7a3a);
  color: #fff;
  padding: 10px 22px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 500;
  display: inline-block;
  text-align: center;
  line-height: 1.2;
  font-size: 18px;
}

.appointment-btn:hover {
  color: #fff;
}

/* TOGGLER ICON FIX */
.navbar-toggler {
  border: none;
}

.navbar-toggler:focus {
  box-shadow: none;
}

/* Make navbar stick BELOW top header */
.custom-navbar {
  /* position: sticky;
  top: 50px; */
  /* adjust based on your top-header height */
  z-index: 999;
}

.fixed-navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 999;
}

/* prevent content jump */
.nav-fixed {
  padding-top: 80px; /* same as navbar height */
}


.dropdown-item:hover{

  background-color: #1f7a99;
}

/* SHOW DROPDOWN ON HOVER */
.navbar .dropdown:hover .dropdown-menu {
  display: block;
  margin-top: 0;
}

/* SMOOTH EFFECT */
.dropdown-menu {
  transition: 0.3s;
}

/* OPTIONAL: remove arrow click feel */
.dropdown-toggle::after {
  pointer-events: none;
}



/* DEFAULT COLOR */
.navbar .nav-link {
  color: white;
}

/* ACTIVE COLOR */
.navbar .nav-link.active {
  color: black !important;
  font-weight: 600;
}



@media(max-width:1024px) {
  .custom-navbar {
    background: #1f7a99;
    padding: 10px 0;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    font-size: 10px;
  }

  .navbar-nav {
    gap: 3px;
  }

}

/* ================= MOBILE ================= */


@media (max-width: 992px) {

  .logo-box {
    clip-path: none;
    padding: 10px;
    width: 280px;
    padding: 15px;
    clip-path: polygon(0 0, 85% 0, 100% 100%, 0 100%);
  }
}

.navbar-collapse {
  background: #1f7a99;
}

.navbar-nav {
  text-align: center;
}

.appointment-btn {
  display: block;
  margin: 15px auto;
}




/* ================= SMALL MOBILE ================= */
@media (max-width: 576px) {

  .logo-box img {
    height: 50px;
  }

  .logo-box {
    width: 180px;
    height: 70px;
    padding: 10px;
    clip-path: polygon(0 0, 90% 0, 100% 100%, 0 100%);
  }

  .appointment-btn {
    font-size: 14px;
    padding: 8px 18px;
  }
}


@media (max-width: 425px) {

  .logo-box img {
    height: 50px;
  }

  .logo-box {
    width: 175px;
    height: 50px;
    padding: 15px;

    clip-path: polygon(0 0, 85% 0, 100% 100%, 0 100%);
  }

  .appointment-btn {
    font-size: 14px;
    padding: 8px 18px;
  }
}



@media (max-width: 375px) {

  .logo-box img {
    height: 50px;
  }

  .logo-box {
    width: 175px;
    height: 50px;
    padding: 15px;

    clip-path: polygon(0 0, 85% 0, 100% 100%, 0 100%);
  }

  .appointment-btn {
    font-size: 14px;
    padding: 8px 18px;
  }
}

@media (max-width: 320px) {

  .logo-box img {
    height: 50px;
  }

  .logo-box {
    width: 175px;
    height: 50px;
    padding: 15px;

    clip-path: polygon(0 0, 85% 0, 100% 100%, 0 100%);
  }

  .appointment-btn {
    font-size: 14px;
    padding: 8px 18px;
  }
}



/* ================= FOOTER ================= */
.main-footer {
  background: linear-gradient(to right, #0f4c75, #0a3d62);
  color: #fff;
  padding: 10px 0 0;
}



/* ===== CONTACT ROW ===== */
.contact-row {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  text-align: center;
  gap: 20px;
  padding: 40px 0;
  position: relative;
}

/* HORIZONTAL LINE */
.contact-row::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 5%;
  width: 90%;
  height: 1px;
  background: rgba(255, 255, 255, 0.4);
}

/* ===== CONTACT BOX ===== */
.contact-box {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  position: relative;
  padding: 10px;
}

/* ICON */
.contact-box i {
  font-size: 20px;
  background: #e6eef2;
  color: #1f7a99;
  width: 55px;
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: 0.3s;
}

/* TEXT */
.contact-box p {
  margin: 0;
  color: #fff;
  font-weight: 500;
  font-size: 18px;
}

/* VERTICAL LINE */
.contact-box:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: rgba(255, 255, 255, 0.4);
}

/* HOVER */
.contact-box:hover i {
  background: #1f7a99;
  color: #fff;
  transform: scale(1.1);
}


/* 📱 TABLET (2 per row) */
@media (max-width: 992px) {
  .contact-row {
    flex-wrap: wrap;
    justify-content: center;
  }

  .contact-box {
    flex: 0 0 48%;
  }

  .contact-box::after {
    display: none;
  }

  .contact-row::after {
    display: none;
  }
}


@media (max-width: 576px) {
  .contact-row {
    flex-direction: column;
    gap: 25px;
  }

  .contact-box {
    width: 100%;
    align-items: flex-start;
  }

  .contact-box,
  .contact-box a {
    display: flex;
    flex-direction: row;   /* 🔥 better mobile layout */
    justify-content: flex-start;
    align-items: center;
    text-align: left;
    gap: 15px;
    width: 100%;
    text-decoration: none;
  }

  .contact-box i {
    width: 45px;
    height: 45px;
    font-size: 18px;
  }

  .contact-box p {
    font-size: 14px;
    
  }
}

/* FOOTER CONTENT */
.footer-content h5 {
  font-weight: 600;
  margin-bottom: 15px;
}

.footer-logo {
  width: 200px;
  background: #fff;
  padding: 5px;
}

/* LINKS */
.footer-content ul {
  list-style: none;
  padding: 0;
}

.footer-content ul li {
  margin-bottom: 8px;
}

.footer-content ul li a {
  color: #fff;
  text-decoration: none;
}

/* SOCIAL LINKS */
.footer-content p a {
  color: #fff;
  text-decoration: none;
}

.footer-content p i {
  margin-right: 8px;
}

/* MAP */
.footer-content iframe {
  width: 100%;
  height: 180px;
  border: 0;
  border-radius: 5px;
}

/* BOTTOM */
.footer-bottom {
  background: #062f4f;
  padding: 15px;
  text-align: center;
  margin-top: 20px;
}

.footer-bottom a {
  color: #00c3ff;
  text-decoration: none;
}

.contact-box i:hover {
  background: #1f7a99;
  color: #fff;
  transition: 0.3s;
}

/* ================= MOBILE FIX ================= */
@media (max-width: 992px) {

  /* KEEP FOOTER LEFT ALIGNED */
  .footer-content {
    text-align: left;
  }

  /* QUICK LINKS LEFT */
  .footer-content ul {
    text-align: left;
    padding-left: 0;
  }

  .footer-content ul li {
    text-align: left;
  }

  /* SOCIAL LINKS LEFT */
  .footer-content p {
    text-align: left;
  }

  /* LOGO CENTER ONLY */
  .footer-logo {
    display: block;
    margin: 0 0 15px 0;
    /* left aligned */
  }

  /* COLUMN SPACING */
  .footer-content .col-md-6,
  .footer-content .col-lg-3 {
    margin-bottom: 25px;
  }

  /* MAP */
  .footer-content iframe {
    width: 100%;
    height: 180px;
    margin-top: 10px;
  }
}





/* ===== ABOUT SECTION ===== */


.contact-box {
  display: flex;
  align-items: center;
  flex-direction: row;
  gap: 12px;
}

.contact-box i {
  width: 45px;
  height: 45px;
  background: #e6f0f5;
  color: #097DA9;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.contact-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.2;
}

/* .contact-box .contact-text small {
  font-size: 20px;
  color: #097DA9;
} */

.contact-box .contact-text p {
  font-size: 16px;
  color: #000;
  margin: 0;
}


.about-section {
  padding: 60px 30px;
  padding-left: 10px;
}

/* IMAGE */
.about-img {
  width: 400px;
  height: 400px;
  object-fit: cover;
  border-radius: 6px;
}

/* BUTTON + CONTACT */
.btn-contact {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-top: 20px;
  font-size: 14px;
}


/* ===== ACTION ROW ===== */
.action-box {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}



/* ===== BUTTON ===== */
.read-btn {
  background: linear-gradient(to right, #0a7d3b, #064721);
  color: #fff;
  padding: 12px 26px;
  border-radius: 30px;
  text-decoration: none;
  font-size: 16px;
  white-space: nowrap;
}




/* TABLET (768–1024 SAME VIEW) */
@media (max-width: 1024px) {
  .action-box {
    flex-direction: row;
    /* ✅ keep same */
    align-items: center;
    gap: 15px;
  }
}


/* RIGHT CONTENT */
.info-box {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.icon-box {
  width: 55px;
  height: 55px;
  background: #eef4f7;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #097DA9;
  font-size: 22px;
}

.left-box p {
  font-size: 16px;
  color: #706b6b;
  margin-left: 10px;
}

.right-box p {
  font-size: 16px;
  color: #706b6b;
}

.right-box {
  font-size: 16px;
  color: #706b6b;
}




/* ✅ TABLET VIEW CENTER ALIGN */
@media (max-width: 1024px) and (min-width: 768px) {

  .left-box {
    text-align: center;
    margin: 0 auto;
  }

  .left-box p {
    text-align: center;
  }

  .action-box {
    justify-content: center;
    /* center button + contact */
  }

  .contact-box {
    justify-content: center;
  }
}





/* ========================= */
/* ✅ TABLET VIEW (IMPORTANT) */
/* ========================= */

@media (max-width: 992px) {

  /* 🔥 FIRST ROW: TEXT + IMAGE */
  .left-box {
    order: 1;
  }

  .image-box {
    order: 2;
  }

  /* 🔥 SECOND ROW: CONTENT FULL WIDTH */
  .right-box {
    order: 3;
    margin-top: 30px;
    text-align: center;
  }

  .info-box {
    justify-content: center;
    text-align: left;
  }

  .btn-contact {
    justify-content: center;
    flex-wrap: wrap;
  }

  .contact-box {
    display: flex;
    justify-content: center;
    align-items: center;

  }
}



/* ========================= */
/* ✅ MOBILE VIEW */
/* ========================= */

@media (max-width: 768px) {

  .about-section {
    padding: 40px 15px;
    text-align: center;
  }

  .btn-contact {
    flex-direction: row;
    align-items: center;
  }

  .image-box {
    margin: 10px 0;
    height: 320px;
  }

  .info-box {
    display: flex;
    align-items: flex-start;
    /* ✅ align top */
    justify-content: flex-start;
    /* ✅ align left */
    gap: 15px;
    margin-top: 20px;
    text-align: left;
    /* ✅ force left text */
  }

  /* Remove any center alignment */
  .right-box {
    text-align: left;
  }

  /* Icon box */
  .icon-box {
    min-width: 55px;
    /* prevents shifting */
    height: 55px;
    background: #eef4f7;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #097DA9;
    font-size: 22px;
  }
}


@media (max-width: 375px) {
  .image-box {
    margin: 10px 0;
    height: 200;
  }

}





/* ===== HERO SECTION ===== */


.hero-section {
  width: 100%;
  min-height: auto;
  /* 🔥 increased */
  overflow: hidden;
  padding-top: 50px;
  padding-bottom: 50px;
  background: #f8f9fa;
}

/* REMOVE BOOTSTRAP GAP */
.hero-section .row {
  margin: 0;
  /* padding: 30px; */
}

.hero-section .col-lg-4,
.hero-section .col-lg-8 {
  padding: 0 !important;
  
}

.hero-img {
  width: 100%;
  height: 100%;
  min-height: 500px;
  object-fit: cover;
  display: block;
}


.hero-right {
  position: relative;
  padding: 40px 20px;
  min-height: 500px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* DEPARTMENT SECTION */
.department-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding-top: 20px;
}

/* WATERMARK CENTER */
.watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: clamp(40px, 10vw, 100px);
  color: rgba(0, 0, 0, 0.05);
  z-index: 0;
  white-space: nowrap;
  pointer-events: none;
}

/* SUB TITLE */
.sub-title {
  color: green;
  font-weight: 600;
  display: block;
  margin-bottom: 5px;
}

/* MAIN TITLE */
.main-title {
  font-size: clamp(24px, 4vw, 42px);
  color: #097DA9;
  font-weight: bold;
}

/* DIVIDER CENTER */
.divider {
  width: 100px;
  height: 2px;
  background: #ccc;
  margin: 15px auto 25px;
}

/* TEXT */
.desc, .desc-marathi {
  font-size: 16px;
  color: #515151;
  margin-bottom: 10px;
}

/* CONTACT CENTER */
.hero-right .contact-row {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 20px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

/* CONTACT BOX */
.hero-right .contact-box {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  background: rgba(255, 255, 255, 0.8);
  padding: 10px 20px;
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.hero-right .contact-box i {
  font-size: 20px;
  color: #1f7a99;
  width: 45px;
  height: 45px;
  background: #eef4f7;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ICON STYLE */
.contact-box .icon {
  width: 50px;
  height: 50px;
  background: #e6f0f5;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

/* 🔥 CONTACT BOX HORIZONTAL */
.contact-box.horizontal {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ICON */
.contact-box.horizontal i {
  width: 45px;
  height: 45px;
  background: #e6f0f5;
  color: #097DA9;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  /* prevent shrinking */
}

/* TEXT */
.contact-box.horizontal .contact-text small {
  display: block;
  font-size: 13px;
  color: #666;
}

.contact-box.horizontal .contact-text strong {
  font-size: 16px;
  color: #000;
}



/* SLIDER */
.slider-container {
  position: relative;
  bottom: 0;
  right: 0;
  width: 100%;
  height: auto;
  overflow: hidden;
  transform: none;
}

/* SLIDER TRACK */
.slider {
  display: flex;
  gap: 15px;
  transition: 0.5s;
  height: auto;
  width: max-content;
}

/* CARD */
.card-box {
  /* min-width: 250px; */
  height: 100%;
  background: #f5f5f5;
  border-radius: 20px;
  overflow: hidden;
  min-width: 230px;
  flex-shrink: 0;
  text-align: left;
  flex: 0 0 auto;
  flex: 0 0 260px;
  /* 🔥 SHADOW */
  box-shadow: 0 8px 25px rgba(100, 99, 99, 0.15);
  transition: 0.3s;
  display: flex;
  flex-direction: column;

}



.content {
  padding-left: 10px;
  flex: 1;   /* 🔥 makes all cards equal */
  display: flex;
  flex-direction: column;
}

.card-box:hover {
  transform: translateY(-8px);
  background-color: #bde9f7;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}


/* .card-box {
  flex: 0 0 auto;
  /* 🔥 fixed width */
  width: 200px;
  /* must match design */
} */

.card-box h5 {
  color: #097DA9;
}

.card-box p {
  flex-grow: 1;   /* pushes content evenly */
}


/* IMAGE */

.card-box img {
  width: 100%;
  height: 180px;   /* 🔥 fixed height */
  object-fit: cover;
}

/* BUTTONS */
.prev,
.next {
  position: absolute;
  top: 45%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  border: none;
  padding: 10px;
  border-radius: 50%;
}

.prev {
  left: 10px;
}

.next {
  right: 10px;
}

/* Tablet */
@media (max-width: 768px) {
  .card-box {
    flex: 0 0 48%;
    max-width: 48%;
  }
}

/* Mobile */
@media (max-width: 480px) {
  .card-box {
    flex: 0 0 85%;
    max-width: 85%;
  }
}


/* ================= MOBILE FIX ================= */
@media (max-width: 768px) {

  /* ===== HERO LAYOUT ===== */
  .hero-section .row {
    display: flex;
    flex-direction: column;
  }

  .hero-right {
    order: 1;
    height: auto;
    padding: 30px 15px;
  }

  .hero-img {
    order: 2;
    height: 250px;
    width: 85%;
    margin: 20px auto;
    display: block;
    border-radius: 10px;
  }

  /* ===== TEXT FIX ===== */
  .main-title {
    font-size: 24px;
  }

  .divider {
    width: 90%;
  }

  .contact-row {
    gap: 20px;
    flex-wrap: wrap;
  }




  /* ================= TABLET (≤ 768px) ================= */
@media (max-width: 768px) {

  /* WATERMARK FIX */
  .watermark {
    font-size: 60px;
    top: 20px;
  }

  /* CONTENT SPACING */
  .department-content {
    padding-top: 40px;   /* 🔥 reduce large gap */
    max-width: 100%;
    text-align: center;
  }

  /* TITLE */
  .main-title {
    font-size: 26px;
    line-height: 1.3;
  }

  /* DIVIDER */
  .divider {
    width: 80%;
    margin: 15px auto;
  }

  /* TEXT */
  .desc,
  .desc-marathi {
    font-size: 14px;
    text-align: center !important;
  }

  /* CONTACT */
  .hero-right .contact-row {
    flex-direction: column;   /* 🔥 stack vertically */
    align-items: center;
    gap: 15px;
  }

  .hero-right .contact-box {
    justify-content: center;
    text-align: center;
  }

  /* SLIDER FIX */
  .slider {
    overflow-x: auto;
    width: 100%;
    scroll-snap-type: x mandatory;
  }

  .card-box {
    flex: 0 0 70%;
    max-width: 70%;
    scroll-snap-align: start;
  }

  .prev,
  .next {
    display: none;
  }
}

@media (max-width: 480px) {

  .watermark {
    font-size: 40px;
  }

  .main-title {
    font-size: 22px;
  }

  .desc,
  .desc-marathi {
    font-size: 13px;
  }

  .card-box {
    flex: 0 0 85%;
    max-width: 85%;
  }

  .card-box img {
    height: 150px;
  }

}






  /* ===== SLIDER FIX ===== */
  .slider-container {
    position: relative;
    /* 🔥 remove absolute */
    height: auto;
    transform: none;
    /* 🔥 remove shift */
    margin-top: 30px;
  }

  .slider {
    overflow-x: auto;
    /* 🔥 horizontal scroll */
    width: 100%;
    height: auto;
    scroll-snap-type: x mandatory;
  }

  .card-box {
    flex: 0 0 48%;
    /* 🔥 2 cards */
    max-width: 48%;
    min-width: unset;
    scroll-snap-align: start;
  }

  .card-box img {
    height: 160px;
  }

  /* hide arrows */
  .prev,
  .next {
    display: none;
  }
}



/* SLIDER */
.slider-container {
  position: relative;
  bottom: 0;
  right: 0;
  width: 100%;
  height: auto;
  overflow: hidden;
  transform: none;
}

/* SLIDER TRACK */
.slider {
  display: flex;
  gap: 15px;
  transition: 0.5s;
  height: auto;
  width: max-content;
}

/* CARD */
.card-box {
  /* min-width: 250px; */
  height: 100%;
  background: #f5f5f5;
  border-radius: 20px;
  overflow: hidden;
  min-width: 230px;
  flex-shrink: 0;
  text-align: left;
  flex: 0 0 auto;
  flex: 0 0 260px;
  /* 🔥 SHADOW */
  box-shadow: 0 8px 25px rgba(100, 99, 99, 0.15);
  transition: 0.3s;
  display: flex;
  flex-direction: column;

}



.content {
  padding-left: 10px;
  flex: 1;   /* 🔥 makes all cards equal */
  display: flex;
  flex-direction: column;
}

.card-box:hover {
  transform: translateY(-8px);
  background-color: #bde9f7;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}


.card-box {
  flex: 0 0 auto;
  /* 🔥 fixed width */
  width: 200px;
  /* must match design */
}

.card-box h5 {
  color: #097DA9;
}

.card-box p {
  flex-grow: 1;   /* pushes content evenly */
}


/* IMAGE */

.card-box img {
  width: 100%;
  height: 180px;   /* 🔥 fixed height */
  object-fit: cover;
}

/* BUTTONS */
.prev,
.next {
  position: absolute;
  top: 45%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  border: none;
  padding: 10px;
  border-radius: 50%;
}

.prev {
  left: 10px;
}

.next {
  right: 10px;
}

/* Tablet */
@media (max-width: 768px) {
  .card-box {
    flex: 0 0 48%;
    max-width: 48%;
  }
}

/* Mobile */
@media (max-width: 480px) {
  .card-box {
    flex: 0 0 85%;
    max-width: 85%;
  }
}


/* ================= MOBILE FIX ================= */
@media (max-width: 768px) {

  /* ===== HERO LAYOUT ===== */
  .hero-section .row {
    display: flex;
    flex-direction: column;
  }

  .hero-right {
    order: 1;
    height: auto;
    padding: 30px 15px;
  }

  .hero-img {
    order: 2;
    height: 250px;
    width: 85%;
    margin: 20px auto;
    display: block;
    border-radius: 10px;
  }

  /* ===== TEXT FIX ===== */
  .main-title {
    font-size: 24px;
  }

  .divider {
    width: 90%;
  }

  .hero-right .contact-row {
    gap: 20px;
    flex-wrap: wrap;
  }

  /* ===== SLIDER FIX ===== */
  .slider-container {
    position: relative;
    /* 🔥 remove absolute */
    height: auto;
    transform: none;
    /* 🔥 remove shift */
    margin-top: 30px;
  }

  .slider {
    overflow-x: auto;
    /* 🔥 horizontal scroll */
    width: 100%;
    height: auto;
    scroll-snap-type: x mandatory;
  }

  .card-box {
    flex: 0 0 48%;
    /* 🔥 2 cards */
    max-width: 48%;
    min-width: unset;
    scroll-snap-align: start;
  }

  .card-box img {
    height: 160px;
  }

  /* hide arrows */
  .prev,
  .next {
    display: none;
  }
}



/* ===== SLIDER CONTAINER ===== */
.slider-container {
  position: relative;
  width: 100%;
  overflow: hidden;
}

/* ===== SLIDER TRACK ===== */
.slider {
  display: flex;
  gap: 15px;
  transition: 0.5s;
  width: max-content;
  align-items: stretch;   /* 🔥 equal height fix */
}

/* ===== CARD ===== */
.card-box {
  flex: 0 0 260px;   /* 🔥 fixed width */
  max-width: 260px;
  background: #f5f5f5;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(100, 99, 99, 0.15);
  transition: 0.3s;
  display: flex;
  flex-direction: column;
  height: 495px;
}

/* HOVER */
.card-box:hover {
  transform: translateY(-8px);
  background-color: #bde9f7;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}

/* ===== IMAGE ===== */
.card-box img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

/* ===== CONTENT ===== */
.content {
  padding: 15px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* TITLE */
.card-box h5 {
  color: #097DA9;
  min-height: 50px;   /* 🔥 equal title height */
  font-size: 25px;
}

/* TEXT */
.card-box p {
  flex-grow: 1;   /* 🔥 equal content height */
  font-size: 16px;
  color: #515151;
}

/* ===== BUTTONS ===== */
.prev,
.next {
  position: absolute;
  top: 45%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  border: none;
  padding: 10px;
  border-radius: 50%;
  cursor: pointer;
}

.prev { left: 10px; }
.next { right: 10px; }



/* ===== TABLET ===== */
@media (max-width: 768px) {

  .slider {
    overflow-x: auto;
    width: 100%;
    scroll-snap-type: x mandatory;
  }

  .card-box {
    flex: 0 0 48%;
    max-width: 48%;
    scroll-snap-align: start;
    
  }

  .card-box img {
    height: 160px;
  }

  .prev,
  .next {
    display: none;
  }
}



/* ===== MOBILE ===== */
@media (max-width: 480px) {

  .card-box {
    flex: 0 0 85%;
    max-width: 85%;
  }
}


/* ================= SMALL MOBILE ================= */
@media (max-width: 480px) {

  .card-box {
    flex: 0 0 85%;
    /* 🔥 1 card */
    max-width: 85%;
  }

  .hero-img {
    width: 90%;
  }
}



/* FACILITIES SECTION */
.facilities {
  background: #f8f9fa;
  padding-top: 100px;
}

/* WATERMARK */
.facilities-watermark {
  position: absolute;
  top: -20px;
  left: 90px;
  font-size: 100px;
  color: rgba(0, 0, 0, 0.05);
  z-index: 0;
}

/* TITLE */
.main-title {
  font-weight: 600;
  color: #1f7a99;
  font-size: 30px;
}

/* LINE */
.divider-facilities {
  width: 500px;
  height: 2px;
  background: #b4c5b8;
}

/* IMAGE */
.doctor-img {
  max-height: 200px;
}

/* CARD */
.facility-box {
  background: #c8eef0;
  padding: 25px 15px;
  border-radius: 10px;
  transition: 0.3s;

}


/* HOVER → CIRCLE EFFECT ONLY */
.icon-circle:hover {
  background: #0b7a3a;
  animation: heartbeat 1.5s infinite;
  /* slower */
  transition: 0.3s ease;
}



/* HEARTBEAT ANIMATION (WHOLE CIRCLE) */
@keyframes heartbeat {
  0% {
    transform: scale(1);
  }

  20% {
    transform: scale(1.08);
  }

  40% {
    transform: scale(1);
  }

  60% {
    transform: scale(1.08);
  }

  100% {
    transform: scale(1);
  }
}



/* ICON CIRCLE */

.icon-circle {
  width: 90px;
  height: 90px;
  background: #1f7a99;
  border-radius: 50%;
  margin: 0 auto 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-circle i {
  color: #fff;
  font-size: 35px;
}


/* TEXT */
.facility-box p {
  color: green;
  font-weight: 600;
  font-size: 18px;
}


/* 📱 MOBILE FIX */
@media (max-width: 768px) {
  .watermark {
    display: none;
  }

  .main-title {
    font-size: 20px;
  }

  .icon-circle {
    width: 60px;
    height: 60px;
  }

  .icon-circle i {
    font-size: 20px;
  }

  .facility-box {
    padding: 15px;
  }
}






/*INSURENCE- SECTION */
.insurance-area {
  position: relative;
  background: url("../img/bgimg.webp") center/cover no-repeat fixed;
  padding: 80px 0;
  color: #fff;
}

/* OVERLAY */
.insurance-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.70);
  /* 🔥 less dark */
  top: 0;
  left: 0;
}

/* CONTENT */
.insurance-content {
  position: relative;
  z-index: 2;
  
}

/* SLIDER WRAPPER */
.insurance-slider-wrapper {
  overflow: hidden;
  position: relative;
  margin-top: 30px;
}

/* SLIDER */
.insurance-slider {
  display: flex;
  gap: 20px;
  transition: transform 0.5s ease;
}

/* ITEM (4 visible) */
.insurance-item {
  flex: 0 0 calc(25% - 15px);
  text-align: center;
}

/* IMAGE */
.insurance-item img {
  width: 100%;
  height: 100px;
  object-fit: contain;
  background: #fff;
  padding: 10px;
  border-radius: 5px;
}

/* TEXT */
.insurance-item p {
  margin-top: 10px;
  font-size: 14px;
  color: #fff !important;
}

/* BUTTONS */
.ins-prev,
.ins-next {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  border: none;
  padding: 8px 12px;
  cursor: pointer;
  z-index: 5;
}

.ins-prev {
  left: 0;
}

.ins-next {
  right: 0;
}

/* DOTS */
.slider-dots {
  margin-top: 15px;
}

.slider-dots span {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin: 4px;
  background: #ccc;
  border-radius: 50%;
  cursor: pointer;
}

/* #insurance-dots span {
  width: 8px;
  height: 8px;
} */

#insurance-dots .ins-dot {
  width: 10px;
  height: 10px;
  background: #ccc;
  display: inline-block;
  margin: 5px;
  border-radius: 50%;
  cursor: pointer;
}

#insurance-dots .active {
  background: #00c3ff;
}


.slider-dots .active {
  background: #00c3ff;
}

/* RESPONSIVE */
@media (max-width:768px) {
  .insurance-item {
    flex: 0 0 calc(50% - 10px);
  }
}

@media (max-width:480px) {
  .insurance-item {
    flex: 0 0 100%;
  }
}




/* testimonial-section  */


.testimonial-section {
  /* margin-top: 80px;   👈 pushes it below */
  position: relative;
  z-index: 1;
}

/* LEFT SLIDER */


.testimonial-slider-wrapper {
  overflow: hidden;
  max-width: 600px;
  margin: auto;
  text-align: center;
  position: relative;
  z-index: 2;
  /* 👈 IMPORTANT */
}

.testimonial-slider-wrapper {
  overflow: hidden;
  padding-bottom: 40px;
  /* 👈 IMPORTANT */
}


.testimonial-slider {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.testimonial-item {
  min-width: 100%;
  padding: 20px;
  text-align: center;
}

.testimonial-item p {
  font-size: 16px;
  color: #555;
  font-style: italic;
}

.testimonial-item strong {
  display: block;
  margin-top: 10px;
  font-weight: 600;
  color: #645c5c;
}

/* RIGHT SIDE */
.text-section {
  position: relative;
  text-align: center;
  padding: 40px 20px;
}

/* WATERMARK */
.text-section::before {
  content: "TESTIMONIAL";
  position: absolute;
  top: 15%;
  left: 50%;
  transform: translateX(-50%);
  font-size: 90px;
  color: rgba(0, 0, 0, 0.05);
  font-weight: bold;
  white-space: nowrap;
}

/* TEXT */
.text-section h6 {
  color: green;
  position: relative;
  z-index: 1;
}

.text-section h2 {
  font-size: 32px;
  font-weight: 700;
  color: #1f7a99;
  position: relative;
  z-index: 1;
}

/* DOTS */
.slider-dots {
  margin-top: 15px;
  text-align: center;
}


#testimonial-dots {
  position: relative;
  margin-top: 10px;
  z-index: 5;
}


/* 📱 MOBILE */
@media (max-width: 768px) {

  .testimonial-section {
    padding: 40px 10px;
  }

  .testimonial-slider-wrapper {
    max-width: 100%;
  }

  .text-section {
    margin-top: 10px;
    margin-bottom: 10px;
    height: 70px;
  }

  .text-section::before {
    font-size: 40px;
    top: 10%;
  }

  .text-section h2 {
    font-size: 22px;
  }

  .testimonial-item p {
    font-size: 14px;
  }
}

/* 📲 TABLET */
@media (min-width: 769px) and (max-width: 1024px) {
  .text-section::before {
    font-size: 60px;
  }
}


#testimonial-dots .dot {
  width: 10px;
  height: 10px;
  background: #555;
  display: inline-block;
  margin: 6px;
  border-radius: 50%;
  cursor: pointer;
  opacity: 1;
  visibility: visible;
}

#testimonial-dots .dot.active {
  background: #007bff;

}




/* ===== APPOINTMENT SECTION ===== */
.appointment-section {
  position: relative;
  background: #f3f3f6;
  /* light grey like screenshot */
  /* padding: 70px 20px; */
  padding-top: 10px;
  padding-bottom: 20px;
  text-align: center;
  overflow: hidden;
}

/* WATERMARK TEXT */
.appointment-section .watermark {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 90px;
  font-weight: 800;
  color: rgba(0, 0, 0, 0.05);
  letter-spacing: 5px;
  white-space: nowrap;
  z-index: 0;
}

/* CONTENT */
.appointment-section .department-content {
  position: relative;
  z-index: 1;
}

/* SMALL TITLE */
.appointment-section .sub-title {
  color: green;
  font-weight: 600;
  margin-bottom: 8px;
}

/* MAIN TITLE */
.appointment-section .main-title {
  font-size: 30px;
  font-weight: 700;
  color: #1f7a99;
}

/* GREEN LINE UNDER */
.appointment-section .main-title::after {
  content: "";
  display: block;
  width: 200px;
  height: 2px;
  background: #38c172;
  /* green line */
  margin: 15px auto 0;
}




/* TABLET */
@media (max-width: 1024px) {
  .appointment-section .watermark {
    font-size: 80px;
  }

  .appointment-section .main-title {
    font-size: 30px;
  }
}

/* MOBILE */
@media (max-width: 768px) {
  .appointment-section {
    padding: 50px 15px;
  }

  .appointment-section .watermark {
    font-size: 45px;
  }

  .appointment-section .main-title {
    font-size: 24px;
  }
}

/* SMALL MOBILE */
@media (max-width: 480px) {
  .appointment-section .watermark {
    font-size: 35px;
  }

  .appointment-section .main-title {
    font-size: 20px;
  }
}






/* =====  CONTACT SECTION ===== */
.call-section {
  /* background: #f4f6f8; */
  padding: 60px 0;
  width: 90%;
  margin: 0 auto;

}

/* DOCTOR IMAGE */
.doctor-img {
  position: relative;
  display: inline-block;
  margin-top: -80px;
}

@media (max-width: 992px) {
  .doctor-img {
    margin-top: 0;
    margin-bottom: 20px;
  }
}

.doctor-img img {
  width: 230px;
  position: relative;
  z-index: 1;
  display: block;
}

/* TEXT */
.call-title {
  font-size: 36px;
  font-weight: 600;
  color: #1c2b39;
  margin-bottom: 15px;
}

.call-text {
  color: #2f7fa1;
  font-size: 16px;
  margin-bottom: 20px;
  line-height: 1.6;
}

/* BUTTON */
.call-btn {
  display: inline-block;
  background: linear-gradient(to right, #1db954, #0b6b2e);
  color: #fff;
  padding: 12px 25px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s;
}

.call-btn:hover {
  background: linear-gradient(to right, #0b6b2e, #1db954);
}


.call-section .container {
  background-color: #fff;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}



/* TABLET */
@media (max-width: 1024px) {
  .call-title {
    font-size: 28px;
  }

  .doctor-img::before {
    width: 200px;
    height: 200px;
  }

  .doctor-img img {
    width: 200px;
  }
}

/* MOBILE */
@media (max-width: 768px) {

  .call-section {
    padding: 40px 15px;
    text-align: center;
  }

  .call-title {
    font-size: 24px;
  }

  .call-text {
    font-size: 14px;
  }

  .doctor-img {
    margin-bottom: 20px;
  }

  .doctor-img::before {
    width: 160px;
    height: 160px;
  }

  .doctor-img img {
    width: 160px;
  }
}

/* SMALL MOBILE */
@media (max-width: 480px) {
  .call-title {
    font-size: 20px;
  }

  .call-btn {
    padding: 10px 20px;
    font-size: 14px;
  }
}

.section-divider {
  height: 20px;
  background: #f0f0f0;
  position: relative;
}

/* SHADOW EFFECT */
.section-divider::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 0;
  width: 100%;
  height: 10px;
  box-shadow: 0 -5px 10px rgba(0, 0, 0, 0.15);
}


/* RESPONSIVE */
@media (max-width:768px) {
  .hero-img {
    height: 250px;
  }
}





/* About Page */


.about-banner img {
  width: 100%;
  height: 90%;
  object-fit: cover;
}

/* ===== TEXT ===== */
.banner-text {
  position: absolute;
  top: 50%;
  left: 60px;
  transform: translateY(-50%);
  color: #fff;
}

.divider {
  width: 700px;
  height: 2px;
  background: rgb(255, 255, 255);
  margin: 15px auto 25px;
  margin-top: 50px;
}



.banner-text h1 {
  font-size: 40px;
  font-weight: 600;
}

/* ===== BREADCRUMB BOX ===== */
.about-banner {
  position: relative;
  height: 450px;
  overflow: visible;
}

.breadcrumb-box {
  position: absolute;
  bottom: 5px;
  right: 40px;
  background: #fff;
  padding: 12px 25px;
  border-radius: 18px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  gap: 10px;
}



/* HOME ICON CIRCLE */
.home-icon {
  width: 40px;
  height: 40px;
  background: #1f7a99;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* TEXT */
.breadcrumb-box span {
  font-size: 15px;
  color: #333;
}


.underline {
  width: 180px;
  height: 3px;
  background: #fff;
  margin-top: 10px;
}


.about-section {
  padding: 10px 5px;
  background: #f8f9fa;
}

/* TEXT */
.sub-title {
  color: green;
  font-weight: 600;
}

.main-title {
  font-size: 25px;
  font-weight: 700;
  color: #1f7a99;
  margin: 10px 0;
}

.line {
  width: 500px;
  height: 1px;
  background: #bbd3db;
  margin: 15px 0;
}

.about-text p {
  color: #555;
  margin-bottom: 15px;
  line-height: 1.4;
  font-size: 14px;
}

.about-text {
  position: relative;
  z-index: 1;
}

/* WATERMARK */
.about-text::before {
  content: "ABOUT";
  position: absolute;
  top: -40px;
  left: 80px;
  font-size: 80px;
  font-weight: 800;
  color: rgba(0, 0, 0, 0.05);
  /* light faded */
  z-index: -1;
  white-space: nowrap;
  pointer-events: none;
}



/* IMAGES */
.image img {
  width: 70%;
  height: 70%;
  object-fit: cover;
}


@media (max-width: 768px) {
  .breadcrumb-box {
    right: 15px;
    bottom: 10px;
    padding: 8px 15px;
    font-size: 13px;
  }

  .about-banner{
    position: relative;
  height: 200px;
  overflow: visible;

  }

  .about-banner img{
    width: 100%;
  height: 100%;
  object-fit: cover;

  }
}



/* ===== CHOOSE SECTION ===== */
.choose-section {
  background: #f3f3f6;
  padding: 80px 20px;
  position: relative;
  overflow: hidden;
}

/* WRAPPER */
.choose-wrapper {
  position: relative;
  z-index: 1;
}

/* WATERMARK */
/* .watermark-choose {
  position: absolute;
  top: -20px;
  left: 20%;
  
  font-size: 90px;
  font-weight: 800;
  color: rgba(0, 0, 0, 0.05);
  letter-spacing: 5px;
  white-space: nowrap;
  z-index: 0;
} */


.section-title {
  position: relative;
  text-align: center;
  margin: 60px 0;
}

/* WATERMARK */
.watermark-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  

  font-size: clamp(40px, 8vw, 80px);
  font-weight: 800;
  color: rgba(0, 0, 0, 0.05);

  letter-spacing: 5px;
  white-space: nowrap;
  z-index: 0;
}

/* TEXT CONTENT */
.title-content {
  position: relative;
  z-index: 2;
}

/* SUB TITLE */
.sub-title {
  color: green;
  font-weight: 600;
}

/* MAIN TITLE */
.main-title {
  font-size: clamp(24px, 4vw, 40px);
  color: #097DA9;
  font-weight: bold;
}





/* CONTENT */
.choose-content {
  position: relative;
  z-index: 2;
}

/* SUB TITLE */
.choose-content .sub-title {
  color: green;
  font-weight: 600;
  margin-bottom: 10px;
}

/* MAIN TITLE */
.choose-content .main-title {
  font-size: 34px;
  font-weight: 700;
  color: #1f7a99;
}

/* LINE BELOW */
.choose-line {
  width: 80%;
  max-width: 900px;
  height: 2px;
  background: #dae2dd;
  margin: 20px auto 0;
}





/* ABOUT-US SECTION  */
.choose-details-section {
  padding: 40px 20px;
  background: #f5f5f7;
}

/* LEFT IMAGE */
.left-image img {
  width: 450px;
  height: 450px;
  object-fit: cover;
  border-radius: 15px;
}

/* RIGHT SIDE */
.right-design {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* MAIN CONTAINER */
.circle-container {
  position: relative;
  width: 100%;
  max-width: 450px;
  /* desktop limit */
  aspect-ratio: 1/1;
  /* 🔥 keeps perfect circle */
  margin: auto;
}

/* CENTER CIRCLE */
.center-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 160px;
  height: 160px;
  transform: translate(-50%, -50%);
  background: #e9e9e9;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.1);
  font-weight: 600;
}

.center-circle p {
  font-size: clamp(14px, 2vw, 18px) !important;
  margin: 0;
  line-height: 1.2;
}

/* COMMON ITEM STYLE */
.circle-item {
  position: absolute;
  width: 30%;
  height: 30%;
  min-width: 70px;
  min-height: 70px;
  max-width: 115px;
  max-height: 115px;

  background: white;
  border-radius: 50%;
  border: 5px solid #1f7a99;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  text-align: center;
  font-size: 12px;

  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);

  opacity: 0;
}

.circle-item p {
  font-size: clamp(9px, 1vw, 13px) !important;
  margin: 0;
  line-height: 1.2;
  padding: 0 2px;
}

/* ICON */
.circle-item i {
  font-size: 22px;
  color: green;
  margin-bottom: 5px;
}

/* POSITIONS (CIRCLE AROUND) */
.item1 {
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

.item2 {
  top: 20%;
  right: 0;
}

.item3 {
  bottom: 20%;
  right: 0;
}

.item4 {
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.item5 {
  bottom: 20%;
  left: 0;
}

.item6 {
  top: 20%;
  left: 0;
}





/* ===== ANIMATION BASE ===== */
.circle-item {
  opacity: 0;
  animation-duration: 0.8s;
  animation-fill-mode: forwards;
  animation-timing-function: ease;
}

/* TOP (item1) */
.item1 {
  animation-name: slideDown;
  animation-delay: 0.2s;
}

/* RIGHT TOP (item2) */
.item2 {
  animation-name: slideLeft;
  animation-delay: 0.4s;
}

/* RIGHT BOTTOM (item3) */
.item3 {
  animation-name: slideLeft;
  animation-delay: 0.6s;
}

/* BOTTOM (item4) */
.item4 {
  animation-name: slideUp;
  animation-delay: 0.8s;
}

/* LEFT BOTTOM (item5) */
.item5 {
  animation-name: slideRight;
  animation-delay: 1s;
}

/* LEFT TOP (item6) */
.item6 {
  animation-name: slideRight;
  animation-delay: 1.2s;
}


@keyframes slideDown {
  from {
    transform: translate(-50%, -40%);
    opacity: 0;
  }

  to {
    transform: translate(-50%, 0);
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    transform: translate(-50%, 40%);
    opacity: 0;
  }

  to {
    transform: translate(-50%, 0);
    opacity: 1;
  }
}

@keyframes slideLeft {
  from {
    transform: translateX(40%);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideRight {
  from {
    transform: translateX(-40%);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}


.item1 {
  animation: slideDown 0.8s ease forwards 0.2s;
}

.item2 {
  animation: slideLeft 0.8s ease forwards 0.4s;
}

.item3 {
  animation: slideLeft 0.8s ease forwards 0.6s;
}

.item4 {
  animation: slideUp 0.8s ease forwards 0.8s;
}

.item5 {
  animation: slideRight 0.8s ease forwards 1s;
}

.item6 {
  animation: slideRight 0.8s ease forwards 1.2s;
}


@media (max-width: 768px) {

  .circle-item {
    font-size: 10px;
  }

  .circle-item i {
    font-size: 16px;
  }

  .center-circle {
    width: 35%;
    height: 35%;
    font-size: 12px;
  }
}






/* TABLET */
@media (max-width: 992px) {
  .circle-container {
    width: 320px;
    height: 320px;
  }

  .circle-item {
    width: 90px;
    height: 90px;
  }

  .center-circle {
    width: 130px;
    height: 130px;
  }

  .left-image img {
    height: auto;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    display: block;
  }
}

/* MOBILE */
@media (max-width: 768px) {
  .left-image {
    margin-bottom: 40px;
  }

  .circle-container {
    width: 400px;
    height: 400px;
  }

  .circle-item {
    width: 110px;
    height: 110px;
  }

  .center-circle {
    width: 150px;
    height: 150px;
  }
}

/* SMALL MOBILE */
@media (max-width: 480px) {
  .circle-container {
    width: 260px;
    height: 260px;
  }

  .circle-item {
    width: 75px;
    height: 75px;
  }

  .center-circle {
    width: 105px;
    height: 105px;
  }
}






/* SECTION */
.facility-section {
  padding: 20px 20px 60px;
  background: #f5f5f7;
}

/* CARD WRAPPER */
.flip-card {
  perspective: 1000px;
}

/* INNER */
.flip-inner {
  position: relative;
  width: 100%;
  height: 180px;
  transition: transform 0.6s;
  transform-style: preserve-3d;
}

/* HOVER EFFECT */
.flip-card:hover .flip-inner {
  transform: rotateY(180deg);
}

/* FRONT + BACK */
.flip-front,
.flip-back {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 10px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  backface-visibility: hidden;
  text-align: center;
  padding: 20px;
}

/* FRONT STYLE */
.flip-front {
  background: #1f7a99;
  color: #fff;
}

/* BACK STYLE */
.flip-back {
  background: #0c8a3d;
  color: #fff;
  transform: rotateY(180deg);
}

/* IMAGE */
.flip-front img,
.flip-back img {
  width: 100px;
  margin-bottom: 10px;
}

/* TEXT */
.flip-front h5,
.flip-back h5 {
  font-size: 18px;
  font-weight: 600;
}


@media (max-width: 768px) {
  .flip-inner {
    height: 150px;
  }

  .flip-front img,
  .flip-back img {
    width: 50px;
  }

  .flip-front h5,
  .flip-back h5 {
    font-size: 14px;
  }
}






/* SECTION */
.doctor-section {
  padding: 60px 20px;
  background: #f5f5f7;
}

/* CARD */
.doctor-card {
  background: #fff;
  text-align: center;
  padding: 25px 20px;
  transition: 0.4s;
  height: 100%;
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
  border: #ebe2e2 solid 1px;
}



/* IMAGE */
.doctor-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 5px;
  margin-bottom: 15px;
}

/* NAME */
.doctor-card h4 {
  font-size: 20px;
  color: #097DA9;
  font-weight: 600;
}

/* DESCRIPTION */
.doctor-card p {
  font-size: 16px;
  color: #666;
  margin-top: 10px;
  line-height: 1.6;
}

/* HOVER EFFECT */
.doctor-card:hover {
  background: #1f7a99;
  transform: translateY(-8px);
}

.doctor-card:hover h4,
.doctor-card:hover p {
  color: #fff;
}

/* ACTIVE CARD (like your blue one) */
.doctor-card.active {
  background: #1f7a99;
}

.doctor-card.active h4,
.doctor-card.active p {
  color: #fff;
}

/* ================= RESPONSIVE ================= */

/* TABLET */
@media (max-width: 992px) {
  .doctor-card img {
    height: 240px;
  }
}

/* MOBILE */
@media (max-width: 768px) {
  .doctor-section {
    padding: 40px 15px;
  }

  .doctor-card img {
    height: 220px;
  }

  .doctor-card h4 {
    font-size: 18px;
  }
}

/* SMALL MOBILE */
@media (max-width: 480px) {
  .doctor-card img {
    height: 200px;
  }

  .doctor-card p {
    font-size: 13px;
  }
}



.section-bar {
  width: 100%;
  background: #1f7a99;
  /* blue color */
  padding: 12px 0;
  text-align: center;
}

.section-bar h3 {
  color: #fff;
  font-size: 20px;
  margin: 0;
  font-weight: 600;
}



/* GALLERY SECTION */


.img-grid {
  width: 100%;
  aspect-ratio: 1 / 1;   /* 🔥 makes perfect square */
  object-fit: cover;     /* fills nicely */
  border-radius: 10px;
  cursor: pointer;
  transition: 0.3s;
}

.img-grid:hover {
  transform: scale(1.05);
}

.lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  inset: 0;
  background: rgba(0,0,0,0.9);
  justify-content: center;
  align-items: center;
}

.lightbox-img {
  max-width: 90%;
  max-height: 80%;
  border-radius: 10px;
}

.close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 35px;
  color: #fff;
  cursor: pointer;
}

.prev-btn,
.next-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.2);
  border: none;
  color: #fff;
  font-size: 30px;
  padding: 10px;
  cursor: pointer;
}

.prev-btn { left: 20px; }
.next-btn { right: 20px; }




/* FACILITY SECTION */


/* CARDS */
.facility-card {
  background: #fff;
  /* border-radius: 20px; */
  border-top-left-radius: 50px;
  border-bottom-right-radius: 50px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
  transition: 0.3s;
  height: 100%;
}

.facility-card:hover {
  transform: translateY(-8px);
}

.facility-card h3 {
  color: #0f7c8a;
  font-weight: bold;
  margin-bottom: 15px;
}

.facility-card ul {
  list-style: none;
  padding: 0;
}

.facility-card li {
  margin-bottom: 10px;
  color: #2e7d32;
}

.facility-card i {
  color: #0f7c8a;
  margin-right: 8px;
}

/* SCROLL BUTTON */
#topBtn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #0f7c8a;
  color: #fff;
  border: none;
  padding: 10px 14px;
  border-radius: 5px;
  display: none;
}




/* SECTION */
.scheme-section {
  background: #f8f9fa;
}

/* TITLE */
.scheme-title {
  color: #1b8a5a;
  font-weight: bold;
  font-size: 26px;
}

/* LIST */
.scheme-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

/* ITEM */
.scheme-item {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-right: 2px solid #ccc;
  font-size: 16px;
}

.scheme-item i {
  color: #1b8a5a;
}

/* STEP BOX */
.step-box {
  background: #fff;
  padding: 15px 20px;
  border-radius: 30px;
  margin-bottom: 15px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  font-weight: 500;
}

/* SCROLL BUTTON */
#topBtn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #1b8a5a;
  color: #fff;
  border: none;
  padding: 10px 14px;
  border-radius: 5px;
  display: none;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .scheme-item {
    font-size: 14px;
  }

  .scheme-title {
    font-size: 20px;
  }
}



/* ================= IMAGE + OVERLAY SECTION ================= */

.image-box {
  position: relative;
  overflow: hidden;
  /* border-radius: 12px; */
}

.image-box img {
  width: 100%;
  height: 390px;
  object-fit: cover;
  /* filter: brightness(35%); */
}

/* 🔥 PERFECT OVERLAY POSITION */
.overlay-text {
  position: absolute;
  bottom: 200px;
  left: 25px;
  right: 25px;
  color: #fff;
  text-align: center;
  max-width: 85%;
}

/* SMALL TEXT */
.overlay-text p {
  margin: 0;
  font-size: 16px;
  opacity: 0.9;
}

/* MAIN TEXT */
.overlay-text h3 {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.3;
  margin-top: 5px;
}

/* LINE */
.overlay-text .line {
  width: 400px;
  height: 1px;
  background: #fff;
  margin-top: 10px;
}

/* ================= RIGHT SIDE DOC ITEMS ================= */

.doc-item {
  background: #f1f1f1;
  padding: 15px 20px;
  border-radius: 30px;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: 0.3s;
  cursor: pointer;
  font-size: 15px;
}

/* ICON */
.doc-item i {
  color: #0f7c8a;
  font-size: 18px;
}

/* HOVER */
.doc-item:hover {
  background: #0f7c8a;
  color: #fff;
}

.doc-item:hover i {
  color: #fff;
}

/* ================= RESPONSIVE ================= */

/* TABLET */
@media (max-width: 992px) {

  .image-box img {
    height: 300px;
  }

  .overlay-text {
    bottom: 20px;
    left: 20px;
    right: 20px;

  }

  .overlay-text h3 {
    font-size: 20px;
  }
}

/* MOBILE */
@media (max-width: 768px) {


  /* IMAGE */
  .image-box img {
    height: 300px;
  }

  /* OVERLAY */
  .overlay-text {
    bottom: 200px;
    left: 20px;
    right: 20px;

  }

  .overlay-text p {
    font-size: 16px;
  }

  .overlay-text h3 {
    font-size: 23px;
  }

  .overlay-text .line {
    width: 600px;
  }

  /* DOC ITEMS */
  .doc-item {
    font-size: 14px;
    padding: 5px 5px;
    flex-wrap: wrap;
  }
}

/* SMALL MOBILE */
@media (max-width: 480px) {

  .overlay-text h3 {
    font-size: 15px;
  }

  .doc-item {
    font-size: 13px;
  }
}





/* TITLE */
.sub-title {
  color: #1b8a5a;
  font-weight: 600;
}

.main-title {
  font-size: 30px;
  font-weight: 700;
  color: #0f7c8a;
}

.title-line {
  width: 270px;
  height: 2px;
  background: #1b8a5a;
  margin-top: 8px;
}

/* CONTACT CARDS */
.contact-card {
  width: 170px;
  height: 150px;
  background: #fff;
  padding: 20px;
  /* border-radius: 25px; */
  border-top-left-radius: 50px;
  border-bottom-right-radius: 50px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  transition: 0.3s;
  font-size: 14px;
}

.contact-card:hover {
  transform: translateY(-5px);
  background-color: #c1fffa;
}

.icon-circle {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  border: 2px solid #1b8a5a;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: auto;
  margin-bottom: 10px;
}

.icon-circle i {
  /* color: #1b8a5a; */
  font-size: 15px;
}




.icon-circle.filled i {
  color: #fff;
}

/* DESCRIPTION */
.desc {
  color: #666;
  line-height: 1.6;
}

/* ADDRESS */
.address-box {
  display: flex;
  gap: 15px;
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  align-items: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.address-icon {
  background: #1b8a5a;
  color: #fff;
  padding: 15px;
  border-radius: 10px;
  font-size: 20px;
}

/* FORM */
.contact-form {
 background: url('../img/contact_baner.jpeg') no-repeat center;
  background-size: cover;
  padding: 30px;
  border-radius: 10px;
  height: 600px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.contact-form input,
.contact-form textarea {
  border-radius: 8px;
  border: none;
  padding: 10px;
}

.submit-btn {
  background: #1b8a5a;
  color: #fff;
  border-radius: 30px;
  padding: 10px 30px;
  display: block;
  margin: auto;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .contact-card {
    width: 100%;
  }

  .contact-form {
    margin-top: 20px;
  }

  .address-box {
    flex-direction: column;
    align-items: flex-start;
  }
}




/* INSURENCE SECION */


/* SECTION */
.insurance {
  text-align: center;
}

/* CARD */
.insurance-card {
  background: #fff;
  padding: 20px;
  border-radius: 15px;
  border: 2px solid #0f7c8a;
  transition: 0.3s;
  height: 100%;
}

/* IMAGE */
.insurance-card img {
  width: 100%;
  height: 90px;
  object-fit: contain;
  margin-bottom: 15px;
}

/* TEXT */
.insurance-card p {
  font-size: 20px;
  color: #515151;
  margin: 0;
}

/* HOVER */
.insurance-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

/* RESPONSIVE */
@media (max-width: 768px) {

  .insurance-card img {
    height: 70px;
  }

  .insurance-card p {
    font-size: 14px;
  }
}








/* SECTION TITLE */
.section-title {
  font-size: 32px;
  font-weight: 600;
  color: #0f7c8a;
}

.title-line {
  width: 120px;
  height: 3px;
  background: #1b8a5a;
  margin-top: 8px;
}

.title-line.small {
  width: 80px;
}

/* DESCRIPTION */
.desc {
  color: #555;
  line-height: 1.7;
}

/* SUB HEADING */
.sub-heading {
  color: #0f7c8a;
  font-size: 26px;
  font-weight: 600;
}

/* LIST */
.cardio-list {
  padding-left: 20px;
}

.cardio-list li {
  margin-bottom: 10px;
  color: #444;
  line-height: 1.6;
}

/* IMAGE */
.cardio-img {
  width: 100%;
  max-width: 350px;
  border-radius: 5px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* RESPONSIVE */
@media (max-width: 768px) {

  .section-title {
    font-size: 24px;
  }

  .sub-heading {
    font-size: 20px;
  }

  .cardio-img {
    margin-top: 20px;
  }
}



/* TITLE */
.section-title {
  font-size: 30px;
  font-weight: 600;
  color: #0f7c8a;
}


/* CARD */
.doctor-card {
  background: #f8f9fb;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: 0.3s;
}

/* IMAGE */
.doctor-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

/* INFO */
.doctor-info {
  padding: 20px;
  border-left: 4px solid #1b8a5a;
  text-align: center;
}

.doctor-info h5 {
  color: #0f7c8a;
  font-weight: 600;
  margin-bottom: 10px;
}

.doctor-info p {
  color: #666;
  margin: 0;
}

/* HOVER */
.doctor-card:hover {
  transform: translateY(-5px);
}

/* RESPONSIVE */
@media (max-width: 768px) {

  .doctor-card img {
    height: 250px;
  }

  .section-title {
    font-size: 24px;
  }
}


/* ===== BANNER SECTION ===== */
.banner {
  position: relative;
  width: 100%;
  height: 450px;   /* desktop height */
  overflow: hidden;
}

/* IMAGE */
.banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(35%);
}




/* ===== BREADCRUMB ===== */
.breadcrumb-box {
  position: absolute;
  bottom: 20px;
  right: 40px;
  background: #fff;
  padding: 10px 20px;
  /* border-radius: 25px; */
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ICON */
.home-icon {
  width: 35px;
  height: 35px;
  background: #1f7a99;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* TEXT */
.breadcrumb-box span {
  font-size: 14px;
  color: #333;
}

.breadcrumb-box a {
  text-decoration: none;
  color: #1f7a99;
}


@media (max-width: 768px) {

  .banner {
  position: relative;
  width: 100%;
  height: 250px;   /* desktop height */
  overflow: hidden;
}


}

/* ==== SHARED DEPARTMENT SECTIONS ==== */
.cardiology-section,
.gynecology-section,
.radiology-section,
.nephrology-section,
.surgery-section,
.physiotherapy-section {
  padding: 40px 20px 20px;
}

/* Layout: left text, right image */
.cardiology-section .row,
.gynecology-section .row,
.radiology-section .row,
.nephrology-section .row,
.surgery-section .row,
.physiotherapy-section .row {
  display: flex;
  flex-wrap: nowrap;
  align-items: start;
  gap: 30px;
}

/* Ensure images never exceed their container */
.cardiology-section img,
.gynecology-section img,
.radiology-section img,
.nephrology-section img,
.surgery-section img,
.physiotherapy-section img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

/* Tablet – stack vertically */
@media (max-width: 992px) {
  .cardiology-section .row,
  .gynecology-section .row,
  .radiology-section .row,
  .nephrology-section .row,
  .surgery-section .row,
  .physiotherapy-section .row {
    flex-direction: column;
    align-items: center;
  }
  .cardiology-section .col-lg-7,
  .gynecology-section .col-lg-7,
  .radiology-section .col-lg-7,
  .nephrology-section .col-lg-7,
  .surgery-section .col-lg-7,
  .physiotherapy-section .col-lg-7,
  .cardiology-section .col-lg-5,
  .gynecology-section .col-lg-5,
  .radiology-section .col-lg-5,
  .nephrology-section .col-lg-5,
  .surgery-section .col-lg-5,
  .physiotherapy-section .col-lg-5 {
    width: 100%;
  }
}

/* Mobile – reduced spacing */
@media (max-width: 576px) {
  .cardiology-section,
  .gynecology-section,
  .radiology-section,
  .nephrology-section,
  .surgery-section,
  .physiotherapy-section {
    padding: 30px 15px;
  }
  .cardiology-section .row,
  .gynecology-section .row,
  .radiology-section .row,
  .nephrology-section .row,
  .surgery-section .row,
  .physiotherapy-section .row {
    gap: 20px;
  }
}

/* Service list */
.cardio-list {
  column-count: 2;
  column-gap: 30px;
  margin-top: 15px;
}
@media (max-width: 768px) {
  .cardio-list {
    column-count: 1;
  }
}

/* Doctor cards responsive grid */
.doctors-section .row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.doctors-section .doctor-card {
  flex: 0 0 calc(33.333% - 20px);
}
@media (max-width: 992px) {
  .doctors-section .doctor-card {
    flex: 0 0 calc(50% - 20px);
  }
}
@media (max-width: 576px) {
  .doctors-section .doctor-card {
    flex: 0 0 100%;
  }
}

/* Reduce vertical rhythm between sections */
.cardiology-section + .cardiology-section,
.cardiology-section + .doctors-section,
.gynecology-section + .gynecology-section,
.gynecology-section + .doctors-section,
.radiology-section + .radiology-section,
.radiology-section + .doctors-section,
.nephrology-section + .nephrology-section,
.nephrology-section + .doctors-section,
.surgery-section + .surgery-section,
.surgery-section + .doctors-section,
.physiotherapy-section + .physiotherapy-section,
.physiotherapy-section + .doctors-section {
  margin-top: 0 !important;
}
