/* =========================================================
   HAMAD MEDICAL LABORATORY — REVAMP CSS
   Design System: Navy + Teal, Outfit + Inter fonts
   ========================================================= */

/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

/* ========== CSS VARIABLES ========== */
:root {
  --navy:        #0D1B3E;
  --navy-light:  #162448;
  --teal:        #00B5CC;
  --teal-dark:   #0097AD;
  --teal-light:  #E0F7FA;
  --white:       #FFFFFF;
  --off-white:   #F8FBFF;
  --bg-light:    #F0F5FB;
  --text-dark:   #1A2236;
  --text-muted:  #6B7A99;
  --text-light:  #A8B8D8;
  --success:     #22C55E;
  --warning:     #F59E0B;
  --danger:      #EF4444;
  --shadow-sm:   0 2px 8px rgba(13,27,62,0.08);
  --shadow-md:   0 8px 32px rgba(13,27,62,0.12);
  --shadow-lg:   0 20px 60px rgba(13,27,62,0.18);
  --radius-sm:   8px;
  --radius-md:   16px;
  --radius-lg:   24px;
  --radius-xl:   32px;
  --transition:  0.3s cubic-bezier(0.4,0,0.2,1);
}

/* ========== RESET & BASE ========== */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.25;
}

a { text-decoration: none; color: inherit; }

img { max-width: 100%; }

/* ========== UTILITY CLASSES ========== */
.revamp-section {
  padding: 80px 0;
}
.revamp-section-sm {
  padding: 50px 0;
}
.section-bg-light { background: var(--bg-light); }
.section-bg-navy  { background: var(--navy); }
.section-bg-white { background: var(--white); }

.text-teal  { color: var(--teal) !important; }
.text-navy  { color: var(--navy) !important; }
.text-white { color: var(--white) !important; }
.text-muted-custom { color: var(--text-muted) !important; }

.revamp-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-decoration: none;
}
.revamp-btn-primary {
  background: var(--teal);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(0,181,204,0.35);
}
.revamp-btn-primary:hover {
  background: var(--teal-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,181,204,0.45);
}
.revamp-btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.7);
}
.revamp-btn-outline:hover {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
  transform: translateY(-2px);
}
.revamp-btn-navy {
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(13,27,62,0.25);
}
.revamp-btn-navy:hover {
  background: var(--navy-light);
  color: var(--white);
  transform: translateY(-2px);
}

.section-label {
  display: inline-block;
  background: var(--teal-light);
  color: var(--teal-dark);
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 16px;
}
.section-label-white {
  background: rgba(255,255,255,0.15);
  color: var(--white);
}

.section-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  margin-bottom: 20px;
}
.section-subtitle {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto 40px;
  line-height: 1.7;
}
.section-subtitle-left {
  margin: 0 0 36px;
}

.revamp-divider {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--teal), var(--navy));
  border-radius: 2px;
  margin-bottom: 24px;
}
.revamp-divider-center { margin: 0 auto 24px; }

/* ========== SCROLL REVEAL ANIMATIONS ========== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}
.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ========================================================
   NAVBAR
   ======================================================== */
.rv-navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
  padding: 20px 0;
}
.rv-navbar.scrolled {
  background: var(--white) !important;
  box-shadow: var(--shadow-md);
  padding: 12px 0;
}
.rv-navbar.scrolled .rv-nav-link { color: var(--navy) !important; }
.rv-navbar.scrolled .rv-nav-link:hover { color: var(--teal) !important; }
.rv-navbar.scrolled .rv-logo-text { color: var(--navy) !important; }
.rv-navbar.scrolled .rv-logo-sub { color: var(--text-muted) !important; }
.rv-navbar.scrolled .rv-nav-cta {
  background: var(--teal) !important;
  color: var(--white) !important;
}
.rv-navbar.scrolled .rv-hamburger span { background: var(--navy) !important; }

