:root {
  --primary: #0d6efd;
  --primary-dark: #03245c;
  --secondary: #e53935;
  --light: #f4f8ff;
  --soft: #f4f8ff;
  /* --dark: #0f0231; */
  /* --dark: #15053f; */
  --dark: #031b4b;
  --muted: #64748b;
  --light-text: #6c757d;
  --white: #ffffff;
  --success: #11b981;
  --warning: #f59e0b;
  --shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  --radius: 20px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  color: var(--dark);
  line-height: 1.6;
  background: #fff;
}

a {
  text-decoration: none;
}

img {
  max-width: 100%;
}

.section-padding {
  padding: 80px 0;
}

.section-title {
  font-size: clamp(1.9rem, 3vw, 2.7rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--dark);
}

.section-subtitle {
  max-width: 760px;
  color: var(--muted);
}

.small-muted {
  color: var(--muted);
  font-size: 0.95rem;
}

.badge-soft {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(13, 110, 253, 0.08);
  color: var(--primary);
  padding: 0.6rem 1rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
}

.btn-primary {
  background: linear-gradient(90deg, var(--primary), var(--primary-dark));
  border: none;
}

.btn-outline-primary {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-outline-primary:hover {
  background: var(--primary);
  color: #fff;
}

/* Header */
.clinic-header {
  background: #fff;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
  z-index: 1030;
}

.clinic-topbar {
  background: #0d043f;
  /* background: #08152f; */
  /* background:  #08152f; */
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.92rem;
  padding: 0.75rem 0;
}

.clinic-topbar a,
.clinic-topbar span {
  color: rgba(255, 255, 255, 0.88);
}

.topbar-link {
  font-weight: 600;
}

.topbar-link:hover,
.social-icons a:hover {
  color: #fff;
}

.social-icons a {
  display: inline-flex;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  align-items: center;
  justify-content: center;
}

.clinic-navbar-wrap {
  background: #fff;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

.site-logo {
  height: 68px;
  width: auto;
}

.navbar-brand .brand-text h5 {
  font-weight: 800;
  color: #06285f;
}

.navbar-brand .brand-text small {
  color: var(--secondary);
  font-weight: 700;
}

.navbar-nav .nav-link,
.navbar .nav-link {
  font-weight: 700;
  color: #1f2937;
  padding: 0.95rem 0.9rem !important;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus,
.navbar .nav-link:hover,
.navbar .nav-link.active {
  color: var(--primary);
}

.dropdown-menu {
  border: 0;
  box-shadow: var(--shadow);
  border-radius: 18px;
}

.mega-menu {
  width: min(1080px, 96vw);
  left: 50% !important;
  right: auto;
  transform: translateX(-50%);
  margin-top: 0.8rem;
  border-radius: 1rem;
  background: #fff;
}

.mega-menu-card {
  background: #fff;
  border-radius: 1.25rem;
  box-shadow: 0 12px 35px rgba(15, 23, 42, 0.07);
  padding: 1.5rem;
  height: 100%;
}

.mega-highlight {
  background: linear-gradient(180deg, #eff6ff, #ffffff);
  border: 1px solid rgba(13, 110, 253, 0.12);
}

.mega-title {
  color: #06285f;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.mega-text {
  font-size: 0.95rem;
  color: var(--muted);
}

.emergency-banner {
  background: linear-gradient(120deg, #dc3545, #b10d2f);
  color: #fff;
  padding: 18px 0;
}

.emergency-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.18);
  font-size: 1.2rem;
}

@media (min-width: 992px) {
  .navbar .dropdown:hover>.dropdown-menu {
    display: block;
    margin-top: 0;
  }
}

@media (max-width: 991.98px) {
  .mega-menu {
    position: static !important;
    width: 100%;
    transform: none;
    left: 0 !important;
    box-shadow: none !important;
    padding: 1rem !important;
  }

  .site-logo {
    height: 56px;
  }
}

/* Hero section */
.hero,
.hero-medical {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(13, 110, 253, 0.1), transparent 35%),
    linear-gradient(135deg, #f4f8ff 0%, #eef5ff 45%, #ffffff 100%);
}

.hero-item {
  position: relative;
  overflow: hidden;
  transform: scale(1);
}

.hero-bg-1,
.hero-bg-2,
.hero-bg-3 {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-bg-1 {
  background-image:
    linear-gradient(rgba(8, 22, 44, 0.4), rgba(8, 22, 44, 0.4)),
    url("../img/1patient-inconsultation.webp");
}

.hero-bg-2 {
  background-image:
    linear-gradient(rgba(8, 22, 44, 0.48), rgba(8, 22, 44, 0.48)),
    url("../img/2modern-clinic.webp");
}

.hero-bg-3 {
  background-image:
    linear-gradient(rgba(8, 22, 44, 0.45), rgba(8, 22, 44, 0.45)),
    url("../img/3digital-healthcareinterface.webp");
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top left, rgba(13, 110, 253, 0.18), transparent 36%),
    radial-gradient(circle at bottom right, rgba(255, 255, 255, 0.1), transparent 30%);
  z-index: 1;
}

.hero-slide {
  min-height: 780px;
  display: flex;
  align-items: center;
  padding: 80px 0 95px;
  position: relative;
  z-index: 2;
}

.hero-content,
.hero-card-animate {
  position: relative;
  z-index: 2;
}

.hero-title,
.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4.7rem);
  line-height: 1.05;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.65rem;
  max-width: 800px;
  text-shadow: 0 8px 30px rgba(0, 0, 0, 0.18);
}

.hero p.lead,
.hero .lead {
  font-size: 1.08rem;
  max-width: 700px;
  color: rgba(255, 255, 255, 0.92);
}

.hero-actions .btn {
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.hero-actions .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.14);
}

.hero-outline-btn {
  border-width: 2px;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.8);
}

.hero-outline-btn:hover {
  background: #fff;
  color: #0d1b2a;
  border-color: #fff;
}

.hero-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(10px);
  opacity: 0.25;
  pointer-events: none;
  z-index: 0;
}

.hero-shape-1 {
  width: 280px;
  height: 280px;
  background: rgba(13, 110, 253, 0.18);
  top: -70px;
  left: -90px;
}

