h2 {
  color: #2444bc;
}
/* Full viewport banner */
.hero-full {
  min-height: 100vh; /* takes entire screen height */
}

/* Half viewport banner */
.hero-half {
  min-height: 80vh; /* takes only half screen height */
}

/* Base hero styles */
.medcity-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  background-size: cover;
  background-position: center;
  color: #fff;
  overflow: hidden;
}

/* Overlay */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.95) 0%,
    rgba(0, 0, 0, 0.3) 60%,
    rgba(0, 0, 0, 0.1) 100%
  );
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 8%;
}

/* Content */
.hero-content {
  position: relative;
  text-align: left;
  max-width: 600px;
  z-index: 2;
}

.hero-title {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 15px;
}
.hero-desc {
  font-size: clamp(1rem, 2vw, 1.2rem);
  margin-bottom: 20px;
  color: #f1f1f1;
}
.hero-btn {
  display: inline-block;
  padding: 10px 28px;
  border-radius: 40px;
  background: linear-gradient(90deg, #2444bc 0%, #44b44c 100%);
  font-weight: 600;
  font-size: 1rem;
  color: #fff;
  text-decoration: none;
  transition: all 0.3s ease;
}
.hero-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(36, 68, 188, 0.4);
}

/* Dots bottom-right */
.owl-dots {
  position: absolute;
  bottom: 15px;
  right: 25px;
  display: flex;
  gap: 6px;
}
.owl-dots .owl-dot span {
  width: 10px;
  height: 10px;
  background: #bbb;
  border-radius: 50%;
  transition: all 0.3s ease;
}
.owl-dots .owl-dot.active span {
  background: #44b44c;
  transform: scale(1.2);
  box-shadow: 0 0 6px rgba(68, 180, 76, 0.7);
}
/* Hide default Owl arrows */
.owl-nav {
  display: none !important;
}

/* .about-section {
  position: relative;
} */
.main-img-wrapper img {
  transition: transform 0.4s ease;
}
.main-img-wrapper:hover img {
  transform: scale(1.05);
}
.thumb-img-wrapper img {
  object-fit: cover;
}

.doctor-card img {
  box-shadow: 3px 4px 10px rgba(0, 0, 0, 0.5);
}
.department-card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: all 0.3s ease;
}
.department-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}
/* Department card container */
.department-card {
  background: #fff;
  border: 1px solid #eaeaea;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative; /* needed for icon badge placement */
}

.department-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Background image with hover zoom */
.card-bg-img {
  width: 100%;
  height: 180px; /* fixed height so badge overlaps nicely */
  object-fit: cover;
  transition: transform 0.4s ease, filter 0.4s ease;
}

.department-card:hover .card-bg-img {
  transform: scale(1.08);
  filter: brightness(0.9);
}