.rv-navbar-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Logo — uses real logo image */
.rv-logo { display: flex; align-items: center; text-decoration: none; }
.rv-logo-img {
  height: 52px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  display: block;
  /* logo.jpg has navy bg + white text — looks great on transparent navbar */
  border-radius: 8px;
  transition: var(--transition);
}
/* When navbar is scrolled (white bg), keep original logo image as-is to remain fully visible */
.rv-navbar.scrolled .rv-logo-img {
  border-radius: 8px;
}

/* Nav Links */
.rv-nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0; padding: 0;
}
.rv-nav-link {
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  font-size: 14px;
  color: rgba(255,255,255,0.9);
  padding: 8px 14px;
  border-radius: 8px;
  transition: var(--transition);
  cursor: pointer;
  text-decoration: none;
}
.rv-nav-link:hover {
  color: var(--teal) !important;
  background: rgba(0,181,204,0.1);
}
.rv-nav-link.active {
  color: var(--teal) !important;
}

/* CTA Button in Nav */
.rv-nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  background: rgba(255,255,255,0.15);
  color: var(--white) !important;
  border: 1.5px solid rgba(255,255,255,0.4);
  border-radius: 50px;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  backdrop-filter: blur(8px);
  white-space: nowrap;
}
.rv-nav-cta:hover {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--white) !important;
  transform: translateY(-1px);
}

/* Hamburger */
.rv-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.rv-hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.rv-hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.rv-hamburger.open span:nth-child(2) { opacity: 0; }
.rv-hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile Nav */
.rv-mobile-nav {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--navy);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 80px 24px 40px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}
.rv-mobile-nav.open {
  display: flex;
  opacity: 1;
  pointer-events: all;
}
.rv-mobile-nav a {
  font-family: 'Outfit', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--white);
  padding: 12px 32px;
  border-radius: 12px;
  width: 100%;
  text-align: center;
  transition: var(--transition);
}
.rv-mobile-nav a:hover {
  background: rgba(0,181,204,0.2);
  color: var(--teal);
}
.rv-mobile-close {
  position: absolute;
  top: 20px; right: 24px;
  background: none;
  border: none;
  color: var(--white);
  font-size: 28px;
  cursor: pointer;
  padding: 8px;
}

/* ========================================================
   HERO SECTION
   ======================================================== */
.rv-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.rv-hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/content/slider/hero_new.jpg?v=1.1');
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  transform: scale(1.05);
  animation: heroZoom 12s ease-in-out infinite alternate;
}
@keyframes heroZoom {
  from { transform: scale(1.05); }
  to   { transform: scale(1.0); }
}
.rv-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg,
    rgba(13,27,62,0.90) 0%,
    rgba(13,27,62,0.75) 45%,
    rgba(13,27,62,0.20) 75%,
    transparent 100%
  );
}
.rv-hero-content {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  padding-top: 100px;
  width: 100%;
}
.rv-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,181,204,0.2);
  border: 1px solid rgba(0,181,204,0.4);
  color: var(--teal);
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: 50px;
  backdrop-filter: blur(8px);
  margin-bottom: 24px;
  animation: fadeInDown 0.8s ease forwards;
}
.rv-hero-badge::before {
  content: '';
  width: 8px; height: 8px;
  background: var(--success);
  border-radius: 50%;
  animation: pulse 1.5s ease infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.4); }
}

.rv-hero-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(36px, 5.5vw, 68px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 20px;
  max-width: 680px;
  animation: fadeInUp 0.8s ease 0.2s forwards;
  opacity: 0;
}
.rv-hero-title .highlight {
  color: var(--teal);
  position: relative;
}
.rv-hero-subtitle {
  font-size: 18px;
  color: rgba(255,255,255,0.8);
  max-width: 500px;
  margin-bottom: 36px;
  line-height: 1.7;
  animation: fadeInUp 0.8s ease 0.4s forwards;
  opacity: 0;
}
.rv-hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 60px;
  animation: fadeInUp 0.8s ease 0.6s forwards;
  opacity: 0;
}

