:root {
  --primary: #1a4e90;
  --primary-dark: #0f3563;
  --primary-light: #2d70c4;
  --accent: #d42027;
  --accent-soft: #e83d44;
  --accent-green: #3db62a;
  --accent-gold: #f9c728;
  --text: #0f3563;
  --muted: #5a6a7a;
  --bg: #f5f7fa;
  --white: #ffffff;
  --shadow-soft: 0 10px 40px rgba(26, 78, 144, 0.15);
  --shadow-strong: 0 20px 60px rgba(26, 78, 144, 0.2);
  --transition-fast: 0.2s ease;
  --transition-medium: 0.4s ease;
  --transition-slow: 0.6s ease;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  transition: var(--transition-fast);
}

.page-shell {
  overflow-x: clip;
  position: relative;
}

.container {
  max-width: 1200px;
}

/* Header Styling */
.site-header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: var(--transition-medium);
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.navbar {
  padding: 1.25rem 0;
}

.brand-mark {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1.1rem;
  box-shadow: var(--shadow-soft);
  transition: var(--transition-medium);
  flex-shrink: 0;
}

.brand-mark:hover {
  transform: rotate(-5deg) scale(1.05);
  box-shadow: var(--shadow-strong);
}

.logo-img {
  object-fit: cover;
  transition: var(--transition-medium);
}

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

.brand-name {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.brand-subtitle {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 600;
}

.nav-link {
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.5rem 1rem;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
}

.nav-link::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 60%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  border-radius: 2px;
  transition: var(--transition-medium);
}

.nav-link:hover::before,
.nav-link.active::before {
  transform: translateX(-50%) scaleX(1);
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
  background: rgba(30, 64, 175, 0.05);
}

/* Hero Section */
.hero-section {
  padding: 8rem 0 6rem;
  background: linear-gradient(180deg, #eff6ff 0%, #ffffff 50%, #f8fafc 100%);
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -20%;
  width: 80%;
  height: 120%;
  background: radial-gradient(circle at 30% 50%, rgba(26, 78, 144, 0.15) 0%, transparent 60%);
  pointer-events: none;
  animation: float 20s ease-in-out infinite;
}

.hero-section::after {
  content: "";
  position: absolute;
  bottom: -30%;
  right: -10%;
  width: 60%;
  height: 100%;
  background: radial-gradient(circle at 70% 50%, rgba(212, 32, 39, 0.12) 0%, transparent 50%);
  pointer-events: none;
  animation: float 15s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% { transform: translateY(0) translateX(0); }
  50% { transform: translateY(-20px) translateX(10px); }
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 1.5rem;
  padding: 0.5rem 1rem;
  background: rgba(26, 78, 144, 0.08);
  border-radius: 50px;
  width: fit-content;
}

.section-kicker::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.2); }
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.05;
  font-weight: 800;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--text), var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-text {
  color: var(--muted);
  font-size: 1.15rem;
  line-height: 1.8;
  margin-bottom: 2.5rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  padding: 0.875rem 1.75rem;
  border-radius: 14px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 0;
  cursor: pointer;
  transition: var(--transition-medium);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--accent), var(--accent-soft));
  transform: translateY(-3px);
  box-shadow: var(--shadow-strong);
}

.btn-outline-primary {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline-primary:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-3px);
}

.hero-visual {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  min-height: 500px;
  box-shadow: var(--shadow-strong);
  animation: floatUpDown 6s ease-in-out infinite;
}

@keyframes floatUpDown {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-15px) rotate(1deg); }
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-badge {
  position: absolute;
  left: 1.5rem;
  bottom: 1.5rem;
  background: linear-gradient(135deg, var(--accent-gold), #f7d74a);
  padding: 1.25rem 1.5rem;
  border-radius: 20px;
  z-index: 2;
  box-shadow: var(--shadow-strong);
  animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.hero-badge span,
.hero-badge strong {
  display: block;
}

.hero-badge span {
  font-size: 0.85rem;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--text);
}

.hero-badge strong {
  font-size: 1.15rem;
  color: var(--text);
}

/* Service Strip */
.service-strip {
  padding: 2rem 0 6rem;
}

.mini-card {
  height: 100%;
  background: var(--white);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: var(--transition-medium);
  position: relative;
}

.mini-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  transform: scaleX(0);
  transition: var(--transition-medium);
}