/* Icon badge */
.card-icon-badge {
  position: absolute;
  top: 140px; /* overlaps bottom edge of image */
  left: 50%;
  transform: translateX(-50%);
  width: 65px;
  height: 65px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 2;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-icon-badge img {
  width: 42px;
  height: 42px;
}

.department-card:hover .card-icon-badge {
  transform: translateX(-50%) scale(1.1);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

/* Example color themes */
.card-icon-badge.gray {
  background: linear-gradient(135deg, #e3f2fd, #ffffff);
}

/* Content area */
.card-content {
  padding: 50px 20px 20px; /* extra top padding so text starts below badge */
  text-align: center;
  flex-grow: 1;
}

.card-content h2 {
  font-size: 1.3rem;
  font-weight: 600;
  color: #2444bc;
  margin-bottom: 10px;
}

.card-content p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.6;
}

/* .about-section p {
  color: #000 !important;
  font-size: 0.95rem;
} */

@media (max-width: 992px) {
  .cards-list {
    grid-template-columns: repeat(2, 1fr);
  }
  .owl-nav {
    display: none;
  }
}

/* Mobile view - 1 card per row */
@media (max-width: 576px) {
  .cards-list {
    grid-template-columns: 1fr;
  }
}
.health-checkup {
  background: #f9f9f9;
  padding: 60px 20px;
}

.health-checkup .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: center;
  max-width: 1200px;
  margin: auto;
}

.health-checkup h2 {
  font-size: 28px;
  color: #2444bc;
  margin-bottom: 15px;
}

.health-checkup h2 span {
  color: #44b44c;
}

.health-checkup p {
  font-size: 16px;
  color: #555;
  margin-bottom: 20px;
  line-height: 1.6;
}

.health-checkup ul {
  list-style: none;
  padding: 0;
  margin-bottom: 25px;
}

.health-checkup ul li {
  font-size: 15px;
  color: #333;
  margin-bottom: 10px;
}

.btn-checkup {
  display: inline-block;
  background: #2444bc;
  color: #fff;
  padding: 12px 25px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease;
}

.package-card {
  background-color: #fff;
}
.btn-checkup:hover {
  background: #44b44c;
}

.checkup-image img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
html,
body {
  overflow-x: hidden; /* prevent AOS horizontal overflow */
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .health-checkup .container {
    grid-template-columns: 1fr;
    text-align: left;
  }

  /* .about-section .container {
    text-align: left;
  }
  .about-section p {
    text-align: justify;
  }
  .about-section element .style {
    width: 56px;
    height: 56px;
  } */

  .checkup-image {
    order: -1;
  }

  .btn-checkup {
    margin-top: 15px;
  }
  .new-unit {
    font-size: 2.5rem !important;
  }
}
.btn-gradient {
  background: var(--primary-gradient);
  padding: 10px 30px !important;
  font-weight: 600;
  color: var(--primary-white-color) !important;
  border-radius: 30px;
  border: none;
}
.package-card a {
  color: #fff;
}

.btn-gradient:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.gradient-border {
  position: absolute;
  bottom: -20px;
  right: -20px;
  padding: 4px; /* border thickness */
  background: linear-gradient(135deg, #2444bc, #44b44c);
  border-radius: 12px;
  display: inline-block;
  box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2);
}
.doctors-section .doctor-card {
  text-align: center;
  overflow: hidden;
}

.doctors-section .doctor-card img {
  width: 100%;
  max-width: 200px; /* Adjust size */
  height: 300px; /* Fixed square */
  object-fit: cover;
  filter: grayscale(100%);
  transition: filter 0.5s ease, transform 0.3s ease;
  border-radius: 10px; /* Slight rounding for modern look */
}

.doctors-section .doctor-card img:hover {
  filter: grayscale(0%);
  transform: scale(1.05);
}

.doctors-section .doctor-card h5 {
  margin-top: 15px;
  font-weight: 600;
}

.doctors-section .doctor-card p {
  color: #666;
}
.facility-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}
.emergency-btn {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  background: linear-gradient(180deg, #2444bc, #44b44c);
  color: #fff;
  padding: 12px 8px;
  font-size: 14px;
  font-weight: bold;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  cursor: pointer;
  border-radius: 8px 0 0 8px;
  z-index: 9999;
  transition: opacity 0.3s ease;
}

/* Popup Styles */
.emergency-popup {
  display: none;
  position: fixed;
  right: 55px;
  top: 50%;
  transform: translateY(-50%);
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.3);
  z-index: 10000;
  width: 260px;
  text-align: center;
}
.emergency-popup h3 {
  margin-bottom: 12px;
  font-size: 18px;
  font-weight: bold;
  color: #2444bc;
}
.emergency-popup i {
  font-size: 36px;
  color: #44b44c;
  margin-bottom: 8px;
  margin-right: 5px;
}
.emergency-popup p {
  font-size: 14px;
  margin-bottom: 15px;
  color: #555;
}
.emergency-popup button {
  display: block;
  width: 100%;
  padding: 10px;
  margin-top: 8px;
  border: none;
  border-radius: 6px;
  font-size: 15px;
  cursor: pointer;
  font-weight: 500;
}
.call-btn {
  background: linear-gradient(90deg, #2444bc, #44b44c);
  color: white;
}
.call-btn:hover {
  opacity: 0.9;
}
.nav-btn {
  background: linear-gradient(90deg, #44b44c, #2444bc);
  color: white;
}
.nav-btn:hover {
  opacity: 0.9;
}
.close-btn {
  background: #ddd;
  color: #333;
}
.close-btn:hover {
  background: #ccc;
}
.nav-btn i {
  font-size: 16px; /* smaller icon */
}
.contact-section {
  background: #f8f9fa;
}

.section-title {
  font-weight: 700;
  font-size: 2rem;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #2444bc, #44b44c);
  margin: 0.5rem auto 0;
  border-radius: 2px;
}

.contact-form input,
.contact-form textarea {
  border-radius: 10px;
  border: 1px solid #ddd;
  padding: 12px 15px;
  transition: 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #2444bc;
  box-shadow: 0 0 0 3px rgba(36, 68, 188, 0.15);
}

.btn-gradient {
  background: linear-gradient(90deg, #2444bc, #44b44c);
  border: none;
  color: #fff;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.btn-gradient:hover {
  background: linear-gradient(90deg, #1d38a0, #379a3e);
  transform: translateY(-2px);
}

/* Slider Logos */
.venture-slider-logo {
  max-width: 220px;
  max-height: 120px;
  object-fit: contain;
}

/* Grid Logos */
.venture-grid-logo {
  max-width: 120px;
  max-height: 80px;
  object-fit: contain;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.venture-card {
  padding: 15px;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.venture-card:hover .venture-grid-logo {
  transform: scale(1.1);
  filter: brightness(1.1);
}
.emergency-btn {
  writing-mode: vertical-rl; /* rotates text vertically */
  text-orientation: upright; /* keeps letters upright */
  letter-spacing: 4px; /* spacing between letters */
}

/* video */
.brand-video-section h2 {
  font-size: 2.2rem;
  letter-spacing: -0.5px;
}
.video-thumbnail {
  max-width: 220px;
  margin: auto;
  position: relative;
}
.play-btn {
  background: linear-gradient(135deg, #2a6c96, #44b44c);
  border: none;
  font-size: 1.5rem;
  color: #fff;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.4);
  transition: transform 0.25s ease-in-out, box-shadow 0.25s;
}
.play-btn:hover {
  transform: scale(1.15);
  box-shadow: 0 0 35px rgba(0, 0, 0, 0.5);
}
/* Waves */
.waves {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: rgba(42, 108, 150, 0.35);
  transform: translate(-50%, -50%);
  animation: ripple 2.5s infinite;
  z-index: 1;
}
.wave1 {
  animation-delay: 0s;
}
.wave2 {
  animation-delay: 0.7s;
}
.wave3 {
  animation-delay: 1.4s;
}

@keyframes ripple {
  0% {
    transform: translate(-50%, -50%) scale(0.6);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -50%) scale(1.5);
    opacity: 0;
  }
}
.text-left h2,
.about-section h2 {
  font-size: 3.5rem;
  font-family: "Inria Sans", sans-serif !important;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 20px;
}

.text-left p,
.about-section p {
  font-family: "Quicksand", sans-serif !important;
  font-size: 18px;
  color: #444; /* softer dark gray */
  line-height: 1.8;
  letter-spacing: 0.5px;
  word-spacing: 2px;
  margin-bottom: 1.2em;
}