/* Hero Stats */
.rv-hero-stats {
  display: flex;
  gap: 1px;
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  overflow: hidden;
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.15);
  max-width: 540px;
  animation: fadeInUp 0.8s ease 0.8s forwards;
  opacity: 0;
}
.rv-hero-stat {
  flex: 1;
  padding: 20px 24px;
  text-align: center;
  background: rgba(13,27,62,0.5);
  transition: background var(--transition);
}
.rv-hero-stat:hover { background: rgba(0,181,204,0.2); }
.rv-hero-stat + .rv-hero-stat { border-left: 1px solid rgba(255,255,255,0.1); }
.rv-hero-stat-num {
  font-family: 'Outfit', sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 4px;
}
.rv-hero-stat-num span { color: var(--teal); }
.rv-hero-stat-label {
  font-size: 12px;
  color: rgba(255,255,255,0.65);
  font-family: 'Inter', sans-serif;
}

/* Hero scroll indicator */
.rv-hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.5);
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-family: 'Inter', sans-serif;
  animation: bounce 2s ease infinite;
}
.rv-hero-scroll::after {
  content: '';
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ========================================================
   TRUST STRIP
   ======================================================== */
.rv-trust-strip {
  background: var(--navy);
  padding: 0;
}
.rv-trust-strip-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.rv-trust-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 28px 24px;
  border-right: 1px solid rgba(255,255,255,0.08);
  transition: background var(--transition);
  cursor: default;
}
.rv-trust-item:last-child { border-right: none; }
.rv-trust-item:hover { background: rgba(0,181,204,0.1); }
.rv-trust-icon {
  width: 52px; height: 52px;
  background: rgba(0,181,204,0.15);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
  transition: background var(--transition);
}
.rv-trust-item:hover .rv-trust-icon { background: rgba(0,181,204,0.3); }
.rv-trust-text h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  margin: 0 0 3px;
}
.rv-trust-text p {
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  margin: 0;
  font-family: 'Inter', sans-serif;
}

/* ========================================================
   RESPONSIVE TWO-COLUMN SPLIT GRID
   ======================================================== */
.rv-split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
/* Reversed variant: image on right, content on left */
.rv-split-grid--rev > *:first-child { order: 1; }
.rv-split-grid--rev > *:last-child  { order: 2; }

/* ========================================================
   ABOUT SECTION
   ======================================================== */
.rv-about {
  background: var(--white);
}
.rv-about-image-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.rv-about-image-wrap img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  display: block;
}
.rv-about-badge {
  position: absolute;
  bottom: 24px;
  left: -20px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 200px;
}
.rv-about-badge-icon {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--teal), var(--navy));
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}
.rv-about-badge h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--navy);
  margin: 0 0 2px;
}
.rv-about-badge p {
  font-size: 12px;
  color: var(--text-muted);
  margin: 0;
}
.rv-about-content { padding-left: 40px; }
.rv-feature-list { list-style: none; padding: 0; margin: 0 0 32px; }
.rv-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--bg-light);
  font-size: 15px;
  color: var(--text-dark);
}
.rv-feature-list li:last-child { border-bottom: none; }
.rv-feature-list .check-icon {
  width: 28px; height: 28px;
  background: var(--teal-light);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--teal-dark);
  font-size: 14px;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ========================================================
   DIAGNOSTIC TESTS
   ======================================================== */
.rv-tests { background: var(--bg-light); }
.rv-tabs-wrap {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 40px;
}
.rv-tab-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--white);
  border: 1.5px solid rgba(13,27,62,0.1);
  border-radius: 50px;
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.rv-tab-btn:hover {
  border-color: var(--teal);
  color: var(--teal-dark);
  background: var(--teal-light);
}
.rv-tab-btn.active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
  box-shadow: var(--shadow-md);
}
.rv-tab-btn .tab-icon { font-size: 16px; }

