/* ============================================================
   RIMSS HOSPITAL — ULTRA-PREMIUM MASTER STYLESHEET
   Award-Winning Cinematic Single-Page Experience
   ============================================================ */

/* ─── ROOT VARIABLES ───────────────────────────────────────── */
:root {
  --primary: #0d6efd;
  --primary-rgb: 13, 110, 253;
  --secondary: #198754;
  --secondary-rgb: 25, 135, 84;
  --accent: #dc3545;
  --accent-rgb: 220, 53, 69;
  --dark: #0a1628;
  --dark-rgb: 10, 22, 40;
  --darker: #060d1a;
  --light-bg: #f8fafc;
  --white: #ffffff;
  --font-heading: 'Playfair Display', serif;
  --font-body: 'DM Sans', sans-serif;
  --font-mono: 'Space Mono', monospace;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow: 0 8px 32px rgba(13, 110, 253, 0.10);
  --shadow-lg: 0 16px 48px rgba(13, 110, 253, 0.15);
  --shadow-hover: 0 20px 60px rgba(13, 110, 253, 0.18);
  --shadow-glow: 0 0 30px rgba(13, 110, 253, 0.25);
  --navbar-h: 72px;
}

/* ─── RESET & BASE ─────────────────────────────────────────── */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--navbar-h);
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: #333;
  background: var(--white);
  overflow-x: hidden;
}

body.loading {
  overflow: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--dark);
  line-height: 1.25;
}

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

img {
  max-width: 100%;
  height: auto;
}

button {
  cursor: pointer;
}

/* ─── CUSTOM SCROLLBAR ─────────────────────────────────────── */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--dark);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--primary), var(--secondary));
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #3d8bfd, #28a745);
}

/* ─── TEXT SELECTION ───────────────────────────────────────── */
::selection {
  background: rgba(var(--primary-rgb), 0.3);
  color: var(--white);
}

::-moz-selection {
  background: rgba(var(--primary-rgb), 0.3);
  color: var(--white);
}

/* ─── PAGE LOADER ──────────────────────────────────────────── */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: var(--dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.page-loader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-logo {
  height: 80px;
  width: auto;
  margin-bottom: 30px;
  animation: loaderPulse 1.5s ease-in-out infinite;
}

@keyframes loaderPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.08); opacity: 0.7; }
}

.loader-heartbeat {
  width: 200px;
  height: 60px;
}

.loader-heartbeat svg {
  width: 100%;
  height: 100%;
}

.heartbeat-line {
  fill: none;
  stroke: var(--primary);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
  animation: heartbeatDraw 1.5s ease-in-out infinite;
}

@keyframes heartbeatDraw {
  0%   { stroke-dashoffset: 400; }
  50%  { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: -400; }
}

.loader-text {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 20px;
}

/* ─── EMERGENCY MARQUEE BAR ────────────────────────────────── */
.emergency-marquee {
  background: var(--accent);
  color: var(--white);
  overflow: hidden;
  white-space: nowrap;
  padding: 6px 0;
  font-size: 0.82rem;
  font-weight: 600;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1060;
}

.marquee-track {
  display: inline-block;
  animation: marqueeScroll 22s linear infinite;
  padding-left: 100%;
}

.marquee-track span {
  margin-right: 80px;
}

@keyframes marqueeScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

/* ─── SECTION PATTERN ──────────────────────────────────────── */
.section-padding {
  padding: 110px 0;
}

.section-bg-alt {
  background: var(--light-bg);
}

.section-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 10px;
  display: inline-block;
}

.section-title {
  font-size: 2.75rem;
  margin-bottom: 14px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: #64748b;
  max-width: 600px;
  margin: 0 auto 50px;
}

.divider-line {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 3px;
  margin: 0 auto 24px;
}

/* ─── NAVIGATION ───────────────────────────────────────────── */
.navbar-main {
  padding: 14px 0;
  transition: var(--transition);
  background: transparent;
  z-index: 1050;
  top: 28px;
}

.navbar-main .navbar-brand {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white) !important;
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  flex-shrink: 0;
}

.navbar-logo {
  height: 72px;
  width: auto;
  object-fit: contain;
  animation: logoPulseGlow 2s ease-in-out 1;
}

@keyframes logoPulseGlow {
  0%   { filter: drop-shadow(0 0 0px rgba(var(--primary-rgb), 0)); transform: scale(0.9); opacity: 0; }
  50%  { filter: drop-shadow(0 0 20px rgba(var(--primary-rgb), 0.6)); transform: scale(1.05); opacity: 1; }
  100% { filter: drop-shadow(0 0 0px rgba(var(--primary-rgb), 0)); transform: scale(1); opacity: 1; }
}

