/* ==========================================================================
   Dr. Spin Laundry - Modern Premium Laundry Business Stylesheet
   Brand Palette derived from Logo & Specification Document:
   Primary: #0B3C5D (Deep Navy)
   Secondary: #38A3A5 (Fresh Cyan / Teal)
   Accent: #2ECC71 (Fresh Green)
   Sky: #4AA4D8 (Light Cyan Highlight)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@500;600;700;800&display=swap');

:root {
  --primary-color: #0B3C5D;
  --primary-dark: #07263C;
  --secondary-color: #38A3A5;
  --secondary-light: #E0F2FE;
  --accent-color: #2ECC71;
  --accent-hover: #27AE60;
  --sky-color: #4AA4D8;

  /* Buttons: brand blue (#1294D5) with a 12% darker hover; the RGB copy feeds shadows and focus rings */
  --btn-color: #1294D5;
  --btn-hover: #0F7CB3;
  --btn-rgb: 18, 148, 213;
  --dark-color: #0F172A;
  --slate-600: #475569;
  --slate-400: #94A3B8;

  /* Theme Dynamic Variables */
  --bg-color: #FFFFFF;
  --text-color: #0F172A;
  --heading-color: #0B3C5D;
  --paragraph-color: #475569;
  --light-bg: #F8FAFC;
  --card-bg: #FFFFFF;
  --border-color: #E2E8F0;
  --navbar-scrolled-bg: rgba(255, 255, 255, 0.98);
  --navbar-scrolled-text: #0B3C5D;
  --modal-bg: #FFFFFF;
  --form-bg: #FFFFFF;
  --form-text: #0F172A;
  --form-border: #E2E8F0;

  --shadow-sm: 0 4px 6px -1px rgba(11, 60, 93, 0.05);
  --shadow-md: 0 10px 25px -5px rgba(11, 60, 93, 0.08), 0 8px 10px -6px rgba(11, 60, 93, 0.04);
  --shadow-lg: 0 20px 35px -10px rgba(11, 60, 93, 0.12), 0 10px 20px -5px rgba(11, 60, 93, 0.06);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 50px;
  --transition-fast: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="dark"] {
  --bg-color: #0B132B;
  --text-color: #F1F5F9;
  --heading-color: #38BDF8;
  --paragraph-color: #94A3B8;
  --light-bg: #151D35;
  --card-bg: #1C2541;
  --border-color: #2D3748;
  --navbar-scrolled-bg: rgba(15, 23, 42, 0.95);
  --navbar-scrolled-text: #F1F5F9;
  --modal-bg: #1C2541;
  --form-bg: #1C2541;
  --form-text: #F1F5F9;
  --form-border: #334155;

  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 20px 35px -10px rgba(0, 0, 0, 0.5);
}

/* Global Reset & Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text-color);
  background-color: var(--bg-color);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  color: var(--heading-color);
  line-height: 1.25;
}

p {
  color: var(--paragraph-color);
}

a {
  text-decoration: none;
  transition: var(--transition-fast);
}

/* Section Common Spacing & Labels */
section {
  padding: 80px 0;
  position: relative;
}

.section-bg-light {
  background-color: var(--light-bg);
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background-color: rgba(22, 153, 217, 0.1);
  color: #1699D9;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 18px;
  letter-spacing: -0.5px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--slate-600);
  max-width: 720px;
  margin-bottom: 30px;
}

/* Phones: a 3rem row gutter (.g-5) is wider than the container padding and makes the page
   scroll sideways by 12px. Use the regular gutter there; the columns stack anyway. */
@media (max-width: 767.98px) {
  .row.g-5 {
    --bs-gutter-x: 1.5rem;
  }
}

/* Custom Buttons inspired by Zypp & Logo Palette */
.btn-brand-primary {
  background: linear-gradient(135deg, var(--btn-color) 0%, var(--btn-hover) 100%);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 32px;
  border-radius: var(--radius-pill);
  border: none;
  box-shadow: 0 10px 20px -5px rgba(var(--btn-rgb), 0.4);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: var(--transition-normal);
}

.btn-brand-primary:hover {
  color: #FFFFFF;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 14px 25px -4px rgba(var(--btn-rgb), 0.5);
}

.btn-brand-primary:focus-visible,
.btn-brand-accent:focus-visible,
.zypp-download-btn:focus-visible {
  outline: 3px solid rgba(var(--btn-rgb), 0.45);
  outline-offset: 3px;
}

.btn-brand-secondary {
  background-color: rgba(11, 60, 93, 0.06);
  color: var(--primary-color);
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 30px;
  border-radius: var(--radius-pill);
  border: 1.5px solid rgba(11, 60, 93, 0.15);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: var(--transition-fast);
}

.btn-brand-secondary:hover {
  background-color: var(--primary-color);
  color: #FFFFFF;
  border-color: var(--primary-color);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background-color: #25D366;
  color: #FFFFFF;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 6px 14px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  color: #FFFFFF;
  background-color: #1DA851;
  transform: translateY(-2px);
}

/* ==========================================================================
   Header & Navbar (Zypp-Style Floating Header)
   ========================================================================== */
.header-navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1050;
  padding: 18px 0;
  transition: var(--transition-normal);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(11, 60, 93, 0.08);
  box-shadow: 0 4px 20px rgba(11, 60, 93, 0.04);
}

.header-navbar.scrolled {
  padding: 10px 0;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 10px 30px rgba(11, 60, 93, 0.1);
  border-bottom: 1px solid var(--border-color);
}

.navbar-brand-badge {
  background: transparent !important;
  background-color: transparent !important;
  padding: 0 !important;
  border-radius: 0 !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: none !important;
  border: none !important;
  transition: var(--transition-fast);
}

.brand-logo-img,
.navbar-brand img {
  height: 46px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  background: transparent !important;
  background-color: transparent !important;
  padding: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  border: none !important;
  transition: var(--transition-fast);
  display: inline-block;
  vertical-align: middle;
}

.footer-logo-img {
  height: 52px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  background: transparent !important;
  background-color: transparent !important;
  padding: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  border: none !important;
  display: inline-block;
}

.nav-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--primary-color) !important;
  padding: 8px 16px !important;
  border-radius: var(--radius-pill);
  transition: var(--transition-fast);
}

.header-navbar.scrolled .nav-link {
  color: var(--primary-color) !important;
}

/* Hamburger icon follows the theme, not the navbar-light/dark variant: the header bar is
   white in light mode on every page, so the white "navbar-dark" icon used to be invisible */
.header-navbar .navbar-toggler {
  --bs-navbar-toggler-icon-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2811, 60, 93, 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  padding: 6px 8px;
}

[data-theme="dark"] .header-navbar .navbar-toggler {
  --bs-navbar-toggler-icon-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* "Schedule Free Pickup" button in the header */
.header-navbar .nav-cta-btn {
  /* Same height as the menu links, so it reads as part of the navigation */
  padding: 6px 14px;
  min-height: 34px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  gap: 6px;
  line-height: 1.3;
  white-space: nowrap !important;
  border-radius: var(--radius-pill);
  box-shadow: 0 2px 6px -2px rgba(var(--btn-rgb), 0.45);
}

.header-navbar .nav-cta-btn i {
  font-size: 0.85rem;
}

.header-navbar .nav-cta-btn:hover {
  transform: translateY(-1px) scale(1);
  box-shadow: 0 5px 12px -4px rgba(var(--btn-rgb), 0.55);
}

@media (min-width: 992px) and (max-width: 1199px) {
  .header-navbar .nav-cta-btn {
    padding: 6px 12px;
    font-size: 0.76rem;
  }

  .header-navbar .nav-cta-btn i {
    display: none;
  }
}

@media (max-width: 991px) {
  .header-navbar .nav-cta-btn {
    width: auto !important;
    align-self: flex-start;
  }
}

/* Keep every menu label on one line; tighten spacing on narrow desktops so all 8 items fit */
@media (min-width: 992px) {
  .header-navbar .nav-link {
    white-space: nowrap;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .header-navbar .nav-link {
    font-size: 0.88rem;
    padding: 8px 9px !important;
  }
}

.nav-link:hover,
.nav-link.active {
  color: #1699D9 !important;
  background-color: rgba(22, 153, 217, 0.1);
}

.header-navbar.scrolled .nav-link:hover,
.header-navbar.scrolled .nav-link.active {
  color: #1699D9 !important;
  background-color: rgba(22, 153, 217, 0.1);
}

/* Header Top Alert Bar */
.top-notice-bar,
.top-announcement-bar {
  background: linear-gradient(90deg, #E0F2FE 0%, #F0FDF4 100%);
  color: var(--primary-color);
  font-size: 0.85rem;
  padding: 6px 0;
  font-weight: 600;
  border-bottom: 1px solid #BAE6FD;
  transition: var(--transition-normal);
}

.top-notice-bar a,
.top-announcement-bar a {
  color: var(--secondary-color);
  text-decoration: underline;
  font-weight: 700;
}

/* ==========================================================================
   Full-Width Edge-to-Edge Hero Section (Zypp-Style SaaS Hero Banner)
   ========================================================================== */
.hero-section {
  width: 100%;
  min-height: 100vh;
  padding-top: 160px;
  padding-bottom: 110px;
  background: linear-gradient(90deg, rgba(248, 250, 252, 0.92) 0%, rgba(224, 242, 254, 0.85) 50%, rgba(224, 242, 254, 0.60) 100%), url('../assets/hero_banner.jpeg') no-repeat center center / cover;
  position: relative;
  overflow: hidden;
  color: var(--dark-color);
  display: flex;
  align-items: center;
  margin: 0;
  transition: var(--transition-normal);
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 163, 165, 0.18) 0%, rgba(255, 255, 255, 0) 70%);
  pointer-events: none;
}

.hero-section::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 450px;
  height: 450px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(46, 204, 113, 0.15) 0%, rgba(255, 255, 255, 0) 70%);
  pointer-events: none;
}

.hero-zypp-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(22, 153, 217, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(22, 153, 217, 0.25);
  color: #1699D9;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  margin-bottom: 22px;
}

.hero-content h1 {
  font-size: 3.4rem;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 22px;
  letter-spacing: -1.2px;
  line-height: 1.15;
}

.text-gradient-cyan {
  background: linear-gradient(90deg, #38A3A5 0%, #0284C7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-subtext {
  font-size: 1.18rem;
  color: var(--slate-600);
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero-subtext strong {
  color: var(--primary-color);
}

.hero-badges-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 34px;
}

.hero-pill-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary-color);
  box-shadow: 0 2px 8px rgba(11, 60, 93, 0.05);
  transition: var(--transition-fast);
}

.hero-pill-tag:hover {
  background: #FFFFFF;
  transform: translateY(-2px);
}

/* Zypp Hero Wave Divider */
.hero-wave-divider {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  z-index: 5;
}

.hero-wave-divider img {
  width: 100%;
  height: 50px;
  display: block;
}

.hero-visual-box {
  position: relative;
  text-align: center;
}

.hero-visual-box img.main-hero-img {
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 25px 35px rgba(0, 0, 0, 0.4));
  animation: floatZypp 5s ease-in-out infinite;
}

@keyframes floatZypp {

  0%,
  100% {
    transform: translateY(0) scale(1);
  }

  50% {
    transform: translateY(-14px) scale(1.01);
  }
}

/* Floating Rating & Customer Badges */
.floating-stat-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 14px 22px;
  border-radius: var(--radius-md);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 10;
  color: var(--dark-color);
}

.floating-stat-card.card-rating {
  bottom: 30px;
  left: -25px;
}

.floating-stat-card.card-pickup {
  top: 30px;
  right: -15px;
}

.stat-icon-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.bg-cyan-light {
  background-color: #E0F2FE;
  color: var(--secondary-color);
}

.bg-green-light {
  background-color: rgba(var(--btn-rgb), 0.12);
  color: var(--btn-color);
}

/* Contact page: opening hours follow the brand blue instead of Bootstrap green */
.contact-blue .text-success {
  color: var(--btn-color) !important;
}

/* ==========================================================================
   Section 1: Dirty Clothes to Fresh Perfection (H2-1)
   ========================================================================== */
.feature-split-card {
  background-color: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  transition: var(--transition-normal);
}

.feature-split-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.garment-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0;
}

.garment-tag {
  background-color: var(--light-bg);
  color: var(--primary-color);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-color);
}

/* ==========================================================================
   Section 2 & 3: Services Grid & Pricing Cards (Zypp-Style Visual Cards)
   ========================================================================== */
.service-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 35px -10px rgba(11, 60, 93, 0.15);
  border-color: var(--secondary-color);
}

.service-card-header {
  position: relative;
  height: 180px;
  width: 100%;
  overflow: hidden;
  background-color: #071927;
}

.service-card-header img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover .service-card-header img {
  transform: scale(1.08);
}

.service-price-tag-overlay {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--btn-color);
  color: #FFFFFF;
  font-weight: 800;
  font-size: 0.85rem;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 12px rgba(var(--btn-rgb), 0.4);
  letter-spacing: 0.5px;
  z-index: 2;
}

.service-card-body {
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(56, 163, 165, 0.12) 0%, rgba(11, 60, 93, 0.05) 100%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 16px;
  color: var(--secondary-color);
}

.service-price-pill {
  display: inline-block;
  background-color: var(--secondary-light);
  color: var(--primary-color);
  font-weight: 700;
  font-size: 0.88rem;
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 14px;
}

/* ==========================================================================
   Section 4: Store Locator & Near You (H2-4)
   ========================================================================== */
.store-locator-box {
  background: var(--primary-color);
  color: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 48px;
  position: relative;
  overflow: hidden;
}

.store-locator-box h2,
.store-locator-box h3 {
  color: #FFFFFF;
}

.store-locator-box p {
  color: #CBD5E1;
}

.city-pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.city-pill {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  color: #FFFFFF;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: var(--transition-fast);
}

.city-pill:hover {
  background-color: var(--accent-color);
  color: #FFFFFF;
  border-color: var(--accent-color);
}

/* ==========================================================================
   Section 5: 6-Step Visual Timeline (H2-5)
   ========================================================================== */
.timeline-wrapper {
  position: relative;
  margin-top: 40px;
  margin-bottom: 40px;
}

/* Horizontal Timeline Line for Desktop */
@media (min-width: 992px) {
  .timeline-wrapper::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 8%;
    right: 8%;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color) 0%, var(--accent-color) 100%);
    z-index: 1;
    border-radius: 2px;
  }
}

.timeline-step-card {
  background-color: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 24px 18px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  text-align: center;
  position: relative;
  z-index: 2;
  transition: var(--transition-normal);
  height: 100%;
}