.rv-test-panel { display: none; }
.rv-test-panel.active { display: block; }
.rv-test-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 380px;
}
.rv-test-card-image {
  overflow: hidden;
}
.rv-test-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.rv-test-card:hover .rv-test-card-image img { transform: scale(1.04); }
.rv-test-card-body {
  padding: 48px 48px 48px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.rv-test-card-body h3 {
  font-size: 28px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 16px;
}
.rv-test-card-body p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.75;
  margin-bottom: 24px;
}
.rv-test-card-body ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.rv-test-card-body ul li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-dark);
}
.rv-test-card-body ul li::before {
  content: '✓';
  width: 22px; height: 22px;
  background: var(--teal-light);
  color: var(--teal-dark);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}

/* ========================================================
   SERVICES SECTION
   ======================================================== */
.rv-services { background: var(--white); }
.rv-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 0;
}
.rv-service-chip {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: var(--bg-light);
  border-radius: 12px;
  border: 1.5px solid transparent;
  transition: var(--transition);
  cursor: default;
}
.rv-service-chip:hover {
  background: var(--teal-light);
  border-color: var(--teal);
  transform: translateY(-2px);
}
.rv-service-chip-icon {
  width: 36px; height: 36px;
  background: var(--white);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}
.rv-service-chip span {
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
}

/* ========================================================
   DOCTORS SECTION
   ======================================================== */
.rv-doctors { background: var(--bg-light); }
.rv-doctors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.rv-doctor-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  cursor: pointer;
  text-decoration: none;
}
.rv-doctor-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-8px);
}
.rv-doctor-photo {
  position: relative;
  height: 320px;
  overflow: hidden;
  background: var(--bg-light);
}
.rv-doctor-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
  transition: transform 0.5s ease;
}
.rv-doctor-card:hover .rv-doctor-photo img { transform: scale(1.06); }
.rv-doctor-photo-badge {
  position: absolute;
  top: 16px; right: 16px;
  background: var(--teal);
  color: var(--white);
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 50px;
  letter-spacing: 0.5px;
}
.rv-doctor-info {
  padding: 24px;
}
.rv-doctor-info h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 6px;
}
.rv-doctor-info .specialty {
  font-size: 13px;
  font-weight: 600;
  color: var(--teal-dark);
  font-family: 'Outfit', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.rv-doctor-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  border-top: 1px solid var(--bg-light);
}
.rv-doctor-footer span {
  font-size: 13px;
  color: var(--text-muted);
}
.rv-doctor-arrow {
  width: 36px; height: 36px;
  background: var(--bg-light);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
  color: var(--navy);
}
.rv-doctor-card:hover .rv-doctor-arrow {
  background: var(--teal);
  color: var(--white);
}

/* ========================================================
   TESTIMONIALS SECTION
   ======================================================== */
.rv-testimonials { background: var(--navy); overflow: hidden; }
.rv-testimonials-grid {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.rv-testimonials-left {
  padding: 80px 0;
}
.rv-testimonial-slider { position: relative; min-height: 200px; }
.rv-testimonial-item {
  display: none;
  animation: testimonialFade 0.5s ease;
}
.rv-testimonial-item.active { display: block; }
@keyframes testimonialFade {
  from { opacity: 0; transform: translateX(20px); }
  to   { opacity: 1; transform: translateX(0); }
}
.rv-testimonial-quote {
  font-size: 64px;
  color: var(--teal);
  line-height: 0.5;
  font-family: Georgia, serif;
  margin-bottom: 24px;
  display: block;
}
.rv-testimonial-text {
  font-size: 18px;
  color: rgba(255,255,255,0.85);
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 24px;
}
.rv-testimonial-author { display: flex; align-items: center; gap: 16px; }
.rv-testimonial-avatar {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, var(--teal), var(--navy-light));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  flex-shrink: 0;
}
.rv-testimonial-name {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: var(--white);
  margin: 0 0 2px;
}
.rv-testimonial-role {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}
.rv-testimonial-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 20px;
}
.rv-testimonial-stars span { color: var(--warning); font-size: 18px; }
.rv-testimonial-nav {
  display: flex;
  gap: 10px;
  margin-top: 32px;
}
.rv-testi-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  cursor: pointer;
  border: none;
  transition: var(--transition);
  padding: 0;
}
.rv-testi-dot.active {
  background: var(--teal);
  width: 28px;
  border-radius: 5px;
}