.navbar-main .nav-link {
  color: rgba(255, 255, 255, 0.85) !important;
  font-weight: 500;
  font-size: 0.92rem;
  padding: 8px 14px !important;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.navbar-main .nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 14px;
  right: 14px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar-main .nav-link:hover::after {
  transform: scaleX(1);
}

.navbar-main .nav-link:hover {
  color: var(--white) !important;
}

.navbar-main .nav-link.active {
  color: var(--white) !important;
}

.navbar-main .nav-link.active::after {
  transform: scaleX(0);
}

.nav-active-dot {
  display: none;
}

.navbar-main .nav-link.active .nav-active-dot {
  display: block;
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 5px;
  height: 5px;
  background: var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(var(--primary-rgb), 0.6), 0 0 16px rgba(var(--primary-rgb), 0.3);
}

.navbar-main .dropdown-menu {
  border: none;
  border-radius: var(--radius-lg);
  background: rgba(var(--dark-rgb), 0.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  padding: 14px 0;
  min-width: 270px;
  overflow: hidden;
}

.navbar-main .dropdown-item {
  padding: 10px 22px;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.75);
  transition: var(--transition);
  transform: translateX(-10px);
  opacity: 0;
}

.navbar-main .dropdown-menu.show .dropdown-item {
  transform: translateX(0);
  opacity: 1;
}

.navbar-main .dropdown-item:nth-child(1)  { transition-delay: 0.02s; }
.navbar-main .dropdown-item:nth-child(2)  { transition-delay: 0.04s; }
.navbar-main .dropdown-item:nth-child(3)  { transition-delay: 0.06s; }
.navbar-main .dropdown-item:nth-child(4)  { transition-delay: 0.08s; }
.navbar-main .dropdown-item:nth-child(5)  { transition-delay: 0.10s; }
.navbar-main .dropdown-item:nth-child(6)  { transition-delay: 0.12s; }
.navbar-main .dropdown-item:nth-child(7)  { transition-delay: 0.14s; }
.navbar-main .dropdown-item:nth-child(8)  { transition-delay: 0.16s; }
.navbar-main .dropdown-item:nth-child(9)  { transition-delay: 0.18s; }
.navbar-main .dropdown-item:nth-child(10) { transition-delay: 0.20s; }
.navbar-main .dropdown-item:nth-child(11) { transition-delay: 0.22s; }
.navbar-main .dropdown-item:nth-child(12) { transition-delay: 0.24s; }

.navbar-main .dropdown-item i {
  width: 22px;
  color: var(--primary);
  margin-right: 8px;
}

.navbar-main .dropdown-item:hover,
.navbar-main .dropdown-item:focus {
  background: rgba(var(--primary-rgb), 0.12);
  color: var(--white);
}

.btn-appointment-nav {
  background: var(--primary) !important;
  color: var(--white) !important;
  border: none;
  border-radius: 50px;
  padding: 8px 22px !important;
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn-appointment-nav::after {
  display: none;
}

.btn-appointment-nav:hover {
  background: #0b5ed7 !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(var(--primary-rgb), 0.4);
}

.navbar-main.scrolled {
  background: rgba(var(--dark-rgb), 0.85) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 8px 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  top: 28px;
}

.navbar-main.scrolled .navbar-logo {
  height: 56px;
}

.navbar-toggler {
  border: none;
  color: var(--white);
  font-size: 1.4rem;
  padding: 4px 8px;
}

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

/* Desktop: keep all nav items + CTA on one row (no wrap) */
@media (min-width: 992px) {
  .navbar-main .navbar-collapse {
    flex-grow: 1;
    flex-basis: auto;
    justify-content: flex-end;
  }

  .navbar-main .navbar-nav {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
  }

  .navbar-main .nav-item {
    flex-shrink: 0;
  }

  .navbar-main .nav-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}

/* Tighter spacing on medium-wide screens so everything fits one line */
@media (min-width: 992px) and (max-width: 1399.98px) {
  .navbar-main .navbar-brand {
    font-size: 1.25rem;
    gap: 8px;
  }

  .navbar-logo {
    height: 60px;
  }

  .navbar-main .nav-link {
    font-size: 0.82rem;
    padding: 8px 8px !important;
  }

  .navbar-main .nav-link::after {
    left: 8px;
    right: 8px;
  }

  .btn-appointment-nav {
    font-size: 0.82rem;
    padding: 8px 16px !important;
  }
}

/* ─── HERO ─────────────────────────────────────────────────── */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 100px;
}

.hero-gradient-mesh {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0a1628 0%, #0d3460 30%, #1a5276 60%, #0e6655 100%);
  background-size: 400% 400%;
  animation: gradientMesh 8s ease infinite alternate;
}

@keyframes gradientMesh {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.hero-dot-overlay {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 30px 30px;
  z-index: 1;
}

.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  will-change: transform;
  z-index: 0;
}

.hero-blob-1 {
  width: 500px; height: 500px;
  background: rgba(var(--primary-rgb), 0.25);
  top: -10%; right: -5%;
  animation: blobFloat1 18s ease-in-out infinite;
}
.hero-blob-2 {
  width: 400px; height: 400px;
  background: rgba(var(--secondary-rgb), 0.2);
  bottom: -10%; left: -5%;
  animation: blobFloat2 22s ease-in-out infinite;
}
.hero-blob-3 {
  width: 300px; height: 300px;
  background: rgba(0, 212, 170, 0.18);
  top: 40%; left: 30%;
  animation: blobFloat3 15s ease-in-out infinite;
}
.hero-blob-4 {
  width: 200px; height: 200px;
  background: rgba(var(--accent-rgb), 0.12);
  top: 15%; left: 10%;
  animation: blobFloat4 20s ease-in-out infinite;
}
.hero-blob-5 {
  width: 250px; height: 250px;
  background: rgba(111, 66, 193, 0.15);
  bottom: 20%; right: 15%;
  animation: blobFloat5 25s ease-in-out infinite;
}
.hero-blob-6 {
  width: 180px; height: 180px;
  background: rgba(var(--primary-rgb), 0.15);
  top: 60%; right: 40%;
  animation: blobFloat6 12s ease-in-out infinite;
}

@keyframes blobFloat1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(40px, -40px) scale(1.08); }
  66%      { transform: translate(-30px, 30px) scale(0.92); }
}
@keyframes blobFloat2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  40%      { transform: translate(-50px, -30px) scale(1.1); }
  70%      { transform: translate(20px, 40px) scale(0.9); }
}
@keyframes blobFloat3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(30px, -50px) scale(1.12); }
}
@keyframes blobFloat4 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  30%      { transform: translate(20px, 30px) scale(1.1); }
  60%      { transform: translate(-40px, -10px) scale(0.95); }
}
@keyframes blobFloat5 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  35%      { transform: translate(-30px, 20px) scale(0.9); }
  70%      { transform: translate(20px, -40px) scale(1.1); }
}
@keyframes blobFloat6 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(40px, 20px) scale(1.15); }
}

.hero-float-icon {
  position: absolute;
  color: rgba(255, 255, 255, 0.05);
  font-size: 4rem;
  animation: floatIcon 6s ease-in-out infinite;
  z-index: 1;
}

.hero-float-icon:nth-child(1) { top: 15%; right: 10%; animation-delay: 0s; }
.hero-float-icon:nth-child(2) { top: 60%; right: 20%; animation-delay: 1.5s; font-size: 3rem; }
.hero-float-icon:nth-child(3) { bottom: 15%; right: 35%; animation-delay: 3s; font-size: 5rem; }

@keyframes floatIcon {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-20px) rotate(5deg); }
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
}

.hero-title {
  font-size: 4rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 24px;
  line-height: 1.15;
  overflow: hidden;
}

