/* header start  */
.top-bar {
  background-color: #81c44e;
  color: white;
  font-weight: 600;
  font-size: 16px;
  padding: 3px 0px;
}

.info-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 10px;
  text-align: center;
}

.info-item i {
  background-color: white;
  color: #f29fc0;
  border-radius: 50%;
  padding: 8px;
  font-size: 14px;
  margin-right: 10px;
  min-width: 32px;
  /* text-align: center; */
}

.social-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 7px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.social-icons i {
  background-color: white;
  color: #f29fc0;
  border-radius: 100%;
  padding: 10px;
  font-size: 12px;
}

@media (min-width: 992px) {
  .social-icons {
    margin-top: 0;
    justify-content: flex-end;
  }

  /* Add white borders between columns on large screens */
  .top-bar .border-lg {
    border-right: 1px solid rgba(255, 255, 255, 0.5);
  }

  .top-bar .border-lg:last-child {
    border-right: none;
  }
}

/* sub header start  */

.navbar-brand img {
  height: 80px;
}

.nav-link {
  color: #231f20 !important;
  font-weight: 600;
  font-size: 17px;
  /* font-size: 16px; */
  margin: 0 10px;
  position: relative;
  transition: color 0.3s ease;
}

.nav-link.active {
  color: #81c44e !important;
}

.nav-link.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 100%;
  height: 3px;
  background-color: #e794b3;
}

.nav-link:not(.active):hover {
  color: #81c44e !important;
}

.nav-link:not(.active):hover::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 100%;
  height: 3px;
  background-color: #e794b3;
}

.btn-appointment {
  background: linear-gradient(to right, #FF0092, #A6CE39);
  color: white;
  /* text-decoration: none; */
  border-radius: 30px;
  padding: 10px 25px;
  font-weight: 600;
}

.btn-appointment:hover {
  border: 1px solid green;
  /* background: white; */
  color: white;
}

.navbar-toggler {
  border: none;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 1030;
}

.dropdown:hover .dropdown-menu {
  display: block;
  margin-top: 0;
}

.dropdown-toggle {
  color: #231f20 !important;
  font-weight: 600;
  margin: 0 10px;
  position: relative;
  text-decoration: none;
  transition: color 0.3s ease;
}

.dropdown-toggle:hover {
  color: #81c44e !important;
}

/* sub header end  */
/* header end  */
/* middle page :start */
/* ================= Desktop Default Styles ================= */

/* =============================================== */
/* 24 Hour Emergency,Complete Lab Services,Medical Professionals */
.icon-box {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px 10px;
}

.icon-box img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  flex-shrink: 0;
}

.icon-box h5 {
  font-weight: 600;
  color: #333;
  margin-bottom: 5px;
}

.icon-box p {
  margin: 0;
  font-size: 0.95rem;
  color: #666;
}


@media (max-width: 576px) {
  .icon-box {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
  }
}

/* ==========================================================  */
/* 25 Years Of Medical Excellence */

/* ============================================================================ */
/* Established in 2010 */
.stats-section {
  background-color: #7bc144;
}

.counter {
  font-size: 4rem;
  font-weight: bold;
}

.Established-text {
  font-size: 25px;
}

/* Responsive styles for tablets and smaller screens */
@media (max-width: 991.98px) {
  .counter {
    font-size: 3rem;
    /* smaller font on tablets */
  }

  .Established-text {
    font-size: 18px;
    /* smaller text on tablets */
  }
}

@media (max-width: 575.98px) {
  .counter {
    font-size: 2.5rem;
    /* even smaller on phones */
  }

  .Established-text {
    font-size: 16px;
    /* smaller text on phones */
  }
}

/* Optional: stack columns full width on very small screens */
@media (max-width: 375px) {
  .col-6 {
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }
}

/* ==================================================================== */
/* Section Title */

/* ================================================================ */
/* General Styling */

/* ================================================================= */
/* Mission & Vision Statement */

/* ========================================================== */
/* What We Also Do */

/* ================================================  */
/* instagram */

/* ================================================  */
/* What Patient say about us */
/* testimonal */
/* =================================================== */
/* Patient Information */
.patient-section {
  min-height: 100vh;
}

.image-side {
  background: url('images/image2.jpeg') center center no-repeat;
  background-size: cover;
  /* Show full image without cropping */
  min-height: 600px;
  height: 100%;
  /* Optional: adjust based on your layout */
}


.info-side {
  padding: 40px;
  background-color: #f9f9f9;
}

.info-side h1 {
  font-weight: 600;
  margin-bottom: 15px;
}

.category {
  font-weight: 600;
  color: #6abf4b;
  margin-bottom: 30px;
}

.accordion-button {
  font-weight: 600;
  font-size: 1.1rem;
}

.accordion-button::after {
  font-size: 1.2rem;
}

.accordion-item {
  border: none;
  border-bottom: 1px solid #ddd;
}

@media (max-width: 768px) {
  .info-side {
    padding: 30px 20px;
  }
}

/* =================================================== */
/* Reset and Full-Screen Setup */

.hero-section {
  position: relative;
  width: 100vw;
  height: 50vh;
  background: url('images/banner6.jpeg') no-repeat center center;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: white;
  text-align: center;
  max-width: 800px;
  padding: 20px;
}

.hero-content h1 {
  font-size: 2.5rem;
  font-weight: bold;
}

.hero-content p {
  font-size: 1.1rem;
  margin: 1rem 0;
}

.btn-yellow {
  background-color: #FF0092;
  color: white;
  font-weight: bold;
  border-radius: 50px;
  padding: 12px 24px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-yellow:hover {
  background-color: #6abf4b;
  color: white;
}

.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.7);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.popup-box {
  background: white;
  padding: 30px;
  border-radius: 10px;
  width: 90%;
  max-width: 500px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
  position: relative;
}