.rv-testimonials-right {
  position: relative;
  height: 440px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.rv-testimonials-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ========================================================
   PRICE PACKAGES
   ======================================================== */
.rv-pricing { background: var(--bg-light); }
.rv-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: start;
}
.rv-price-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: var(--transition);
  border: 2px solid transparent;
  position: relative;
}
.rv-price-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-8px);
  border-color: var(--teal);
}
.rv-price-card.featured {
  border-color: var(--teal);
  box-shadow: var(--shadow-lg);
  transform: scale(1.03);
}
.rv-price-card.featured:hover { transform: scale(1.03) translateY(-4px); }
.rv-price-badge {
  position: absolute;
  top: -1px; right: 24px;
  background: var(--teal);
  color: var(--white);
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 0 0 12px 12px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.rv-price-header {
  padding: 32px 28px 24px;
  background: var(--navy);
}
.rv-price-card.featured .rv-price-header { background: linear-gradient(135deg, var(--teal-dark), var(--navy)); }
.rv-price-name {
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}
.rv-price-amount {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 8px;
}
.rv-price-current {
  font-family: 'Outfit', sans-serif;
  font-size: 48px;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}
.rv-price-original {
  font-size: 18px;
  color: rgba(255,255,255,0.4);
  text-decoration: line-through;
}
.rv-price-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
}
.rv-price-body {
  padding: 24px 28px 28px;
}
.rv-price-tests {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 320px;
  overflow-y: auto;
}
.rv-price-tests::-webkit-scrollbar { width: 4px; }
.rv-price-tests::-webkit-scrollbar-track { background: var(--bg-light); border-radius: 2px; }
.rv-price-tests::-webkit-scrollbar-thumb { background: var(--teal); border-radius: 2px; }
.rv-price-tests li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  padding: 6px 0;
  border-bottom: 1px solid var(--bg-light);
}
.rv-price-tests li:last-child { border-bottom: none; }
.rv-price-tests li::before {
  content: '✓';
  width: 18px; height: 18px;
  background: var(--teal-light);
  color: var(--teal-dark);
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 10px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}
.rv-price-cta {
  display: flex;
  gap: 10px;
}
.rv-price-cta a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 8px;
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 600;
  transition: var(--transition);
  text-decoration: none;
}
.rv-price-cta a svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.rv-price-wa {
  background: #25D366;
  color: var(--white) !important;
}
.rv-price-wa:hover {
  background: #1DAA54;
  color: var(--white) !important;
  transform: translateY(-1px);
}
.rv-price-call {
  background: var(--bg-light);
  color: var(--navy) !important;
}
.rv-price-call:hover {
  background: var(--navy);
  color: var(--white) !important;
  transform: translateY(-1px);
}

/* ========================================================
   CONTACT / APPOINTMENT
   ======================================================== */
.rv-contact { background: var(--white); }
.rv-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.rv-contact-info h2 {
  font-size: 36px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 16px;
}
.rv-contact-info p {
  color: var(--text-muted);
  font-size: 16px;
  margin-bottom: 36px;
}
.rv-contact-items { display: flex; flex-direction: column; gap: 20px; margin-bottom: 32px; }
.rv-contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.rv-contact-item-icon {
  width: 48px; height: 48px;
  background: var(--teal-light);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.rv-contact-item-text h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 4px;
}
.rv-contact-item-text p, .rv-contact-item-text a {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
  text-decoration: none;
}
.rv-contact-item-text a:hover { color: var(--teal); }
.rv-map-wrap {
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 220px;
  box-shadow: var(--shadow-sm);
}
.rv-map-wrap iframe { width: 100%; height: 100%; border: none; }

