/* ============================================
   MANIPAL TUMKUR DIAGNOSTICS - Design System
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Poppins:wght@400;500;600;700;800&display=swap');

/* === CSS Variables === */
:root {
  --primary: #4169E1;
  --primary-dark: #2E4A99;
  --primary-light: #6B8FE8;
  --primary-lighter: #E8EEFF;
  --primary-gradient: linear-gradient(135deg, #4169E1 0%, #8B4789 100%);
  --secondary: #FF8C42;
  --secondary-dark: #E67A30;
  --accent: #8B4789;
  --bg: #E8EEFF;
  --bg-alt: #F0F4FF;
  --card-bg: #FFFFFF;
  --text: #1A1A2E;
  --text-secondary: #4A5568;
  --text-muted: #718096;
  --border: #E2E8F0;
  --border-light: #EDF2F7;
  --danger: #E74C3C;
  --warning: #F39C12;
  --success: #27AE60;
  --info: #3498DB;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 10px 25px -5px rgba(65, 105, 225, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 50px -12px rgba(65, 105, 225, 0.15);
  --shadow-xl: 0 25px 60px -12px rgba(65, 105, 225, 0.2);
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.15s ease;
  --max-width: 1280px;
  --nav-height: 72px;
  --container-padding: 24px;
}

/* === Reset & Base === */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI Emoji', 'Apple Color Emoji', 'Noto Color Emoji', 'Twemoji Mozilla', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition-fast);
}

a:hover {
  color: var(--primary-dark);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Poppins', 'Inter', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* === Top Bar === */
.top-bar {
  background: var(--primary-dark);
  color: white;
  font-size: 0.8rem;
  padding: 8px 0;
  letter-spacing: 0.3px;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.top-bar a {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

.top-bar a:hover {
  color: white;
}

.top-bar-left,
.top-bar-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.top-bar-left span,
.top-bar-right span {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* === 24x7 Glow Badge === */
.badge-24x7 {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 10px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 1px;
  background: rgba(107, 143, 232, 0.2);
  border: 1px solid rgba(107, 143, 232, 0.45);
  animation: glow24x7 1.5s ease-in-out infinite alternate;
}

@keyframes glow24x7 {
  from {
    box-shadow: 0 0 5px rgba(107, 143, 232, 0.5);
  }

  to {
    box-shadow: 0 0 14px rgba(107, 143, 232, 0.9), 0 0 28px rgba(107, 143, 232, 0.4);
  }
}

/* === Navbar === */
.navbar {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--border-light);
  height: var(--nav-height);
  transition: var(--transition);
}

.navbar.scrolled {
  box-shadow: var(--shadow-md);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav-brand .logo-icon {
  width: 52px;
  height: 52px;
  background: transparent;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  flex-shrink: 0;
}

.nav-brand .logo-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
  /* makes JPEG white bg transparent on white navbar */
  display: block;
}

.nav-brand-text {
  display: flex;
  flex-direction: column;
}

.nav-brand-text .brand-name {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--primary-dark);
  line-height: 1.2;
}

.nav-brand-text .brand-sub {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.nav-links {
  margin-left: auto;
  margin-right: auto;
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  padding: 8px 16px;
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
  background: var(--primary-lighter);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border: none;
  border-radius: var(--radius-full);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: 0.2px;
}

.btn-primary {
  background: var(--primary-gradient);
  color: white;
  box-shadow: 0 4px 15px rgba(13, 124, 102, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(13, 124, 102, 0.4);
  color: white;
}

.btn-secondary {
  background: white;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-secondary:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--primary);
  background: var(--primary-lighter);
}

.btn-danger-outline {
  background: transparent;
  color: var(--danger);
  border: 1.5px solid rgba(231, 76, 60, 0.3);
}

.btn-danger-outline:hover {
  border-color: var(--danger);
  background: #FDEDEC;
  color: var(--danger);
}

.btn-sm {
  padding: 8px 20px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1rem;
}

/* === Mobile Menu Toggle === */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

/* === Hero === */
.hero {
  background: linear-gradient(135deg, #2E4A99 0%, #4169E1 40%, #6B8FE8 100%);
  padding: 30px 0 60px;
  position: relative;
  overflow: hidden;
  min-height: 560px;
  display: flex;
  align-items: center;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
  border-radius: 50%;
}

/* Hero background slideshow component styles */
.hero-slideshow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  /* Layer 2 (Middle) */
  pointer-events: none;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.00);
  transition: opacity 1.0s ease-in-out, transform 4.0s ease-in-out, visibility 1.0s;
}

.hero-slide.active {
  opacity: 0.32;
  /* Desktop watermark opacity (Layer 2) */
  visibility: visible;
  transform: scale(1.05);
  /* Subtle Ken Burns zoom effect */
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(37, 82, 214, 0.55);
  /* Desktop bottom overlay (Layer 3) */
  z-index: 1;
  /* Layer 3 (Bottom) */
  pointer-events: none;
}

@media (max-width: 1024px) {
  .hero-overlay {
    background: rgba(37, 82, 214, 0.50);
    /* Tablet overlay (Layer 3) */
  }
}

@media (max-width: 768px) {
  .hero-overlay {
    background: rgba(37, 82, 214, 0.45);
    /* Mobile overlay (Layer 3) */
  }
}

.hero .container {
  position: relative;
  z-index: 30;
  /* Layer 1 (Top) */
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  column-gap: clamp(24px, 4.5vw, 60px);
  row-gap: 8px;
  align-items: center;
}

.hero-content h1 {
  font-size: clamp(2.2rem, 3.8vw, 3rem);
  color: white;
  margin-bottom: 16px;
  font-weight: 800;
  line-height: 1.15;
}

.hero-content h1 span {
  color: var(--secondary);
}

.hero-content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(0.95rem, 1.5vw, 1.12rem);
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-actions .btn-primary {
  background: var(--secondary);
  box-shadow: 0 4px 15px rgba(243, 156, 18, 0.4);
}

.hero-actions .btn-primary:hover {
  box-shadow: 0 8px 25px rgba(243, 156, 18, 0.5);
}

.hero-actions .btn-secondary {
  background: rgba(255, 255, 255, 0.15);
  color: white;
  border-color: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(10px);
}

.hero-actions .btn-secondary:hover {
  background: white;
  color: var(--primary);
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-card {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-xl);
  padding: 40px;
  width: 100%;
  max-width: 420px;
}

.hero-card h3 {
  color: white;
  font-size: 1.3rem;
  margin-bottom: 24px;
  text-align: center;
}

.search-box {
  position: relative;
  margin-bottom: 20px;
}

.search-box input {
  width: 100%;
  padding: 14px 20px 14px 48px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.15);
  color: white;
  font-size: 0.95rem;
  font-family: 'Inter', sans-serif;
  transition: var(--transition);
  backdrop-filter: blur(10px);
}

.search-box input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.search-box input:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.2);
}