.timeline-step-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-color);
}

.step-number-badge {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--primary-color);
  color: #FFFFFF;
  font-size: 1.25rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px auto;
  box-shadow: 0 0 0 6px rgba(56, 163, 165, 0.15);
  transition: var(--transition-fast);
}

.timeline-step-card:hover .step-number-badge {
  background: var(--accent-color);
  box-shadow: 0 0 0 8px rgba(46, 204, 113, 0.2);
}

/* Satisfaction Banner inside Section 5 */
.satisfaction-assurance-box {
  background: linear-gradient(135deg, #EAF5FC 0%, #E0F2FE 100%);
  border: 1.5px solid rgba(var(--btn-rgb), 0.3);
  border-radius: var(--radius-lg);
  padding: 36px;
  text-anchor: center;
  margin-top: 50px;
}

/* Icons inside the callout follow the section's blue instead of Bootstrap's green */
.satisfaction-assurance-box .text-success {
  color: var(--btn-color) !important;
}

/* ==========================================================================
   Section 6: Impact Counter & Certifications (H2-6)
   ========================================================================== */
.stat-counter-card {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 28px 20px;
  text-align: center;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.stat-counter-num {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--primary-color);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-counter-label {
  font-size: 0.95rem;
  color: var(--slate-600);
  font-weight: 600;
}

.cert-badge-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.cert-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background-color: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary-color);
  box-shadow: var(--shadow-sm);
}

/* ==========================================================================
   Section 7: 100% Full-Width Zypp Electric Section (Radar, Orbs, Grid Cards)
   ========================================================================== */
.zypp-full-section {
  width: 100% !important;
  background: linear-gradient(135deg, #F8FAFC 0%, #EAF5F6 50%, #EAF4FC 100%);
  padding: 80px 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  transition: background 0.35s ease;
}

.zypp-glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  opacity: 0.25;
}

.zypp-glow-orb-1 {
  width: 300px;
  height: 300px;
  background: rgba(56, 163, 165, 0.25);
  top: -50px;
  left: -50px;
}

.zypp-glow-orb-2 {
  width: 300px;
  height: 300px;
  background: rgba(var(--btn-rgb), 0.25);
  bottom: -50px;
  right: -50px;
}

.zypp-section-title {
  color: var(--heading-color);
}

.zypp-section-desc {
  color: var(--paragraph-color);
}

/* Orbit Radar Container - MATCH ZYPP.APP BIGGER DIMENSIONS */
.zypp-orbit-container {
  padding: 40px 0;
}

.zypp-orbit-wrapper {
  width: 520px;
  height: 520px;
  margin: 0 auto;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Dashed Orbit Rings */
.zypp-ring-outer,
.zypp-ring-mid,
.zypp-ring-inner {
  position: absolute;
  border-radius: 50%;
  border: 1.5px dashed rgba(56, 163, 165, 0.2);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: zyppSpin 45s linear infinite;
}

.zypp-ring-outer {
  width: 500px;
  height: 500px;
}

.zypp-ring-mid {
  width: 390px;
  height: 390px;
  animation-duration: 32s;
  animation-direction: reverse;
  border-color: rgba(56, 163, 165, 0.25);
}

.zypp-ring-inner {
  width: 280px;
  height: 280px;
  animation-duration: 22s;
  border-color: rgba(var(--btn-rgb), 0.3);
}

@keyframes zyppSpin {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

/* Orbit Floating Avatars (Real Person Photos) */
.zypp-orbit-avatar {
  position: absolute;
  z-index: 12;
  animation: floatBounce 4s ease-in-out infinite alternate;
}

.zypp-avatar-top {
  top: 10px;
  left: 28%;
}

.zypp-avatar-midright {
  top: 110px;
  right: 70px;
  animation-delay: 1.5s;
}

.zypp-avatar-bottom {
  bottom: 0px;
  left: 50%;
  transform: translateX(-50%);
  animation-delay: 2.8s;
}

.zypp-avatar-img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  border: 3px solid #FFFFFF;
}

@keyframes floatBounce {
  0% {
    transform: translateY(0px);
  }

  100% {
    transform: translateY(-10px);
  }
}

/* Big Zypp Center Gauge Stat Display */
.zypp-orbit-center {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #FFFFFF;
  box-shadow: 0 20px 50px rgba(56, 163, 165, 0.18);
  border: 1px solid rgba(56, 163, 165, 0.15);
  z-index: 5;
}

.zypp-gauge-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(135deg);
}

.zypp-gauge-bg {
  fill: none;
  stroke: rgba(226, 232, 240, 0.6);
  stroke-width: 10;
}

.zypp-gauge-progress {
  fill: none;
  stroke: var(--btn-color);
  stroke-width: 10;
  stroke-linecap: round;
  stroke-dasharray: 264;
  stroke-dashoffset: 65;
  transition: stroke-dashoffset 1.5s ease;
}

.zypp-orbit-stat {
  text-align: center;
  position: relative;
  z-index: 6;
}

.zypp-stat-number {
  font-family: 'Outfit', sans-serif;
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--btn-color);
  line-height: 1;
  letter-spacing: -1px;
}

.zypp-stat-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--paragraph-color);
  letter-spacing: 0.5px;
  margin-top: 6px;
}

/* Floating Zypp Stat Cards */
.zypp-float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 22px;
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: 18px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.09);
  z-index: 15;
  white-space: nowrap;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.zypp-float-card:hover {
  transform: translateY(-5px) scale(1.03);
  box-shadow: 0 20px 40px rgba(56, 163, 165, 0.2);
  border-color: var(--secondary-color);
}

.zypp-float-card-left {
  top: 50%;
  left: -110px;
  transform: translateY(-50%);
}

.zypp-float-card-left:hover {
  transform: translateY(-50%) translateY(-5px) scale(1.03);
}

.zypp-float-card-topright {
  top: -10px;
  right: -50px;
}

.zypp-float-card-bottomright {
  bottom: 60px;
  right: -90px;
}

.zypp-float-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.zypp-float-text {
  text-align: left;
  line-height: 1.3;
}

.zypp-float-text strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--heading-color);
}

.zypp-float-text small {
  display: block;
  font-size: 0.78rem;
  color: var(--paragraph-color);
}

/* Responsive adjustment for orbit radar */
@media (max-width: 1200px) {
  .zypp-float-card-left {
    left: -40px;
  }

  .zypp-float-card-topright {
    right: -20px;
  }

  .zypp-float-card-bottomright {
    right: -40px;
  }
}

@media (max-width: 992px) {
  /* The orbit becomes a column: rings and avatars occupy a fixed 400px area at the top,
     the stat cards flow underneath instead of sharing the flex row with the gauge */
  .zypp-orbit-wrapper {
    width: 400px;
    max-width: 100%;
    height: auto;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 105px;
  }

  .zypp-ring-outer,
  .zypp-ring-mid,
  .zypp-ring-inner {
    top: 200px;
  }

  .zypp-avatar-bottom {
    bottom: auto;
    top: 330px;
  }

  .zypp-orbit-center {
    margin-bottom: 120px;
  }

  .zypp-ring-outer {
    width: 380px;
    height: 380px;
  }

  .zypp-ring-mid {
    width: 300px;
    height: 300px;
  }

  .zypp-ring-inner {
    width: 220px;
    height: 220px;
  }

  .zypp-orbit-center {
    width: 190px;
    height: 190px;
  }

  .zypp-stat-number {
    font-size: 2.4rem;
  }

  .zypp-float-card {
    position: relative;
    inset: auto !important;
    margin: 10px auto;
    width: fit-content;
    transform: none !important;
  }
}

@media (max-width: 576px) {
  .zypp-orbit-wrapper {
    width: 300px;
    padding-top: 75px;
  }

  .zypp-ring-outer,
  .zypp-ring-mid,
  .zypp-ring-inner {
    top: 150px;
  }

  .zypp-avatar-midright {
    right: 10px;
    top: 70px;
  }

  .zypp-avatar-bottom {
    top: 245px;
  }

  .zypp-orbit-center {
    margin-bottom: 100px;
  }

  .zypp-ring-outer {
    width: 290px;
    height: 290px;
  }

  .zypp-ring-mid {
    width: 220px;
    height: 220px;
  }

  .zypp-ring-inner {
    width: 150px;
    height: 150px;
  }

  .zypp-orbit-center {
    width: 150px;
    height: 150px;
  }

  .zypp-stat-number {
    font-size: 2rem;
  }
}

/* Zypp Centered Feature Grid Cards with Entrance Reveal Animation */
.zypp-grid-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 56px 32px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.6s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(40px);
}

.zypp-grid-card.zypp-animated-reveal {
  opacity: 1;
  transform: translateY(0);
}

.zypp-grid-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--btn-color) 0%, var(--btn-hover) 100%);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.zypp-grid-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 25px 50px -10px rgba(var(--btn-rgb), 0.25);
  border-color: var(--btn-color);
}

.zypp-grid-card:hover::before {
  opacity: 1;
}

.zypp-grid-icon {
  width: 76px;
  height: 76px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(22, 153, 217, 0.12) 0%, rgba(var(--btn-rgb), 0.08) 100%);
  border: 1px solid rgba(22, 153, 217, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.15rem;
  color: #1699D9;
  margin-bottom: 24px;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.4s ease, color 0.4s ease, box-shadow 0.4s ease;
}

.zypp-grid-card:hover .zypp-grid-icon {
  transform: scale(1.15) rotate(-6deg);
  background: linear-gradient(135deg, var(--btn-color) 0%, var(--btn-hover) 100%);
  color: #FFFFFF;
  box-shadow: 0 10px 25px rgba(var(--btn-rgb), 0.35);
}

.zypp-grid-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 12px;
  line-height: 1.35;
  transition: color 0.3s ease;
}

.zypp-grid-card:hover .zypp-grid-title {
  color: var(--btn-color);
}

.zypp-grid-desc {
  font-size: 0.925rem;
  color: var(--paragraph-color);
  line-height: 1.65;
  margin-bottom: 0;
}

/* The "Organic Solvents" floating card icon follows the section's blue instead of Bootstrap's green */
#why-choose-us .zypp-float-icon.text-success {
  color: var(--btn-color) !important;
  background-color: rgba(var(--btn-rgb), 0.12) !important;
}

/* ==========================================================================
   Section 9: Zypp Electric Inspired "How To Join / Download App" UI
   Desktop: the section is a tall scroll track and .zypp-join-pin stays pinned
   while scrolling walks through step 1, step 2, step 3 and the Download state.
   Mobile / short viewports: normal flowing layout, phone below the steps.
   ========================================================================== */
.zypp-join-section {
  --zypp-bg: #EFF7FC;
  --zypp-green: var(--btn-color);
  --zypp-green-soft: #8FCBEA;
  --zypp-muted-title: #A4B4C1;
  --zypp-muted-desc: #B3C1CD;
  background: var(--zypp-bg);
  padding: 80px 0 72px;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
  /* clip (unlike hidden) does not create a scroll container, so sticky children keep working */
  overflow: clip;
}

.zypp-join-head {
  max-width: 760px;
  margin-bottom: 3rem;
}

.zypp-join-section .section-title {
  font-size: clamp(1.75rem, 3.4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

/* Left Column: Vertical Step Timeline */
.zypp-v-timeline-wrap {
  position: relative;
  padding-top: 4px;
  padding-bottom: 24px;
}

/* Thin continuous rail that runs under every marker and past the last step */
.zypp-v-connecting-line {
  position: absolute;
  top: 4px;
  bottom: 0;
  left: 14px;
  width: 2px;
  background: rgba(var(--btn-rgb), 0.26);
  border-radius: 2px;
  z-index: 1;
}

.zypp-v-progress-fill {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 16px;
  background: linear-gradient(180deg, var(--btn-color) 0%, var(--btn-hover) 100%);
  border-radius: 2px;
  transition: height 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Step item: compact rhythm, inactive steps fade to grey-green */
.zypp-v-step-item {
  position: relative;
  z-index: 2;
  margin-bottom: 40px;
  cursor: pointer;
}

.zypp-v-step-item:last-child {
  margin-bottom: 0;
}

/* Small round markers with a double chevron; only the active one is solid green */
.zypp-v-step-badge {
  position: absolute;
  left: 0;
  top: 1px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--zypp-green-soft);
  color: #FFFFFF;
  font-size: 0.8rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  /* Ring in the section colour visually cuts the rail around each marker */
  box-shadow: 0 0 0 4px var(--zypp-bg);
  transition: background-color 0.4s ease, box-shadow 0.4s ease, transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 3;
}

.zypp-v-step-badge i {
  display: block;
  line-height: 1;
}

.zypp-v-step-item.active .zypp-v-step-badge {
  background: var(--zypp-green);
  transform: scale(1.06);
  box-shadow: 0 0 0 4px var(--zypp-bg), 0 6px 16px rgba(var(--btn-rgb), 0.4);
}

.zypp-v-step-content {
  padding-left: 50px;
}

.zypp-v-step-title {
  font-family: 'Outfit', var(--font-primary), sans-serif;
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 700;
  color: var(--zypp-muted-title);
  margin-bottom: 8px;
  line-height: 1.25;
  letter-spacing: -0.01em;
  transition: color 0.4s ease;
}

.zypp-v-step-desc {
  font-size: 1rem;
  color: var(--zypp-muted-desc);
  line-height: 1.6;
  margin-bottom: 0;
  transition: color 0.4s ease;
}

.zypp-v-step-item.active .zypp-v-step-title {
  color: var(--heading-color);
}

.zypp-v-step-item.active .zypp-v-step-desc {
  color: var(--paragraph-color);
}

@media (hover: hover) {
  .zypp-v-step-item:hover .zypp-v-step-title {
    color: var(--heading-color);
  }

  .zypp-v-step-item:hover .zypp-v-step-desc {
    color: var(--paragraph-color);
  }
}

/* Hand-drawn arrows: one unique doodle per step, visible only beside the active step */
.zypp-v-step-arrow {
  display: none;
  position: absolute;
  top: 0;
  left: 488px;
  width: 96px;
  height: 56px;
  color: var(--heading-color);
  opacity: 0;
  transform: translateX(-10px);
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.zypp-v-step-item.active > .zypp-v-step-arrow,
.zypp-v-cta.is-active > .zypp-v-step-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* Download CTA block (button itself is unchanged) */
.zypp-v-cta {
  position: relative;
  display: inline-block;
}

.zypp-v-cta-arrow {
  top: -22px;
  left: calc(100% + 4px);
}

/* Download CTA Action Button */
.zypp-download-btn {
  background: linear-gradient(135deg, var(--btn-color) 0%, var(--btn-hover) 100%);
  color: #FFFFFF !important;
  font-size: 0.98rem;
  font-weight: 700;
  padding: 12px 34px;
  border-radius: 50px;
  box-shadow: 0 10px 25px rgba(var(--btn-rgb), 0.35);
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.zypp-download-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(var(--btn-rgb), 0.5);
}

/* Right Column: Phone App Showcase.
   Flow layout default: the whole phone stays in view at the viewport bottom
   while the steps scroll, then rests at the bottom of its column. */
.zypp-phone-container {
  position: sticky;
  top: auto;
  bottom: 24px;
  margin-top: auto;
  margin-bottom: 0;
  z-index: 5;
  text-align: center;
  padding: 20px 0 0;
  display: flex;
  justify-content: flex-end;
}

.zypp-phone-glow {
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(var(--btn-rgb), 0.16);
  filter: blur(90px);
  top: 55%;
  left: 60%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

/* Premium Realistic Smartphone Frame Casing */
.zypp-phone-frame {
  position: relative;
  width: 100%;
  max-width: 300px;
  margin-right: 8%;
  background: #090D16;
  border-radius: 40px;
  padding: 10px;
  border: 3px solid #2A364F;
  box-shadow: 0 25px 60px -12px rgba(0, 0, 0, 0.35),
    0 0 0 1.5px rgba(255, 255, 255, 0.15) inset;
}

/* Glass Sheen Light Reflection overlay */
.zypp-phone-frame::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  border-radius: 37px 37px 0 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0) 60%);
  pointer-events: none;
  z-index: 8;
}

/* Phone Dynamic Island / Camera Notch */
.zypp-phone-island {
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: 85px;
  height: 16px;
  background: #000000;
  border-radius: 16px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.6);
}