.mini-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-strong);
}

.mini-card:hover::before {
  transform: scaleX(1);
}

.mini-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: var(--transition-slow);
}

.mini-card:hover img {
  transform: scale(1.08);
}

.mini-card-body {
  background: linear-gradient(135deg, var(--white), #fafbfc);
  padding: 1.5rem;
  min-height: 130px;
}

.mini-card h3 {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.mini-card p {
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
  font-size: 0.95rem;
}

/* Sections Common */
.feature-section,
.services-section,
.about-section,
.reviews-section,
.subscribe-section {
  padding: 6rem 0;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1.1;
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: var(--text);
}

.section-text {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.8;
}

/* Feature Section */
.feature-section {
  background: var(--white);
  position: relative;
}

.feature-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(30, 64, 175, 0.03) 0%, transparent 50%);
  pointer-events: none;
}

.feature-media {
  position: relative;
  min-height: 520px;
}

.feature-media > img {
  width: 100%;
  min-height: 520px;
  object-fit: cover;
  border-radius: 32px;
  box-shadow: var(--shadow-strong);
}

.video-pill {
  position: absolute;
  left: 2.5rem;
  bottom: 2.5rem;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
  border-radius: 20px;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: var(--shadow-strong);
  transition: var(--transition-medium);
}

.video-pill:hover {
  transform: translateY(-5px) scale(1.02);
}

.play-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 0;
  background: var(--white);
  color: var(--primary);
  font-size: 1.5rem;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  transition: var(--transition-medium);
  cursor: pointer;
}

.play-btn:hover {
  transform: scale(1.1);
}

.review-card {
  position: absolute;
  right: -1.5rem;
  bottom: 2.5rem;
  width: min(320px, calc(100% - 1rem));
  background: var(--white);
  padding: 1.5rem;
  border-radius: 20px;
  box-shadow: var(--shadow-strong);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: var(--transition-medium);
}

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

.review-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-soft));
  color: var(--white);
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

/* Gallery Section */
.gallery-section {
  padding: 0 0 5rem;
  position: relative;
}

.gallery-track {
  position: relative;
}

.gallery-thumb {
  width: 100%;
  height: 260px;
  border-radius: 28px;
  object-fit: cover;
  box-shadow: var(--shadow-soft);
  transition: var(--transition-medium);
  position: relative;
  overflow: hidden;
}

.gallery-thumb::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.4), transparent);
  opacity: 0;
  transition: var(--transition-medium);
}

.gallery-thumb:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-strong);
}

.gallery-thumb:hover::before {
  opacity: 1;
}

.slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 0;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
  z-index: 3;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-strong);
  transition: var(--transition-medium);
  cursor: pointer;
}

.slider-nav:hover {
  transform: translateY(-50%) scale(1.1);
}

.slider-prev {
  left: -1rem;
}

.slider-next {
  right: -1rem;
}

/* Blue Banner */
.blue-banner {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  padding: 3rem 0;
  position: relative;
  overflow: hidden;
}

.blue-banner::before,
.blue-banner::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  animation: spin 20s linear infinite;
}

.blue-banner::before {
  right: -60px;
  bottom: -40px;
}

.blue-banner::after {
  left: -50px;
  top: -40px;
}

@keyframes spin {
  100% { transform: rotate(360deg); }
}

.blue-banner p {
  margin: 0;
  text-align: center;
  font-size: 1.25rem;
  font-weight: 700;
  position: relative;
  z-index: 1;
}

/* Section Heading */
.section-heading {
  margin-bottom: 4rem;
  text-align: center;
}

.section-heading .section-kicker {
  margin-inline: auto;
}