.hero-shape-2 {
  width: 220px;
  height: 220px;
  background: rgba(220, 53, 69, 0.14);
  right: 6%;
  top: 90px;
}

.hero-shape-3 {
  width: 180px;
  height: 180px;
  background: rgba(255, 255, 255, 0.1);
  right: 28%;
  bottom: 40px;
}

.booking-mini {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(13, 110, 253, 0.08);
  border-radius: 1.6rem;
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.18);
  backdrop-filter: blur(12px);
}

.hero-form-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(13, 110, 253, 0.1);
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
}


/* =========================
   HERO CAROUSEL CONTROLS
========================= */
.carousel-control-prev,
.carousel-control-next {
  width: 70px;
  opacity: 1;
  transition: all 0.3s ease;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  width: 3rem;
  height: 3rem;
  background-size: 55% 55%;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.35);
  padding: 1.4rem;
  transition: all 0.3s ease;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

.carousel-control-prev:hover .carousel-control-prev-icon,
.carousel-control-next:hover .carousel-control-next-icon {
  background-color: rgba(13, 110, 253, 0.95);
  transform: scale(1.08);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.35);
}

.carousel-control-prev:focus .carousel-control-prev-icon,
.carousel-control-next:focus .carousel-control-next-icon {
  background-color: rgba(13, 110, 253, 0.95);
  outline: none;
}

/* =========================
   HERO APPOINTMENT BOX
========================= */
.booking-mini,
.hero-card {
  background: rgba(255, 255, 255, 0.14) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
  color: #fff;
}

.booking-mini h3,
.booking-mini p,
.booking-mini label,
.booking-mini .small-muted {
  color: #fff !important;
}


.booking-mini .form-control,
.booking-mini .form-select,
.booking-mini textarea {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: #212529;
  border-radius: 0;
  min-height: 50px;
}

.booking-mini .form-control::placeholder,
.booking-mini textarea::placeholder {
  color: #6c757d;
}

.booking-mini .form-control:focus,
.booking-mini .form-select:focus,
.booking-mini textarea:focus {
  background: rgba(255, 255, 255, 0.96);
  border-color: #0d6efd;
  box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.2);
}

/* =========================
   HERO CAROUSEL IMPROVEMENTS
========================= */
.hero-item {
  min-height: 760px;
  position: relative;
  display: flex;
  align-items: center;
}

.hero-slide {
  position: relative;
  z-index: 2;
  padding-top: 70px;
  padding-bottom: 70px;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
      rgba(1, 21, 59, 0.82) 0%,
      rgba(1, 21, 59, 0.58) 45%,
      rgba(1, 21, 59, 0.35) 100%);
  z-index: 1;
}

.hero-content {
  color: #fff;
  max-width: 680px;
}

.hero-title {
  font-size: clamp(2rem, 4vw, 3.8rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.hero-content .lead {
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.08rem;
  line-height: 1.8;
}

.badge-soft {
  display: inline-block;
  padding: 0.7rem 1rem;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  letter-spacing: 0.08em;
  font-size: 0.8rem;
}

.quick-stat {
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 1.2rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
}

.quick-stat h3 {
  color: #fff;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.quick-stat p {
  color: rgba(255, 255, 255, 0.92) !important;
}

.hero-outline-btn:hover {
  background: #fff;
  color: #0d6efd !important;
  border-color: #fff;
}

.hero-form-badge {
  background: rgba(13, 110, 253, 0.9);
  color: #fff;
  padding: 0.55rem 0.9rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

@media (max-width: 991.98px) {
  .hero-item {
    min-height: auto;
  }

  .hero-slide {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .carousel-control-prev,
  .carousel-control-next {
    width: 50px;
  }

  .carousel-control-prev-icon,
  .carousel-control-next-icon {
    width: 2.4rem;
    height: 2.4rem;
    padding: 1.1rem;
  }
}

/* =========================
   HERO VIDEO BOX
========================= */
.video-box {
  position: relative;
  overflow: hidden;
  height: 100%;
  width: 450px;
  min-height: 380px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: #000;
}

/* Video styling */
.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 120%;
  height: 120%;
  object-fit: cover;
  transform: translate(-50%, -50%);
  z-index: 1;
  filter: brightness(0.75) contrast(1.05);
}

/* Overlay content */
.video-overlay {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: flex-end;
  padding: 2rem;
  background: linear-gradient(to top,
      rgba(1, 21, 59, 0.85),
      rgba(1, 21, 59, 0.2));
  color: #fff;
}

.video-overlay h4 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.video-overlay p {
  font-size: 0.95rem;
  opacity: 0.95;
}

/* Play badge */
.play-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 3;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background: rgba(13, 110, 253, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
  transition: 0.3s;
}

.play-badge:hover {
  transform: scale(1.1);
  background: #0d6efd;
}

/* Optional hover effect */
/* .video-box:hover .hero-video {
    transform: translate(-50%, -50%) scale(1.05);
    transition: 0.6s ease;
} */

@media (max-width: 768px) {
  .hero-video {
    display: none;
  }

  .video-box {
    background: url('../img/clinic-fallback.jpg') center/cover no-repeat;
  }
}

/* =========================
   INTERACTIVE VIDEO BOX
========================= */
.video-box {
  position: relative;
  overflow: hidden;
  min-height: 380px;
  background: #000;
}

/* Video */
.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 120%;
  height: 120%;
  object-fit: cover;
  transform: translate(-50%, -50%);
  z-index: 1;
  transition: 0.6s ease;
}

/* Overlay */
.video-overlay {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: flex-end;
  padding: 2rem;
  background: linear-gradient(to top,
      rgba(1, 21, 59, 0.85),
      rgba(1, 21, 59, 0.2));
  color: #fff;
  transition: 0.3s;
}

/* Play Button */
.play-badge {
  position: absolute;
  top: 50px;
  right: 50px;
  z-index: 3;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(13, 110, 253, 0.95);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35);
  transition: all 0.3s ease;
}

/* =========================
   CENTER PLAY BUTTON
========================= */
.play-badge {
  position: absolute;
  margin-top: 50px;
  top: 50%;
  left: 50%;
  /* transform: translate(-50%, -50%); */
  z-index: 3;
  width: 75px;
  height: 75px;
  border-radius: 50%;
  background: rgba(13, 109, 253, 0.103);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 22px;
  cursor: pointer;

  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  transition: all 0.3s ease;
}

/* Pulse animation */
.play-badge::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: rgba(13, 109, 253, 0.068);
  animation: pulse 2s infinite;
  z-index: -1;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }

  70% {
    transform: scale(1.6);
    opacity: 0;
  }

  100% {
    opacity: 0;
  }
}