.search-box .search-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.1rem;
  opacity: 0.7;
}

.hero-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.hero-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  color: white;
  font-size: 0.85rem;
  font-weight: 500;
}

.hero-feature .feature-icon {
  font-size: 1.3rem;
}

/* === Section Headers === */
.section {
  padding: 80px 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header .section-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  background: var(--primary-lighter);
  color: var(--primary);
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 14px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.section-header h2 {
  font-size: 2.2rem;
  margin-bottom: 12px;
  color: var(--text);
}

.section-header h2 span {
  color: var(--primary);
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
}

/* === Health Categories === */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
}

.category-card {
  background: var(--card-bg);
  /*border: 1.5px solid var(--border-light);*/
  border: 2px solid var(--primary);
  border-radius: var(--radius-lg);
  padding: 28px 16px;
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
}

.category-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.category-card .cat-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  margin: 0 auto 14px;
  color: white;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-card:hover .cat-icon {
  transform: scale(1.1);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Category icon color themes */
.cat-icon-diabetes {
  background: linear-gradient(135deg, #1565C0, #42A5F5);
}

.cat-icon-thyroid {
  background: linear-gradient(135deg, #AD1457, #F48FB1);
}

.cat-icon-hematology {
  background: linear-gradient(135deg, #00838F, #4DD0E1);
}

.cat-icon-biochemistry {
  background: linear-gradient(135deg, #4E342E, #A1887F);
}

.cat-icon-vitamins {
  background: linear-gradient(135deg, #E65100, #FFA726);
}

.cat-icon-packages {
  background: linear-gradient(135deg, #2E7D32, #66BB6A);
}

.cat-icon-infections {
  background: linear-gradient(135deg, #6A1B9A, #BA68C8);
}

.cat-icon-urine {
  background: linear-gradient(135deg, #F57F17, #FFD54F);
  color: #4E342E;
}

.category-card .cat-name {
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--text);
}

.category-card .cat-count {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* === Test Cards === */
.tests-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  align-items: stretch;
}

.test-card {
  background: var(--card-bg);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  height: 100%;
  border-top: 4px solid var(--primary)
}

.test-card-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.3;
  pointer-events: none;
  z-index: 0;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.test-card>*:not(.test-card-watermark) {
  position: relative;
  z-index: 1;
}

.test-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.test-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
}

.test-card-badge {
  padding: 4px 10px;
  background: var(--primary-lighter);
  color: var(--primary);
  border-radius: var(--radius-full);
  font-size: 0.73rem;
  font-weight: 600;
  white-space: nowrap;
}

.test-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 8px;
  line-height: 1.4;
}

.test-card p {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 8px;
  line-height: 1.6;
}

/* === Test Card Description (clamped) === */
.test-card-desc {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.6;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  text-overflow: ellipsis;
  /* Measured height = 3 lines × 1.6em × 0.85rem ~ 4.08rem; add small buffer */
  max-height: calc(1.6em * 3 * 0.85rem + 0.1em);
}

/* Spacer that grows to push the footer down regardless of desc height */
.test-card-desc-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  margin-bottom: 12px;
}

/* Read More button */
.btn-read-more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  padding: 0;
  margin-top: 4px;
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  letter-spacing: 0.2px;
  transition: color 0.2s, gap 0.2s;
  text-decoration: none;
  align-self: flex-start;
}

.btn-read-more:hover {
  color: var(--primary-dark);
  gap: 7px;
}

.btn-read-more svg {
  flex-shrink: 0;
  transition: transform 0.2s;
}

.btn-read-more:hover svg {
  transform: translateX(2px);
}

.test-card-meta {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.test-card-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.test-card::before {
  content: "";
  position: absolute;
  top: -2px;
  left: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, var(--primary), #6a8dff);
  border-top-left-radius: var(--radius-lg);
  border-top-right-radius: var(--radius-lg);
}

.test-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
  margin-top: auto;
}

.test-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.test-price .current {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary);
}

.test-price .original {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

.test-price .discount {
  font-size: 0.75rem;
  background: #FFF3CD;
  color: #856404;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-weight: 600;
}

/* === Stats Section === */
.stats-section {
  background: var(--primary-gradient);
  padding: 60px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.stat-item {
  text-align: center;
  color: white;
}

.stat-number {
  font-family: 'Poppins', sans-serif;
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.95rem;
  opacity: 0.85;
  font-weight: 500;
}

/* === Why Choose Us === */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--card-bg);
  /*border: 1.5px solid var(--border-light);*/
  border: 2px solid var(--primary);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.feature-card .feature-icon-box {
  width: 64px;
  height: 64px;
  background: var(--primary-lighter);
  border: 2px solid var(--primary);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 18px;
  transition: var(--transition);
}

.feature-card:hover .feature-icon-box {
  background: var(--primary-gradient);
  transform: scale(1.1);
}

.feature-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  font-weight: 700;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

/* === Testimonials === */
.testimonials-slider {
  position: relative;
  overflow: hidden;
}

.testimonials-track {
  display: flex;
  gap: 24px;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card {
  min-width: 360px;
  background: var(--card-bg);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px;
  flex-shrink: 0;
}

.testimonial-card .stars {
  color: var(--secondary);
  font-size: 1rem;
  margin-bottom: 12px;
  letter-spacing: 2px;
}

.testimonial-card blockquote {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 16px;
  font-style: italic;
}

.testimonial-card .author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-card .author-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--primary-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 1rem;
}

.testimonial-card .author-info strong {
  font-size: 0.9rem;
  display: block;
}

.testimonial-card .author-info span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.slider-controls {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}

.slider-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: var(--card-bg);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: var(--transition);
}

.slider-btn:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

/* === FAQ === */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--card-bg);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.active {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  gap: 16px;
}

.faq-question:hover {
  color: var(--primary);
}

.faq-toggle {
  font-size: 1.3rem;
  transition: transform 0.3s ease;
  color: var(--primary);
  flex-shrink: 0;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

.faq-answer p {
  padding: 0 24px 18px;
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* === CTA Banner === */
.cta-banner {
  background: var(--primary-gradient);
  padding: 70px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
}

.cta-banner h2 {
  color: white;
  font-size: 2.2rem;
  margin-bottom: 12px;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.1rem;
  margin-bottom: 28px;
}

.cta-banner .btn {
  background: var(--secondary);
  color: white;
  box-shadow: 0 4px 15px rgba(243, 156, 18, 0.4);
  margin-left: auto;
}

.cta-banner .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(243, 156, 18, 0.5);
}

/* === Gallery === */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  height: 220px;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item .gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 50%, rgba(0, 0, 0, 0.6));
  display: flex;
  align-items: flex-end;
  padding: 16px;
  opacity: 0;
  transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay span {
  color: white;
  font-weight: 600;
  font-size: 0.9rem;
}

/* === Footer === */
.footer {
  background: #0A1628;
  color: rgba(255, 255, 255, 0.75);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}

.footer-brand .logo-text {
  font-family: 'Poppins', sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  color: white;
  margin-bottom: 12px;
}

.footer-brand .logo-text span {
  color: var(--secondary);
}

.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.7;
  margin-bottom: 16px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: var(--transition);
  font-size: 0.9rem;
}

.footer-social a:hover {
  background: var(--primary);
  transform: translateY(-3px);
}

.footer-col h4 {
  color: white;
  font-size: 1rem;
  margin-bottom: 18px;
  font-weight: 700;
}

.footer-social-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 16px;
}