.hero-title .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(45px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.hero-title .word.hero-visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-title .highlight {
  background: linear-gradient(135deg, #4facfe, #00f2fe);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 540px;
  margin-bottom: 36px;
  line-height: 1.8;
  opacity: 0;
  transform: translateY(20px);
}

.hero-description.hero-visible {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.6s ease 0.8s;
}

.typing-cursor {
  display: inline-block;
  width: 2px;
  height: 1.1em;
  background: var(--primary);
  margin-left: 2px;
  vertical-align: text-bottom;
  animation: blink 0.7s step-end infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0; }
}

.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 14px;
  opacity: 0;
  transform: translateY(20px);
}

.hero-btns.hero-visible {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.6s ease 1s;
}

.hero-phone-extra {
  margin: 0 0 40px;
  font-size: 0.95rem;
  font-weight: 500;
  opacity: 0;
  transform: translateY(20px);
}

.hero-phone-extra.hero-visible {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.6s ease 1.08s;
}

.hero-phone-extra a {
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.hero-phone-extra a:hover {
  color: var(--white);
}

.btn-hero-primary {
  background: linear-gradient(135deg, var(--primary), #3d8bfd);
  color: var(--white);
  border: none;
  padding: 14px 36px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-hero-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}

.btn-hero-primary:hover::before {
  left: 100%;
}

.btn-hero-primary:hover {
  transform: translateY(-3px) rotate(-1deg);
  box-shadow: 0 12px 35px rgba(var(--primary-rgb), 0.4);
  color: var(--white);
}

.btn-hero-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.3);
  padding: 14px 36px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: var(--transition);
  position: relative;
}

.btn-hero-outline:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
  transform: translateY(-3px) rotate(1deg);
  box-shadow: 0 12px 35px rgba(var(--accent-rgb), 0.4);
}

.btn-emergency-pulse {
  animation: emergencyPulse 1.5s infinite;
}

@keyframes emergencyPulse {
  0%   { box-shadow: 0 0 0 0 rgba(var(--accent-rgb), 0.5); }
  70%  { box-shadow: 0 0 0 15px rgba(var(--accent-rgb), 0); }
  100% { box-shadow: 0 0 0 0 rgba(var(--accent-rgb), 0); }
}

.trust-badges {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  align-items: center;
  opacity: 0;
  transform: translateY(20px);
}

.trust-badges.hero-visible {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.6s ease 1.2s;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50px;
  backdrop-filter: blur(8px);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.trust-badge::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255,255,255,0.05), transparent);
  transform: rotate(45deg) translateX(-100%);
  transition: transform 0.6s;
}

.trust-badge:hover::before {
  transform: rotate(45deg) translateX(100%);
}

.trust-badge:hover {
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.1);
}

.trust-badge i {
  color: #ffc107;
  font-size: 1.1rem;
}

.trust-badge span {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  text-align: center;
  animation: scrollBounce 2s ease-in-out infinite;
}

.hero-scroll-indicator .mouse {
  width: 24px;
  height: 38px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  display: inline-block;
  position: relative;
}

.hero-scroll-indicator .mouse::after {
  content: '';
  width: 3px;
  height: 8px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 2px;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  animation: mouseWheel 1.5s ease-in-out infinite;
}

@keyframes mouseWheel {
  0%, 100% { opacity: 1; transform: translateX(-50%) translateY(0); }
  50%      { opacity: 0.3; transform: translateX(-50%) translateY(10px); }
}

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

.hero-scroll-indicator span {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
  margin-top: 8px;
  font-family: var(--font-mono);
}

/* ─── STATS ────────────────────────────────────────────────── */
.stats-section {
  background: var(--white);
  padding: 60px 0;
  margin-top: -70px;
  position: relative;
  z-index: 5;
}

.stats-card-wrapper {
  background: rgba(var(--dark-rgb), 0.95);
  backdrop-filter: blur(16px);
  border-radius: var(--radius-xl);
  padding: 50px 30px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.stat-item {
  text-align: center;
  padding: 10px;
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 10%;
  height: 80%;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(var(--primary-rgb), 0.3), transparent);
}

.stat-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 16px;
  transition: var(--transition);
}

.stat-icon.blue {
  background: rgba(var(--primary-rgb), 0.15);
  color: var(--primary);
  box-shadow: 0 0 20px rgba(var(--primary-rgb), 0.15);
  animation: iconGlow 3s ease-in-out infinite;
}

.stat-icon.green {
  background: rgba(var(--secondary-rgb), 0.15);
  color: var(--secondary);
  box-shadow: 0 0 20px rgba(var(--secondary-rgb), 0.15);
  animation: iconGlow 3s ease-in-out infinite 0.5s;
}

.stat-icon.red {
  background: rgba(var(--accent-rgb), 0.15);
  color: var(--accent);
  box-shadow: 0 0 20px rgba(var(--accent-rgb), 0.15);
  animation: iconGlow 3s ease-in-out infinite 1s;
}

.stat-icon.purple {
  background: rgba(111, 66, 193, 0.15);
  color: #6f42c1;
  box-shadow: 0 0 20px rgba(111, 66, 193, 0.15);
  animation: iconGlow 3s ease-in-out infinite 1.5s;
}

@keyframes iconGlow {
  0%, 100% { box-shadow: 0 0 15px rgba(var(--primary-rgb), 0.1); }
  50%      { box-shadow: 0 0 30px rgba(var(--primary-rgb), 0.25); }
}

.stat-number {
  font-family: var(--font-mono);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 500;
}

/* ─── ABOUT ────────────────────────────────────────────────── */
.about-img-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 100%;
  min-height: 380px;
}