.video-box.playing .video-overlay {
  background: linear-gradient(to top,
      rgba(1, 21, 59, 0.5),
      rgba(1, 21, 59, 0.1));
}


.quick-stat {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(13, 110, 253, 0.08);
  border-radius: 1rem;
  padding: 1rem;
  box-shadow: 0 10px 25px rgba(13, 110, 253, 0.07);
  height: 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.quick-stat:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 34px rgba(13, 110, 253, 0.11);
}

.quick-stat h3 {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
  color: var(--primary);
}

.quick-stat p {
  color: rgba(255, 255, 255, 0.88);
}

.hero-media-box,
.hero-portal-box {
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.12);
}

.hero-media-box {
  position: relative;
  min-height: 430px;
}

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

.video-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: end;
  padding: 2rem;
  background: linear-gradient(to top, rgba(13, 27, 42, 0.88), rgba(13, 27, 42, 0.1));
  color: #fff;
}

.play-badge {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.hero-portal-box {
  background: linear-gradient(135deg, rgba(3, 25, 59, 0.575), rgba(3, 8, 56, 0.267));
  color: #fff;
  padding: 2rem;
  backdrop-filter: blur(10px);
}

.hero-indicators {
  bottom: 22px;
  z-index: 4;
}

.hero-indicators [data-bs-target] {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 0;
  margin: 0 6px;
  background-color: rgba(255, 255, 255, 0.38);
  opacity: 1;
  transition: all 0.25s ease;
}

.hero-indicators .active {
  width: 34px;
  border-radius: 999px;
  background-color: #fff;
}

.hero-control {
  width: 70px;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 5;
}

.hero-medical:hover .hero-control,
.hero:hover .hero-control {
  opacity: 1;
}

.hero-control-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #0d1b2a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
  transition: all 0.25s ease;
  margin: auto;
}

.hero-control:hover .hero-control-icon {
  background: var(--primary);
  color: #fff;
  transform: scale(1.08);
}

.carousel-control-prev,
.carousel-control-next {
  top: 50%;
  bottom: auto;
  width: 5%;
  transform: translateY(-50%);
}

/* Hero animation */
.hero-animate,
.hero-card-animate {
  opacity: 0;
  transform: translateY(30px);
  animation-duration: 0.9s;
  animation-fill-mode: forwards;
  animation-timing-function: ease;
}

.carousel-item.active .hero-animate {
  animation-name: heroFadeUp;
  animation-delay: 0.25s;
}

.carousel-item.active .hero-card-animate {
  animation-name: heroFadeUp;
  animation-delay: 0.45s;
}

.hero-actions .btn:nth-child(1) {
  animation-delay: 0.45s;
}

.hero-actions .btn:nth-child(2) {
  animation-delay: 0.55s;
}

.hero-actions .btn:nth-child(3) {
  animation-delay: 0.65s;
}

.carousel-item.active.hero-item {
  animation: heroBgZoom 6s ease forwards;
}

@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }

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

@keyframes heroBgZoom {
  from {
    background-size: 100%;
  }

  to {
    background-size: 106%;
  }
}

.hero-medical .form-control,
.hero-medical .form-select {
  min-height: 52px;
  border-radius: 0.9rem;
  border-color: #dbe4f0;
  padding-left: 1rem;
  box-shadow: none;
}

.hero-medical .form-control:focus,
.hero-medical .form-select:focus {
  border-color: rgba(13, 110, 253, 0.45);
  box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.1);
}

.hero-medical textarea.form-control {
  min-height: 120px;
  padding-top: 0.95rem;
}

@media (max-width: 991.98px) {
  .hero-slide {
    min-height: auto;
    padding-top: 55px;
    padding-bottom: 85px;
  }

  .hero-title,
  .hero h1 {
    font-size: clamp(2rem, 7vw, 3.2rem);
  }

  .hero-control {
    opacity: 1;
    width: 54px;
  }

  .hero-control-icon {
    width: 44px;
    height: 44px;
    font-size: 1.5rem;
  }

  .hero-shape-2,
  .hero-shape-3 {
    display: none;
  }

  .hero-media-box,
  .hero-portal-box,
  .booking-mini {
    margin-top: 0.5rem;
  }
}

@media (max-width: 575.98px) {
  .hero-slide {
    padding-top: 40px;
    padding-bottom: 75px;
  }

  .booking-mini {
    padding: 1.25rem !important;
  }

  .hero-indicators {
    bottom: 10px;
  }

  .hero-title {
    line-height: 1.12;
  }
}

/* Generic forms */
.form-control,
.form-select {
  min-height: 52px;
  border-radius: 0.9rem;
  border-color: #dbe4f0;
  padding-left: 1rem;
  box-shadow: none;
}

.form-control:focus,
.form-select:focus {
  border-color: rgba(13, 110, 253, 0.45);
  box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.1);
}

textarea.form-control {
  min-height: 120px;
  padding-top: 0.95rem;
}

/* Shared cards */
.glass-card,
.service-card,
.doctor-card,
.info-card,
.portal-card,
.testimonial-card,
.hero-card,
.resource-card {
  background: #fff;
  border-radius: 1.25rem;
  /* border-radius: 0px; */
  box-shadow: 0 12px 35px rgba(15, 23, 42, 0.07);
  padding: 1.5rem;
  height: 100%;
}

.glass-card {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(13, 110, 253, 0.08);
}

.icon-circle {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(13, 110, 253, 0.1);
  color: var(--primary);
  font-size: 1.8rem;
}

.service-card h4,
.doctor-card h4,
.portal-card h4,
.info-card h4 {
  font-weight: 800;
  margin-bottom: 0.75rem;
  color: var(--dark);
}