.popup-box h3 {
  margin-bottom: 20px;
  text-align: center;
  font-size: 1.5rem;
}

.popup-box input,
.popup-box textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 5px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1rem;
}

.error-message {
  color: red;
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.popup-box textarea {
  resize: vertical;
  min-height: 100px;
  max-height: 200px;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 1.5rem;
  cursor: pointer;
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .btn-yellow {
    padding: 10px 20px;
    font-size: 0.95rem;
  }

  .popup-box {
    padding: 20px;
  }
}

/* =================================================== */
/* footer  */
.footer {
  background-color: #f3f3f3;
  padding: 50px 20px;
}

.footer .logo-section img {
  max-width: 150px;
}

.footer h5 {
  color: #FF0092;
  font-weight: 700;
}

.footer ul {
  list-style: none;
  padding: 0;
  color: #666;
}

.footer ul li {
  margin: 10px 0;
}

.footer ul li a {
  color: #666;
  text-decoration: none;
}

.footer ul li a:hover {
  text-decoration: underline;
}

.footer .contact-info i {
  margin-right: 10px;
  color: #FF0092;
}

.footer-bottom {
  background: linear-gradient(to right, #FF0092, #A6CE39);
  color: #fff;
  text-align: center;
  padding: 15px;
  font-size: 14px;
}

.whatsapp-icon,
.call-icon {
  position: fixed;
  bottom: 15px;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-size: 24px;
  z-index: 1000;
}

/* =================================================== */
/* middle page :end */
/* index page end  */
/* about page start  */

/* ==================================== */
.about-youtube-play-button {
  transition: transform 0.3s ease;
}

.about-youtube-video-wrapper:hover .about-youtube-play-button {
  transform: scale(1.1);
}

/* ==================================== */
.about-icon-image {
  width: 80px;
  height: 70px;
}

.about-hospital-img {
  width: 100%;
  height: 100%;
  border-radius: 8px;
  object-fit: cover;
}

.about-hospital-section {
  padding: 40px 0;
}

/* ==================================== */
/* ==================================== */
/* SECTION BASE STYLING - unchanged */
.about-section {
  background-color: #fafaf8;
  /* padding: 60px 20px; */
}

.about-heading h2 {
  font-size: 40px;
  font-weight: 700;
  color: #333;
}

.about-heading h2 span {
  color: #7cc346;
}

.about-description {
  font-size: 18px;
  color: #6e6e6e;
  margin-bottom: 30px;
}

.about-list i {
  color: #7cc346;
  margin-right: 8px;
}

.about-list a {
  color: #4c4c4c;
  text-decoration: underline;
  font-size: 18px;
  display: inline-block;
  margin-bottom: 10px;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .about-heading h2 {
    font-size: 30px;
  }

  .about-description,
  .about-list a {
    font-size: 16px;
  }
}

/* ANIMATION KEYFRAMES */
@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-100px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(100px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* INITIAL STATE */
.animate-left,
.animate-right {
  opacity: 0;
}

/* WHEN IN VIEWPORT */
.animate-left.visible {
  animation: slideInLeft 1s ease forwards;
}

.animate-right.visible {
  animation: slideInRight 1s ease forwards;
}

/* ============================================== */
/* Hospital Image Zoom Animation */
@keyframes zoomIn {
  from {
    transform: scale(0.9);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* Initial state before animation */
.about-hospital-img {
  transform: scale(0.9);
  opacity: 0;
  transition: transform 0.5s ease, opacity 0.5s ease;
}

/* Active class for zoom animation */
.about-hospital-img.zoom-visible {
  animation: zoomIn 0.8s ease forwards;
}

/* ============================================= */
/* Slide Up Animation */
@keyframes slideUp {
  from {
    transform: translateY(40px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Initial hidden state */
.slide-up-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

/* Triggered state */
.slide-up-on-scroll.visible {
  animation: slideUp 0.8s ease forwards;
}


/* about page end  */
/* contact us page start  */
/* ====== Contact Section Styling ====== */

/* ============================ */

/* contact us page end   */
/* gallery page start  */
.gallery-zoom-text {
  animation: gallery-zoomIn 1s ease-in-out forwards;
  transform-origin: center;
}

@keyframes gallery-zoomIn {
  0% {
    transform: scale(0.5);
    opacity: 0;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* ============================================ */
.image-wrapper {
  height: 300px;
  overflow: hidden;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.gallery-img:hover {
  transform: scale(1.05);
}

/* Modal */
.popup-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
  z-index: 9999;
  flex-direction: column;
}

.popup-img {
  max-width: 90%;
  max-height: 80%;
  border-radius: 10px;
}

.close-btn {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 35px;
  color: white;
  cursor: pointer;
}

.nav-btn {
  font-size: 40px;
  color: white;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  padding: 10px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
}

#prevBtn {
  left: 20px;
}

#nextBtn {
  right: 20px;
}

/* gallery page end  */
/* Our Specialists page start  */
/* Zoom In Animation for Headings */

/* Doctor Card Styling */

/* Our Specialists page end  */
/* blogs page strt  */
@keyframes zoomIn {
  from {
    transform: scale(0.5);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

.zoom-in {
  animation: zoomIn 0.8s ease-out forwards;
  opacity: 0;
}

.zoom-in:nth-child(1) {
  animation-delay: 0.1s;
}

.zoom-in:nth-child(2) {
  animation-delay: 0.3s;
}

.zoom-in:nth-child(3) {
  animation-delay: 0.5s;
}

/* ======================================================== */

/* blogs page end  */
/* service page start  */

/* ======================================================= */

/* ================================================ */

/* service page end  */
/* new code add by roshni */
 