.about-img-placeholder {
  width: 100%;
  height: 100%;
  min-height: 380px;
  background: linear-gradient(135deg, var(--primary), #1a936f);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-lg);
  position: relative;
}

.about-img-placeholder::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: var(--radius-lg);
  padding: 3px;
  background: conic-gradient(from 0deg, var(--primary), var(--secondary), #00d4aa, var(--primary));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: rotateBorder 4s linear infinite;
}

@keyframes rotateBorder {
  to { filter: hue-rotate(360deg); }
}

.about-img-placeholder i {
  font-size: 6rem;
  color: rgba(255, 255, 255, 0.25);
}

.about-badge {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: var(--primary);
  color: var(--white);
  padding: 14px 24px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1.1rem;
  box-shadow: var(--shadow);
}

.about-badge span {
  display: block;
  font-size: 0.75rem;
  font-weight: 400;
  opacity: 0.85;
}

.about-feature {
  display: flex;
  gap: 14px;
  margin-bottom: 20px;
}

.about-feature-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 10px;
  background: rgba(var(--primary-rgb), 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1rem;
}

.about-feature h5 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 2px;
}

.about-feature p {
  font-size: 0.9rem;
  color: #64748b;
  margin-bottom: 0;
}

/* Timeline */
.about-timeline {
  position: relative;
  padding-left: 30px;
  margin-top: 30px;
}

.about-timeline::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--primary), var(--secondary), transparent);
}

.timeline-item {
  position: relative;
  margin-bottom: 22px;
  padding-left: 16px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -26px;
  top: 6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 4px rgba(var(--primary-rgb), 0.2);
}

.timeline-year {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 1px;
}

.timeline-text {
  font-size: 0.88rem;
  color: #64748b;
}

/* ─── SERVICES ─────────────────────────────────────────────── */
.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  border: 1px solid rgba(var(--primary-rgb), 0.08);
  border-top: 3px solid transparent;
  transition: var(--transition);
  height: 100%;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  width: 6px;
  height: 6px;
  background: rgba(var(--primary-rgb), 0.2);
  border-radius: 50%;
  top: 16px;
  right: 16px;
  animation: cardDot 3s ease-in-out infinite;
}

@keyframes cardDot {
  0%, 100% { opacity: 0.2; transform: scale(1); }
  50%      { opacity: 0.5; transform: scale(1.5); }
}

.service-card:hover {
  transform: translateY(-12px);
  box-shadow: var(--shadow-hover);
  border-top-color: var(--primary);
  border-top-width: 5px;
}

.service-card-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.1), rgba(var(--secondary-rgb), 0.08));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 20px;
  transition: var(--transition-slow);
}