.doctor-card img {
  width: 100%;
  height: 270px;
  object-fit: cover;
  background: #eef4fb;
}

.testimonial-card {
  border-left: 4px solid var(--primary);
}

/* Lists */
.check-list {
  list-style: none;
  padding-left: 0;
}

.check-list li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.9rem;
}

.check-list li::before {
  content: "\f00c";
  font-family: FontAwesome;
  color: #21c87a;
  position: absolute;
  left: 0;
  top: 0.05rem;
  font-size: 0.95rem;
}

/* Media blocks */
.video-box {
  position: relative;
  border-radius: 1.5rem;
  overflow: hidden;
  min-height: 420px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.13);
  background: #dbeafe;
}

.video-box img,
.video-box video {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  display: block;
  background: #e9eef8;
}

.portal-strip {
  background: linear-gradient(135deg, rgba(13, 110, 253, 0.92), rgba(10, 88, 202, 0.95));
  color: #fff;
  padding: 2rem;
  backdrop-filter: blur(10px);
  border-radius: 1.5rem;
}

/* Contact */
.contact-map,
.contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 520px;
  border: 0;
  border-radius: 1.5rem;
}

/* Page header */
.page-header {
  padding: 90px 0;
  background: linear-gradient(135deg, #eff6ff, #ffffff);
}

.page-header h1 {
  font-weight: 900;
  color: #0b1d46;
}

/* Mockup */
.mockup-board {
  background: linear-gradient(135deg, #eff6ff, #f8fbff);
  border-radius: 30px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.mockup-screen {
  background: #fff;
  border-radius: 26px;
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.12);
  overflow: hidden;
  border: 10px solid #0b1d46;
}

.mockup-toolbar {
  padding: 0.75rem 1rem;
  background: #0b1d46;
  display: flex;
  gap: 0.45rem;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  opacity: 0.6;
}

.mockup-content {
  padding: 1.25rem;
}

.table-soft thead th {
  background: #eff6ff;
  color: #0b1d46;
  border-bottom: 0;
}

.portal-login-card {
  max-width: 460px;
  margin: auto;
}

.section-padding {
  padding: 80px 0;
}

.page-header {
  background: linear-gradient(135deg, #f7fbff 0%, #edf4ff 100%);
  padding: 90px 0 80px;
}

.badge-soft {
  display: inline-block;
  background: rgba(13, 110, 253, 0.1);
  color: var(--primary);
  padding: 0.6rem 1rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
}

.section-title {
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--dark);
}

.section-subtitle {
  max-width: 760px;
  color: var(--light-text);
}

.service-card {
  background: #fff;
  border-radius: 1.25rem;
  box-shadow: 0 12px 35px rgba(15, 23, 42, 0.07);
  padding: 2rem;
  border-left: 5px solid var(--primary);
  height: 100%;
}

.service-card h4 {
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 1rem;
}

.service-icon {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(13, 110, 253, 0.1);
  color: var(--primary);
  font-size: 1.6rem;
  margin-bottom: 1rem;
}

.topbar {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.92rem;
  padding: 0.75rem 0;
}

.topbar a,
.topbar span {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
}

.topbar a:hover {
  color: #fff;
}

.site-logo {
  height: 58px;
  width: auto;
}

.navbar-nav .nav-link {
  font-weight: 700;
  color: #1f2937;
  padding-left: 0.9rem !important;
  padding-right: 0.9rem !important;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--primary);
}

.quick-links {
  background: #f8fbff;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 8px 25px rgba(15, 23, 42, 0.05);
}

.quick-links a {
  display: block;
  padding: 0.6rem 0;
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
}

.quick-links a:hover {
  text-decoration: underline;
}

.cta-box {
  background: linear-gradient(135deg, #0d6efd, #0a58ca);
  color: #fff;
  border-radius: 1.25rem;
  padding: 2rem;
  box-shadow: 0 20px 50px rgba(13, 110, 253, 0.18);
}

.footer-main {
  background: #0b1220;
  color: rgba(255, 255, 255, 0.8);
}

.footer-main h5,
.footer-main h6 {
  color: #fff;
  font-weight: 800;
}

.footer-main a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}

.footer-main a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
}

/* :root {
      --primary: #0d6efd;
      --secondary: #e53935;
      --dark: #0d1b2a;
      --soft: #f4f8ff;
      --light-text: #6c757d;
      --white: #ffffff;
    } */

body {
  font-family: Arial, Helvetica, sans-serif;
  color: #1f2937;
  background: #fff;
}

a {
  text-decoration: none;
}

.section-padding {
  padding: 80px 0;
}

.badge-soft {
  display: inline-block;
  background: rgba(13, 110, 253, 0.1);
  color: var(--primary);
  padding: 0.6rem 1rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
}

.section-title {
  font-size: clamp(1.9rem, 3vw, 2.7rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--dark);
}

.section-subtitle {
  max-width: 760px;
  color: var(--light-text);
}

.clinic-header {
  background: #fff;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
  z-index: 1030;
}

.clinic-topbar {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.92rem;
  padding: 0.75rem 0;
}

.clinic-topbar a,
.clinic-topbar span {
  color: rgba(255, 255, 255, 0.88);
}

.topbar-link:hover,
.social-icons a:hover {
  color: #fff;
}

.clinic-navbar-wrap {
  background: #fff;
}

.site-logo {
  height: 62px;
  width: auto;
}

.navbar-nav .nav-link {
  font-weight: 700;
  color: #1f2937;
  padding-left: 0.9rem !important;
  padding-right: 0.9rem !important;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
  color: var(--primary);
}

.mega-menu {
  width: 100%;
  left: 0;
  right: 0;
  /* border-radius: 1rem; */
  border-radius: 0px;
  background: #fff;
}

.mega-menu-card,
.service-card,
.doctor-card,
.info-card,
.portal-card,
.testimonial-card,
.hero-card {
  background: #fff;
  /* border-radius: 1.25rem; */
  border-radius: 0px;
  box-shadow: 0 12px 35px rgba(15, 23, 42, 0.07);
  padding: 1.5rem;
  height: 100%;
}