.zypp-island-lens {
  width: 7px;
  height: 7px;
  background: #111827;
  border-radius: 50%;
  border: 1px solid #1F2937;
}

/* Screen switcher: screens slide vertically like the reference (next comes up from below,
   previous leaves through the top). Overflow stays visible so floating cards can overlap the edge. */
.zypp-screen-switcher {
  position: relative;
  width: 100%;
  aspect-ratio: 380 / 720;
  max-height: 520px;
  border-radius: 30px;
  overflow: visible;
  background: #0F172A;
}

.zypp-screen-img-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  visibility: hidden;
  pointer-events: none;
  /* Stay rendered until the slide-out finishes */
  transition: visibility 0s linear 0.65s;
}

.zypp-screen-img-wrap.active {
  visibility: visible;
  pointer-events: auto;
  z-index: 3;
  transition-delay: 0s;
}

.zypp-screen-clip {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 30px;
}

.zypp-phone-img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transform: translateY(101%);
  transition: transform 0.65s cubic-bezier(0.65, 0, 0.35, 1);
}

.zypp-screen-img-wrap.is-past .zypp-phone-img {
  transform: translateY(-101%);
}

.zypp-screen-img-wrap.active .zypp-phone-img {
  transform: translateY(0);
}

/* Floating feature cards overlapping the phone edge */
.zypp-app-badge {
  position: absolute;
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  padding: 14px 20px;
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.14);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--heading-color);
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  z-index: 5;
  opacity: 0;
  transition: opacity 0.3s ease;
  animation: zyppFloatBadge 4s ease-in-out infinite;
}

.zypp-screen-img-wrap.active .zypp-app-badge {
  opacity: 1;
  transition: opacity 0.4s ease 0.3s;
}

/* Badge icons follow the section's blue instead of Bootstrap's green */
.zypp-join-section .zypp-app-badge .text-success {
  color: var(--btn-color) !important;
}

.zypp-app-badge-1 {
  top: 58%;
  left: -70px;
}

.zypp-app-badge-2 {
  top: 32%;
  right: -60px;
  animation-delay: 2s;
}

@keyframes zyppFloatBadge {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

@media (min-width: 1200px) {
  .zypp-v-step-arrow {
    display: block;
  }

  .zypp-v-step-content {
    max-width: 480px;
  }
}

/* --------------------------------------------------------------------------
   Pinned scroll sequence (desktop with enough height).
   .zypp-pin-ready is added by script.js, so without JS the section simply flows.
   Sizes use vh-based clamps so the whole composition always fits one viewport.
   -------------------------------------------------------------------------- */
@media (min-width: 992px) and (min-height: 600px) {
  .zypp-join-section.zypp-pin-ready {
    height: 320vh;
    padding: 0;
    overflow: visible;
    overflow: clip;
  }

  .zypp-pin-ready .zypp-join-pin {
    position: sticky;
    top: 0;
    height: 100vh;
    /* --zypp-pin-offset = fixed header height, measured in script.js */
    padding-top: var(--zypp-pin-offset, 88px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }

  .zypp-pin-ready .zypp-join-pin > .container {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
  }

  .zypp-pin-ready .zypp-join-head {
    max-width: 980px;
    padding-top: clamp(8px, 2.4vh, 28px);
    margin-bottom: clamp(14px, 3.4vh, 44px);
  }

  .zypp-pin-ready .section-title {
    font-size: clamp(1.5rem, 4.6vh, 2.4rem);
    margin-bottom: 0.4rem;
  }

  .zypp-pin-ready .section-subtitle {
    font-size: clamp(0.85rem, 2vh, 1rem);
    margin-bottom: 0;
  }

  .zypp-pin-ready .zypp-join-row {
    --bs-gutter-y: 0;
    flex: 1 1 auto;
    min-height: 0;
  }

  .zypp-pin-ready .zypp-join-steps-col {
    display: flex;
    flex-direction: column;
  }

  /* Rail runs to the bottom of the pinned viewport, as in the reference */
  .zypp-pin-ready .zypp-v-timeline-wrap {
    flex: 1 1 auto;
    padding-bottom: 0;
  }

  .zypp-pin-ready .zypp-v-step-item {
    margin-bottom: clamp(14px, 3.4vh, 36px);
  }

  .zypp-pin-ready .zypp-v-step-title {
    font-size: clamp(1.1rem, 3.1vh, 1.5rem);
    margin-bottom: clamp(2px, 0.9vh, 8px);
  }

  .zypp-pin-ready .zypp-v-step-desc {
    font-size: clamp(0.85rem, 2.1vh, 1rem);
    line-height: 1.5;
  }

  /* Final state: the Download button fades in once all three steps are done */
  .zypp-pin-ready .zypp-v-cta {
    visibility: hidden;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.4s ease, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), visibility 0s linear 0.4s;
  }

  .zypp-pin-ready .zypp-v-cta.is-active {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0s;
  }

  /* Phone is sized from the height left under the heading, so the whole
     device (including its bottom edge) always fits inside the pinned viewport */
  .zypp-pin-ready .zypp-phone-container {
    position: relative;
    bottom: auto;
    flex: 1 1 auto;
    min-height: 0;
    margin-top: 0;
    margin-bottom: clamp(16px, 3.5vh, 36px);
    padding-top: 0;
    align-items: flex-start;
  }

  .zypp-pin-ready .zypp-phone-frame {
    height: 100%;
    max-height: 560px;
    width: auto;
    max-width: none;
    aspect-ratio: 300 / 545;
  }

  .zypp-pin-ready .zypp-screen-switcher {
    height: 100%;
    max-height: none;
    aspect-ratio: auto;
  }
}

@media (max-width: 991px) {
  .zypp-join-section {
    padding-top: 64px;
    padding-bottom: 56px;
  }

  .zypp-join-head {
    margin-bottom: 2.25rem;
  }

  .zypp-phone-container {
    position: relative;
    top: auto;
    bottom: auto;
    margin-top: 40px;
    justify-content: center;
  }

  .zypp-phone-frame {
    margin-right: 0;
  }

  .zypp-screen-switcher {
    min-height: 440px;
    max-width: 340px;
  }

  .zypp-v-timeline-wrap {
    padding-bottom: 0;
  }

  .zypp-v-step-item,
  .zypp-timeline-item {
    margin-bottom: 34px;
  }

  .zypp-app-badge-1 {
    left: -30px;
  }

  .zypp-app-badge-2 {
    right: -30px;
  }
}

@media (max-width: 575px) {
  .zypp-join-section {
    padding-top: 52px;
    padding-bottom: 44px;
  }

  .zypp-v-step-item,
  .zypp-timeline-item {
    margin-bottom: 28px;
  }

  .zypp-v-step-desc {
    font-size: 0.95rem;
  }

  .zypp-app-badge {
    padding: 10px 14px;
    font-size: 0.8rem;
  }

  .zypp-app-badge-1 {
    left: -8px;
    top: 62%;
  }

  .zypp-app-badge-2 {
    right: -8px;
    top: 28%;
  }

  .zypp-screen-switcher {
    min-height: 380px;
    max-width: 290px;
  }
}

@media (prefers-reduced-motion: reduce) {

  .zypp-phone-img,
  .zypp-screen-img-wrap,
  .zypp-v-step-arrow,
  .zypp-v-cta,
  .zypp-v-progress-fill,
  .zypp-v-step-badge {
    transition-duration: 0.01s !important;
    transition-delay: 0s !important;
  }

  .zypp-app-badge {
    animation: none;
  }
}
/* ==========================================================================
   Section 8: Brand Network & Principles (H2-8)
   ========================================================================== */
.brand-principle-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.principle-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(11, 60, 93, 0.08);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

/* ==========================================================================
   Testimonials Horizontal Carousel (Zypp-Style Interactive Slider)
   ========================================================================== */
.reviews-carousel-outer {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 0;
}

.reviews-carousel-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 15px 5px;
}

.reviews-carousel-track::-webkit-scrollbar {
  display: none;
}

.reviews-carousel-card {
  flex: 0 0 calc(25% - 18px);
  /* 4 items per view on desktop */
  min-width: 270px;
  scroll-snap-align: start;
  background-color: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition-normal);
}

@media (max-width: 1400px) {
  .reviews-carousel-card {
    flex: 0 0 calc(33.333% - 16px);
    /* 3 items per view on laptop */
  }
}

@media (max-width: 991px) {
  .reviews-carousel-card {
    flex: 0 0 calc(50% - 12px);
    /* 2 items per view on tablet */
  }
}

@media (max-width: 575px) {
  .reviews-carousel-card {
    flex: 0 0 calc(100% - 10px);
    /* 1 item per view on mobile */
  }
}

.reviews-carousel-card:hover {
  box-shadow: 0 15px 30px rgba(11, 60, 93, 0.12);
  border-color: var(--secondary-color);
  transform: translateY(-5px);
}

.carousel-nav-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1.5px solid var(--border-color);
  color: var(--primary-color);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  flex-shrink: 0;
  transition: var(--transition-fast);
  z-index: 10;
}

.carousel-nav-btn:hover {
  background-color: var(--primary-color);
  color: #FFFFFF;
  border-color: var(--primary-color);
  transform: scale(1.12);
  box-shadow: 0 10px 20px rgba(11, 60, 93, 0.2);
}

.star-rating-row {
  color: #F59E0B;
  font-size: 1.1rem;
  margin-bottom: 14px;
}

.testimonial-text {
  font-size: 0.98rem;
  color: var(--text-color);
  font-style: italic;
  margin-bottom: 20px;
  line-height: 1.6;
}

.customer-meta {
  display: flex;
  align-items: center;
  gap: 14px;
}

.avatar-circle {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: #FFFFFF;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ==========================================================================
   Section 9: App Showcase Section (H2-9)
   ========================================================================== */
.app-section-box {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
  color: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 60px 40px;
  position: relative;
  overflow: hidden;
}

.app-section-box h2 {
  color: #FFFFFF;
}

.app-section-box p {
  color: #CBD5E1;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background-color: #FFFFFF;
  color: var(--dark-color);
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.95rem;
  transition: var(--transition-fast);
  box-shadow: var(--shadow-md);
}

.store-btn:hover {
  background-color: var(--secondary-light);
  color: var(--primary-color);
  transform: translateY(-3px);
}

/* ==========================================================================
   Section 10: FAQ Accordion (H2-10)
   ========================================================================== */
.accordion-item {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md) !important;
  margin-bottom: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.accordion-button {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--primary-color) !important;
  background-color: #FFFFFF !important;
  padding: 20px 24px;
  box-shadow: none !important;
}

.accordion-button:not(.collapsed) {
  background-color: rgba(22, 153, 217, 0.05) !important;
  color: #1699D9 !important;
}

.accordion-body {
  padding: 20px 24px 24px 24px;
  color: var(--slate-600);
  font-size: 1rem;
  line-height: 1.7;
}

/* ==========================================================================
   Footer Component
   ========================================================================== */
.footer-main {
  background-color: #F1F5F9;
  color: var(--slate-600);
  padding-top: 80px;
  padding-bottom: 30px;
  font-size: 0.95rem;
  border-top: 1px solid var(--border-color);
  transition: var(--transition-normal);
}

.footer-main h4,
.footer-main h5 {
  color: var(--primary-color);
  margin-bottom: 22px;
}

.footer-main a {
  color: var(--slate-600);
}

.footer-main a:hover {
  color: var(--secondary-color);
  padding-left: 4px;
}

.footer-bottom-bar {
  border-top: 1px solid var(--border-color);
  margin-top: 60px;
  padding-top: 24px;
  font-size: 0.85rem;
  color: #64748B;
}

.social-link-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(11, 60, 93, 0.08);
  color: var(--primary-color);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 8px;
  transition: var(--transition-fast);
}

.social-link-btn:hover {
  background-color: var(--accent-color);
  color: #FFFFFF;
  transform: translateY(-3px);
}

/* Modal & Form Styles */
.modal-content {
  border-radius: var(--radius-lg);
  border: none;
  overflow: hidden;
}

.modal-header {
  background: var(--primary-color);
  color: #FFFFFF;
  border-bottom: none;
  padding: 24px 30px;
}

.modal-header .btn-close {
  filter: invert(1);
}

.form-control,
.form-select {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-color);
  font-size: 0.95rem;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 4px rgba(56, 163, 165, 0.15);
}

/* Responsive Media Queries */
@media (max-width: 991px) {
  .hero-section {
    padding-top: 130px;
  }

  .hero-content h1 {
    font-size: 2.35rem;
  }

  .section-title {
    font-size: 1.85rem;
  }

  .floating-stat-card {
    position: relative;
    bottom: 0;
    left: 0;
    margin-top: 15px;
  }
}