.social-heading {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-light);
  margin-bottom: 4px;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.8) !important;
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition);
}

.social-link:hover {
  color: white !important;
  transform: translateX(4px);
}

.social-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.1rem;
  flex-shrink: 0;
  transition: var(--transition);
}

.fb-icon {
  background-color: #1877f2;
  color: white;
}

.google-icon {
  background-color: white;
  color: #ea4335;
  /* Google Red/Multicolor feel */
  font-family: 'Product Sans', sans-serif;
  /* Google-like font for the G */
}

.social-link:hover .social-icon {
  transform: scale(1.1);
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.88rem;
  transition: var(--transition-fast);
}

.footer-col ul li a:hover {
  color: var(--secondary);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
  text-align: center;
  font-size: 0.82rem;
}

/* === Booking Form === */
.booking-section {
  padding: 80px 0;
}

.booking-form-wrapper {
  max-width: 700px;
  margin: 0 auto;
  background: var(--card-bg);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.88rem;
  margin-bottom: 6px;
  color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  transition: var(--transition);
  background: var(--bg);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(13, 124, 102, 0.1);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.checkbox-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.checkbox-group input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
}

/* === Page Headers === */
.page-header {
  background: var(--primary-gradient);
  padding: 50px 0;
  text-align: center;
  color: white;
}

.page-header h1 {
  color: white;
  font-size: 2.2rem;
  margin-bottom: 8px;
}

.page-header p {
  opacity: 0.85;
  font-size: 1.05rem;
}

/* === Tests Page Filter === */
.filter-bar {
  background: var(--card-bg);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  margin: -30px auto 40px;
  max-width: 900px;
  display: flex;
  gap: 12px;
  align-items: center;
  box-shadow: var(--shadow-md);
  position: relative;
  z-index: 10;
  flex-wrap: wrap;
}

.filter-bar input {
  flex: 1;
  min-width: 200px;
  padding: 10px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-full);
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
}

.filter-bar input:focus {
  outline: none;
  border-color: var(--primary);
}

.filter-bar select {
  padding: 10px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-full);
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  background: white;
  cursor: pointer;
}