/* Services Section */
.services-section {
  background: linear-gradient(180deg, var(--white) 0%, #f8fafc 100%);
}

.service-card {
  border-radius: 28px;
  padding: 2.5rem;
  height: 100%;
  box-shadow: var(--shadow-soft);
  transition: var(--transition-medium);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.4) 0%, transparent 60%);
  transform: translate(40px, -40px);
  transition: var(--transition-medium);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-strong);
}

.service-card:hover::before {
  transform: translate(20px, -20px);
}

.service-card-yellow {
  background: linear-gradient(135deg, var(--accent-gold), #f7d74a);
  color: var(--text);
}

.service-card-blue {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
}

.service-card-blue p {
  color: rgba(255, 255, 255, 0.9);
}

.service-card-cyan {
  background: linear-gradient(135deg, var(--accent-green), #48d138);
  color: var(--white);
}

.service-card-cyan p {
  color: rgba(255, 255, 255, 0.9);
}

.service-icon {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.85);
  display: grid;
  place-items: center;
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  transition: var(--transition-medium);
}

.service-card:hover .service-icon {
  transform: scale(1.1) rotate(-5deg);
}

.service-card h3 {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.service-card p {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

/* Carousel Indicators & Controls */
.departments-carousel,
.doctors-carousel,
.reviews-carousel {
  padding: 0 4rem 4rem;
}

.departments-carousel .carousel-inner,
.doctors-carousel .carousel-inner,
.reviews-carousel .carousel-inner {
  overflow: visible;
}

.departments-indicators,
.doctors-indicators,
.reviews-indicators {
  position: static;
  margin: 2.5rem 0 0;
  justify-content: center;
  gap: 0.5rem;
}

.departments-indicators [data-bs-target],
.doctors-indicators [data-bs-target],
.reviews-indicators [data-bs-target] {
  width: 14px;
  height: 14px;
  border: 0;
  border-radius: 999px;
  background: rgba(30, 64, 175, 0.15);
  opacity: 1;
  transition: var(--transition-medium);
}

.departments-indicators .active {
  width: 42px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
}

.doctors-indicators [data-bs-target] {
  background: rgba(255, 255, 255, 0.35);
}

.doctors-indicators .active {
  width: 42px;
  background: linear-gradient(90deg, var(--accent), var(--accent-soft));
}

.reviews-indicators .active {
  width: 42px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
}

.departments-control,
.doctors-control,
.reviews-control {
  width: 56px;
  height: 56px;
  top: 45%;
  transform: translateY(-50%);
  background: rgba(30, 64, 175, 0.12);
  border: 1px solid rgba(30, 64, 175, 0.18);
  border-radius: 50%;
  opacity: 1;
  transition: var(--transition-medium);
}

.departments-control.carousel-control-prev,
.reviews-control.carousel-control-prev {
  left: 0;
}

.departments-control.carousel-control-next,
.reviews-control.carousel-control-next {
  right: 0;
}

.departments-control:hover,
.reviews-control:hover {
  background: rgba(30, 64, 175, 0.2);
}

.departments-control .carousel-control-prev-icon,
.departments-control .carousel-control-next-icon,
.reviews-control .carousel-control-prev-icon,
.reviews-control .carousel-control-next-icon {
  width: 1.4rem;
  height: 1.4rem;
  filter: invert(24%) sepia(88%) saturate(3082%) hue-rotate(225deg) brightness(101%) contrast(92%);
}

.doctors-control {
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.doctors-control.carousel-control-prev {
  left: 0;
}

.doctors-control.carousel-control-next {
  right: 0;
}

.doctors-control:hover {
  background: rgba(255, 255, 255, 0.35);
}

/* About Section */
.about-section {
  background: var(--white);
}

.about-stack {
  position: relative;
  min-height: 540px;
}

.about-main,
.about-small {
  border-radius: 32px;
  object-fit: cover;
  box-shadow: var(--shadow-strong);
  transition: var(--transition-medium);
}

.about-main:hover,
.about-small:hover {
  transform: scale(1.02);
}

.about-main {
  width: 78%;
  height: 420px;
}

.about-small {
  width: 58%;
  height: 270px;
  position: absolute;
  left: 32%;
  bottom: 0;
}

.about-badge {
  position: absolute;
  left: 60%;
  top: 42%;
  width: 96px;
  height: 96px;
  border-radius: 24px;
  background: linear-gradient(135deg, var(--accent), var(--accent-soft));
  display: grid;
  place-items: center;
  color: var(--white);
  font-weight: 800;
  box-shadow: var(--shadow-strong);
  transition: var(--transition-medium);
}

.about-badge:hover {
  transform: scale(1.1) rotate(5deg);
}

.about-badge i {
  font-size: 1.8rem;
}

.about-list {
  margin-top: 2.5rem;
}

.about-list-item {
  background: var(--white);
  border-radius: 20px;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  font-weight: 700;
  color: var(--text);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: var(--transition-medium);
}

.about-list-item:hover {
  transform: translateX(10px);
  box-shadow: var(--shadow-strong);
}

.about-list-item i {
  font-size: 1.3rem;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Doctors Section */
.doctors-section {
  padding: 6rem 0;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  position: relative;
  overflow: hidden;
}

.doctors-section::before {
  content: "";
  position: absolute;
  top: -20%;
  left: -10%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 32, 39, 0.3) 0%, transparent 60%);
  animation: float 12s ease-in-out infinite;
}

.doctors-section::after {
  content: "";
  position: absolute;
  bottom: -30%;
  right: -10%;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(249, 199, 40, 0.3) 0%, transparent 60%);
  animation: float 15s ease-in-out infinite reverse;
}

.doctors-section .section-title {
  color: var(--white);
}

.doctors-section .section-kicker {
  background: rgba(255, 255, 255, 0.15);
  color: var(--accent);
}

.doctors-section .section-kicker::before {
  background: var(--accent);
}

.doctors-copy {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.1rem;
}

.doctor-card {
  background: linear-gradient(135deg, var(--white), #fafafa);
  border-radius: 24px;
  overflow: hidden;
  height: 100%;
  box-shadow: var(--shadow-strong);
  transition: var(--transition-medium);
  position: relative;
}

.doctor-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 24px;
  padding: 3px;
  background: linear-gradient(135deg, var(--accent-gold), #f7d74a);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: var(--transition-medium);
  pointer-events: none;
}

.doctor-card:hover {
  transform: translateY(-12px);
}

.doctor-card:hover::after {
  opacity: 1;
}

.doctor-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: var(--transition-slow);
}

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

.doctor-card-body {
  padding: 1.5rem;
  background: linear-gradient(135deg, #fff9d6, var(--accent-gold));
}

.doctor-card h3 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.doctor-card p {
  margin: 0;
  color: #4b5563;
  font-weight: 600;
  font-size: 1rem;
}

/* Reviews Section */
.reviews-section {
  background: linear-gradient(180deg, var(--white) 0%, #f8fafc 100%);
}

.testimonial-card {
  height: 100%;
  background: var(--white);
  border-radius: 28px;
  padding: 2rem;
  box-shadow: var(--shadow-soft);
  transition: var(--transition-medium);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.testimonial-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-strong);
}

.testimonial-top {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.testimonial-top img {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--accent);
}

.testimonial-top h3 {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
  color: var(--text);
}

.testimonial-top p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 600;
}

.testimonial-card p {
  color: var(--text);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.star-rating {
  display: flex;
  gap: 0.25rem;
  color: var(--accent);
  font-size: 1.1rem;
}

/* Subscribe Section */
.subscribe-section {
  padding: 6rem 0;
}

.subscribe-card {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 36px;
  padding: 3.5rem;
  overflow: hidden;
  box-shadow: var(--shadow-strong);
  position: relative;
}

.subscribe-card::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(212, 32, 39, 0.3) 0%, transparent 60%);
  pointer-events: none;
  animation: float 18s ease-in-out infinite;
}

.subscribe-card::after {
  content: "";
  position: absolute;
  bottom: -50%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(249, 199, 40, 0.3) 0%, transparent 60%);
  pointer-events: none;
  animation: float 15s ease-in-out infinite reverse;
}