@media (max-width: 575px) {
  .hero-content h1 {
    font-size: 1.95rem;
  }

  .btn-brand-primary,
  .btn-brand-secondary,
  .hero-content .btn {
    width: 100%;
    margin-bottom: 10px;
  }

  .store-locator-box,
  .app-section-box {
    padding: 30px 20px;
  }

  /* Counter numbers like "10,000+" no longer overflow the two-column cards */
  .stat-counter-num {
    font-size: 2rem;
  }

  /* Footer legal links wrap instead of running off the right edge */
  .footer-bottom-bar > div {
    flex-wrap: wrap;
    justify-content: center;
  }

  /* Testimonials: one full card per view, arrows below the track */
  .reviews-carousel-outer {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }

  .reviews-carousel-track {
    order: -1;
    flex: 0 0 100%;
    width: 100%;
  }

  .reviews-carousel-card {
    flex: 0 0 100%;
    min-width: 0;
  }
}


/* ==========================================================================
   Customer Support Chat Assistant Widget (SaaS-Style Floating Widget)
   ========================================================================== */
.chat-launcher-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: #FFFFFF;
  border: none;
  box-shadow: 0 10px 25px rgba(11, 60, 93, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  cursor: pointer;
  z-index: 1090;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
}

.chat-launcher-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 14px 30px rgba(11, 60, 93, 0.45);
}

.chat-unread-badge {
  position: absolute;
  top: 0;
  right: 0;
  width: 14px;
  height: 14px;
  background-color: var(--accent-color);
  border: 2.5px solid #FFFFFF;
  border-radius: 50%;
  animation: pulseBadge 2s infinite;
}

@keyframes pulseBadge {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.7);
  }

  70% {
    transform: scale(1.1);
    box-shadow: 0 0 0 8px rgba(46, 204, 113, 0);
  }

  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(46, 204, 113, 0);
  }
}

.chat-window {
  position: fixed;
  bottom: 96px;
  right: 24px;
  width: 370px;
  max-width: calc(100vw - 32px);
  height: 510px;
  max-height: calc(100vh - 120px);
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 45px rgba(11, 60, 93, 0.25);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  z-index: 1095;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.95);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
}

.chat-window.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.chat-header {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
  color: #FFFFFF;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chat-agent-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.chat-agent-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--secondary-color);
  color: #FFFFFF;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.chat-online-dot {
  position: absolute;
  bottom: 1px;
  right: 1px;
  width: 10px;
  height: 10px;
  background-color: var(--accent-color);
  border: 2px solid #FFFFFF;
  border-radius: 50%;
}

.chat-close-btn {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.2rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.chat-close-btn:hover {
  color: #FFFFFF;
}

.chat-body {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
  background-color: #F8FAFC;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.chat-msg {
  max-width: 82%;
  padding: 12px 16px;
  border-radius: 16px;
  font-size: 0.92rem;
  line-height: 1.5;
}

.chat-msg-bot {
  background-color: #FFFFFF;
  color: var(--dark-color);
  border-bottom-left-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--border-color);
  align-self: flex-start;
}

.chat-msg-user {
  background-color: var(--primary-color);
  color: #FFFFFF;
  border-bottom-right-radius: 4px;
  align-self: flex-end;
}

.quick-replies-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}

.quick-reply-pill {
  background: #FFFFFF;
  border: 1.5px solid var(--secondary-color);
  color: var(--primary-color);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: var(--transition-fast);
}

.quick-reply-pill:hover {
  background-color: var(--secondary-color);
  color: #FFFFFF;
}

.chat-footer {
  padding: 12px 16px;
  background: #FFFFFF;
  border-top: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 10px;
}

.chat-footer input {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-pill);
  padding: 10px 16px;
  font-size: 0.9rem;
  flex: 1;
}

.chat-footer input:focus {
  outline: none;
  border-color: var(--secondary-color);
}

.chat-send-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--secondary-color);
  color: #FFFFFF;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
}

.chat-send-btn:hover {
  background-color: var(--primary-color);
}

/* ==========================================================================
   Premium CTA Banner Section Styles
   ========================================================================== */