/* === Toast / Notification === */
.toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  padding: 16px 24px;
  background: var(--primary);
  color: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  z-index: 9999;
  font-weight: 500;
  font-size: 0.9rem;
  transform: translateY(120%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease, visibility 0.4s ease;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.toast.error {
  background: var(--danger);
}

.toast.success {
  background: var(--success);
}

/* === Animations === */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes countUp {
  from {
    opacity: 0;
    transform: scale(0.5);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* === Responsive === */
@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    column-gap: 20px;
    row-gap: 8px;
    align-items: center;
  }

  .hero-visual {
    display: flex;
    justify-content: center;
    width: 100%;
  }

  .hero-card {
    max-width: 380px;
    padding: 24px;
  }

  .hero-features {
    gap: 8px;
  }

  .hero-feature {
    padding: 8px 10px;
    font-size: 0.78rem;
    gap: 6px;
  }

  .hero {
    padding: 20px 0 40px;
    min-height: auto;
  }

  .hero-content h1 {
    font-size: 2.1rem;
  }

  .hero-content p {
    font-size: 0.95rem;
    margin-bottom: 24px;
  }

  .hero-slide.active {
    opacity: 0.28;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  /* Popular Tests Carousel Tablet: 2 cards visible */
  .scroll-container .test-card {
    flex: 0 0 calc((100% - 20px) / 2);
    width: calc((100% - 20px) / 2);
    min-height: auto;
    height: auto;
  }

  /* Why Choose Us Feature Carousel Tablet: 2 cards visible & square */
  .scroll-container.features-scroll .feature-card {
    flex: 0 0 calc((100% - 20px) / 2);
    width: calc((100% - 20px) / 2);
    aspect-ratio: 1 / 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
}

@media (max-width: 768px) {
  :root {
    --nav-height: auto;
    --container-padding: 16px;
  }

  .navbar {
    height: auto;
    min-height: 64px;
    padding: 8px 0;
  }

  .navbar .container {
    height: auto;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }

  .nav-brand {
    gap: 8px;
  }

  .nav-brand .logo-icon {
    width: 44px;
    height: 44px;
  }

  .nav-brand-text .brand-name {
    font-size: 1rem;
  }

  .nav-brand-text .brand-sub {
    font-size: 0.62rem;
    letter-spacing: 0.3px;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 20px;
    box-shadow: var(--shadow-lg);
    transform: translateY(-20px);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    z-index: 999;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-toggle {
    display: flex;
    z-index: 1001;
  }

  .nav-cta {
    display: flex;
    align-items: center;
    margin-left: auto;
    margin-right: 8px;
  }

  .hero .container {
    grid-template-columns: 1fr;
    column-gap: 0;
    row-gap: 10px;
    text-align: center;
  }

  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-visual {
    display: none;
  }

  .hero-card {
    max-width: 420px;
    padding: 30px;
  }

  .hero-features {
    gap: 10px;
  }

  .hero-feature {
    padding: 10px 12px;
    font-size: 0.82rem;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-slide.active {
    opacity: 0.24;
  }

  .section {
    padding: 50px 0;
  }

  .section-header h2 {
    font-size: 1.7rem;
  }

  .categories-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .tests-grid {
    grid-template-columns: 1fr;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .testimonial-card {
    min-width: 300px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .filter-bar {
    flex-direction: column;
  }

  .cta-banner h2 {
    font-size: 1.7rem;
  }

  .booking-form-wrapper {
    padding: 24px;
  }

  /* Popular Tests Carousel Mobile: 1 card visible */
  .scroll-container .test-card {
    flex: 0 0 100%;
    width: 100%;
    min-height: auto;
    height: auto;
  }

  /* Why Choose Us Feature Carousel Mobile: 1 card visible & square */
  .scroll-container.features-scroll .feature-card {
    flex: 0 0 100%;
    width: 100%;
    aspect-ratio: 1 / 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  /* Reposition Carousel Scroll Arrows below the cards on mobile */
  .scroll-wrapper {
    padding-bottom: 60px;
  }

  .scroll-arrow {
    top: auto;
    bottom: 8px;
    transform: none;
  }

  .scroll-arrow.left {
    left: calc(50% - 54px);
  }

  .scroll-arrow.right {
    right: calc(50% - 54px);
  }

  .scroll-arrow:hover {
    transform: scale(1.1);
  }
}

@media (max-width: 480px) {
  :root {
    --container-padding: 12px;
  }

  .nav-brand .logo-icon {
    width: 36px;
    height: 36px;
  }

  .nav-brand-text .brand-name {
    font-size: 0.85rem;
  }

  .nav-brand-text .brand-sub {
    font-size: 0.55rem;
    letter-spacing: 0px;
  }

  .hero-content h1 {
    font-size: 1.7rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-number {
    font-size: 2rem;
  }

  .section-header h2 {
    font-size: 1.5rem;
  }
}

@media (max-width: 350px) {
  .nav-brand .logo-icon {
    width: 30px;
    height: 30px;
  }

  .nav-brand-text .brand-name {
    font-size: 0.78rem;
  }

  .nav-brand-text .brand-sub {
    font-size: 0.5rem;
  }
}

/* === Scrollbar === */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: var(--primary-light);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* === Horizontal Scroll Containers === */
.scroll-wrapper {
  position: relative;
  margin: 0 calc(-1 * var(--container-padding));
  padding: 0 var(--container-padding);
}

.scroll-container {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 8px 4px;
  align-items: stretch;
  scroll-snap-type: x mandatory;
}

.scroll-container::-webkit-scrollbar {
  display: none;
}

.scroll-container>* {
  scroll-snap-align: center;
}

.scroll-container .category-card {
  flex: 0 0 auto;
  min-width: 160px;
}

.scroll-container .feature-card {
  flex: 0 0 280px;
  width: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.scroll-container .test-card {
  flex: 0 0 400px;
  width: 400px;
  min-height: 300px;
  height: 300px;
  display: flex;
  flex-direction: column;
}

.scroll-container .test-card .test-card-footer {
  margin-top: auto;
}

/* === Homepage Cards Grid === */
.home-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
  align-items: stretch;
}

.scroll-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: white;
  border: 2px solid var(--primary);
  color: var(--primary);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  z-index: 10;
  box-shadow: var(--shadow-md);
}

.scroll-arrow:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-50%) scale(1.1);
}

.scroll-arrow.left {
  left: 8px;
}

.scroll-arrow.right {
  right: 8px;
}

.scroll-arrow:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  pointer-events: none;
}

/* Popular Tests Section Rows */
.tests-row {
  margin-bottom: 40px;
}

.tests-row h3 {
  font-size: 1.3rem;
  margin-bottom: 20px;
  color: var(--text);
  font-weight: 700;
}

.tests-row h3 span {
  color: var(--primary);
}

/* === Navbar Cart Button === */
.nav-cart-btn {
  position: relative;
  background: linear-gradient(135deg, var(--primary), #5b7fd6);
  border: none;
  color: white;
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: 'Inter', sans-serif;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(65, 105, 225, 0.25);
  overflow: visible;
}

.nav-cart-btn:hover {
  background: linear-gradient(135deg, #3555b0, #4a6dc9);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(65, 105, 225, 0.35);
}

.nav-cart-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(65, 105, 225, 0.25);
}

.nav-cart-btn .cart-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.nav-cart-btn:hover .cart-icon {
  transform: scale(1.15) rotate(-5deg);
}

.nav-cart-btn .cart-label {
  font-weight: 600;
  letter-spacing: 0.02em;
}

.nav-cart-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  background: #ff4757;
  color: white;
  border-radius: 50%;
  min-width: 20px;
  height: 20px;
  font-size: 0.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  line-height: 1;
  border: 2px solid white;
  box-shadow: 0 2px 6px rgba(255, 71, 87, 0.4);
  transition: all 0.3s ease;
}

.nav-cart-badge:not(.empty) {
  animation: cartBadgePulse 2s ease-in-out infinite;
}

.nav-cart-badge.empty {
  background: #b0b8c9;
  box-shadow: none;
  transform: scale(0.85);
}

@keyframes cartBadgePulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.15);
  }
}

/* === Cart Panel (Slide-in) === */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1300;
  display: none;
  align-items: flex-start;
  justify-content: flex-end;
}

.cart-overlay.open {
  display: flex;
}

.cart-panel {
  background: white;
  width: min(440px, 100vw);
  height: 100vh;
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 40px rgba(0, 0, 0, 0.2);
  animation: cartSlideIn 0.3s ease;
}

@keyframes cartSlideIn {
  from {
    transform: translateX(100%);
  }

  to {
    transform: translateX(0);
  }
}

.cart-panel-header {
  padding: 20px 24px;
  background: linear-gradient(135deg, var(--primary), var(--accent, #7c3aed));
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}

.cart-panel-header h3 {
  margin: 0;
  font-size: 1.2rem;
  color: white;
}

.cart-close-btn {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  font-size: 1.3rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.cart-close-btn:hover {
  background: rgba(255, 255, 255, 0.35);
}

.cart-items-list {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
}

.cart-empty-msg {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
}

.cart-empty-msg .empty-icon {
  font-size: 3rem;
  margin-bottom: 12px;
}

.cart-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  border: 1.5px solid var(--border, #e5e7eb);
  border-radius: 12px;
  margin-bottom: 10px;
  background: #fafbff;
  transition: border-color 0.2s;
}

.cart-item:hover {
  border-color: var(--primary);
}

.cart-item-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.cart-item-info {
  flex: 1;
}

.cart-item-name {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text);
  margin-bottom: 4px;
}

.cart-item-cat {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.cart-item-price {
  font-weight: 800;
  color: var(--primary);
  font-size: 0.95rem;
  margin-top: 4px;
}

.cart-item-remove {
  background: none;
  border: none;
  color: #ef4444;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 6px;
  transition: background 0.15s;
}

.cart-item-remove:hover {
  background: #fee2e2;
}

.cart-summary {
  padding: 16px 24px;
  border-top: 2px solid var(--border, #e5e7eb);
  background: #f8faff;
  flex-shrink: 0;
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.cart-total-label {
  font-weight: 600;
  color: var(--text-muted);
}

.cart-total-amount {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary);
}

.cart-checkout-form {
  margin-top: 8px;
}

.cart-checkout-form .form-group {
  margin-bottom: 10px;
}

.cart-checkout-form label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.cart-checkout-form input {
  width: 100%;
  padding: 9px 12px;
  border: 1.5px solid var(--border, #d1d5db);
  border-radius: 8px;
  font-size: 0.9rem;
  font-family: 'Inter', sans-serif;
  transition: border-color 0.2s;
}

.cart-checkout-form input:focus {
  outline: none;
  border-color: var(--primary);
}

.cart-book-btn {
  width: 100%;
  background: linear-gradient(135deg, var(--primary), var(--accent, #7c3aed));
  color: white;
  border: none;
  border-radius: 10px;
  padding: 14px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  margin-top: 6px;
  transition: opacity 0.2s, transform 0.2s;
}

.cart-book-btn:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.cart-book-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

.cart-booked-msg {
  text-align: center;
  padding: 30px 16px;
  display: none;
}

.cart-booked-msg .booked-icon {
  font-size: 3rem;
  margin-bottom: 8px;
}

.cart-booked-msg h4 {
  color: var(--primary);
  margin: 0 0 6px;
  font-size: 1.1rem;
}

.cart-booked-msg p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Add to Cart button on test cards */
.btn-cart {
  background: white;
  border: 2px solid var(--primary);
  color: var(--primary);
  padding: 8px 18px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  font-family: 'Inter', sans-serif;
}

.btn-cart:hover {
  background: var(--primary);
  color: white;
}

.btn-cart.added {
  background: #16a34a;
  border-color: #16a34a;
  color: white;
}

.test-card-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

/* Redirect banner */
.redirect-banner {
  background: linear-gradient(135deg, #eff6ff, #f5f3ff);
  border: 1.5px solid #c7d2fe;
  border-radius: 14px;
  padding: 16px 20px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.93rem;
}

.redirect-banner .rb-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
}

.redirect-banner strong {
  color: var(--primary);
}

/* Mobile cart button */
@media (max-width: 768px) {
  .nav-cart-btn .cart-label {
    display: none;
  }

  .nav-cart-btn {
    padding: 9px 12px;
    border-radius: 10px;
  }
}

/* ==============================
   Testimonials Infinite Slider
============================== */
@keyframes marqueeScroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.testimonials-outer {
  overflow: hidden;
  width: 100%;
  padding: 16px 0;
  position: relative;
}

.testimonials-outer::before,
.testimonials-outer::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}

.testimonials-outer::before {
  left: 0;
  background: linear-gradient(to right, var(--bg), transparent);
}

.testimonials-outer::after {
  right: 0;
  background: linear-gradient(to left, var(--bg), transparent);
}

.testimonials-track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: marqueeScroll 30s linear infinite;
}

.testimonials-track:hover {
  animation-play-state: paused;
}

.testimonial-card {
  background: var(--card-bg);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px;
  width: 340px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.testimonial-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.testimonial-card .stars {
  color: var(--secondary);
  font-size: 1.1rem;
  letter-spacing: 2px;
}

.testimonial-card blockquote {
  font-size: 0.93rem;
  color: var(--text-secondary);
  line-height: 1.65;
  flex: 1;
  font-style: italic;
  margin: 0;
}

.testimonial-card .author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--border-light);
}

.testimonial-card .author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary-gradient);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.testimonial-card .author-info strong {
  display: block;
  font-size: 0.92rem;
  color: var(--text-primary);
}

.testimonial-card .author-info span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==============================
   WhatsApp Floating Button
============================== */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 64px;
  height: 64px;
  background: #25d366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  z-index: 1000;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .whatsapp-float {
    width: 56px;
    height: 56px;
    font-size: 28px;
    bottom: 20px;
    right: 20px;
  }
}

.whatsapp-float {
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }

  70% {
    box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* ==============================
   Home Sample Collection Float
============================== */
.home-collection-float {
  position: fixed;
  bottom: 20px;
  left: 20px;
  width: 90px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  text-decoration: none;
  border-radius: 50%;
  border: 3px solid #7B2CBF;
  /* Purple Border Highlight */
  padding: 2px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  animation: purplePulse 2.8s infinite ease-in-out;
  cursor: pointer;
}

.home-collection-float img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
  pointer-events: none;
}

.home-collection-float:hover {
  transform: scale(1.08);
  box-shadow: 0 0 30px rgba(123, 44, 191, 0.85);
  border-color: #9D4EDD;
  /* Secondary Purple border on hover */
  animation-play-state: paused;
}

/* Tooltip */
.home-collection-tooltip {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  background: rgba(20, 30, 60, 0.92);
  color: white;
  padding: 7px 14px;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
  transform: translateX(-50%) translateY(6px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  letter-spacing: 0.2px;
}

/* Purple Pulse Glow Animation */
@keyframes purplePulse {

  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 rgba(123, 44, 191, 0);
  }

  50% {
    transform: scale(1.08);
    box-shadow: 0 0 25px rgba(123, 44, 191, 0.6);
  }
}



.home-collection-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: rgba(20, 30, 60, 0.92);
}

.home-collection-float:hover .home-collection-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* Purple Pulse Glow Animation */
@keyframes purplePulse {

  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 rgba(123, 44, 191, 0);
  }

  50% {
    transform: scale(1.08);
    box-shadow: 0 0 25px rgba(123, 44, 191, 0.6);
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .home-collection-float {
    bottom: 15px;
    left: 15px;
    width: 80px;
    height: 80px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .home-collection-float {
    bottom: 15px;
    left: 15px;
    width: 70px;
    height: 70px;
  }

  .home-collection-tooltip {
    display: none;
  }
}

/* === Gallery/Facility Items === */
.scroll-container .gallery-item {
  flex: 0 0 220px;
  width: 220px;
  height: 220px;
  background: white;
  border: 2px solid var(--primary);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.scroll-container .gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-dark);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(13, 124, 102, 0.85);
  /* fallback */
  background: var(--primary);
  color: white;
  padding: 10px;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 600;
}

.gallery-item.feature-placeholder {
  background: linear-gradient(135deg, var(--bg-light-blue), white);
}

.feature-placeholder .feature-content {
  text-align: center;
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.feature-placeholder .feature-emoji {
  font-size: 3.5rem;
  margin-bottom: 12px;
  line-height: 1;
}

.feature-placeholder .feature-title {
  font-weight: 700;
  color: var(--primary);
  font-size: 1rem;
  text-align: center;
}

/* ============================================================
   TEST DETAIL MODAL
   Premium, healthcare-oriented — fades + scales on open/close
============================================================ */
@keyframes modalBackdropIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes modalBackdropOut {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

@keyframes modalPanelIn {
  from {
    opacity: 0;
    transform: scale(0.92) translateY(20px);
  }

  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes modalPanelOut {
  from {
    opacity: 1;
    transform: scale(1) translateY(0);
  }

  to {
    opacity: 0;
    transform: scale(0.92) translateY(20px);
  }
}

/* Overlay */
.test-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 22, 40, 0.62);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: modalBackdropIn 0.25s ease forwards;
}

.test-modal-overlay.closing {
  animation: modalBackdropOut 0.22s ease forwards;
}

/* Panel */
.test-modal-panel {
  background: var(--card-bg);
  border-radius: var(--radius-xl);
  box-shadow: 0 32px 80px rgba(10, 22, 40, 0.35), 0 0 0 1px rgba(65, 105, 225, 0.08);
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: modalPanelIn 0.28s cubic-bezier(0.34, 1.4, 0.64, 1) forwards;
}

.test-modal-overlay.closing .test-modal-panel {
  animation: modalPanelOut 0.22s ease forwards;
}

/* Header */
.test-modal-header {
  background: var(--primary-gradient);
  padding: 22px 28px 20px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-shrink: 0;
}

.test-modal-header-info {
  flex: 1;
  min-width: 0;
}

.test-modal-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.test-modal-title {
  font-family: 'Poppins', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: white;
  line-height: 1.3;
  margin: 0;
}

/* Close button */
.test-modal-close {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  border: none;
  color: white;
  font-size: 1.25rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  font-family: 'Inter', sans-serif;
}

.test-modal-close:hover {
  background: rgba(255, 255, 255, 0.32);
  transform: rotate(90deg);
}

/* Body */
.test-modal-body {
  padding: 26px 28px 28px;
  overflow-y: auto;
  flex: 1;
}

.test-modal-body::-webkit-scrollbar {
  width: 5px;
}

.test-modal-body::-webkit-scrollbar-track {
  background: var(--bg);
}

.test-modal-body::-webkit-scrollbar-thumb {
  background: var(--primary-light);
  border-radius: 10px;
}

/* Description block */
.test-modal-section-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--primary);
  margin-bottom: 6px;
}