.subscribe-card .section-kicker {
  background: rgba(255, 255, 255, 0.15);
  color: var(--accent);
}

.subscribe-card .section-kicker::before {
  background: var(--accent);
}

.subscribe-card .section-title {
  color: var(--white);
  position: relative;
  z-index: 1;
}

.subscribe-card p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.05rem;
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}

.subscribe-form {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.subscribe-form .form-control {
  flex: 1 1 300px;
  min-height: 60px;
  border-radius: 16px;
  border: 0;
  padding-inline: 1.5rem;
  font-size: 1rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.subscribe-form .form-control:focus {
  outline: none;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.subscribe-form .btn-primary {
  background: linear-gradient(135deg, var(--accent-gold), #f7d74a);
  color: var(--text);
  padding-inline: 2rem;
  font-weight: 700;
}

.subscribe-form .btn-primary:hover {
  background: linear-gradient(135deg, #f7d74a, var(--accent-gold));
  transform: translateY(-3px);
}

.subscribe-image {
  max-height: 360px;
  margin-inline: auto;
  border-radius: 28px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 1;
  animation: floatUpDown 8s ease-in-out infinite;
}

/* Footer */
.site-footer {
  padding: 0 0 3rem;
  background: var(--white);
}

.footer-panel {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #eef5fd 0%, #dae9fb 100%);
  border-radius: 32px;
  padding: 3.5rem 3rem;
  box-shadow: var(--shadow-soft);
}

.footer-shape {
  position: absolute;
  pointer-events: none;
}

.footer-shape-left {
  width: 260px;
  height: 260px;
  left: -120px;
  bottom: -80px;
  background: radial-gradient(circle, rgba(249, 199, 40, 0.3) 0%, transparent 65%);
  border-radius: 50%;
}

.footer-shape-right {
  width: 200px;
  height: 200px;
  right: -60px;
  top: -80px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 42% 58% 61% 39% / 44% 37% 63% 56%;
  box-shadow: inset 0 10px 24px rgba(255, 255, 255, 0.25);
}

.footer-brand,
.footer-col {
  position: relative;
  z-index: 1;
}

.footer-logo {
  margin-bottom: 2.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-logo .brand-mark {
  width: 64px;
  height: 64px;
  font-size: 1.3rem;
}

.footer-logo .brand-name {
  font-size: 1.6rem;
}

.footer-social {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-social a {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: var(--white);
  font-size: 1.15rem;
  box-shadow: var(--shadow-soft);
  transition: var(--transition-medium);
}

.footer-social a:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-strong);
}

.footer-social a:nth-child(1) {
  background: linear-gradient(135deg, #1877f2, #3b5998);
}

.footer-social a:nth-child(2) {
  background: linear-gradient(135deg, #1da1f2, #0d8ecf);
}

.footer-social a:nth-child(3) {
  background: linear-gradient(135deg, #333, #000);
}

.footer-social a:nth-child(4) {
  background: linear-gradient(135deg, #e4405f, #c13584, #833ab4);
}

.footer-col h3 {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text);
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 2rem;
}

.footer-col h3::before {
  content: "";
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  box-shadow: 0 4px 12px rgba(30, 64, 175, 0.3);
}

.footer-list,
.footer-hours,
.footer-contact {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-list li,
.footer-contact li {
  margin-bottom: 1rem;
}

.footer-list a,
.footer-contact a,
.footer-contact span {
  color: var(--text);
  font-size: 1rem;
  font-weight: 600;
  transition: var(--transition-fast);
}

.footer-list a:hover {
  color: var(--primary);
  padding-left: 5px;
}

.footer-hours li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text);
}

.footer-hours span,
.footer-hours strong {
  font-size: 1rem;
  font-weight: 700;
}

.footer-hours strong {
  white-space: nowrap;
  color: var(--primary);
}

.footer-bottom {
  padding: 2rem 0 0;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  margin-top: 3rem;
}

.footer-quick-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.contact-chip {
  background: var(--white);
  color: var(--text);
  border-radius: 50px;
  padding: 0.75rem 1.5rem;
  font-weight: 700;
  box-shadow: var(--shadow-soft);
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  transition: var(--transition-medium);
}

.contact-chip:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-strong);
}

.whatsapp-chip {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: var(--white);
  font-size: 1.6rem;
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.35);
  transition: var(--transition-medium);
}

.whatsapp-chip:hover {
  transform: scale(1.1) rotate(-5deg);
}

/* Modal */
.modal-content {
  border: 0;
  border-radius: 24px;
  box-shadow: var(--shadow-strong);
}

.modal-body {
  padding: 2.5rem;
}

/* Scroll Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.8s ease-out forwards;
}

/* Responsive */
@media (max-width: 991.98px) {
  .hero-section,
  .feature-section,
  .services-section,
  .about-section,
  .reviews-section,
  .subscribe-section {
    padding: 5rem 0;
  }

  .hero-visual,
  .feature-media > img {
    min-height: 400px;
  }

  .review-card {
    position: static;
    margin-top: 1.5rem;
  }

  .video-pill {
    left: 1.5rem;
    bottom: 1.5rem;
  }

  .about-stack {
    min-height: 480px;
  }

  .about-main {
    width: 88%;
    height: 340px;
  }

  .about-small {
    width: 62%;
    left: 28%;
    height: 210px;
  }

  .footer-panel {
    padding: 3rem 2.5rem;
  }

  .footer-hours li {
    justify-content: flex-start;
  }

  .doctors-carousel,
  .departments-carousel,
  .reviews-carousel {
    padding-inline: 3rem;
  }
}

@media (max-width: 767.98px) {
  .navbar {
    background: rgba(255, 255, 255, 0.98);
  }

  .hero-title,
  .section-title {
    line-height: 1.15;
  }

  .mini-card img,
  .gallery-thumb,
  .doctor-card img {
    height: 240px;
  }

  .feature-media {
    min-height: auto;
  }

  .feature-media > img {
    min-height: 340px;
  }

  .video-pill {
    position: static;
    margin-top: 1.5rem;
    width: fit-content;
  }

  .slider-nav {
    display: none;
  }

  .about-stack {
    min-height: 380px;
  }

  .about-main {
    width: 100%;
    height: 260px;
  }

  .about-small {
    width: 64%;
    height: 170px;
    left: auto;
    right: 0;
    bottom: -0.5rem;
  }

  .about-badge {
    left: 1rem;
    top: auto;
    bottom: 1.5rem;
    width: 80px;
    height: 80px;
  }

  .subscribe-card {
    padding: 2.5rem 1.5rem;
  }

  .doctors-carousel,
  .departments-carousel,
  .reviews-carousel {
    padding: 0 0 3.5rem;
  }

  .doctors-control,
  .departments-control,
  .reviews-control {
    display: none;
  }

  .footer-panel {
    padding: 2.5rem 1.5rem;
  }

  .footer-col h3 {
    margin-bottom: 1.5rem;
  }

  .footer-hours li {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }

  .footer-bottom {
    text-align: center;
  }

  .site-footer {
    text-align: center;
  }

  .footer-social,
  .footer-quick-actions {
    justify-content: center;
  }
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 8rem;
  right: 1rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  border: none;
  box-shadow: var(--shadow-strong);
  font-size: 1.5rem;
  cursor: pointer;
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: var(--transition-medium);
  z-index: 1000;
}

.back-to-top:hover {
  background: linear-gradient(135deg, var(--accent), var(--accent-soft));
  transform: translateY(-5px) scale(1.05);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

@media (max-width: 767.98px) {
  .back-to-top {
    bottom: 1.5rem;
    right: 1.5rem;
    width: 45px;
    height: 45px;
    font-size: 1.3rem;
  }
}