.premium-cta-section {
  position: relative;
  background: radial-gradient(ellipse at 50% 0%, #0B3C5D 0%, #051421 75%, #030B12 100%);
  color: #FFFFFF;
  padding: 90px 0;
  overflow: hidden;
  border-top: 1px solid rgba(56, 163, 165, 0.25);
  border-bottom: 1px solid rgba(56, 163, 165, 0.25);
}

.premium-cta-section::before {
  content: '';
  position: absolute;
  top: -20%;
  left: 15%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(56, 163, 165, 0.22) 0%, rgba(5, 20, 33, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
  filter: blur(60px);
}

.premium-cta-section::after {
  content: '';
  position: absolute;
  bottom: -20%;
  right: 15%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(46, 204, 113, 0.18) 0%, rgba(5, 20, 33, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
  filter: blur(60px);
}

.premium-cta-box {
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  padding: 56px 36px;
  box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-brand-accent {
  background: linear-gradient(135deg, var(--btn-color) 0%, var(--btn-hover) 100%);
  color: #FFFFFF;
  border: none;
  border-radius: var(--radius-pill);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
}

.btn-brand-accent:hover {
  color: #FFFFFF;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 28px rgba(var(--btn-rgb), 0.45);
}

/* ==========================================================================
   Right-Center Sticky / Floating Action Buttons (Icon-Only, Expand Text on Hover)
   ========================================================================== */
.right-sticky-actions,
.left-sticky-actions {
  position: fixed;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1085;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-end;
}

.sticky-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  height: 52px;
  min-width: 52px;
  max-width: 52px;
  padding: 0 14px;
  border-radius: 26px;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  border: none;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.22);
  cursor: pointer;
  overflow: hidden;
  white-space: nowrap;
  transition: max-width 0.4s cubic-bezier(0.4, 0, 0.2, 1), transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.sticky-action-btn:hover {
  max-width: 260px;
  padding: 0 16px 0 20px;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.32);
}

.sticky-action-btn i {
  font-size: 1.4rem;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  order: 2;
}

.sticky-action-btn span {
  display: inline-block;
  opacity: 0;
  max-width: 0;
  overflow: hidden;
  white-space: nowrap;
  margin-right: 0;
  order: 1;
  transition: opacity 0.3s ease 0.05s, max-width 0.4s cubic-bezier(0.4, 0, 0.2, 1), margin-right 0.3s ease;
}

.sticky-action-btn:hover span {
  opacity: 1;
  max-width: 190px;
  margin-right: 10px;
}

.sticky-btn-whatsapp {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #FFFFFF !important;
}

.sticky-btn-whatsapp:hover {
  background: linear-gradient(135deg, #1EBE57 0%, #0E7064 100%);
  color: #FFFFFF !important;
}

.sticky-btn-pickup {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: #FFFFFF !important;
}

.sticky-btn-pickup:hover {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
  color: #FFFFFF !important;
}

@media (max-width: 768px) {

  /* Phones: the floating actions sit in the bottom corner above the chat launcher,
     so they stop covering body text and price badges mid-screen */
  .right-sticky-actions,
  .left-sticky-actions {
    right: 14px;
    top: auto;
    bottom: 98px;
    transform: none;
    gap: 10px;
  }

  .sticky-action-btn span {
    display: none;
  }

  .sticky-action-btn {
    height: 46px;
    min-width: 46px;
    max-width: 46px;
    padding: 0 12px;
    border-radius: 23px;
    font-size: 0.85rem;
  }

  .sticky-action-btn i {
    font-size: 1.2rem;
  }
}

/* ==========================================================================
   City Stores Directory Section (Before Footer)
   ========================================================================== */
.city-stores-section {
  background: linear-gradient(180deg, #E0F2FE 0%, #F1F5F9 100%);
  color: var(--dark-color);
  padding: 60px 0 50px 0;
  border-top: 1px solid var(--border-color);
  position: relative;
  transition: var(--transition-normal);
}

.city-stores-section .section-badge {
  background-color: rgba(22, 153, 217, 0.12);
  color: #1699D9;
  border: 1px solid rgba(22, 153, 217, 0.3);
  margin-bottom: 14px;
}

.city-stores-section .section-title {
  color: var(--primary-color) !important;
  font-size: 2.1rem;
  font-weight: 800;
  margin-bottom: 14px;
  line-height: 1.3;
}

.city-stores-section .section-subtitle {
  color: var(--slate-600) !important;
  font-size: 1.05rem;
  margin-bottom: 24px;
}

.city-stores-links {
  line-height: 2.2;
  font-size: 0.94rem;
  word-spacing: 1px;
  text-align: center;
}

.city-stores-links a {
  color: var(--slate-600) !important;
  text-decoration: none;
  display: inline-block;
  margin-right: 14px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.city-stores-links a:hover {
  color: #38A3A5 !important;
  text-decoration: underline !important;
  opacity: 1;
}

@media (max-width: 768px) {
  .city-stores-section {
    padding: 45px 0 35px 0;
  }

  .city-stores-section .section-title {
    font-size: 1.5rem;
  }

  .city-stores-section .section-subtitle {
    font-size: 0.95rem;
  }

  .city-stores-links {
    font-size: 0.88rem;
    line-height: 1.9;
  }

  .city-stores-links a {
    margin-right: 10px;
  }
}

/* ==========================================================================
   Theme Switcher & Dark Mode Component Overrides
   ========================================================================== */
.theme-toggle-wrap {
  display: inline-flex;
  align-items: center;
}

.theme-toggle-btn {
  /* Light theme: a solid light track so the control is clearly visible on the white header */
  background: #E2E8F0;
  border: 1px solid #CBD5E1;
  border-radius: var(--radius-pill);
  padding: 3px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  position: relative;
  outline: none;
  width: 58px;
  height: 30px;
  transition: var(--transition-normal);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  user-select: none;
}

.theme-toggle-btn:focus-visible {
  box-shadow: 0 0 0 3px rgba(56, 163, 165, 0.6);
}

.theme-toggle-btn:hover {
  border-color: var(--secondary-color);
}

.header-navbar.scrolled .theme-toggle-btn {
  background: #E2E8F0;
  border-color: #CBD5E1;
}

/* Dark theme: a lighter translucent track that stands out from the dark header */
[data-theme="dark"] .theme-toggle-btn,
[data-theme="dark"] .header-navbar.scrolled .theme-toggle-btn {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.35);
}

[data-theme="dark"] .theme-toggle-btn:hover {
  border-color: #38BDF8;
}

.theme-toggle-slider {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  /* Sky blue knob in both themes, matching the brand's sky accent */
  background: linear-gradient(135deg, #38BDF8 0%, #0284C7 100%);
  box-shadow: 0 2px 8px rgba(56, 189, 248, 0.5);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.35s ease, box-shadow 0.35s ease;
  z-index: 1;
}

[data-theme="dark"] .theme-toggle-slider {
  transform: translateX(28px);
  background: linear-gradient(135deg, #38BDF8 0%, #0284C7 100%);
  box-shadow: 0 2px 8px rgba(56, 189, 248, 0.5);
}

.theme-toggle-icon {
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  z-index: 2;
  transition: color 0.3s ease, transform 0.3s ease;
  line-height: 1;
}

.icon-sun {
  margin-left: 0;
  color: #FFFFFF;
}

.icon-moon {
  margin-left: 6px;
  color: #475569;
}

[data-theme="dark"] .icon-sun {
  color: #CBD5E1;
}

[data-theme="dark"] .icon-moon {
  color: #FFFFFF;
}

/* Dark Mode Header & Navbar Styling */
/* Secondary buttons are a faint navy tint in light mode; on dark they need a light outline */
[data-theme="dark"] .btn-brand-secondary {
  background-color: rgba(255, 255, 255, 0.08);
  color: #E2E8F0;
  border-color: rgba(255, 255, 255, 0.28);
}

[data-theme="dark"] .btn-brand-secondary:hover {
  background-color: var(--btn-color);
  border-color: var(--btn-color);
  color: #FFFFFF;
}

[data-theme="dark"] .header-navbar {
  background: rgba(11, 19, 43, 0.85);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .header-navbar.scrolled {
  background: var(--navbar-scrolled-bg);
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .nav-link,
[data-theme="dark"] .header-navbar.scrolled .nav-link {
  color: #F1F5F9 !important;
}

[data-theme="dark"] .nav-link:hover,
[data-theme="dark"] .nav-link.active,
[data-theme="dark"] .header-navbar.scrolled .nav-link:hover,
[data-theme="dark"] .header-navbar.scrolled .nav-link.active {
  color: #5EEAD4 !important;
  background-color: rgba(94, 234, 212, 0.15);
}

/* Dark Mode Top Notice / Announcement Bar */
[data-theme="dark"] .top-notice-bar,
[data-theme="dark"] .top-announcement-bar {
  background: linear-gradient(90deg, #051421 0%, #07263C 100%);
  color: #FFFFFF;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .top-notice-bar a,
[data-theme="dark"] .top-announcement-bar a {
  color: #5EEAD4;
}

/* Dark Mode Hero Section Overrides */
[data-theme="dark"] .hero-section {
  background: linear-gradient(90deg, rgba(5, 20, 33, 0.95) 0%, rgba(11, 60, 93, 0.90) 50%, rgba(11, 60, 93, 0.60) 100%), url('../assets/hero_banner.jpeg') no-repeat center center / cover;
  color: #FFFFFF;
}

[data-theme="dark"] .hero-content h1 {
  color: #FFFFFF;
}

[data-theme="dark"] .hero-subtext {
  color: #E2E8F0;
}

[data-theme="dark"] .hero-subtext strong {
  color: #FFFFFF;
}

[data-theme="dark"] .hero-zypp-badge {
  background: rgba(255, 255, 255, 0.1);
  color: #5EEAD4;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

[data-theme="dark"] .hero-pill-tag {
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: none;
}

[data-theme="dark"] .text-gradient-cyan {
  background: linear-gradient(90deg, #5EEAD4 0%, #4AA4D8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Inner Page Hero Banners */
.page-banner-section {
  padding-top: 150px;
  padding-bottom: 60px;
  background: linear-gradient(135deg, #F8FAFC 0%, #E0F2FE 100%);
  color: var(--dark-color);
  transition: var(--transition-normal);
}

.page-banner-section h1 {
  color: var(--primary-color) !important;
}

.page-banner-section p {
  color: var(--slate-600) !important;
}

[data-theme="dark"] .page-banner-section {
  background: linear-gradient(135deg, #0B132B 0%, #1C2541 100%);
  color: #FFFFFF;
}

[data-theme="dark"] .page-banner-section h1 {
  color: #F8FAFC !important;
}

[data-theme="dark"] .page-banner-section p {
  color: #94A3B8 !important;
}

/* Dark Mode Navigation Bar Mobile Menu Collapse */
@media (max-width: 991px) {
  [data-theme="dark"] .navbar-collapse {
    background: #0B132B;
    padding: 20px;
    border-radius: var(--radius-md);
    margin-top: 15px;
    border: 1px solid var(--border-color);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
  }
}

/* Dark Mode Components Overrides */
[data-theme="dark"] .feature-split-card,
[data-theme="dark"] .service-card,
[data-theme="dark"] .timeline-step-card,
[data-theme="dark"] .stat-counter-card,
[data-theme="dark"] .usp-minimal-card,
[data-theme="dark"] .reviews-carousel-card {
  background-color: var(--card-bg);
  border-color: var(--border-color);
  color: var(--text-color);
}

/* Counter numbers are navy in light mode, which disappears on the dark cards */
[data-theme="dark"] .stat-counter-num {
  color: #38BDF8;
}

[data-theme="dark"] .stat-counter-label {
  color: #94A3B8;
}

[data-theme="dark"] .garment-tag {
  background-color: var(--light-bg);
  color: #38BDF8;
  border-color: var(--border-color);
}

[data-theme="dark"] .service-price-pill {
  background-color: rgba(56, 163, 165, 0.2);
  color: #5EEAD4;
}

[data-theme="dark"] .step-number-badge {
  background: var(--secondary-color);
  color: #FFFFFF;
}

[data-theme="dark"] .satisfaction-assurance-box {
  background: linear-gradient(135deg, rgba(18, 148, 213, 0.18) 0%, rgba(14, 116, 144, 0.25) 100%);
  border-color: rgba(var(--btn-rgb), 0.35);
}

[data-theme="dark"] .satisfaction-assurance-box .text-success {
  color: #5BB8EA !important;
}

[data-theme="dark"] .satisfaction-assurance-box h3,
[data-theme="dark"] .satisfaction-assurance-box h4,
[data-theme="dark"] .satisfaction-assurance-box h5 {
  color: #F8FAFC !important;
}

[data-theme="dark"] .cert-pill {
  background-color: var(--card-bg);
  border-color: var(--border-color);
  color: #38BDF8;
}

[data-theme="dark"] .carousel-nav-btn {
  background-color: var(--card-bg);
  border-color: var(--border-color);
  color: var(--text-color);
}

[data-theme="dark"] .carousel-nav-btn:hover {
  background-color: var(--secondary-color);
  color: #FFFFFF;
  border-color: var(--secondary-color);
}

[data-theme="dark"] .floating-stat-card {
  background: rgba(28, 37, 65, 0.95);
  border-color: var(--border-color);
  color: var(--text-color);
}

[data-theme="dark"] .floating-stat-card h6 {
  color: #F8FAFC !important;
}

/* Accordion Dark Theme */
[data-theme="dark"] .accordion-item {
  background-color: var(--card-bg);
  border-color: var(--border-color);
}

[data-theme="dark"] .accordion-button {
  background-color: var(--card-bg) !important;
  color: #F8FAFC !important;
}

[data-theme="dark"] .accordion-button:not(.collapsed) {
  background-color: rgba(56, 163, 165, 0.15) !important;
  color: #5EEAD4 !important;
}

[data-theme="dark"] .accordion-body {
  color: var(--paragraph-color);
}

/* Form Controls & Modals Dark Theme */
[data-theme="dark"] .modal-content {
  background-color: var(--card-bg);
  color: var(--text-color);
}

[data-theme="dark"] .modal-body {
  background-color: var(--card-bg);
  color: var(--text-color);
}

[data-theme="dark"] .form-control,
[data-theme="dark"] .form-select {
  background-color: var(--bg-color);
  color: var(--text-color);
  border-color: var(--border-color);
}

[data-theme="dark"] .form-control:focus,
[data-theme="dark"] .form-select:focus {
  border-color: var(--secondary-color);
  background-color: var(--bg-color);
  color: var(--text-color);
}

[data-theme="dark"] .form-control::placeholder {
  color: #64748B;
}

/* Chat Assistant Widget Dark Theme */
[data-theme="dark"] .chat-window {
  background-color: var(--card-bg);
  border-color: var(--border-color);
}

[data-theme="dark"] .chat-body {
  background-color: var(--bg-color);
}

[data-theme="dark"] .chat-msg-bot {
  background-color: var(--card-bg);
  color: var(--text-color);
  border-color: var(--border-color);
}

[data-theme="dark"] .quick-reply-pill {
  background-color: var(--card-bg);
  color: #38BDF8;
  border-color: #38BDF8;
}

[data-theme="dark"] .chat-footer {
  background-color: var(--card-bg);
  border-color: var(--border-color);
}

[data-theme="dark"] .chat-footer input {
  background-color: var(--bg-color);
  color: var(--text-color);
  border-color: var(--border-color);
}

/* Dark Mode Footer & City Stores Directory Overrides */
[data-theme="dark"] .city-stores-section {
  background: linear-gradient(180deg, #0A263D 0%, #071E30 100%);
  color: #FFFFFF;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .city-stores-section .section-title {
  color: #FFFFFF !important;
}

[data-theme="dark"] .city-stores-section .section-subtitle {
  color: #94A3B8 !important;
}

[data-theme="dark"] .city-stores-links a {
  color: rgba(255, 255, 255, 0.88) !important;
}

[data-theme="dark"] .city-stores-links a:hover {
  color: #38A3A5 !important;
}

[data-theme="dark"] .footer-main {
  background-color: #071E30;
  color: #94A3B8;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .footer-main h4,
[data-theme="dark"] .footer-main h5 {
  color: #FFFFFF;
}

[data-theme="dark"] .footer-main a {
  color: #94A3B8;
}

[data-theme="dark"] .footer-main a:hover {
  color: var(--secondary-color);
}

[data-theme="dark"] .footer-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #94A3B8;
}

[data-theme="dark"] .social-link-btn {
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
}

/* ==========================================================================
   Dark Mode Global Utilities & Text Visibility Overrides
   ========================================================================== */
[data-theme="dark"] .text-dark {
  color: #F8FAFC !important;
}

[data-theme="dark"] .text-muted {
  color: #94A3B8 !important;
}

[data-theme="dark"] .text-secondary {
  color: #CBD5E1 !important;
}

[data-theme="dark"] .text-black {
  color: #FFFFFF !important;
}

[data-theme="dark"] .text-body {
  color: #F1F5F9 !important;
}

[data-theme="dark"] .text-light-50 {
  color: #CBD5E1 !important;
}

[data-theme="dark"] .bg-white {
  background-color: var(--card-bg) !important;
  color: var(--text-color) !important;
  border-color: var(--border-color) !important;
}

[data-theme="dark"] .bg-light {
  background-color: var(--light-bg) !important;
  color: var(--text-color) !important;
}

[data-theme="dark"] .badge.bg-white {
  background-color: rgba(255, 255, 255, 0.1) !important;
  color: #5EEAD4 !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

[data-theme="dark"] .badge.bg-light {
  background-color: rgba(255, 255, 255, 0.1) !important;
  color: #5EEAD4 !important;
}

[data-theme="dark"] .badge.text-dark {
  color: #F8FAFC !important;
}

[data-theme="dark"] .badge.text-primary {
  color: #38BDF8 !important;
}

[data-theme="dark"] .card {
  background-color: var(--card-bg);
  border-color: var(--border-color);
  color: var(--text-color);
}

[data-theme="dark"] .list-group-item {
  background-color: var(--card-bg);
  color: var(--text-color);
  border-color: var(--border-color);
}

/* Dark Mode Customer Testimonial & Review Overrides */
[data-theme="dark"] .testimonial-text {
  color: #F1F5F9 !important;
}

[data-theme="dark"] .reviews-carousel-card {
  background-color: var(--card-bg) !important;
  border-color: var(--border-color) !important;
  color: var(--text-color) !important;
}

[data-theme="dark"] .reviews-carousel-card h6 {
  color: #F8FAFC !important;
}

[data-theme="dark"] .reviews-carousel-card small {
  color: #94A3B8 !important;
}

/* Dark Mode Zypp-Style "Why Choose Us" Section & Orbit Overrides */
[data-theme="dark"] .zypp-full-section {
  background: linear-gradient(135deg, #0b1d2a 0%, #071622 50%, #0a2238 100%);
  border-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .zypp-glow-orb-1 {
  background: rgba(56, 163, 165, 0.35);
}

[data-theme="dark"] .zypp-glow-orb-2 {
  background: rgba(var(--btn-rgb), 0.35);
}

[data-theme="dark"] .zypp-section-title {
  color: #FFFFFF !important;
}

[data-theme="dark"] .zypp-section-desc {
  color: #94A3B8 !important;
}

[data-theme="dark"] .zypp-ring-outer,
[data-theme="dark"] .zypp-ring-mid,
[data-theme="dark"] .zypp-ring-inner {
  border-color: rgba(255, 255, 255, 0.15);
}

[data-theme="dark"] .zypp-orbit-center {
  background: rgba(15, 23, 42, 0.85);
  border-color: rgba(56, 189, 248, 0.3);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .zypp-gauge-bg {
  stroke: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .zypp-gauge-progress {
  stroke: #38BDF8;
}

[data-theme="dark"] .zypp-stat-number {
  color: #38BDF8;
  text-shadow: 0 0 12px rgba(56, 189, 248, 0.4);
}

[data-theme="dark"] .zypp-stat-label {
  color: #94A3B8;
}

[data-theme="dark"] .zypp-float-card {
  background: rgba(15, 23, 42, 0.88);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

[data-theme="dark"] .zypp-float-card:hover {
  border-color: #38BDF8;
}

[data-theme="dark"] .zypp-float-text strong {
  color: #FFFFFF;
}

[data-theme="dark"] .zypp-float-text small {
  color: #94A3B8;
}

[data-theme="dark"] .zypp-grid-card {
  background-color: var(--card-bg);
  border-color: var(--border-color);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

[data-theme="dark"] .zypp-grid-card:hover {
  border-color: var(--btn-color);
  box-shadow: 0 20px 45px -10px rgba(var(--btn-rgb), 0.3);
}

[data-theme="dark"] .zypp-grid-icon {
  background: linear-gradient(135deg, rgba(56, 163, 165, 0.2) 0%, rgba(var(--btn-rgb), 0.15) 100%);
  border-color: rgba(56, 163, 165, 0.35);
  color: #38BDF8;
}

[data-theme="dark"] .zypp-grid-card:hover .zypp-grid-icon {
  background: linear-gradient(135deg, var(--btn-color) 0%, var(--btn-hover) 100%);
  color: #FFFFFF;
}

[data-theme="dark"] .zypp-grid-title {
  color: #F8FAFC !important;
}

[data-theme="dark"] .zypp-grid-desc {
  color: #94A3B8 !important;
}

/* Dark Mode Zypp "How To Join / Download App" Overrides */
[data-theme="dark"] .zypp-join-section {
  --zypp-bg: #0B1220;
  --zypp-green-soft: #1C5A7D;
  --zypp-muted-title: #4B5563;
  --zypp-muted-desc: #475569;
  border-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .zypp-v-connecting-line {
  background: rgba(var(--btn-rgb), 0.18);
}

[data-theme="dark"] .zypp-v-step-item.active .zypp-v-step-badge {
  box-shadow: 0 0 0 4px var(--zypp-bg), 0 6px 18px rgba(var(--btn-rgb), 0.5);
}

[data-theme="dark"] .zypp-v-step-item.active .zypp-v-step-title {
  color: #F8FAFC;
}

[data-theme="dark"] .zypp-v-step-item.active .zypp-v-step-desc {
  color: #94A3B8;
}

@media (hover: hover) {
  [data-theme="dark"] .zypp-v-step-item:hover .zypp-v-step-title {
    color: #F8FAFC;
  }

  [data-theme="dark"] .zypp-v-step-item:hover .zypp-v-step-desc {
    color: #94A3B8;
  }
}

[data-theme="dark"] .zypp-v-step-arrow {
  color: #E2E8F0;
}

[data-theme="dark"] .zypp-phone-glow {
  background: rgba(var(--btn-rgb), 0.14);
}

[data-theme="dark"] .zypp-app-badge {
  background: #1E293B;
  border-color: rgba(255, 255, 255, 0.12);
  color: #F8FAFC;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

[data-theme="dark"] .navbar-brand-badge,
[data-theme="dark"] .brand-logo-img,
[data-theme="dark"] .navbar-brand img,
[data-theme="dark"] .footer-logo-img {
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  border: none !important;
  filter: none !important;
}

/* The logo's navy "Dr. Spin" lettering disappears on the dark header/footer, so dark mode swaps in
   a copy with white lettering. Scoped to the stock file so a logo uploaded in the admin is left alone. */
[data-theme="dark"] .brand-logo-img[src$="document/logo.png"],
[data-theme="dark"] .footer-logo-img[src$="document/logo.png"] {
  content: url("../document/logo-dark.png");
}

/* ==========================================================================
   Franchise Page (franchise.html)
   Hero with lead form, sticky section menu, benefit cards, metrics panel,
   investment summary with cost split and expandable line items.
   ========================================================================== */
.fr-section {
  padding: 88px 0;
  /* Anchor targets clear the fixed header and the sticky section menu */
  scroll-margin-top: 120px;
}

/* ---------- Hero ---------- */
.fr-hero {
  position: relative;
  padding: 160px 0 96px;
  overflow: hidden;
  color: #FFFFFF;
  background:
    radial-gradient(900px 520px at 88% 8%, rgba(var(--btn-rgb), 0.32), transparent 62%),
    radial-gradient(700px 480px at 0% 100%, rgba(74, 164, 216, 0.24), transparent 60%),
    linear-gradient(135deg, #062238 0%, #0B3C5D 48%, #0F4C75 100%);
}

/* Subtle grid texture */
.fr-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 85%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 85%);
  pointer-events: none;
}

.fr-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  margin-bottom: 20px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: #DBEEFB;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.fr-hero-title {
  font-size: clamp(2.1rem, 4.4vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: #FFFFFF;
  margin-bottom: 22px;
}

.fr-hero-title span {
  color: #5BC0F0;
}

.fr-hero-lead {
  font-size: 1.12rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 14px;
  max-width: 640px;
}

.fr-hero-text {
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 30px;
  max-width: 640px;
}

.fr-btn-ghost {
  padding: 14px 30px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
  font-weight: 700;
  transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.fr-btn-ghost:hover,
.fr-btn-ghost:focus-visible {
  background: rgba(255, 255, 255, 0.18);
  border-color: #FFFFFF;
  color: #FFFFFF;
  transform: translateY(-2px);
}

.fr-hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 640px;
  margin: 12px 0 0;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.fr-hero-stat {
  display: flex;
  flex-direction: column-reverse;
  padding: 0 18px;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.fr-hero-stat:first-child {
  padding-left: 0;
  border-left: 0;
}

.fr-hero-stat dd {
  margin: 0;
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  line-height: 1.1;
  color: #FFFFFF;
}

.fr-hero-stat dt {
  margin-top: 6px;
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.7);
}

/* ---------- Application form card ---------- */
.fr-form-card {
  position: relative;
  background: var(--card-bg);
  color: var(--text-color);
  border: 1px solid var(--border-color);
  border-top: 4px solid var(--btn-color);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.45);
  padding: 28px 28px 26px;
  scroll-margin-top: 110px;
}

.fr-form-title {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.fr-form-intro {
  font-size: 0.95rem;
  color: var(--paragraph-color);
  margin-bottom: 18px;
}

.fr-form-card .form-label {
  font-size: 0.86rem;
  margin-bottom: 5px;
  color: var(--text-color);
}

.fr-form-card .form-control,
.fr-form-card .form-select {
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  border-color: var(--form-border);
}

/* Slightly smaller select text so the longest placeholder clears the dropdown arrow */
.fr-form-card .form-select {
  font-size: 0.9rem;
  padding-right: 2.1rem;
  text-overflow: ellipsis;
}

.fr-form-card .form-control:focus,
.fr-form-card .form-select:focus {
  border-color: var(--btn-color);
  box-shadow: 0 0 0 0.2rem rgba(var(--btn-rgb), 0.18);
}

.fr-form-card .was-validated .form-control:invalid,
.fr-form-card .was-validated .form-select:invalid {
  border-color: #DC3545;
}

.fr-form-note {
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--paragraph-color);
  margin: 14px 0 0;
}

/* ---------- Sticky section menu ---------- */
.fr-subnav {
  position: sticky;
  /* --fr-subnav-top = current fixed header height, kept in sync by script.js */
  top: var(--fr-subnav-top, 72px);
  z-index: 1020;
  background: var(--navbar-scrolled-bg);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 8px 20px -14px rgba(11, 60, 93, 0.35);
}

.fr-subnav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 60px;
}

.fr-subnav-links {
  display: flex;
  flex: 1 1 auto;
  gap: 4px;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.fr-subnav-links::-webkit-scrollbar {
  display: none;
}

.fr-subnav-link {
  flex: 0 0 auto;
  position: relative;
  padding: 19px 14px;
  font-size: 0.92rem;
  font-weight: 600;
  white-space: nowrap;
  color: var(--paragraph-color);
  text-decoration: none;
  transition: color 0.2s ease;
}

.fr-subnav-link::after {
  content: '';
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 0;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: var(--btn-color);
  transform: scaleX(0);
  transition: transform 0.25s ease;
}

.fr-subnav-link:hover,
.fr-subnav-link.is-active {
  color: var(--heading-color);
}

.fr-subnav-link.is-active::after {
  transform: scaleX(1);
}

/* The site makes primary buttons full width on phones; this one must stay compact */
.fr-subnav .fr-subnav-cta {
  flex: 0 0 auto;
  width: auto !important;
  padding: 9px 22px;
  font-size: 0.9rem;
}

/* ---------- Why Choose cards ---------- */
.fr-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.fr-feature-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 26px 24px 22px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

/* Accent bar that grows in on hover */
.fr-feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--btn-color), var(--btn-hover));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.fr-feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(var(--btn-rgb), 0.45);
}

.fr-feature-card:hover::before {
  transform: scaleX(1);
}

.fr-feature-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 18px;
}

.fr-feature-icon {
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: #FFFFFF;
  background: linear-gradient(135deg, var(--btn-color) 0%, var(--btn-hover) 100%);
  box-shadow: 0 10px 18px -8px rgba(var(--btn-rgb), 0.6);
}

.fr-feature-index {
  font-family: 'Outfit', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1;
  color: var(--border-color);
}

.fr-feature-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.fr-feature-text {
  font-size: 0.93rem;
  line-height: 1.65;
  color: var(--paragraph-color);
  margin-bottom: 18px;
}

.fr-feature-stat {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: auto 0 0;
  padding-top: 14px;
  border-top: 1px dashed var(--border-color);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--btn-color);
}

/* ---------- Partnership overview ---------- */
.fr-body-text {
  line-height: 1.75;
  color: var(--paragraph-color);
}

.fr-sub-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 18px;
}

.fr-benefit-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.fr-benefit {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 18px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background: var(--card-bg);
  font-size: 0.96rem;
  line-height: 1.6;
  color: var(--paragraph-color);
}

.fr-benefit strong {
  color: var(--text-color);
}

.fr-benefit-icon {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--btn-color);
  background: rgba(var(--btn-rgb), 0.12);
}

.fr-metrics-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(24px, 4vw, 40px);
  border-radius: var(--radius-lg);
  color: #FFFFFF;
  background:
    radial-gradient(520px 320px at 100% 0%, rgba(var(--btn-rgb), 0.34), transparent 62%),
    linear-gradient(135deg, #062238 0%, #0B3C5D 55%, #0F4C75 100%);
  box-shadow: var(--shadow-lg);
}

.fr-metrics-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.fr-metric {
  padding: 26px 18px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.07);
  text-align: center;
}

.fr-metric-num {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.4rem, 2.8vw, 2.1rem);
  font-weight: 800;
  line-height: 1.15;
  color: #5BC0F0;
}

.fr-metric-label {
  display: block;
  margin-top: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.82);
}

.fr-metrics-note {
  margin: 18px 0 0;
  font-size: 0.82rem;
  font-style: italic;
  color: rgba(255, 255, 255, 0.68);
}

.fr-footnote {
  font-size: 0.84rem;
  font-style: italic;
  color: var(--paragraph-color);
}

/* ---------- Investment ---------- */
.fr-invest-summary {
  position: sticky;
  top: 150px;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  background: var(--card-bg);
  box-shadow: var(--shadow-md);
}

.fr-total-title {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--paragraph-color);
  margin-bottom: 8px;
}

.fr-total-amount {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2.2rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1.05;
  color: var(--heading-color);
  margin-bottom: 6px;
}

.fr-total-note {
  font-size: 0.9rem;
  color: var(--paragraph-color);
  margin-bottom: 22px;
}

/* Cost split bar: segment widths are proportional to each line item */
.fr-split-bar {
  display: flex;
  gap: 3px;
  height: 14px;
  margin-bottom: 20px;
  border-radius: 8px;
  overflow: hidden;
}

.fr-split-seg {
  flex-basis: 0;
  min-width: 6px;
}

.fr-c1 { background-color: #0B3C5D; }
.fr-c2 { background-color: #38A3A5; }
.fr-c3 { background-color: #E8657E; } /* rose, so it stays distinct from the blue c6 segment */
.fr-c4 { background-color: #8B5CF6; }
.fr-c5 { background-color: #F59E0B; }
.fr-c6 { background-color: #1294D5; }

.fr-dot {
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.fr-split-legend {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}

.fr-split-legend li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  font-size: 0.92rem;
  color: var(--paragraph-color);
}

.fr-split-legend li + li {
  border-top: 1px dashed var(--border-color);
}

.fr-split-legend strong {
  margin-left: auto;
  white-space: nowrap;
  color: var(--text-color);
}

.fr-capex-heading {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 18px;
}

.fr-capex-accordion .accordion-item {
  margin-bottom: 12px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md) !important;
  background: var(--card-bg);
  overflow: hidden;
}

.fr-capex-accordion .accordion-button {
  gap: 12px;
  padding: 18px 20px;
  font-weight: 700;
  color: var(--heading-color);
  background: var(--card-bg);
  box-shadow: none;
}

.fr-capex-accordion .accordion-button:not(.collapsed) {
  background: rgba(var(--btn-rgb), 0.08);
  color: var(--heading-color);
}

.fr-capex-accordion .accordion-button:focus-visible {
  outline: 3px solid rgba(var(--btn-rgb), 0.45);
  outline-offset: -3px;
}

.fr-capex-accordion .accordion-button::after {
  margin-left: 4px;
}

.fr-capex-name {
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  line-height: 1.3;
}

.fr-capex-amount {
  margin-left: auto;
  padding-left: 12px;
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  white-space: nowrap;
  color: var(--btn-color);
}

.fr-capex-accordion .accordion-body {
  padding: 4px 20px 20px 42px;
  font-size: 0.96rem;
  line-height: 1.65;
  color: var(--paragraph-color);
  background: var(--card-bg);
}

.fr-capex-accordion .accordion-body p {
  margin-bottom: 10px;
}

.fr-capex-label {
  font-weight: 700;
  color: var(--text-color);
}

.fr-capex-list {
  padding-left: 1.15rem;
  margin: 0 0 12px;
}

.fr-capex-list li {
  margin-bottom: 6px;
}

.fr-capex-accordion .accordion-body .fr-capex-cost {
  margin: 14px 0 0;
  padding-top: 12px;
  border-top: 1px dashed var(--border-color);
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--btn-color);
}

/* ---------- Responsive ---------- */
@media (max-width: 1199px) {
  .fr-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 991px) {
  .fr-hero {
    padding: 130px 0 64px;
  }

  .fr-section {
    padding: 64px 0;
  }

  .fr-invest-summary {
    position: static;
  }
}

@media (max-width: 575px) {
  .fr-feature-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .fr-hero-stat {
    padding: 0 10px;
  }

  .fr-hero-stat dt {
    font-size: 0.74rem;
  }

  .fr-form-card {
    padding: 24px 18px;
  }

  .fr-metrics-grid {
    gap: 10px;
  }

  .fr-metric {
    padding: 18px 8px;
  }

  .fr-subnav-link {
    padding: 17px 10px;
    font-size: 0.86rem;
  }

  /* The link row scrolls sideways on phones; fade the edge so it reads as swipeable */
  .fr-subnav-links {
    -webkit-mask-image: linear-gradient(90deg, #000 82%, transparent);
    mask-image: linear-gradient(90deg, #000 82%, transparent);
    padding-right: 24px;
  }

  .fr-subnav-link::after {
    left: 10px;
    right: 10px;
  }

  .fr-subnav .fr-subnav-cta {
    padding: 8px 16px;
  }

  .fr-capex-accordion .accordion-button {
    padding: 16px 14px;
  }

  .fr-capex-accordion .accordion-body {
    padding: 4px 14px 18px 14px;
  }

  .fr-capex-name,
  .fr-capex-amount {
    font-size: 0.96rem;
  }
}

/* ---------- Dark mode ---------- */
[data-theme="dark"] .fr-feature-stat,
[data-theme="dark"] .fr-capex-amount,
[data-theme="dark"] .fr-capex-accordion .accordion-body .fr-capex-cost,
[data-theme="dark"] .fr-benefit-icon {
  color: #5BB8EA;
}

[data-theme="dark"] .fr-total-amount {
  color: #F8FAFC;
}

[data-theme="dark"] .fr-c1 {
  background-color: #60A5FA;
}

[data-theme="dark"] .fr-capex-accordion .accordion-button {
  color: #F1F5F9;
}

[data-theme="dark"] .fr-capex-accordion .accordion-button::after {
  filter: invert(1) brightness(1.6);
}

[data-theme="dark"] .fr-subnav {
  box-shadow: 0 8px 20px -14px rgba(0, 0, 0, 0.7);
}

@media (prefers-reduced-motion: reduce) {

  .fr-feature-card,
  .fr-feature-card::before,
  .fr-subnav-link::after,
  .fr-btn-ghost {
    transition: none;
  }
}

/* ==========================================================================
   Legal Pages (privacy-policy.html, terms-conditions.html, refund-policy.html)
   ========================================================================== */
.legal-breadcrumb {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--paragraph-color);
  margin-bottom: 14px;
}

.legal-breadcrumb a {
  color: var(--secondary-color);
  text-decoration: none;
}

.legal-breadcrumb a:hover {
  text-decoration: underline;
}

.legal-content {
  max-width: 860px;
  margin: 0 auto;
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--paragraph-color);
}

.legal-content h2 {
  font-size: 1.45rem;
  font-weight: 700;
  margin: 2.25rem 0 0.75rem;
}

.legal-content h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 1.5rem 0 0.6rem;
}

.legal-content p {
  margin-bottom: 1rem;
}

.legal-content ul {
  padding-left: 1.3rem;
  margin-bottom: 1.1rem;
}

.legal-content li {
  margin-bottom: 0.5rem;
}

.legal-content a {
  color: var(--secondary-color);
  font-weight: 600;
}

.legal-contact {
  margin-top: 2rem;
  padding: 18px 22px;
  border-left: 4px solid var(--accent-color);
  border-radius: var(--radius-sm);
  background: var(--light-bg);
  color: var(--text-color);
}

/* ==========================================================================
   Blog (blog.html + individual post pages)
   Listing: featured latest post, category filter chips, card grid, CTA band.
   Post: readable article column with a sticky sidebar.
   ========================================================================== */
.blog-hero-sub {
  max-width: 640px;
  margin: 14px auto 0;
  font-size: 1.08rem;
}

/* Category filter chips */
.blog-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
}

.blog-chip {
  appearance: none;
  border: 1px solid var(--border-color);
  background: var(--card-bg);
  color: var(--text-color);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.blog-chip:hover {
  border-color: var(--btn-color);
  color: var(--btn-hover);
}

.blog-chip:focus-visible {
  outline: 3px solid rgba(var(--btn-rgb), 0.45);
  outline-offset: 2px;
}

.blog-chip.is-active {
  background: linear-gradient(135deg, var(--btn-color) 0%, var(--btn-hover) 100%);
  border-color: transparent;
  color: #FFFFFF;
  box-shadow: 0 8px 18px -6px rgba(var(--btn-rgb), 0.55);
}

/* Post grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.blog-item[hidden] {
  display: none;
}

.blog-card {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.blog-card:hover,
.blog-card:focus-within {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(46, 204, 113, 0.5);
}

/* Post artwork is square with the headline baked in, so it is shown uncropped */
.blog-card-media {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--light-bg);
}

.blog-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.blog-card:hover .blog-card-media img {
  transform: scale(1.04);
}

.blog-card-body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 24px 24px 26px;
}

.blog-flag {
  display: none;
}

.blog-category {
  display: inline-block;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  color: #1699D9;
  background: rgba(22, 153, 217, 0.12);
}

.blog-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  margin-top: 14px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--paragraph-color);
}

.blog-meta-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.6;
}

.blog-card-title {
  font-size: 1.22rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 10px 0 10px;
}

.blog-card-title a {
  color: var(--heading-color);
  text-decoration: none;
}

/* Whole card is clickable through the title link */
.blog-card-title a::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
}

.blog-card-excerpt {
  font-size: 0.94rem;
  color: var(--paragraph-color);
  margin-bottom: 18px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-read-more {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--accent-hover);
}

.blog-read-more i {
  display: inline-block;
  transition: transform 0.25s ease;
}

.blog-card:hover .blog-read-more i {
  transform: translateX(4px);
}

/* Featured post: full-width horizontal card. The first visible post gets .is-featured
   (set in the markup for the default view and moved by script.js when a filter is applied) */
@media (min-width: 768px) {
  .blog-item.is-featured {
    grid-column: 1 / -1;
  }

  .blog-item.is-featured .blog-card {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    align-items: stretch;
  }

  /* Image stays square so the baked-in headline is never cropped */
  .blog-item.is-featured .blog-card-media {
    aspect-ratio: 1 / 1;
    align-self: start;
  }

  .blog-item.is-featured .blog-card-body {
    justify-content: center;
    padding: clamp(28px, 4vw, 56px);
  }

  .blog-item.is-featured .blog-flag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 14px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--secondary-color);
  }

  .blog-item.is-featured .blog-card-title {
    font-size: clamp(1.5rem, 2.6vw, 2.1rem);
    line-height: 1.2;
    margin: 12px 0 14px;
  }

  .blog-item.is-featured .blog-card-excerpt {
    font-size: 1.02rem;
    -webkit-line-clamp: 5;
    line-clamp: 5;
    margin-bottom: 24px;
  }

  .blog-item.is-featured .blog-read-more {
    margin-top: 0;
    padding: 12px 26px;
    border-radius: var(--radius-pill);
    color: #FFFFFF;
    background: linear-gradient(135deg, var(--btn-color) 0%, var(--btn-hover) 100%);
    box-shadow: 0 10px 20px -6px rgba(var(--btn-rgb), 0.5);
  }
}

/* CTA band */
.blog-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 32px;
  margin-top: 56px;
  padding: clamp(26px, 4vw, 40px) clamp(24px, 4vw, 48px);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #0B3C5D 0%, #145374 55%, #1294D5 100%);
  color: #FFFFFF;
  box-shadow: var(--shadow-lg);
}

.blog-cta-title {
  font-size: clamp(1.3rem, 2.4vw, 1.75rem);
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 6px;
}

.blog-cta-text {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
}

/* ---------- Single post ---------- */
.blog-post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 12px;
  margin-bottom: 16px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--paragraph-color);
}

.blog-post-title {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  line-height: 1.2;
}

.blog-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 48px;
  align-items: start;
}

.blog-post-figure {
  margin: 0 0 2rem;
  padding: clamp(14px, 3vw, 28px);
  border-radius: var(--radius-lg);
  background: var(--light-bg);
  border: 1px solid var(--border-color);
}

.blog-post-image {
  width: 100%;
  max-width: 520px;
  height: auto;
  aspect-ratio: 1 / 1;
  display: block;
  margin: 0 auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.blog-post-content {
  font-size: 1.1rem;
  line-height: 1.85;
  color: var(--paragraph-color);
}

.blog-post-content p {
  margin-bottom: 1.3rem;
}

/* Lead paragraph reads slightly larger to pull the reader in */
.blog-post-content p:first-child {
  font-size: 1.2rem;
  line-height: 1.75;
  color: var(--text-color);
}

.blog-post-content strong {
  color: var(--text-color);
}

.blog-share {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 2rem;
  padding: 18px 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.blog-share-label {
  margin-right: 6px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-color);
}

.blog-share-btn {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  background: var(--card-bg);
  color: var(--heading-color);
  font-size: 1.05rem;
  text-decoration: none;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.blog-share-btn:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: #FFFFFF;
  transform: translateY(-2px);
}

/* Previous / next */
.blog-pager {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 2rem;
}

.blog-pager-link {
  display: block;
  padding: 18px 20px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background: var(--card-bg);
  text-decoration: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.blog-pager-link:hover {
  border-color: rgba(46, 204, 113, 0.6);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.blog-pager-next {
  text-align: right;
}

.blog-pager-label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-hover);
}

.blog-pager-title {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--heading-color);
}

/* Sidebar */
.blog-sidebar {
  position: sticky;
  top: 110px;
  display: grid;
  gap: 24px;
}

.blog-widget {
  padding: 24px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background: var(--card-bg);
  box-shadow: var(--shadow-sm);
}

.blog-widget-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid rgba(46, 204, 113, 0.35);
}

.blog-mini-list,
.blog-cat-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.blog-mini-list {
  display: grid;
  gap: 16px;
}

.blog-mini {
  display: flex;
  gap: 14px;
  align-items: center;
  text-decoration: none;
}

.blog-mini img {
  flex: 0 0 auto;
  width: 68px;
  height: 68px;
  border-radius: 12px;
  object-fit: cover;
}

.blog-mini-title {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--heading-color);
  transition: color 0.2s ease;
}

.blog-mini:hover .blog-mini-title {
  color: var(--accent-hover);
}

.blog-mini-date {
  display: block;
  margin-top: 4px;
  font-size: 0.8rem;
  color: var(--paragraph-color);
}

.blog-cat-list li + li {
  border-top: 1px dashed var(--border-color);
}

.blog-cat-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  font-weight: 600;
  color: var(--text-color);
  text-decoration: none;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.blog-cat-list a:hover {
  color: var(--accent-hover);
  padding-left: 4px;
}

.blog-widget-cta {
  background: linear-gradient(135deg, #0B3C5D 0%, #145374 55%, #1294D5 100%);
  border-color: transparent;
  color: #FFFFFF;
}

.blog-widget-cta .blog-widget-title {
  color: #FFFFFF;
  border-bottom-color: rgba(255, 255, 255, 0.25);
}

.blog-widget-cta p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 18px;
}

@media (max-width: 991px) {
  .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
  }

  .blog-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }

  .blog-sidebar {
    position: static;
  }
}