.test-modal-description {
  color: var(--text-secondary);
  font-size: 0.93rem;
  line-height: 1.75;
  margin-bottom: 24px;
}

/* Meta grid (sample, time, price) */
.test-modal-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 24px;
}

.test-modal-meta-item {
  background: var(--bg-alt);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius);
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.test-modal-meta-item .meta-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--text-muted);
}

.test-modal-meta-item .meta-value {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 5px;
}

/* Price pill */
.test-modal-price-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 22px;
  padding: 14px 18px;
  background: var(--primary-lighter);
  border: 1.5px solid rgba(65, 105, 225, 0.15);
  border-radius: var(--radius);
}

.test-modal-price-current {
  font-size: 1.7rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
}

.test-modal-price-original {
  font-size: 1rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

.test-modal-price-discount {
  font-size: 0.78rem;
  background: #fff3cd;
  color: #856404;
  padding: 3px 9px;
  border-radius: var(--radius-full);
  font-weight: 700;
}

/* Package includes inside modal */
.test-modal-includes {
  margin-bottom: 22px;
}

.pkg-includes-search-input {
  width: 100%;
  padding: 8px 12px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  font-size: 0.88rem;
  outline: none;
  background: var(--bg-alt);
  font-family: inherit;
  transition: border-color var(--transition-fast), background-color var(--transition-fast);
}

.pkg-includes-search-input:focus {
  border-color: var(--primary);
  background: white;
}

.test-modal-includes-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.test-modal-includes-tags span {
  font-size: 0.77rem;
  background: var(--bg-alt);
  border: 1px solid var(--border-light);
  padding: 3px 9px;
  border-radius: var(--radius-full);
  color: var(--text-secondary);
  font-weight: 500;
}

/* Footer CTA */
.test-modal-footer {
  padding: 16px 28px 24px;
  flex-shrink: 0;
  border-top: 1px solid var(--border-light);
  display: flex;
  gap: 10px;
  align-items: center;
}

.test-modal-add-btn {
  flex: 1;
  background: var(--primary-gradient);
  color: white;
  border: none;
  border-radius: var(--radius);
  padding: 13px 20px;
  font-size: 0.95rem;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.test-modal-add-btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.test-modal-add-btn.added {
  background: linear-gradient(135deg, #16a34a, #22c55e);
}

.test-modal-add-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* Fasting warning tag in modal */
.test-modal-fasting-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #fff8e1;
  border: 1px solid #ffe082;
  color: #795548;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 20px;
}

/* Responsive */
@media (max-width: 600px) {
  .test-modal-panel {
    max-height: 95vh;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  }

  .test-modal-overlay {
    align-items: flex-end;
    padding: 0;
  }

  .test-modal-header {
    padding: 18px 20px 16px;
  }

  .test-modal-body {
    padding: 20px 20px 22px;
  }

  .test-modal-footer {
    padding: 14px 20px 20px;
  }

  .test-modal-meta-grid {
    grid-template-columns: 1fr;
  }

  .test-modal-title {
    font-size: 1.15rem;
  }
}

/* === Top Bar Responsiveness Adjustments === */

@media (min-width: 768px) and (max-width: 1023px) {
  .top-bar {
    display: block;
  }

  .top-bar .container {
    font-size: 0.76rem;
    gap: 12px;
  }
}

@media (max-width: 767px) {
  .top-bar {
    display: block;
    padding: 0;
    height: 44px;
  }

  .top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    font-size: 0.72rem;
    padding: 0 var(--container-padding);
  }

  .top-bar-left,
  .top-bar-right {
    display: contents;
  }

  .top-bar-left span:nth-child(2) {
    display: none !important;
  }

  .location-suffix {
    display: none !important;
  }

  .top-bar span {
    gap: 4px !important;
    white-space: nowrap;
  }

  .top-bar svg,
  .top-bar i {
    transform: scale(0.85);
  }
}

/* ==================================================
   WELCOME BOOKING POPUP
================================================== */
.welcome-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 22, 40, 0.6);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.welcome-popup-overlay.active {
  opacity: 1;
  visibility: visible;
}