.mega-highlight {
  background: linear-gradient(135deg, #eef5ff, #ffffff);
  border: 1px solid rgba(13, 110, 253, 0.12);
}


.mega-title {
  color: var(--dark);
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.mega-text {
  color: var(--light-text);
  font-size: 0.95rem;
}

.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #f7fbff 0%, #edf4ff 100%);
}

.hero-slide {
  min-height: 760px;
  display: flex;
  align-items: center;
  padding-top: 60px;
  padding-bottom: 80px;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  font-weight: 900;
  line-height: 1.1;
  color: var(--dark);
  max-width: 760px;
}

.hero .lead {
  color: #4b5563;
  max-width: 700px;
  font-size: 1.1rem;
}

.quick-stat {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(13, 110, 253, 0.08);
  border-radius: 1rem;
  padding: 1rem;
  box-shadow: 0 10px 25px rgba(13, 110, 253, 0.07);
  height: 100%;
}

.quick-stat h3 {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
  color: var(--primary);
}

.small-muted {
  color: var(--light-text);
}

.booking-mini {
  border: 1px solid rgba(13, 110, 253, 0.08);
}

.form-control,
.form-select {
  min-height: 52px;
  border-radius: 0.9rem;
  border-color: #dbe4f0;
  padding-left: 1rem;
}

textarea.form-control {
  min-height: 120px;
  padding-top: 0.95rem;
}

.video-box {
  position: relative;
  border-radius: 1.5rem;
  overflow: hidden;
  min-height: 420px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.13);
}

.video-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 420px;
  display: block;
  background: #e9eef8;
}

.video-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: end;
  padding: 2rem;
  background: linear-gradient(to top, rgba(13, 27, 42, 0.85), rgba(13, 27, 42, 0.1));
  color: #fff;
}

.portal-strip {
  background: linear-gradient(135deg, #0d6efd, #0a58ca);
  color: #fff;
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: 0 20px 50px rgba(13, 110, 253, 0.18);
}

.check-list {
  list-style: none;
  padding-left: 0;
}

.check-list li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.9rem;
}

.check-list li::before {
  content: "\f00c";
  font-family: FontAwesome;
  color: #21c87a;
  position: absolute;
  left: 0;
  top: 0.1rem;
  font-size: 0.95rem;
}

.icon-circle {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(13, 110, 253, 0.1);
  color: var(--primary);
  font-size: 1.8rem;
}

.service-card h4,
.doctor-card h4,
.portal-card h4,
.info-card h4 {
  font-weight: 800;
  margin-bottom: 0.75rem;
  color: var(--dark);
}

.doctor-card img {
  width: 100%;
  height: 270px;
  object-fit: cover;
  background: #eef4fb;
}

.testimonial-card {
  border-left: 4px solid var(--primary);
}

.contact-map,
.contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 520px;
  border: 0;
  border-radius: 1.5rem;
}

.emergency-banner {
  background: linear-gradient(90deg, #d62828, #f03e3e);
  color: #fff;
  padding: 1rem 0;
}

.emergency-icon {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
}

.footer-main {
  background: #0b1220;
  color: rgba(255, 255, 255, 0.8);
}

.footer-main h5,
.footer-main h6 {
  color: #fff;
  font-weight: 800;
}

.footer-main a {
  color: rgba(255, 255, 255, 0.8);
}

.footer-main a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
}

.carousel-control-prev,
.carousel-control-next {
  width: 5%;
}

@media (min-width: 992px) {
  .navbar .dropdown:hover>.dropdown-menu {
    display: block;
    margin-top: 0;
  }
}

@media (max-width: 991.98px) {
  .hero-slide {
    min-height: auto;
    padding-top: 40px;
    padding-bottom: 60px;
  }

  .mega-menu {
    position: static !important;
    width: 100%;
    box-shadow: none !important;
    padding: 1rem !important;
  }

  .site-logo {
    height: 52px;
  }
}




.footer,
.footer-main {
  background: #08152f;
  color: #cbd5e1;
}

.footer a,
.footer-main a {
  color: #e2e8f0;
}

.footer a:hover,
.footer-main a:hover {
  color: #fff;
}

.footer-title,
.footer-main h5,
.footer-main h6 {
  color: #fff;
  font-weight: 800;
  margin-bottom: 1rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 2rem;
  padding-top: 1.2rem;
  color: rgba(255, 255, 255, 0.7);
}

:root {
  --primary: #0d6efd;
  --secondary: #e53935;
  --dark: #0d1b2a;
  --soft: #f4f8ff;
  --light-text: #6c757d;
  --white: #ffffff;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  color: #1f2937;
  background: #fff;
}

a {
  text-decoration: none;
}

.section-padding {
  padding: 80px 0;
}

.badge-soft {
  display: inline-block;
  background: rgba(13, 110, 253, 0.1);
  color: var(--primary);
  padding: 0.6rem 1rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
}

.section-title {
  font-size: clamp(1.9rem, 3vw, 2.7rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--dark);
}

.section-subtitle {
  max-width: 760px;
  color: var(--light-text);
}

.clinic-header {
  background: #fff;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
  z-index: 1030;
}

.clinic-topbar {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.92rem;
  padding: 0.75rem 0;
}

.clinic-topbar a,
.clinic-topbar span {
  color: rgba(255, 255, 255, 0.88);
}

.topbar-link:hover,
.social-icons a:hover {
  color: #fff;
}

.clinic-navbar-wrap {
  background: #fff;
}

.site-logo {
  height: 62px;
  width: auto;
}

.navbar-nav .nav-link {
  font-weight: 700;
  color: #1f2937;
  padding-left: 0.9rem !important;
  padding-right: 0.9rem !important;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
  color: var(--primary);
}

.mega-menu {
  width: 100%;
  left: 0;
  right: 0;
  border-radius: 1rem;
  background: #fff;
}

.mega-menu-card,
.service-card,
.doctor-card,
.info-card,
.portal-card,
.testimonial-card,
.hero-card {
  background: #fff;
  border-radius: 1.25rem;
  box-shadow: 0 12px 35px rgba(15, 23, 42, 0.07);
  padding: 1.5rem;
  height: 100%;
}