/* Form */
.rv-form { background: var(--bg-light); border-radius: var(--radius-lg); padding: 40px; }
.rv-form h3 {
  font-size: 24px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 24px;
}
.rv-form-group { margin-bottom: 16px; }
.rv-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.rv-input {
  width: 100%;
  padding: 14px 18px;
  background: var(--white);
  border: 1.5px solid rgba(13,27,62,0.1);
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: var(--text-dark);
  transition: var(--transition);
  outline: none;
}
.rv-input::placeholder { color: var(--text-light); }
.rv-input:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(0,181,204,0.15);
}
textarea.rv-input { resize: vertical; min-height: 120px; }
.rv-form-submit {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, var(--teal), var(--navy));
  color: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  margin-top: 8px;
}
.rv-form-submit:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ========================================================
   FOOTER
   ======================================================== */
.rv-footer { background: var(--navy); padding: 60px 0 0; }
.rv-footer-grid {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.rv-footer-brand p {
  color: rgba(255,255,255,0.55);
  font-size: 14px;
  line-height: 1.7;
  margin: 16px 0 24px;
  max-width: 300px;
}
.rv-footer-social { display: flex; gap: 12px; margin-top: 4px; }
.rv-social-btn {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.7);
  transition: var(--transition);
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.12);
}
.rv-social-btn svg {
  width: 18px; height: 18px;
  fill: currentColor;
  display: block;
}
.rv-social-btn:hover {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,181,204,0.35);
}
.rv-footer-col h5 {
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  margin: 0 0 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.rv-footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.rv-footer-links a {
  color: rgba(255,255,255,0.55);
  font-size: 14px;
  text-decoration: none;
  transition: color var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}
.rv-footer-links a:hover { color: var(--teal); }
.rv-footer-links a::before {
  content: '→';
  font-size: 12px;
  color: var(--teal);
  opacity: 0;
  transition: var(--transition);
}
.rv-footer-links a:hover::before { opacity: 1; }
.rv-footer-contact-list { display: flex; flex-direction: column; gap: 14px; }
.rv-footer-contact-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.rv-footer-contact-list li .fci {
  color: var(--teal);
  font-size: 16px;
  flex-shrink: 0;
  margin-top: 2px;
}
.rv-footer-contact-list li span, .rv-footer-contact-list li a {
  color: rgba(255,255,255,0.55);
  font-size: 13px;
  line-height: 1.5;
  text-decoration: none;
  transition: color var(--transition);
}
.rv-footer-contact-list li a:hover { color: var(--teal); }

.rv-footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.rv-footer-bottom span, .rv-footer-bottom a {
  font-size: 13px;
  color: rgba(255,255,255,0.35);
  text-decoration: none;
}
.rv-footer-bottom a:hover { color: var(--teal); }
.rv-footer-bottom-right { display: flex; gap: 20px; }

/* ========================================================
   WHATSAPP FLOATING BUTTON
   ======================================================== */
.rv-whatsapp-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #25D366;
  color: var(--white);
  padding: 14px 20px;
  border-radius: 50px;
  box-shadow: 0 8px 32px rgba(37,211,102,0.4);
  text-decoration: none;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 14px;
  transition: var(--transition);
  animation: floatUp 0.5s ease 1s both;
}
.rv-whatsapp-btn:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 12px 40px rgba(37,211,102,0.55);
  color: var(--white);
  text-decoration: none;
}
.rv-whatsapp-btn svg { width: 24px; height: 24px; }
.rv-whatsapp-text { display: block; }
@keyframes floatUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ========================================================
   BACK TO TOP
   ======================================================== */
.rv-back-to-top {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 998;
  width: 44px; height: 44px;
  background: var(--navy);
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  opacity: 0;
  pointer-events: none;
  text-decoration: none;
  border: none;
}
.rv-back-to-top.visible {
  opacity: 1;
  pointer-events: all;
}
.rv-back-to-top:hover {
  background: var(--teal);
  transform: translateX(-50%) translateY(-3px);
}

/* ========================================================
   RESPONSIVE
   ======================================================== */