@media (max-width: 575px) {
  .blog-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .blog-filters {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    margin-left: -12px;
    margin-right: -12px;
    padding: 4px 12px 10px;
    margin-bottom: 26px;
    scrollbar-width: none;
  }

  .blog-filters::-webkit-scrollbar {
    display: none;
  }

  .blog-chip {
    flex: 0 0 auto;
  }

  .blog-pager {
    grid-template-columns: minmax(0, 1fr);
  }

  .blog-pager-next {
    text-align: left;
  }

  .blog-post-content {
    font-size: 1.03rem;
  }

  .blog-post-content p:first-child {
    font-size: 1.1rem;
  }
}

[data-theme="dark"] .blog-category,
[data-theme="dark"] .blog-read-more,
[data-theme="dark"] .blog-pager-label {
  color: #4ADE80;
}

[data-theme="dark"] .blog-item.is-featured .blog-read-more {
  color: #FFFFFF;
}

[data-theme="dark"] .blog-chip.is-active {
  color: #FFFFFF;
}

@media (prefers-reduced-motion: reduce) {

  .blog-card,
  .blog-card-media img,
  .blog-read-more i,
  .blog-share-btn,
  .blog-pager-link {
    transition: none;
  }
}

/* ==========================================================================
   Pricing page (pricing.html): city picker, price tables, PDF and print
   ========================================================================== */