.mega-highlight {
  background: linear-gradient(135deg, #eef5ff, #ffffff);
  border: 1px solid rgba(13, 110, 253, 0.12);
}

.mega-title {
  color: var(--dark);
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.mega-text {
  color: var(--light-text);
  font-size: 0.95rem;
}

.hero-medical {
  position: relative;
  background: linear-gradient(135deg, #f4f8ff 0%, #eef5ff 45%, #ffffff 100%);
}

.hero-item {
  position: relative;
  overflow: hidden;
}

.hero-bg-1,
.hero-bg-2,
.hero-bg-3 {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-bg-1 {
  background-image:
    linear-gradient(rgba(8, 22, 44, 0.40), rgba(8, 22, 44, 0.40)),
    url('../img/1patient-inconsultation.webp');
}

.hero-bg-2 {
  background-image:
    linear-gradient(rgba(8, 22, 44, 0.48), rgba(8, 22, 44, 0.48)),
    url('../img/2modern-clinic.webp');
}

.hero-bg-3 {
  background-image:
    linear-gradient(rgba(8, 22, 44, 0.45), rgba(8, 22, 44, 0.45)),
    url('../img/3digital-healthcareinterface.webp');
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top left, rgba(13, 110, 253, 0.18), transparent 36%),
    radial-gradient(circle at bottom right, rgba(255, 255, 255, 0.10), transparent 30%);
  z-index: 1;
}

.hero-slide {
  min-height: 780px;
  display: flex;
  align-items: center;
  padding-top: 80px;
  padding-bottom: 95px;
  position: relative;
  z-index: 2;
}

.hero-content,
.hero-card-animate {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4.7rem);
  line-height: 1.05;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.65rem;
  max-width: 800px;
  text-shadow: 0 8px 30px rgba(0, 0, 0, 0.18);
}

.hero .lead {
  font-size: 1.08rem;
  max-width: 700px;
  color: rgba(255, 255, 255, 0.92);
}

.hero-actions .btn {
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.hero-actions .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.14);
}

.hero-outline-btn {
  border-width: 2px;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.8);
}

.hero-outline-btn:hover {
  background: #fff;
  color: #0d1b2a;
  border-color: #fff;
}

.hero-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(10px);
  opacity: 0.25;
  pointer-events: none;
  z-index: 0;
}

.hero-shape-1 {
  width: 280px;
  height: 280px;
  background: rgba(13, 110, 253, 0.18);
  top: -70px;
  left: -90px;
}

.hero-shape-2 {
  width: 220px;
  height: 220px;
  background: rgba(220, 53, 69, 0.14);
  right: 6%;
  top: 90px;
}

.hero-shape-3 {
  width: 180px;
  height: 180px;
  background: rgba(255, 255, 255, 0.10);
  right: 28%;
  bottom: 40px;
}

.badge-soft {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.booking-mini {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(13, 110, 253, 0.08);
  border-radius: 1.6rem;
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.18);
  backdrop-filter: blur(12px);
}

.hero-form-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(13, 110, 253, 0.10);
  color: #0d6efd;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
}

.small-muted {
  color: #6b7280;
}

.quick-stat {
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 1rem;
  padding: 1rem;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(12px);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  height: 100%;
}

.quick-stat:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.18);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.12);
}

.quick-stat h3 {
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
}

.quick-stat p {
  color: rgba(255, 255, 255, 0.88);
}

.hero-media-box,
.hero-portal-box {
  border-radius: 1.6rem;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.18);
}

.hero-media-box {
  position: relative;
  min-height: 430px;
}

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

.video-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: end;
  padding: 2rem;
  background: linear-gradient(to top, rgba(13, 27, 42, 0.88), rgba(13, 27, 42, 0.10));
  color: #fff;
}

.play-badge {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #0d6efd;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.hero-portal-box {
  background: linear-gradient(135deg, rgba(2, 24, 58, 0.959), rgba(10, 88, 202, 0.95));
  color: #fff;
  padding: 2rem;
  backdrop-filter: blur(10px);
}

.check-list {
  list-style: none;
  padding-left: 0;
}

.check-list li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.95rem;
}

.check-list li::before {
  content: "\\f00c";
  font-family: FontAwesome;
  color: #8ff0b2;
  position: absolute;
  left: 0;
  top: 0.05rem;
  font-size: 0.95rem;
}

.hero-indicators {
  bottom: 22px;
  z-index: 5;
}

.hero-indicators [data-bs-target] {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 0;
  margin: 0 6px;
  background-color: rgba(255, 255, 255, 0.38);
  opacity: 1;
  transition: all 0.25s ease;
}

.hero-indicators .active {
  width: 34px;
  border-radius: 999px;
  background-color: #ffffff;
}

.hero-control {
  width: 72px;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 6;
}

.hero-medical:hover .hero-control {
  opacity: 1;
}

.hero-control-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #0d1b2a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.16);
  transition: all 0.25s ease;
  margin: auto;
}

.hero-control:hover .hero-control-icon {
  background: #0d6efd;
  color: #fff;
  transform: scale(1.08);
}

.carousel-control-prev,
.carousel-control-next {
  top: 50%;
  transform: translateY(-50%);
  bottom: auto;
}

/* Animation */
.hero-animate,
.hero-card-animate {
  opacity: 0;
  transform: translateY(30px);
  animation-duration: 0.9s;
  animation-fill-mode: forwards;
  animation-timing-function: ease;
}

.carousel-item.active .hero-animate {
  animation-name: heroFadeUp;
  animation-delay: 0.25s;
}

.carousel-item.active .hero-card-animate {
  animation-name: heroFadeUp;
  animation-delay: 0.45s;
}

.hero-actions .btn:nth-child(1) {
  animation-delay: 0.45s;
}

.hero-actions .btn:nth-child(2) {
  animation-delay: 0.55s;
}

.hero-actions .btn:nth-child(3) {
  animation-delay: 0.65s;
}

@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }

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

/* Better form styling inside hero */
.hero-medical .form-control,
.hero-medical .form-select {
  min-height: 52px;
  border-radius: 0.9rem;
  border-color: #dbe4f0;
  padding-left: 1rem;
  box-shadow: none;
}

.hero-medical .form-control:focus,
.hero-medical .form-select:focus {
  border-color: rgba(13, 110, 253, 0.45);
  box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.10);
}