.welcome-popup-card {
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(10, 22, 40, 0.25), 0 0 0 1px rgba(65, 105, 225, 0.05);
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: scale(0.9) translateY(30px);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  padding: 0;
}

.welcome-popup-overlay.active .welcome-popup-card {
  transform: scale(1) translateY(0);
}

.welcome-popup-close {
  position: absolute;
  top: 14px;
  right: 18px;
  background: none;
  border: none;
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
  cursor: pointer;
  z-index: 10;
  opacity: 0.85;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.welcome-popup-close:hover {
  opacity: 1;
  transform: scale(1.1);
}

/* Header Section */
.welcome-popup-header {
  background: linear-gradient(135deg, #3B5BDB 0%, #7B2CBF 100%);
  padding: 24px 28px;
  color: #ffffff;
  position: relative;
  text-align: left;
}

.welcome-popup-brand {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.9;
  margin-bottom: 6px;
}

.welcome-popup-header h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 6px;
  color: #ffffff;
}

.welcome-popup-header p {
  font-size: 0.88rem;
  line-height: 1.4;
  opacity: 0.95;
  color: rgba(255, 255, 255, 0.9);
}

/* Form Styles */
.welcome-popup-form {
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: left;
}

.welcome-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.welcome-form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.welcome-form-group input,
.welcome-form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  background: #ffffff;
}