.pr-banner {
  padding-bottom: 40px;
}

.pr-picker {
  max-width: 640px;
  margin-top: 28px;
  padding: 22px 24px 18px;
  border-radius: var(--radius-lg);
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-lg);
  text-align: left;
}

.pr-picker-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #1699D9;
  margin-bottom: 10px;
}

.pr-picker-row {
  display: flex;
  gap: 12px;
  align-items: center;
}

.pr-select {
  flex: 1 1 auto;
  border-radius: var(--radius-sm);
  border-color: var(--form-border);
  font-weight: 600;
}

.pr-select:focus {
  border-color: var(--btn-color);
  box-shadow: 0 0 0 0.2rem rgba(var(--btn-rgb), 0.18);
}

.pr-tier {
  flex: 0 0 auto;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
  color: var(--btn-color);
  background: rgba(var(--btn-rgb), 0.12);
}

.pr-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.pr-chip {
  appearance: none;
  border: 1px solid var(--border-color);
  background: transparent;
  color: var(--paragraph-color);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.pr-chip:hover {
  border-color: var(--btn-color);
  color: var(--btn-hover);
}

.pr-chip.is-active {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: #FFFFFF;
}

/* Sticky toolbar under the fixed header */
.pr-toolbar {
  position: sticky;
  top: 72px;
  z-index: 1020;
  background: var(--navbar-scrolled-bg);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.pr-toolbar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 20px;
  min-height: 60px;
  padding: 8px 0;
}

.pr-toolbar-text {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
  color: var(--text-color);
}

.pr-toolbar-meta {
  font-size: 0.84rem;
  color: var(--paragraph-color);
}

.pr-toolbar-actions {
  display: flex;
  gap: 8px;
}

.pr-btn {
  padding: 8px 18px;
  font-size: 0.88rem;
  white-space: nowrap;
}

/* Headline prices */
.pr-highlights {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 40px;
}

.pr-highlight {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 20px 20px 18px;
  border-radius: var(--radius-md);
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: var(--text-color);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.pr-highlight:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(var(--btn-rgb), 0.5);
  color: var(--text-color);
}

.pr-highlight-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  color: var(--btn-color);
  background: rgba(var(--btn-rgb), 0.12);
  margin-bottom: 10px;
}

.pr-highlight-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--paragraph-color);
}

.pr-highlight-price {
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.1;
  color: var(--heading-color);
}

.pr-highlight-unit {
  font-size: 0.8rem;
  color: var(--paragraph-color);
}

/* Category navigation */
.pr-catnav {
  position: sticky;
  top: 150px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.pr-catnav-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--paragraph-color);
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.pr-catnav-link i {
  color: var(--btn-color);
}

.pr-catnav-link:hover {
  background: rgba(var(--btn-rgb), 0.1);
  color: var(--heading-color);
}

/* Category tables */
.pr-category {
  margin-bottom: 36px;
  scroll-margin-top: 150px;
}

.pr-category-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 14px;
}

.pr-category-icon {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #FFFFFF;
  background: linear-gradient(135deg, var(--btn-color) 0%, var(--btn-hover) 100%);
}

.pr-category-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.pr-category-desc {
  font-size: 0.9rem;
  color: var(--paragraph-color);
  margin: 0;
}

.pr-turnaround {
  margin-left: auto;
  flex: 0 0 auto;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
  color: #1699D9;
  background: rgba(22, 153, 217, 0.12);
}

.pr-table-wrap {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--card-bg);
  box-shadow: var(--shadow-sm);
}

.pr-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0;
}

.pr-table th {
  padding: 11px 18px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--paragraph-color);
  background: var(--light-bg);
  border-bottom: 1px solid var(--border-color);
}

.pr-table td {
  padding: 12px 18px;
  border-bottom: 1px solid var(--border-color);
  vertical-align: middle;
  color: var(--text-color);
}

.pr-table tbody tr:last-child td {
  border-bottom: 0;
}

.pr-table tbody tr:hover td {
  background: rgba(var(--btn-rgb), 0.05);
}

.pr-unit {
  font-size: 0.86rem;
  color: var(--paragraph-color);
  white-space: nowrap;
}

.pr-item-unit {
  display: none;
}

.pr-price {
  text-align: right;
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  white-space: nowrap;
  color: var(--heading-color);
}

/* Notes */
.pr-notes {
  padding: 22px 24px;
  border-radius: var(--radius-md);
  background: var(--light-bg);
  border: 1px solid var(--border-color);
}

.pr-notes-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.pr-notes-title i {
  color: var(--secondary-color);
}

.pr-notes-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.pr-notes-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.92rem;
  color: var(--paragraph-color);
}

.pr-notes-list i {
  flex: 0 0 auto;
  margin-top: 3px;
  color: var(--btn-color);
}

.pr-cta {
  margin-top: 48px;
}

.pr-print-head {
  display: none;
}

@media (max-width: 991px) {
  .pr-highlights {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pr-side {
    display: none;
  }

  .pr-toolbar {
    top: 64px;
  }
}

@media (max-width: 575px) {
  .pr-picker {
    padding: 18px 16px 14px;
  }

  .pr-picker-row {
    flex-wrap: wrap;
  }

  .pr-highlights {
    gap: 10px;
  }

  .pr-highlight {
    padding: 14px;
  }

  .pr-highlight-price {
    font-size: 1.25rem;
  }

  .pr-toolbar-actions {
    width: 100%;
    flex-wrap: wrap;
  }

  .pr-toolbar .pr-btn {
    flex: 1 1 calc(50% - 4px);
    width: auto !important;
    padding: 8px 10px;
    font-size: 0.82rem;
    white-space: normal;
  }

  .pr-category-head {
    flex-wrap: wrap;
  }

  .pr-turnaround {
    margin-left: 58px;
  }

  .pr-table th,
  .pr-table td {
    padding: 10px 12px;
  }

  .pr-table th:nth-child(2),
  .pr-table td.pr-unit {
    display: none;
  }

  .pr-table .pr-item-unit {
    display: block;
    font-size: 0.78rem;
    color: var(--paragraph-color);
    margin-top: 2px;
  }
}

[data-theme="dark"] .pr-chip.is-active {
  background: var(--btn-color);
  border-color: var(--btn-color);
}

[data-theme="dark"] .pr-tier,
[data-theme="dark"] .pr-highlight-icon,
[data-theme="dark"] .pr-catnav-link i,
[data-theme="dark"] .pr-notes-list i {
  color: #5BB8EA;
}

/* Print: only the price list, in black on white */
@media print {
  body {
    background: #fff !important;
    color: #000 !important;
  }

  .top-notice-bar, .header-navbar, .pr-banner, .pr-toolbar, .pr-highlights, .pr-side, .pr-cta,
  .footer-main, .city-stores-section, .right-sticky-actions, .support-chat-widget, .modal {
    display: none !important;
  }

  .pr-main {
    padding: 0 !important;
  }

  .pr-print-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 2px solid #0B3C5D;
  }

  .pr-print-logo {
    height: 44px;
  }

  .pr-category {
    break-inside: avoid;
    margin-bottom: 18px;
  }

  .pr-category-icon, .pr-turnaround {
    display: none;
  }

  .pr-table-wrap {
    box-shadow: none;
    border-color: #999;
  }

  .pr-table th {
    background: #f1f1f1 !important;
    color: #000 !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  .pr-table td, .pr-price, .pr-unit, .pr-category-title, .pr-category-desc, .pr-notes-list li {
    color: #000 !important;
  }

  .pr-notes {
    background: #fff;
    border-color: #999;
  }

  .col-lg-9 {
    width: 100% !important;
    flex: 0 0 100% !important;
  }
}