.hero-medical textarea.form-control {
  min-height: 100px;
  padding-top: 0.9rem;
}

@media (max-width: 991.98px) {
  .hero-slide {
    min-height: auto;
    padding-top: 55px;
    padding-bottom: 85px;
  }

  .hero-title {
    font-size: clamp(2rem, 7vw, 3.2rem);
  }

  .hero-control {
    opacity: 1;
    width: 54px;
  }

  .hero-control-icon {
    width: 44px;
    height: 44px;
    font-size: 1.5rem;
  }

  .hero-shape-2,
  .hero-shape-3 {
    display: none;
  }

  .hero-media-box,
  .hero-portal-box,
  .booking-mini {
    margin-top: 0.5rem;
  }
}

.hero-item {
  transform: scale(1);
}

.carousel-item.active.hero-item {
  animation: heroBgZoom 6s ease forwards;
}

@keyframes heroBgZoom {
  from {
    background-size: 100%;
  }

  to {
    background-size: 106%;
  }
}

@media (max-width: 575.98px) {
  .hero-slide {
    padding-top: 40px;
    padding-bottom: 75px;
  }

  .booking-mini {
    padding: 1.25rem !important;
  }

  .hero-indicators {
    bottom: 10px;
  }

  .hero-title {
    line-height: 1.12;
  }
}

.quick-stat {
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(13, 110, 253, 0.08);
  border-radius: 1rem;
  padding: 1rem 1rem;
  box-shadow: 0 12px 30px rgba(13, 110, 253, 0.06);
  backdrop-filter: blur(8px);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  height: 100%;
}

.quick-stat:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 34px rgba(13, 110, 253, 0.11);
}

.quick-stat h3 {
  color: #0d6efd;
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
}

.hero-media-box,
.hero-portal-box {
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.12);
}

.hero-media-box img {
  min-height: 430px;
  object-fit: cover;
  width: 100%;
}

.play-badge {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: #0d6efd;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.hero-indicators {
  bottom: 22px;
  z-index: 4;
}

.hero-indicators [data-bs-target] {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 0;
  margin: 0 6px;
  background-color: rgba(13, 27, 42, 0.25);
  opacity: 1;
  transition: all 0.25s ease;
}

.hero-indicators .active {
  width: 34px;
  border-radius: 999px;
  background-color: #0d6efd;
}

.hero-control {
  width: 70px;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 5;
}

.hero:hover .hero-control {
  opacity: 1;
}

.hero-control-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #0d1b2a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
  transition: all 0.25s ease;
  margin: auto;
}

.hero-control:hover .hero-control-icon {
  background: #0d6efd;
  color: #fff;
  transform: scale(1.08);
}

.carousel-control-prev,
.carousel-control-next {
  top: 50%;
  transform: translateY(-50%);
  bottom: auto;
}

@media (max-width: 991.98px) {
  .hero-slide {
    min-height: auto;
    padding-top: 50px;
    padding-bottom: 80px;
  }

  .hero-title {
    font-size: clamp(2rem, 7vw, 3rem);
  }

  .hero-control {
    opacity: 1;
    width: 54px;
  }

  .hero-control-icon {
    width: 42px;
    height: 42px;
    font-size: 1.5rem;
  }

  .hero-shape-2,
  .hero-shape-3 {
    display: none;
  }
}

@media (max-width: 575.98px) {
  .hero-slide {
    padding-top: 35px;
    padding-bottom: 70px;
  }

  .booking-mini {
    padding: 1.25rem !important;
  }

  .hero-indicators {
    bottom: 10px;
  }
}

.quick-stat {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(13, 110, 253, 0.08);
  border-radius: 1rem;
  padding: 1rem;
  box-shadow: 0 10px 25px rgba(13, 110, 253, 0.07);
  height: 100%;
}

.quick-stat h3 {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
  color: var(--primary);
}

.small-muted {
  color: var(--light-text);
}

.booking-mini {
  border: 1px solid rgba(13, 110, 253, 0.08);
}

.form-control,
.form-select {
  min-height: 52px;
  border-radius: 0.9rem;
  border-color: #dbe4f0;
  padding-left: 1rem;
}

textarea.form-control {
  min-height: 120px;
  padding-top: 0.95rem;
}

.video-box {
  position: relative;
  border-radius: 1.5rem;
  overflow: hidden;
  min-height: 420px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.13);
}

.video-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 420px;
  display: block;
  background: #e9eef8;
}

.video-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: end;
  padding: 2rem;
  background: linear-gradient(to top, rgba(13, 27, 42, 0.85), rgba(13, 27, 42, 0.1));
  color: #fff;
}

.portal-strip {
  background: linear-gradient(135deg, #0d6efd, #0a58ca);
  color: #fff;
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: 0 20px 50px rgba(13, 110, 253, 0.18);
}

.check-list {
  list-style: none;
  padding-left: 0;
}

.check-list li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.9rem;
}

.check-list li::before {
  content: "\f00c";
  font-family: FontAwesome;
  color: #21c87a;
  position: absolute;
  left: 0;
  top: 0.1rem;
  font-size: 0.95rem;
}

.icon-circle {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(13, 110, 253, 0.1);
  color: var(--primary);
  font-size: 1.8rem;
}

.service-card h4,
.doctor-card h4,
.portal-card h4,
.info-card h4 {
  font-weight: 800;
  margin-bottom: 0.75rem;
  color: var(--dark);
}

.doctor-card img {
  width: 100%;
  height: 270px;
  object-fit: cover;
  background: #eef4fb;
}

.testimonial-card {
  border-left: 4px solid var(--primary);
}

.contact-map,
.contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 520px;
  border: 0;
  border-radius: 1.5rem;
}

.emergency-banner {
  background: linear-gradient(90deg, #d62828, #f03e3e);
  color: #fff;
  padding: 1rem 0;
}

.emergency-icon {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
}

.footer-main {
  background: #0b1220;
  color: rgba(255, 255, 255, 0.8);
}

.footer-main h5,
.footer-main h6 {
  color: #fff;
  font-weight: 800;
}

.footer-main a {
  color: rgba(255, 255, 255, 0.8);
}

.footer-main a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
}

.carousel-control-prev,
.carousel-control-next {
  width: 5%;
}