.service-card:hover .service-card-icon {
  background: linear-gradient(135deg, var(--primary), #1a936f);
  color: var(--white);
  transform: rotate(360deg) scale(1.15);
}

.service-card h5 {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.service-card p {
  font-size: 0.9rem;
  color: #64748b;
  margin-bottom: 16px;
}

.service-card .btn-know-more {
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
  transform: translateY(10px);
  opacity: 0;
}

.service-card:hover .btn-know-more {
  transform: translateY(0);
  opacity: 1;
}

.service-card .btn-know-more:hover {
  gap: 10px;
}

/* ─── TEAM ─────────────────────────────────────────────────── */
.team-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 40px 28px 30px;
  border: 1px solid #e2e8f0;
  text-align: center;
  transition: var(--transition);
  height: 100%;
  position: relative;
  overflow: hidden;
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.team-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.15), rgba(var(--secondary-rgb), 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.team-photo i {
  font-size: 2.8rem;
  color: var(--primary);
}

.team-photo::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  padding: 3px;
  background: conic-gradient(var(--primary), var(--secondary), #00d4aa, var(--primary));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: spinSlow 3s linear infinite;
}

.team-card:hover .team-photo::after {
  animation-play-state: paused;
}

@keyframes spinSlow {
  to { transform: rotate(360deg); }
}

.team-card h5 {
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.team-role {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 4px;
  display: inline-block;
  padding: 2px 12px;
  border-radius: 50px;
}

.team-role.role-cardio { background: rgba(220,53,69,0.1); color: #dc3545; }
.team-role.role-neuro  { background: rgba(111,66,193,0.1); color: #6f42c1; }
.team-role.role-ortho  { background: rgba(253,126,20,0.1); color: #fd7e14; }
.team-role.role-onco   { background: rgba(32,201,151,0.1); color: #20c997; }
.team-role.role-surgery   { background: rgba(232,62,140,0.1); color: #e83e8c; }
.team-role.role-plastic   { background: rgba(13,202,240,0.1); color: #0aa2c0; }
.team-role.role-general   { background: rgba(108,117,125,0.12); color: #495057; }
.team-role.role-medicine  { background: rgba(13,110,253,0.1); color: #0d6efd; }
.team-role.role-pediatrics { background: rgba(255,193,7,0.18); color: #b8860b; }
.team-role.role-pulmo     { background: rgba(102,16,242,0.1); color: #6610f2; }
.team-role.role-gyne      { background: rgba(214,51,132,0.1); color: #d63384; }
.team-role.role-physio    { background: rgba(25,135,84,0.12); color: #198754; }
.team-role.role-director {
  background: linear-gradient(90deg, rgba(180, 134, 11, 0.18), rgba(255, 193, 7, 0.2));
  color: #92400e;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.team-card-director {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  border: 2px solid rgba(var(--primary-rgb), 0.35);
  background: linear-gradient(165deg, rgba(var(--primary-rgb), 0.08) 0%, rgba(255, 255, 255, 1) 42%);
  box-shadow: 0 12px 40px rgba(var(--primary-rgb), 0.12);
}

.team-card-director .team-photo {
  width: 112px;
  height: 112px;
  margin-bottom: 16px;
}

.team-card-director .team-photo i {
  font-size: 3rem;
  color: #0b4a8c;
}

.team-card-director h5 {
  font-size: 1.28rem;
}

.team-spec-compact {
  max-width: 28rem;
  margin-left: auto;
  margin-right: auto;
}

.team-spec {
  font-size: 0.82rem;
  color: #94a3b8;
  margin-bottom: 16px;
}

.team-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  /* Darken toward bottom; top of band stays tinted (not transparent) so white text stays readable */
  background: linear-gradient(
    to top,
    var(--dark) 0%,
    rgba(var(--dark-rgb), 0.9) 38%,
    rgba(var(--dark-rgb), 0.68) 68%,
    rgba(var(--dark-rgb), 0.38) 100%
  );
  transform: translateY(100%);
  transition: transform 0.4s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px 24px;
  border-radius: 0 0 var(--radius-xl) var(--radius-xl);
}

.team-card:hover .team-overlay {
  transform: translateY(0);
}

.team-overlay-text {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 10px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.team-overlay .team-socials a {
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
}

.team-overlay .team-socials a:hover {
  background: var(--primary);
}

.team-socials a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(var(--primary-rgb), 0.08);
  color: var(--primary);
  font-size: 0.85rem;
  margin: 0 4px;
  transition: var(--transition);
}

.team-socials a:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

/* ─── VIDEO SECTION ────────────────────────────────────────── */
.video-section {
  background: var(--dark);
  padding: 110px 0;
  position: relative;
  overflow: hidden;
}

.video-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13,110,253,0.05), rgba(25,135,84,0.05));
  animation: gradientMesh 8s ease infinite alternate;
  background-size: 400% 400%;
}

.video-section .section-eyebrow,
.video-section .section-title {
  color: var(--white);
}

.video-section .section-subtitle {
  color: rgba(255, 255, 255, 0.5);
}

.video-wrapper {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

.video-float-icon {
  position: absolute;
  color: rgba(var(--primary-rgb), 0.1);
  font-size: 3rem;
  animation: floatIcon 6s ease-in-out infinite;
  z-index: 1;
}

.video-float-icon:nth-child(1) { top: -30px; left: -50px; animation-delay: 0s; }
.video-float-icon:nth-child(2) { bottom: -30px; right: -50px; animation-delay: 2s; font-size: 2.5rem; }

.video-frame-outer {
  padding: 4px;
  background: linear-gradient(135deg, var(--primary), var(--secondary), var(--primary));
  background-size: 200% 200%;
  border-radius: var(--radius-lg);
  animation: borderGlow 3s linear infinite;
  box-shadow: 0 20px 60px rgba(var(--primary-rgb), 0.2);
}

@keyframes borderGlow {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.video-frame-inner {
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  padding-top: 56.25%;
  background: var(--dark);
}

.video-frame-inner iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ─── GALLERY ──────────────────────────────────────────────── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 16px;
}

.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: var(--transition);
}

.gallery-item:nth-child(1) { grid-row: span 2; }
.gallery-item:nth-child(4) { grid-column: span 2; }
.gallery-item:nth-child(6) { grid-row: span 2; }

.gallery-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.gallery-placeholder i {
  font-size: 2.5rem;
  color: rgba(255, 255, 255, 0.5);
  z-index: 1;
  transition: var(--transition);
}

.gallery-item:hover .gallery-placeholder {
  transform: scale(1.03);
}

.gallery-item:hover {
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.4);
}

.gallery-item .gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(var(--dark-rgb), 0.7), transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
  z-index: 2;
}

.gallery-item .gallery-overlay i {
  color: var(--white);
  font-size: 1.5rem;
  transform: scale(0.5);
  transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-item:hover .gallery-overlay i {
  transform: scale(1);
}

.gal-grad-1 { background: linear-gradient(135deg, #667eea, #764ba2); }
.gal-grad-2 { background: linear-gradient(135deg, #f093fb, #f5576c); }
.gal-grad-3 { background: linear-gradient(135deg, #4facfe, #00f2fe); }
.gal-grad-4 { background: linear-gradient(135deg, #43e97b, #38f9d7); }
.gal-grad-5 { background: linear-gradient(135deg, #fa709a, #fee140); }
.gal-grad-6 { background: linear-gradient(135deg, #a18cd1, #fbc2eb); }
.gal-grad-7 { background: linear-gradient(135deg, #fccb90, #d57eeb); }
.gal-grad-8 { background: linear-gradient(135deg, #0d6efd, #198754); }

/* Custom Lightbox */
.custom-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.custom-lightbox.open {
  opacity: 1;
  visibility: visible;
}

.lightbox-inner {
  width: 80%;
  max-width: 700px;
  min-height: 400px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(0.8);
  transition: var(--transition);
  position: relative;
}

.custom-lightbox.open .lightbox-inner {
  transform: scale(1);
}

.lightbox-inner i {
  font-size: 5rem;
  color: rgba(255, 255, 255, 0.4);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: var(--white);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10001;
  transition: var(--transition);
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: var(--white);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10001;
  transition: var(--transition);
}

.lightbox-nav:hover {
  background: rgba(var(--primary-rgb), 0.5);
}

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

/* ─── NEWS & BLOG ──────────────────────────────────────────── */
.news-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid #e2e8f0;
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.news-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.news-card-img {
  height: 220px;
  position: relative;
  overflow: hidden;
}

.news-card-img .news-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.5s ease;
}

.news-card:hover .news-placeholder {
  transform: scale(1.08);
}

.news-placeholder i {
  font-size: 2.5rem;
  color: rgba(255, 255, 255, 0.5);
}

.news-grad-1 { background: linear-gradient(135deg, #0d6efd, #6610f2); }
.news-grad-2 { background: linear-gradient(135deg, #dc3545, #fd7e14); }
.news-grad-3 { background: linear-gradient(135deg, #198754, #20c997); }

.news-category {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--primary);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 50px;
  animation: badgeShimmer 3s ease infinite;
}

@keyframes badgeShimmer {
  0%, 100% { box-shadow: 0 0 0 0 rgba(var(--primary-rgb), 0.4); }
  50%      { box-shadow: 0 0 12px 2px rgba(var(--primary-rgb), 0.2); }
}

.news-card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.news-date {
  font-size: 0.8rem;
  color: #94a3b8;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.news-card-body h5 {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.4;
}

.news-card-body p {
  font-size: 0.9rem;
  color: #64748b;
  margin-bottom: 16px;
  flex: 1;
}

.btn-read-more {
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
  margin-top: auto;
  overflow: hidden;
  position: relative;
}

.btn-read-more .btn-text {
  transition: var(--transition);
}

.btn-read-more .btn-arrow {
  transition: var(--transition);
}

.btn-read-more:hover {
  gap: 10px;
  color: #0b5ed7;
}

/* ─── DIET CHARTS ──────────────────────────────────────────── */
.diet-tabs-wrapper {
  position: relative;
  margin-bottom: 32px;
}

.diet-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  background: rgba(var(--primary-rgb), 0.05);
  border-radius: 50px;
  padding: 6px;
  position: relative;
}

.diet-tab-indicator {
  position: absolute;
  height: calc(100% - 12px);
  top: 6px;
  background: var(--primary);
  border-radius: 50px;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px rgba(var(--primary-rgb), 0.3);
  z-index: 0;
}

.diet-tab-btn {
  padding: 10px 24px;
  border-radius: 50px;
  border: none;
  background: transparent;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  color: #64748b;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  z-index: 1;
}

.diet-tab-btn.active {
  color: var(--white);
}

.diet-tab-btn:hover:not(.active) {
  color: var(--primary);
  background: rgba(var(--primary-rgb), 0.08);
}

.diet-panel {
  display: none;
}

.diet-panel.active {
  display: block;
  animation: fadeInUp 0.4s ease;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.diet-table {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.diet-table table {
  margin-bottom: 0;
}

.diet-table thead {
  background: linear-gradient(135deg, var(--primary), #3d8bfd);
  color: var(--white);
}

.diet-table thead th {
  font-weight: 600;
  font-size: 0.9rem;
  padding: 14px 20px;
  border: none;
}

.diet-table tbody tr {
  transition: var(--transition);
}

.diet-table tbody tr:nth-child(even) {
  background: rgba(var(--primary-rgb), 0.03);
}

.diet-table tbody tr:hover {
  background: rgba(var(--primary-rgb), 0.06);
  border-left: 3px solid var(--primary);
}

.diet-table tbody td {
  padding: 14px 20px;
  font-size: 0.9rem;
  color: #475569;
  vertical-align: middle;
  border-color: #f1f5f9;
  transition: var(--transition);
}

.diet-table tbody td:first-child {
  font-weight: 600;
  color: var(--dark);
}

.btn-download-diet {
  margin-top: 20px;
  background: rgba(var(--primary-rgb), 0.08);
  color: var(--primary);
  border: none;
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-download-diet:hover {
  background: var(--primary);
  color: var(--white);
}

.btn-download-diet:hover i {
  animation: downloadBounce 0.6s ease;
}

@keyframes downloadBounce {
  0%, 100% { transform: translateY(0); }
  40%      { transform: translateY(-6px); }
  60%      { transform: translateY(2px); }
}

/* ─── APPOINTMENT ──────────────────────────────────────────── */
.appointment-form-wrapper {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  border-radius: var(--radius-xl);
  padding: 50px 44px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(var(--primary-rgb), 0.08);
  position: relative;
  overflow: hidden;
}

.appointment-form-wrapper::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: var(--radius-xl);
  padding: 2px;
  background: conic-gradient(from 0deg, var(--primary), var(--secondary), #00d4aa, var(--primary));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.3;
  animation: rotateBorder 4s linear infinite;
}

.appointment-info {
  background: linear-gradient(135deg, #0a1628 0%, #0d2847 50%, #0f4c75 100%);
  border-radius: var(--radius-xl);
  padding: 50px 44px;
  color: var(--white);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.appointment-info h3 {
  color: var(--white);
  margin-bottom: 16px;
}

.appointment-info p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 30px;
}

.appt-info-item {
  display: flex;
  gap: 14px;
  margin-bottom: 24px;
  align-items: flex-start;
}

.appt-info-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--white);
}

.appt-info-text h6 {
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 2px;
}

.appt-info-text span {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

/* Floating label form */
.form-floating-custom {
  position: relative;
  margin-bottom: 0;
}

.form-floating-custom .form-control,
.form-floating-custom .form-select {
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-sm);
  padding: 18px 16px 8px;
  font-size: 0.92rem;
  font-family: var(--font-body);
  transition: var(--transition);
  background: var(--white);
  height: auto;
}

.form-floating-custom .form-label {
  position: absolute;
  top: 50%;
  left: 16px;
  transform: translateY(-50%);
  font-size: 0.92rem;
  color: #94a3b8;
  pointer-events: none;
  transition: var(--transition);
  background: transparent;
  padding: 0 4px;
  margin-bottom: 0;
  z-index: 2;
}

.form-floating-custom .form-control:focus ~ .form-label,
.form-floating-custom .form-control:not(:placeholder-shown) ~ .form-label,
.form-floating-custom .form-select:focus ~ .form-label,
.form-floating-custom .form-select.has-value ~ .form-label {
  top: 6px;
  transform: translateY(0);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--primary);
  background: var(--white);
}

.form-floating-custom textarea.form-control:focus ~ .form-label,
.form-floating-custom textarea.form-control:not(:placeholder-shown) ~ .form-label {
  top: 6px;
  transform: translateY(0);
}

.form-floating-custom .form-label {
  font-weight: 500;
}

.form-floating-custom textarea ~ .form-label {
  top: 18px;
  transform: translateY(0);
}

.form-floating-custom .form-control:focus,
.form-floating-custom .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(var(--primary-rgb), 0.12);
}

.form-floating-custom .form-control.is-valid {
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(var(--secondary-rgb), 0.1);
}

.form-floating-custom .form-control.is-invalid,
.form-floating-custom .form-select.is-invalid {
  border-color: var(--accent);
}

.shake-invalid {
  animation: shakeField 0.4s ease;
}

@keyframes shakeField {
  0%, 100% { transform: translateX(0); }
  20%      { transform: translateX(-6px); }
  40%      { transform: translateX(6px); }
  60%      { transform: translateX(-4px); }
  80%      { transform: translateX(4px); }
}

.btn-submit-appt {
  background: linear-gradient(135deg, var(--primary), #3d8bfd);
  color: var(--white);
  border: none;
  padding: 14px 40px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: var(--transition);
  width: 100%;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.btn-submit-appt::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}

.btn-submit-appt:hover::before {
  left: 100%;
}

.btn-submit-appt:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(var(--primary-rgb), 0.3);
  color: var(--white);
}

.btn-submit-appt .spinner-border {
  width: 1.2rem;
  height: 1.2rem;
  border-width: 2px;
}

/* Confetti */
.confetti-container {
  position: fixed;
  inset: 0;
  z-index: 100000;
  pointer-events: none;
  overflow: hidden;
}

.confetti-piece {
  position: absolute;
  top: -10px;
  width: 10px;
  height: 10px;
  border-radius: 2px;
  animation: confettiFall 2.5s ease-out forwards;
}

@keyframes confettiFall {
  0%   { transform: translateY(0) rotate(0deg); opacity: 1; }
  100% { transform: translateY(100vh) rotate(720deg); opacity: 0; }
}

/* Success modal */
.success-modal .modal-content {
  border: none;
  border-radius: var(--radius-xl);
  text-align: center;
  padding: 20px;
  overflow: hidden;
}

.success-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(var(--secondary-rgb), 0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--secondary);
  margin-bottom: 20px;
  animation: successPop 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes successPop {
  0%   { transform: scale(0); }
  60%  { transform: scale(1.2); }
  100% { transform: scale(1); }
}

/* ─── CONTACT ──────────────────────────────────────────────── */
.contact-section-bg {
  position: relative;
  overflow: hidden;
}

.contact-section-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.02), rgba(var(--secondary-rgb), 0.02));
  animation: gradientMesh 8s ease infinite alternate;
  background-size: 400% 400%;
}

.contact-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid #e2e8f0;
  text-align: center;
  transition: var(--transition);
  height: 100%;
  position: relative;
}

.contact-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.contact-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.1), rgba(var(--secondary-rgb), 0.08));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--primary);
  margin-bottom: 16px;
  transition: var(--transition);
}

.contact-card:hover .contact-card-icon {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
}

.contact-card h6 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.contact-card p, .contact-card a {
  font-size: 0.9rem;
  color: #64748b;
}

.contact-card a:hover {
  color: var(--primary);
}

.map-placeholder {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 350px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.08);
  transition: var(--transition);
}

.map-placeholder:hover {
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.2), var(--shadow);
}

.map-placeholder iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.social-links {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 30px;
}

.social-link {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--white);
  transition: var(--transition);
}

.social-link:hover {
  transform: translateY(-4px) scale(1.15) rotate(8deg);
  color: var(--white);
}

.social-link.fb  { background: #1877f2; }
.social-link.ig  { background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.social-link.li  { background: #0a66c2; }
.social-link.tw  { background: #000; }

.social-link.fb:hover  { box-shadow: 0 8px 25px rgba(24, 119, 242, 0.4); }
.social-link.ig:hover  { box-shadow: 0 8px 25px rgba(220, 39, 67, 0.4); }
.social-link.li:hover  { box-shadow: 0 8px 25px rgba(10, 102, 194, 0.4); }
.social-link.tw:hover  { box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4); }

/* ─── FOOTER ───────────────────────────────────────────────── */
.footer {
  background: var(--darker);
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 0 30px;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), var(--secondary), transparent);
}

.footer h5 {
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.footer-brand {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.footer-logo {
  height: 40px;
  width: auto;
  object-fit: contain;
  animation: logoPulseGlow 3s ease-in-out infinite;
}

.footer p {
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-links a i {
  transition: var(--transition);
  font-size: 0.7rem;
}

.footer-links a:hover {
  color: var(--white);
  transform: translateX(5px);
}

.footer-links a:hover i {
  color: var(--primary);
}

.footer-contact-item {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 0.9rem;
}

.footer-contact-item i {
  color: var(--primary);
  width: 18px;
  text-align: center;
  margin-top: 4px;
}

.footer-newsletter {
  margin-top: 20px;
}

.footer-newsletter .input-group {
  border-radius: 50px;
  overflow: hidden;
}

.footer-newsletter input {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--white);
  padding: 10px 18px;
  font-size: 0.88rem;
  font-family: var(--font-body);
  transition: var(--transition);
}

.footer-newsletter input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.footer-newsletter input:focus {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.2);
  outline: none;
  color: var(--white);
}

.footer-newsletter button {
  background: var(--primary);
  border: none;
  color: var(--white);
  padding: 10px 20px;
  font-weight: 600;
  font-size: 0.88rem;
  transition: var(--transition);
}

.footer-newsletter button:hover {
  background: #0b5ed7;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin-top: 50px;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.85rem;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.5);
  transition: var(--transition);
}

.footer-bottom a:hover {
  color: var(--primary);
}

.footer-developer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin-top: 20px;
  padding-top: 20px;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.48);
  letter-spacing: 0.02em;
}

.footer-developer-name {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
}

/* ─── EMERGENCY BOTTOM BANNER ──────────────────────────────── */
.emergency-banner {
  display: none;
}

/* ─── SCROLL TO TOP ────────────────────────────────────────── */
.scroll-top-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), #3d8bfd);
  color: var(--white);
  border: none;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1030;
  transform: scale(0);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  box-shadow: 0 6px 20px rgba(var(--primary-rgb), 0.35);
}

.scroll-top-btn.visible {
  transform: scale(1);
  opacity: 1;
  visibility: visible;
}

.scroll-top-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 30px rgba(var(--primary-rgb), 0.45);
}

/* ─── RIPPLE EFFECT ────────────────────────────────────────── */
.ripple-btn {
  position: relative;
  overflow: hidden;
}

.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: scale(0);
  animation: rippleEffect 0.6s linear;
  pointer-events: none;
}

@keyframes rippleEffect {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* ─── ANIMATIONS ───────────────────────────────────────────── */
.animate-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-zoom {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-up.visible,
.animate-left.visible,
.animate-right.visible,
.animate-zoom.visible {
  opacity: 1;
  transform: translate(0, 0) scale(1);
}

.stagger-children > *:nth-child(1)  { transition-delay: 0.05s; }
.stagger-children > *:nth-child(2)  { transition-delay: 0.10s; }
.stagger-children > *:nth-child(3)  { transition-delay: 0.15s; }
.stagger-children > *:nth-child(4)  { transition-delay: 0.20s; }
.stagger-children > *:nth-child(5)  { transition-delay: 0.25s; }
.stagger-children > *:nth-child(6)  { transition-delay: 0.30s; }
.stagger-children > *:nth-child(7)  { transition-delay: 0.35s; }
.stagger-children > *:nth-child(8)  { transition-delay: 0.40s; }
.stagger-children > *:nth-child(9)  { transition-delay: 0.45s; }
.stagger-children > *:nth-child(10) { transition-delay: 0.50s; }
.stagger-children > *:nth-child(11) { transition-delay: 0.55s; }
.stagger-children > *:nth-child(12) { transition-delay: 0.60s; }

/* ─── UTILITIES ────────────────────────────────────────────── */
.text-gradient {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── REDUCED MOTION ───────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ─── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 1199.98px) {
  .hero-title { font-size: 3.2rem; }
  .section-title { font-size: 2.4rem; }
}

@media (max-width: 991.98px) {
  .hero-title { font-size: 2.8rem; }
  .section-title { font-size: 2.1rem; }
  .section-padding { padding: 80px 0; }

  .navbar-main .navbar-collapse {
    background: rgba(var(--dark-rgb), 0.96);
    backdrop-filter: blur(16px);
    border-radius: var(--radius);
    padding: 20px;
    margin-top: 12px;
  }

  .navbar-main .nav-link.active .nav-active-dot { display: none; }
  .navbar-main .nav-link::after { display: none; }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 200px;
  }

  .gallery-item:nth-child(1) { grid-row: span 1; }
  .gallery-item:nth-child(4) { grid-column: span 1; }
  .gallery-item:nth-child(6) { grid-row: span 1; }

  .appointment-form-wrapper,
  .appointment-info {
    padding: 36px 28px;
  }

  .stat-item:not(:last-child)::after { display: none; }

  .hero-scroll-indicator { display: none; }
}

@media (max-width: 767.98px) {
  .hero-title { font-size: 2.2rem; }
  .section-title { font-size: 1.8rem; }
  .section-padding { padding: 60px 0; }
  .stat-number { font-size: 2rem; }

  .hero-btns { flex-direction: column; }
  .trust-badges { gap: 12px; }
  .trust-badge { padding: 8px 14px; }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 160px;
  }

  .diet-tabs {
    border-radius: var(--radius);
    padding: 4px;
  }

  .diet-tab-btn {
    padding: 8px 16px;
    font-size: 0.82rem;
    border-radius: var(--radius-sm);
  }

  .diet-tab-indicator { border-radius: var(--radius-sm); }

  .appointment-form-wrapper,
  .appointment-info {
    padding: 28px 20px;
  }

  .footer { padding: 50px 0 20px; }
  .footer-bottom { justify-content: center; text-align: center; }

  .video-float-icon { display: none; }
  .video-section { padding: 80px 0; }
}

@media (max-width: 575.98px) {
  .hero-title { font-size: 1.85rem; }
  .section-title { font-size: 1.55rem; }

  .stats-card-wrapper { padding: 30px 16px; }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 180px;
  }

  .emergency-marquee { font-size: 0.75rem; padding: 5px 0; }
  .scroll-top-btn { bottom: 16px; right: 16px; width: 42px; height: 42px; }

  .lightbox-nav { width: 40px; height: 40px; font-size: 1rem; }
  .lightbox-prev { left: 10px; }
  .lightbox-next { right: 10px; }
}

body {
  padding-bottom: 0;
}

/* ─── PATIENT VOICES / TESTIMONIALS ────────────────────────── */
.pv-content {
  display: flex;
  align-items: center;
  gap: 30px;
}

.pv-doctor-card {
  flex-shrink: 0;
  width: 260px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.pv-doctor-photo {
  flex-shrink: 0;
  line-height: 0;
  background: none;
  border: none;
  border-radius: 0;
  overflow: hidden;
  max-width: 100%;
}

.pv-doctor-logo {
  display: block;
  width: 168px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  object-position: left top;
}

.pv-doctor-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  margin-top: -22px;
  line-height: 1.25;
}

.pv-doctor-stars {
  display: flex;
  gap: 2px;
}

.pv-star {
  color: #FBBF24;
  font-size: 1.2rem;
  line-height: 1;
}

.pv-doctor-reviews {
  font-size: 0.88rem;
  color: #6b7280;
}

.pv-write-review-btn {
  display: inline-block;
  margin-top: 6px;
  padding: 10px 24px;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
}

.pv-write-review-btn:hover {
  background: #0b5ed7;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(var(--primary-rgb), 0.35);
  color: var(--white);
}

/* Carousel area */
.pv-carousel-area {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.pv-arrow-btn {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border: 1px solid #e2e8f0;
  background: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: var(--transition);
  color: #6b7280;
  font-size: 1.5rem;
}

.pv-arrow-btn:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.3);
}

.pv-arrow-btn svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Review cards track */
.pv-reviews-track {
  flex: 1;
  display: flex;
  gap: 20px;
  overflow: hidden;
  min-width: 0;
  scroll-behavior: smooth;
}

/* Review card */
.pv-review-card {
  position: relative;
  flex: 0 0 calc(33.333% - 14px);
  min-width: 280px;
  background: var(--white);
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: var(--transition);
}

.pv-review-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

.pv-review-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pv-reviewer-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
}

.pv-reviewer-info {
  flex: 1;
  min-width: 0;
}

.pv-reviewer-name-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.pv-reviewer-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 170px;
}

.pv-g-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.pv-g-icon-corner {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 26px;
  height: 26px;
  z-index: 1;
}

.pv-review-time {
  font-size: 0.78rem;
  color: #9ca3af;
  margin-top: 1px;
}

.pv-stars-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.pv-verified-icon {
  width: 16px;
  height: 16px;
}

.pv-review-text {
  font-size: 0.88rem;
  color: #374151;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pv-read-more {
  font-size: 0.82rem;
  color: var(--primary);
  cursor: pointer;
  border: none;
  background: none;
  padding: 0;
  margin-top: auto;
  font-weight: 600;
  text-align: left;
}

.pv-read-more:hover {
  color: #0b5ed7;
}

/* Responsive */
@media (max-width: 1024px) {
  .pv-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .pv-doctor-card {
    flex-direction: row;
    width: 100%;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
  }

  .pv-review-card {
    flex: 0 0 calc(50% - 10px);
  }
}

@media (max-width: 640px) {
  .pv-review-card {
    flex: 0 0 85%;
    min-width: 260px;
  }

  .pv-reviews-track {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .pv-review-card {
    scroll-snap-align: start;
  }

  .pv-arrow-btn {
    display: none;
  }
}