/* ==========================================================================
   About page: Mission & Vision, Core Values, Expert Departments, Our Team
   ========================================================================== */
.ab-purpose-card {
  position: relative;
  height: 100%;
  padding: clamp(26px, 3.5vw, 40px);
  border-radius: var(--radius-lg);
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.ab-purpose-card::after {
  content: '';
  position: absolute;
  right: -60px;
  top: -60px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(var(--btn-rgb), 0.1);
}

/* Vision card: a light blue tint, same family as the Mission card */
.ab-purpose-card-dark {
  color: var(--text-color);
  border-color: rgba(var(--btn-rgb), 0.25);
  background: linear-gradient(135deg, #EAF4FC 0%, #F5FAFE 100%);
}

.ab-purpose-card-dark::after {
  background: rgba(var(--btn-rgb), 0.12);
}

.ab-purpose-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #FFFFFF;
  background: linear-gradient(135deg, var(--btn-color) 0%, var(--btn-hover) 100%);
  margin-bottom: 18px;
}

.ab-purpose-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--btn-color);
  margin-bottom: 8px;
}

.ab-purpose-card-dark .ab-purpose-label {
  color: var(--btn-color);
}

.ab-purpose-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.ab-purpose-card-dark .ab-purpose-title {
  color: var(--heading-color);
}

.ab-purpose-text {
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--paragraph-color);
  margin: 0;
}

.ab-purpose-card-dark .ab-purpose-text {
  color: var(--paragraph-color);
}

/* Core values */
.ab-value-card {
  height: 100%;
  padding: 26px 24px;
  border-radius: var(--radius-md);
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.ab-value-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(var(--btn-rgb), 0.5);
}

.ab-value-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: var(--btn-color);
  background: rgba(var(--btn-rgb), 0.12);
  margin-bottom: 16px;
}

.ab-value-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.ab-value-text {
  font-size: 0.94rem;
  line-height: 1.65;
  color: var(--paragraph-color);
  margin: 0;
}

/* Departments */
.ab-dept-card {
  height: 100%;
  padding: 26px 24px;
  border-radius: var(--radius-md);
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-top: 3px solid var(--btn-color);
  box-shadow: var(--shadow-sm);
}

.ab-dept-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.ab-dept-icon {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #FFFFFF;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.ab-dept-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0;
}

.ab-dept-text {
  font-size: 0.93rem;
  color: var(--paragraph-color);
  margin-bottom: 14px;
}

.ab-dept-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 6px;
}

.ab-dept-list li {
  position: relative;
  padding-left: 22px;
  font-size: 0.9rem;
  color: var(--text-color);
}

.ab-dept-list li::before {
  content: '\F26E';
  font-family: 'bootstrap-icons';
  position: absolute;
  left: 0;
  top: 1px;
  color: var(--btn-color);
}

/* Team */
.ab-team-card {
  height: 100%;
  padding: 28px 22px 24px;
  text-align: center;
  border-radius: var(--radius-md);
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ab-team-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.ab-team-avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
  color: var(--primary-color);
  background: linear-gradient(135deg, #E0F2FE 0%, #D6ECFA 100%);
  border: 4px solid var(--card-bg);
  box-shadow: 0 8px 20px -8px rgba(11, 60, 93, 0.35);
  margin-bottom: 16px;
}

.ab-team-name {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.ab-team-role {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--btn-color);
  margin-bottom: 10px;
}

.ab-team-text {
  font-size: 0.9rem;
  color: var(--paragraph-color);
  margin: 0;
}

.ab-team-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 40px;
  padding: 26px 30px;
  border-radius: var(--radius-lg);
  color: #FFFFFF;
  background: linear-gradient(135deg, #0B3C5D 0%, #145374 55%, #1294D5 100%);
  box-shadow: var(--shadow-lg);
}

.ab-team-stat {
  text-align: center;
  padding: 6px 0;
}

.ab-team-stat + .ab-team-stat {
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.ab-team-stat-num {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  line-height: 1.1;
  color: #7DD3FC;
}

.ab-team-stat-label {
  display: block;
  margin-top: 4px;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}

@media (max-width: 767px) {
  .ab-team-band {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 20px;
  }

  .ab-team-stat:nth-child(3) {
    border-left: 0;
  }
}

[data-theme="dark"] .ab-purpose-label,
[data-theme="dark"] .ab-value-icon,
[data-theme="dark"] .ab-team-role {
  color: #5BB8EA;
}

/* Quality Standards: the certified tick follows the page's blue instead of Bootstrap green */
.ab-cert-blue .text-success {
  color: var(--btn-color) !important;
}

[data-theme="dark"] .ab-purpose-card-dark {
  background: linear-gradient(135deg, #12304A 0%, #1C2541 100%);
  border-color: rgba(var(--btn-rgb), 0.35);
}

[data-theme="dark"] .ab-purpose-card-dark .ab-purpose-label {
  color: #5BB8EA;
}

[data-theme="dark"] .ab-team-avatar {
  color: #38BDF8;
  background: linear-gradient(135deg, #1C2541 0%, #12303A 100%);
}

/* ==========================================================================
   How It Works: journey timeline (home page)
   A flowing line with a marker per step; each step's text hangs from its marker.
   ========================================================================== */
.journey-title {
  max-width: 560px;
}

.journey {
  position: relative;
  margin-top: 8px;
}

.journey-track {
  position: relative;
  padding-top: 8px;
}

.journey-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 120px;
  overflow: visible;
  pointer-events: none;
}

.journey-line path {
  fill: none;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}

.journey-line-shadow {
  stroke: rgba(11, 60, 93, 0.08);
  stroke-width: 14;
  transform: translateY(6px);
}

.journey-line-main {
  stroke: var(--btn-color);
  stroke-width: 5;
}

.journey-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0 20px;
}

.journey-step {
  position: relative;
  /* The marker sits on the line at --y (SVG units = px); text starts just below it */
  padding-top: calc(var(--y, 60) * 1px + 48px);
  padding-right: 8px;
  padding-bottom: 60px;
  min-height: 300px;
}

.journey-marker {
  position: absolute;
  left: 12px;
  top: calc(var(--y, 60) * 1px - 28px);
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--card-bg);
  box-shadow: 0 10px 24px -10px rgba(11, 60, 93, 0.35), 0 0 0 1px var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
}

.journey-marker::after {
  content: '';
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--btn-color);
  box-shadow: 0 0 0 4px rgba(var(--btn-rgb), 0.18);
}

/* Large faded step number behind the text */
.journey-num {
  position: absolute;
  right: 0;
  bottom: -10px;
  font-family: 'Outfit', sans-serif;
  font-size: 7.5rem;
  font-weight: 800;
  line-height: 1;
  color: rgba(11, 60, 93, 0.06);
  pointer-events: none;
  user-select: none;
}

.journey-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--paragraph-color);
  margin-bottom: 6px;
}

.journey-step-title {
  position: relative;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 8px;
}

.journey-step-text {
  position: relative;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--btn-color);
  margin: 0;
}

.journey-scroll-hint {
  margin: 4px 0 0;
  font-size: 0.82rem;
  color: var(--paragraph-color);
}

/* Tablets and phones: keep the wave, let it scroll sideways */
@media (max-width: 991px) {
  .journey {
    margin-left: -12px;
    margin-right: -12px;
    padding: 0 12px;
    overflow-x: auto;
    scrollbar-width: thin;
  }

  .journey-track {
    min-width: 1180px;
  }

  .journey-step {
    padding-bottom: 40px;
    min-height: 280px;
  }

  .journey-num {
    font-size: 6rem;
  }
}

[data-theme="dark"] .journey-line-shadow {
  stroke: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .journey-num {
  color: rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .journey-marker {
  box-shadow: 0 10px 24px -10px rgba(0, 0, 0, 0.6), 0 0 0 1px var(--border-color);
}

[data-theme="dark"] .journey-step-text {
  color: #5BB8EA;
}

/* Footer: 'Get Mobile App' heading */
.footer-main .footer-app-title {
  color: #0B3C5D;
}

[data-theme="dark"] .footer-main .footer-app-title {
  color: #FFFFFF;
}

/* ==========================================================================
   Home: "Book Online" section (between the app showcase and the FAQs)
   Cards follow the Why Choose Us cards; the store buttons sit beside the primary CTA.
   ========================================================================== */
.book-online-section {
  background-color: var(--bg-color);
}

.book-online-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 36px 24px 32px;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease;
}

.book-online-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px -12px rgba(22, 153, 217, 0.28);
  border-color: #1699D9;
}

.book-online-icon {
  width: 64px;
  height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border-radius: 20px;
  font-size: 1.75rem;
  color: #1699D9;
  background: rgba(22, 153, 217, 0.1);
  border: 1px solid rgba(22, 153, 217, 0.2);
  transition: background 0.35s ease, color 0.35s ease, transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.book-online-card:hover .book-online-icon {
  color: #FFFFFF;
  background: linear-gradient(135deg, var(--btn-color) 0%, var(--btn-hover) 100%);
  transform: scale(1.08) rotate(-6deg);
}

.book-online-title {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--heading-color);
  margin-bottom: 10px;
}

.book-online-desc {
  font-size: 0.925rem;
  line-height: 1.6;
  color: var(--paragraph-color);
  margin-bottom: 0;
}

.book-online-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 48px;
}

/* App store buttons: outlined pills at the same height as .btn-brand-primary */
.book-online-store {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  font-weight: 700;
  font-size: 1rem;
  color: var(--heading-color);
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-pill);
  text-decoration: none;
  transition: var(--transition-fast);
}

.book-online-store i {
  font-size: 1.15rem;
}

.book-online-store:hover {
  color: #1699D9;
  border-color: #1699D9;
  transform: translateY(-2px);
  box-shadow: 0 8px 18px -8px rgba(22, 153, 217, 0.45);
}

/* Phones: icon beside the text so the four cards don't stack into one very tall column */
@media (max-width: 575px) {
  .book-online-card {
    display: grid;
    grid-template-columns: 52px 1fr;
    column-gap: 16px;
    align-items: start;
    text-align: left;
    padding: 20px;
  }

  .book-online-icon {
    grid-row: span 2;
    width: 52px;
    height: 52px;
    margin-bottom: 0;
    border-radius: 16px;
    font-size: 1.4rem;
  }

  .book-online-title {
    font-size: 1.05rem;
    margin-bottom: 4px;
  }

  .book-online-actions {
    margin-top: 32px;
  }

  .book-online-actions .btn,
  .book-online-store {
    width: 100%;
    justify-content: center;
  }
}

[data-theme="dark"] .book-online-card {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

[data-theme="dark"] .book-online-section .section-subtitle {
  color: #94A3B8;
}

[data-theme="dark"] .book-online-title,
[data-theme="dark"] .book-online-store {
  color: #F8FAFC;
}

[data-theme="dark"] .book-online-desc {
  color: #94A3B8;
}

[data-theme="dark"] .book-online-icon {
  color: #38BDF8;
  background: rgba(56, 189, 248, 0.12);
  border-color: rgba(56, 189, 248, 0.3);
}

[data-theme="dark"] .book-online-store:hover {
  color: #38BDF8;
  border-color: #38BDF8;
}

/* ==========================================================================
   QR / App Download Page (qr.html)
   Phones are sent to their store by a head script; this card is what desktops see.
   ========================================================================== */
.qr-download-section {
  padding: 70px 0 90px;
}

.qr-card {
  max-width: 900px;
  display: grid;
  grid-template-columns: 320px 1fr;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.qr-code-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 32px;
  background: linear-gradient(135deg, rgba(22, 153, 217, 0.1) 0%, rgba(22, 153, 217, 0.03) 100%);
  border-right: 1px solid var(--border-color);
}

/* Always white behind the code, in both themes, so phone cameras can read it */
.qr-code-box {
  width: 232px;
  height: 232px;
  padding: 16px;
  background: #FFFFFF;
  border: 1px solid rgba(22, 153, 217, 0.2);
  border-radius: 20px;
  box-shadow: 0 12px 28px -12px rgba(11, 60, 93, 0.25);
}

.qr-code-box img,
.qr-code-box canvas {
  display: block;
  width: 200px;
  height: 200px;
}

.qr-code-caption {
  margin: 18px 0 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--paragraph-color);
  text-align: center;
}

.qr-store-panel {
  padding: 48px;
}

.qr-store-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--heading-color);
  margin-bottom: 24px;
}

.qr-store-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 320px;
}

/* Two-line store buttons in the familiar badge shape, in brand navy */
.qr-store-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 22px;
  border-radius: 16px;
  background: var(--primary-color);
  color: #FFFFFF;
  text-decoration: none;
  transition: var(--transition-fast);
}

.qr-store-btn i {
  font-size: 1.75rem;
  line-height: 1;
}

.qr-store-btn span {
  display: flex;
  flex-direction: column;
  font-family: 'Outfit', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.15;
}

.qr-store-btn small {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.8;
}

.qr-store-btn:hover,
.qr-store-btn:focus-visible {
  background: #1699D9;
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -10px rgba(22, 153, 217, 0.6);
}

@media (max-width: 767px) {
  .qr-download-section {
    padding: 48px 0 64px;
  }

  .qr-card {
    grid-template-columns: 1fr;
  }

  .qr-code-panel {
    border-right: none;
    border-bottom: 1px solid var(--border-color);
    padding: 32px 20px;
  }

  .qr-store-panel {
    padding: 32px 24px;
    text-align: center;
  }

  .qr-store-list {
    margin: 0 auto;
    text-align: left;
  }
}

[data-theme="dark"] .qr-code-caption {
  color: #94A3B8;
}

[data-theme="dark"] .qr-store-title {
  color: #F8FAFC;
}

[data-theme="dark"] .qr-store-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

[data-theme="dark"] .qr-store-btn:hover,
[data-theme="dark"] .qr-store-btn:focus-visible {
  background: #1699D9;
  border-color: #1699D9;
}