@media (min-width: 992px) {
  .navbar .dropdown:hover>.dropdown-menu {
    display: block;
    margin-top: 0;
  }
}

@media (max-width: 991.98px) {
  .hero-slide {
    min-height: auto;
    padding-top: 40px;
    padding-bottom: 60px;
  }

  .mega-menu {
    position: static !important;
    width: 100%;
    box-shadow: none !important;
    padding: 1rem !important;
  }

  .site-logo {
    height: 52px;
  }
}

/* Mobile Responsive */
@media (max-width: 991.98px) {
  .about.section {
    padding: 70px 0;
  }

  .about-content {
    padding-right: 0;
  }

  .image-wrapper {
    margin-top: 20px;
    padding-top: 60px;
  }

  .main-image {
    height: 420px;
  }

  .top-middle-box {
    width: 240px;
  }

  .top-middle-box img {
    height: 150px;
  }
}

@media (max-width: 767.98px) {
  .section-title {
    font-size: 1.7rem;
  }

  .about-content p {
    font-size: 0.96rem;
  }

  .main-image {
    height: 320px;
    border-radius: 16px;
  }

  .top-middle-box {
    width: 200px;
    padding: 8px;
    border-radius: 14px;
  }

  .top-middle-box img {
    height: 120px;
    border-radius: 10px;
  }

  .info-card {
    padding: 24px 20px;
  }
}

.team-section {
  background: #fff;
}

.premium-card {
  background: #fff;
  border-radius: 20px;
  padding: 24px 20px 28px;
  box-shadow: 0 12px 35px rgba(15, 23, 42, 0.08);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  position: relative;
  overflow: hidden;
}

.premium-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.14);
}

.doctor-img-wrap {
  position: relative;
  margin-bottom: 22px;
  border-radius: 18px;
  overflow: hidden;
}

.doctor-img {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #f8fbff;
  min-height: 260px;
}

.doctor-img img {
  width: 100%;
  /* max-width: 300px; */
  height: 400px;
  object-fit: cover;
  display: block;
  border-radius: 0px;
  transition: transform 0.5s ease;
}

.premium-card:hover .doctor-img img {
  transform: scale(1.06);
}

.doctor-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(3, 30, 70, 0.959), rgba(13, 110, 253, 0.15));
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s ease;
}

.premium-card:hover .doctor-overlay {
  opacity: 1;
  visibility: visible;
}

.social-icons {
  display: flex;
  gap: 12px;
  transform: translateY(14px);
  transition: transform 0.35s ease;
}

.premium-card:hover .social-icons {
  transform: translateY(0);
}

.social-icons a {
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--primary);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.social-icons a:hover {
  background: #fff;
  transform: scale(1.08);
}

.doctor-content h4 {
  margin-bottom: 8px;
}

.doctor-content p {
  color: #555;
  line-height: 1.65;
}

.doctor-content .btn {
  margin-top: 8px;
  transition: all 0.3s ease;
}

.doctor-content .btn:hover {
  transform: translateY(-2px);
}

/* Modal */
.doctor-modal-content {
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.16);
}

.modal-doctor-img {
  width: 100%;
  max-width: 320px;
  height: 320px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12);
}

.modal-info-box {
  background: #f8fbff;
  border-radius: 16px;
  padding: 20px;
}

.modal-info-box h6 {
  color: var(--dark);
  font-weight: 700;
}

.modal-info-box p {
  color: #555;
  line-height: 1.7;
}

/* Smooth reveal animation */
.premium-card,
.doctor-img-wrap,
.doctor-content {
  will-change: transform;
}

/* Mobile */
@media (max-width: 991.98px) {
  .doctor-img {
    min-height: 230px;
  }

  .doctor-img img {
    max-width: 220px;
    height: 220px;
  }
}

@media (max-width: 767.98px) {
  .premium-card {
    padding: 20px 16px 24px;
  }

  .doctor-img {
    min-height: 210px;
  }

  .doctor-img img {
    max-width: 190px;
    height: 190px;
  }

  .social-icons a {
    width: 38px;
    height: 38px;
    font-size: 0.95rem;
  }

  .modal-doctor-img {
    height: 240px;
    max-width: 240px;
  }
}

.doctor-content h4 {
  margin-bottom: 8px;
  font-size: 1.25rem;
}

.doctor-content p {
  color: #555;
  line-height: 1.65;
}

.modal-info-box h6 {
  font-weight: 700;
  color: var(--dark);
}

.modal-info-box p {
  color: #555;
  line-height: 1.7;
}

/* Ensure modal header is above everything */
.modal-header {
  z-index: 1056;
}

/* Improve close button visibility and usability */
.custom-close-btn {
  position: absolute;
  top: 15px;
  right: 15px;

  background-color: #fff;
  /* visible background */
  border-radius: 50%;
  padding: 10px;

  width: 40px;
  height: 40px;

  opacity: 1;
  /* ensure visible */
  z-index: 1060;

  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

/* Make icon darker (default Bootstrap is too light sometimes) */
.custom-close-btn::before {
  filter: invert(1);
}

/* Hover effect */
.custom-close-btn:hover {
  background-color: var(--primary);
  transform: scale(1.1);
}

/* Optional: white icon on hover */
.custom-close-btn:hover::before {
  filter: invert(0);
}

/* Fix click issues (very important) */
.modal-content {
  position: relative;
  overflow: visible;
  /* prevents clipping */
}

/* Mobile optimization */
@media (max-width: 576px) {
  .custom-close-btn {
    width: 44px;
    height: 44px;
    top: 10px;
    right: 10px;
  }
}

.social-icons {
  display: flex;
  gap: 12px;
  transform: translateY(14px);
  transition: transform 0.35s ease;
}

.premium-card:hover .social-icons {
  transform: translateY(0);
}

.social-icons a {
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--primary);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.social-icons a:hover {
  background: #fff;
  transform: scale(1.08);
}

.doctor-content h4 {
  margin-bottom: 8px;
}

.doctor-content p {
  color: #555;
  line-height: 1.65;
}

.doctor-content .btn {
  margin-top: 8px;
  transition: all 0.3s ease;
}

.doctor-content .btn:hover {
  transform: translateY(-2px);
}