.welcome-form-group input:focus,
.welcome-form-group textarea:focus {
  outline: none;
  border-color: #7B2CBF;
  box-shadow: 0 0 0 3px rgba(123, 44, 191, 0.12);
}

/* Checkbox Style */
.welcome-form-checkbox-group {
  margin: 4px 0;
}

.welcome-checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
}

.welcome-checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #7B2CBF;
  cursor: pointer;
}

/* Address transition and wrapper */
.welcome-address-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 12px;
  border-top: 1px dashed var(--border);
  animation: slideDownAddress 0.3s ease-out forwards;
}

@keyframes slideDownAddress {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.welcome-helper-text {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.3;
}

/* Actions Section */
.welcome-form-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 12px;
}

.btn-welcome-primary {
  width: 100%;
  background: linear-gradient(135deg, #3B5BDB 0%, #7B2CBF 100%);
  color: #ffffff;
  border: none;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.1s ease;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(123, 44, 191, 0.25);
  display: block;
}

.btn-welcome-primary:hover {
  opacity: 0.95;
  transform: translateY(-1px);
}

.btn-welcome-primary:active {
  transform: translateY(0);
}

.btn-welcome-secondary {
  width: 100%;
  background: #ffffff;
  color: #7B2CBF;
  border: 1.5px solid #7B2CBF;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
  display: block;
}

.btn-welcome-secondary:hover {
  background: rgba(123, 44, 191, 0.05);
}

/* Success Flow Style */
.welcome-popup-success {
  padding: 40px 32px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  animation: scaleUpSuccess 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes scaleUpSuccess {
  from {
    opacity: 0;
    transform: scale(0.9);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.success-icon-wrapper {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(39, 174, 96, 0.1);
  color: #27AE60;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}

.success-icon-wrapper svg {
  width: 32px;
  height: 32px;
}

.welcome-popup-success h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: #27AE60;
}

.welcome-popup-success p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.welcome-success-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  margin-top: 10px;
}

/* Responsiveness overrides */
@media (max-width: 768px) {
  .welcome-popup-card {
    max-width: 90%;
  }
}

@media (max-width: 480px) {
  .welcome-popup-card {
    max-width: 95%;
  }

  .welcome-popup-header {
    padding: 20px 24px;
  }

  .welcome-popup-form {
    padding: 20px 24px;
  }
}

/* ==================================================
   HERO PROMOTIONAL BANNER
================================================== */
.hero-promo-banner {
  grid-column: 1 / -1;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #7B2CBF 0%, #9D4EDD 100%);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 12px 18px;
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  text-align: center;
  box-shadow: 0 4px 15px rgba(123, 44, 191, 0.35);
  /*margin-bottom: 5px;*/
  margin-top: 1px;
  margin-bottom: 1px;
  animation: heroBannerPulse 2.8s ease-in-out infinite;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
  line-height: 1.4;
}

.hero-promo-banner:hover {
  animation-play-state: paused;
  transform: scale(1.02);
  box-shadow: 0 8px 25px rgba(123, 44, 191, 0.55);
  border-color: rgba(255, 255, 255, 0.4);
}

.hero-promo-banner .whatsapp-highlight {
  color: #25D366;
  font-weight: 700;
  margin-left: 5px;
  text-shadow: 0 0 10px rgba(37, 211, 102, 0.35);
}

@keyframes heroBannerPulse {
  0% {
    transform: scale(1);
    box-shadow: 0 4px 15px rgba(123, 44, 191, 0.35);
  }

  50% {
    transform: scale(1.05);
    box-shadow: 0 8px 22px rgba(123, 44, 191, 0.5);
  }

  100% {
    transform: scale(1);
    box-shadow: 0 4px 15px rgba(123, 44, 191, 0.35);
  }
}

/* Responsiveness for Promo Banner */
@media (max-width: 768px) {
  .hero-promo-banner {
    padding: 10px 14px;
    font-size: 0.88rem;
    margin-bottom: 1px;
  }
}

@media (max-width: 480px) {
  .hero-promo-banner {
    padding: 8px 12px;
    font-size: 0.8rem;
    margin-bottom: 1px;
    border-radius: 10px;
    line-height: 1.35;
  }
}