@media (max-width: 1024px) {
  .rv-trust-strip-inner { grid-template-columns: repeat(2, 1fr); }
  .rv-trust-item:nth-child(2) { border-right: none; }
  .rv-trust-item:nth-child(3) { border-top: 1px solid rgba(255,255,255,0.08); }
  .rv-trust-item:nth-child(4) { border-top: 1px solid rgba(255,255,255,0.08); }
  .rv-about-content { padding-left: 20px; }
  .rv-doctors-grid { grid-template-columns: repeat(2, 1fr); }
  .rv-pricing-grid { grid-template-columns: 1fr 1fr; }
  .rv-price-card.featured { transform: none; }
  .rv-contact-grid { gap: 40px; }
  .rv-footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .rv-navbar { padding: 16px 0; }
  .rv-nav-links, .rv-nav-cta { display: none; }
  .rv-hamburger { display: flex; }
  .rv-hero-stats { flex-direction: column; gap: 0; max-width: 100%; }
  .rv-hero-stat { border-left: none !important; border-top: 1px solid rgba(255,255,255,0.1); }
  .rv-hero-stat:first-child { border-top: none; }
  .rv-trust-strip-inner { grid-template-columns: 1fr 1fr; }

  /* --- Split grid: collapse to single column, content always first --- */
  .rv-split-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  /* In normal variant: image is first child → push it after text */
  .rv-split-grid > *:first-child { order: 2; }
  .rv-split-grid > *:last-child  { order: 1; }
  /* In reversed variant: content is first child → keep it first */
  .rv-split-grid.rv-split-grid--rev > *:first-child { order: 1; }
  .rv-split-grid.rv-split-grid--rev > *:last-child  { order: 2; }

  /* About section adjustments */
  .rv-about-image-wrap img { height: 260px; border-radius: var(--radius-md); }
  .rv-about-badge { left: 16px; bottom: 16px; }
  .rv-about-content { padding-left: 0; }

  /* What We Offer image */
  .rv-services .rv-split-grid > div[class*="reveal-right"],
  .rv-services .rv-split-grid > div:not([class*="reveal-left"]) {
    border-radius: var(--radius-md);
  }
  .rv-services .rv-split-grid img { height: 280px !important; }

  /* Diagnostic test cards: image becomes a compact banner, not side-by-side */
  .rv-test-card { grid-template-columns: 1fr; }
  .rv-test-card-image { height: 200px; }
  .rv-test-card-body { padding: 28px 24px; }

  .rv-services-grid { grid-template-columns: 1fr 1fr; }
  .rv-doctors-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .rv-testimonials-grid { grid-template-columns: 1fr; }
  .rv-testimonials-left {
    padding: 64px 0 80px;
    text-align: center;
  }
  .rv-testimonial-stars { justify-content: center; }
  .rv-testimonial-author { justify-content: center; flex-direction: column; text-align: center; }
  .rv-testimonial-nav { justify-content: center; }
  .rv-testimonials-right { display: none; }
  .rv-pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .rv-price-card.featured { transform: none; }
  .rv-contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .rv-footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .rv-footer-bottom { flex-direction: column; text-align: center; }
  .rv-whatsapp-btn { bottom: 20px; right: 16px; padding: 12px 16px; }
  .rv-whatsapp-text { display: none; }
  .rv-back-to-top { bottom: 20px; left: 50%; transform: translateX(-50%); }
  .rv-tabs-wrap { gap: 6px; }
  .rv-tab-btn { padding: 8px 14px; font-size: 12px; }
  .rv-form-row { grid-template-columns: 1fr; }
  .revamp-section { padding: 56px 0; }
}

@media (max-width: 480px) {
  .rv-hero-title { font-size: 32px; }
  .rv-hero-btns { flex-direction: column; }
  .rv-hero-btns .revamp-btn { width: 100%; justify-content: center; }
  .rv-trust-strip-inner { grid-template-columns: 1fr; }
  .rv-trust-item { border-right: none; border-top: 1px solid rgba(255,255,255,0.08); }
  .rv-trust-item:first-child { border-top: none; }
  .rv-services-grid { grid-template-columns: 1fr; }
}

/* ========== OVERRIDE OLD STYLES ========== */
/* Hide old header, slider and footer */
body.revamped .header,
body.revamped .footer,
body.revamped .backToTop,
body.revamped .page-content { display: none !important; }
