/**
 * Modern UI System - Inspired by clevrscan.com
 * Premium, clean, enterprise-grade design system
 * Fully responsive and data-resilient
 */

/* ============================================
   DESIGN TOKENS
   ============================================ */
:root {
  /* Colors - Professional & Modern */
  --primary: #1f3485;
  --primary-dark: #15255c;
  --primary-light: #2d4ba8;
  --secondary: #06568f;
  --accent: #2d4ba8;
  --accent-hover: #15255c;

  /* Neutrals */
  --white: #ffffff;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;

  /* Semantic Colors */
  --success: #10b981;
  --warning: #f59e0b;
  --error: #ef4444;
  --info: #3b82f6;

  /* Typography */
  --font-primary: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  --font-heading: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;

  /* Spacing Scale – reduced site-wide so more content fits on screen */
  --space-xs: 0.3rem; /* ~5px */
  --space-sm: 0.45rem; /* ~7px */
  --space-md: 0.6rem; /* ~10px */
  --space-lg: 0.9rem; /* ~14px */
  --space-xl: 1.2rem; /* ~19px */
  --space-2xl: 1.5rem; /* ~24px */
  --space-3xl: 2rem; /* ~32px */
  --space-4xl: 2.75rem; /* ~44px */

  /* Typography Scale */
  --text-xs: 0.75rem; /* 12px */
  --text-sm: 0.875rem; /* 14px */
  --text-base: 1rem; /* 16px */
  --text-lg: 1.125rem; /* 18px */
  --text-xl: 1.25rem; /* 20px */
  --text-2xl: 1.5rem; /* 24px */
  --text-3xl: 1.875rem; /* 30px */
  --text-4xl: 2.25rem; /* 36px */
  --text-5xl: 3rem; /* 48px */
  --text-6xl: 3.75rem; /* 60px */

  /* Border Radius */
  --radius-sm: 0.25rem; /* 4px */
  --radius-md: 0.5rem; /* 8px */
  --radius-lg: 0.75rem; /* 12px */
  --radius-xl: 1rem; /* 16px */
  --radius-2xl: 1.5rem; /* 24px */
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);

  /* Transitions */
  --transition-fast: 150ms ease-in-out;
  --transition-base: 250ms ease-in-out;
  --transition-slow: 350ms ease-in-out;

  /* Z-index Scale */
  --z-dropdown: 1000;
  --z-sticky: 1020;
  --z-fixed: 1030;
  --z-modal-backdrop: 1040;
  --z-modal: 1050;
  --z-popover: 1060;
  --z-tooltip: 1070;
}

/* ============================================
   GLOBAL RESETS & BASE STYLES
   ============================================ */
* {
  box-sizing: border-box;
}

body {
  font-family: var(--font-primary);
  font-size: var(--text-base);
  line-height: 1.45;
  color: var(--gray-800);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  max-width: 100vw;
}

/* ============================================
   TYPOGRAPHY SYSTEM
   ============================================ */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--gray-900);
  margin-top: 0;
  margin-bottom: var(--space-sm);
}

h1 {
  font-size: var(--text-4xl);
  font-weight: 800;
  letter-spacing: -0.02em;
}

h2 {
  font-size: var(--text-3xl);
  font-weight: 700;
}

h3 {
  font-size: var(--text-2xl);
  font-weight: 600;
}

h4 {
  font-size: var(--text-xl);
  font-weight: 600;
}

h5 {
  font-size: var(--text-lg);
  font-weight: 600;
}

h6 {
  font-size: var(--text-base);
  font-weight: 600;
}

p {
  margin-top: 0;
  margin-bottom: var(--space-sm);
  color: var(--gray-700);
}

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

a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

/* ============================================
   SECTION SYSTEM
   ============================================ */
.section-padding {
  padding-top: var(--space-2xl);
  padding-bottom: var(--space-2xl);
}

@media (max-width: 768px) {
  .section-padding {
    padding-top: var(--space-lg);
    padding-bottom: var(--space-lg);
  }
}

.section-heading {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.section-heading h2 {
  font-size: var(--text-4xl);
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: var(--space-md);
  letter-spacing: -0.02em;
}

.section-heading img {
  max-width: 200px;
  height: auto;
  margin: var(--space-md) auto;
  display: block;
}

/* Green line image → blue (site-wide) */
img.heading-accent,
.section-heading .heading-accent {
  filter: hue-rotate(120deg);
}

@media (max-width: 768px) {
  .section-heading h2 {
    font-size: var(--text-3xl);
  }
}

/* ============================================
   CONTAINER SYSTEM
   ============================================ */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-md);
  padding-right: var(--space-md);
}

@media (max-width: 768px) {
  .container {
    padding-left: var(--space-sm);
    padding-right: var(--space-sm);
  }
}

/* ============================================
   BUTTON SYSTEM
   ============================================ */
.btn,
button.btn,
a.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-sm) var(--space-lg);
  font-size: var(--text-base);
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  vertical-align: middle;
  cursor: pointer;
  user-select: none;
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  box-shadow: var(--shadow-sm);
}

.btn:hover,
button.btn:hover,
a.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  text-decoration: none;
}

.btn:active,
button.btn:active,
a.btn:active {
  transform: translateY(0);
  box-shadow: var(--shadow-sm);
}

/* Primary Button */
.btn-primary,
.button,
.loginbtn {
  background-color: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.btn-primary:hover,
.button:hover,
.loginbtn:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  color: var(--white);
}

/* Secondary Button */
.btn-secondary {
  background-color: var(--white);
  color: var(--primary);
  border-color: var(--primary);
}

.btn-secondary:hover {
  background-color: var(--gray-50);
  color: var(--primary-dark);
}

/* Accent Button */
.btn-accent {
  background-color: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}

.btn-accent:hover {
  background-color: var(--accent-hover);
  border-color: var(--accent-hover);
  color: var(--white);
}

/* Button Sizes */
.btn-sm {
  padding: var(--space-sm) var(--space-lg);
  font-size: var(--text-sm);
}

.btn-lg {
  padding: var(--space-lg) var(--space-2xl);
  font-size: var(--text-lg);
}

/* Button Full Width */
.btn-block {
  width: 100%;
  display: block;
}

/* ============================================
   CARD SYSTEM
   ============================================ */
.card,
.pricingbox,
.featuresBox,
.featuresBoxnew {
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  padding: var(--space-xl);
  transition: all var(--transition-base);
  border: 1px solid var(--gray-200);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.card:hover,
.pricingbox:hover,
.featuresBox:hover,
.featuresBoxnew:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: var(--gray-300);
}

.card-header {
  padding-bottom: var(--space-lg);
  margin-bottom: var(--space-lg);
  border-bottom: 1px solid var(--gray-200);
}

.card-body {
  flex: 1;
}

.card-footer {
  padding-top: var(--space-lg);
  margin-top: var(--space-lg);
  border-top: 1px solid var(--gray-200);
}

/* Feature Box Specific */
.featuresBox {
  text-align: center;
  padding: var(--space-2xl);
  min-height: 300px;
}

.featuresBox img {
  max-width: 100%;
  height: auto;
  margin-bottom: var(--space-lg);
  border-radius: var(--radius-md);
}

.featuresBox p {
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--gray-700);
  margin: 0;
}

.featuresBox p span {
  display: block;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: var(--space-sm);
}

.featuresBoxnew {
  padding: var(--space-2xl);
}

.featuresBoxnew h3 {
  color: var(--primary);
  margin-bottom: var(--space-md);
  font-size: var(--text-2xl);
}

.featuresBoxnew p {
  color: var(--gray-700);
  line-height: 1.8;
}

/* ============================================
   WHAT WE OFFER – Wide card, compact height, less section spacing
   ============================================ */
.what-we-offer-section .container {
  max-width: 1600px;
}

.what-we-offer-section.section-padding {
  padding-top: var(--space-lg);
  padding-bottom: var(--space-lg);
}

/* Override style.css .section-padding (40px/30px) on mobile – use ID so it always wins */
@media (max-width: 768px) {
  #what-we-offer.what-we-offer-section.section-padding,
  .what-we-offer-section.section-padding {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }
  .what-we-offer-title {
    margin-bottom: var(--space-md);
  }
}
@media (max-width: 576px) {
  #what-we-offer.what-we-offer-section.section-padding,
  .what-we-offer-section.section-padding {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }
  .what-we-offer-card {
    padding: var(--space-md) var(--space-sm);
  }
  .what-we-offer-title {
    margin-bottom: var(--space-sm);
  }
  .what-we-offer-grid {
    gap: var(--space-sm);
  }
}

.what-we-offer-section {
  background: linear-gradient(180deg, #eef2f7 0%, #f0f4f8 50%, #e8eef5 100%);
  position: relative;
  overflow: hidden;
}

.what-we-offer-card {
  background: var(--white);
  border-radius: var(--radius-2xl);
  box-shadow: 0 24px 64px -24px rgba(31, 52, 133, 0.14);
  padding: var(--space-xl) var(--space-2xl);
  width: 100%;
  margin: 0 auto;
  border: 1px solid rgba(31, 52, 133, 0.06);
  animation: what-we-offer-card-in 0.6s ease-out forwards;
}

@keyframes what-we-offer-card-in {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.what-we-offer-title {
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  font-weight: 800;
  color: var(--primary);
  margin-bottom: var(--space-xl);
  letter-spacing: -0.02em;
  text-align: center;
}

.what-we-offer-subtitle {
  text-align: center;
  font-size: var(--text-base);
  color: var(--gray-600);
  max-width: 640px;
  margin: 0 auto var(--space-xl);
  line-height: 1.55;
}

.what-we-offer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md) var(--space-xl);
}

.what-we-offer-item {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-xl);
  transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  animation: what-we-offer-item-in 0.5s ease-out backwards;
}

.what-we-offer-item:nth-child(1) { animation-delay: 0.05s; }
.what-we-offer-item:nth-child(2) { animation-delay: 0.1s; }
.what-we-offer-item:nth-child(3) { animation-delay: 0.15s; }
.what-we-offer-item:nth-child(4) { animation-delay: 0.2s; }
.what-we-offer-item:nth-child(5) { animation-delay: 0.25s; }
.what-we-offer-item:nth-child(6) { animation-delay: 0.3s; }

@keyframes what-we-offer-item-in {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.what-we-offer-item:hover {
  background: rgba(31, 52, 133, 0.05);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px -12px rgba(31, 52, 133, 0.12);
}

.what-we-offer-icon {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(31, 52, 133, 0.12) 0%, rgba(6, 86, 143, 0.1) 100%);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.35s ease, color 0.35s ease, transform 0.35s ease;
}

.what-we-offer-icon svg {
  width: 22px;
  height: 22px;
  transition: transform 0.35s ease;
}

.what-we-offer-item:hover .what-we-offer-icon {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  transform: scale(1.08) rotate(3deg);
}

.what-we-offer-item:hover .what-we-offer-icon svg {
  transform: scale(1.05);
}

.what-we-offer-content {
  min-width: 0;
}

.what-we-offer-content h3 {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 2px;
  line-height: 1.3;
  transition: color 0.25s ease;
}

.what-we-offer-item:hover .what-we-offer-content h3 {
  color: var(--primary);
}

.what-we-offer-content p {
  font-size: 0.8125rem;
  color: var(--gray-600);
  line-height: 1.5;
  margin: 0;
}

@media (max-width: 992px) {
  .what-we-offer-section .container {
    max-width: 100%;
  }
  .what-we-offer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .what-we-offer-card {
    padding: var(--space-md) var(--space-sm);
  }

  .what-we-offer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-sm);
  }

  .what-we-offer-item {
    padding: var(--space-xs) var(--space-sm);
  }

  .what-we-offer-icon {
    width: 42px;
    height: 42px;
  }

  .what-we-offer-icon svg {
    width: 20px;
    height: 20px;
  }
}

/* ============================================
   WHY CHOOSE US – Feature cards section (fits in single viewport)
   ============================================ */
.why-choose-section {
  background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 100%);
  padding-top: var(--space-xs) !important;
  padding-bottom: var(--space-xs) !important;
  overflow-x: hidden;
  min-height: 0;
}

.why-choose-section .why-choose-heading {
  margin-bottom: var(--space-xs);
}

.why-choose-section .why-choose-heading h2 {
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: var(--space-xs);
}

.why-choose-section .why-choose-heading .heading-accent {
  max-width: 60px;
  height: 4px;
  object-fit: contain;
  margin: 0 auto var(--space-xs);
  opacity: 1;
}

/* Grid: 3 cols desktop – equal-height cards, no gap between rows */
.why-choose-section .row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 1rem;
  row-gap: 0;
  align-items: stretch;
  margin-left: 0;
  margin-right: 0;
  margin-bottom: 0;
  margin-top: 0;
}

.why-choose-section .row [class*="col-"] {
  padding-left: 0;
  padding-right: 0;
  margin: 0 !important;
  margin-bottom: 0 !important;
  margin-top: 0 !important;
  min-width: 0;
  max-width: none;
  display: flex;
  flex-direction: column;
}

/* Pull second row up to remove gap between card rows */
.why-choose-section .row [class*="col-"]:nth-child(n+4) {
  margin-top: -4rem !important;
}

/* Wrapper – stretch to fill column so all cards in row match height */
.why-choose-section .why-choose-card-border-wrap {
  position: relative;
  border-radius: var(--radius-xl);
  padding: 0;
  overflow: visible;
  min-width: 0;
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* Remove previous animated “running” gradient borders */
.why-choose-section .why-choose-card-border-wrap::before,
.why-choose-section .why-choose-card-border-wrap::after {
  content: none;
}

.why-choose-section .why-choose-card {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-xl);
  background: var(--white);
  border: 1px solid var(--gray-200);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  transition: transform var(--transition-base), box-shadow var(--transition-base),
    border-color var(--transition-base), background var(--transition-base);
  flex: 1;
  min-height: 0;
}

.why-choose-section .why-choose-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(31, 52, 133, 0.12),
    0 4px 12px rgba(0, 0, 0, 0.06);
  border-color: var(--primary);
  background: var(--white);
}

.why-choose-section .featuresBox.why-choose-card {
  padding: 1rem 1.25rem;
  min-height: 0;
}

.why-choose-section .why-choose-card-heading {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--gray-900);
  margin-top: 0;
  margin-bottom: 0.1rem;
}

.why-choose-section .why-choose-card-img {
  position: static;
  max-width: 68px;
  max-height: 68px;
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto 0.1rem;
  border-radius: var(--radius-md);
  transition: transform var(--transition-fast);
}

.why-choose-section .why-choose-card:hover .why-choose-card-img {
  transform: scale(1.08);
}

.why-choose-section .why-choose-card-text,
.why-choose-section .why-choose-card p {
  font-size: 0.9375rem;
  line-height: 1.4;
  color: var(--gray-700);
  margin: 0;
  margin-top: 0.1rem;
  height: auto !important;
}

/* Tablet: 2 columns, 3 rows – pull rows 2 & 3 up */
@media (max-width: 991px) {
  .why-choose-section .row {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 1rem;
    row-gap: 0;
  }
  .why-choose-section .row [class*="col-"]:nth-child(n+3) {
    margin-top: -4rem !important;
  }
  .why-choose-section .why-choose-heading h2 {
    font-size: var(--text-xl);
  }
  .why-choose-section .why-choose-card,
  .why-choose-section .featuresBox.why-choose-card {
    padding: 1rem 1.1rem;
  }
}

@media (max-width: 767px) {
  .why-choose-section {
    padding-top: var(--space-md);
    padding-bottom: var(--space-md);
  }
  .why-choose-section .row {
    column-gap: 0.75rem;
    row-gap: 0;
  }
  .why-choose-section .why-choose-card,
  .why-choose-section .featuresBox.why-choose-card {
    padding: 0.85rem 0.9rem;
  }
  .why-choose-section .why-choose-card-heading {
    font-size: var(--text-base);
    margin-bottom: 0.1rem;
  }
  .why-choose-section .why-choose-card img,
  .why-choose-section .featuresBox.why-choose-card img {
    max-width: 60px !important;
    min-height: 50px !important;
    margin-bottom: 0.1rem;
  }
  .why-choose-section .why-choose-card p {
    font-size: 0.875rem;
    line-height: 1.45;
    margin-top: 0.1rem;
  }
  .why-choose-section .why-choose-card p span:first-child {
    font-size: 0.95rem;
  }
}

/* Mobile: 2 columns, compact spacing */
@media (max-width: 576px) {
  .why-choose-section {
    padding-top: var(--space-sm);
    padding-bottom: var(--space-sm);
  }
  .why-choose-section .why-choose-heading h2 {
    font-size: var(--text-lg);
  }
  .why-choose-section .row {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 0.5rem;
    row-gap: 0;
  }
  .why-choose-section .row [class*="col-"]:nth-child(n+3) {
    margin-top: -3rem !important;
  }
  .why-choose-section .why-choose-card-border-wrap {
    padding: 0;
  }
  .why-choose-section .why-choose-card,
  .why-choose-section .featuresBox.why-choose-card {
    padding: 0.65rem 0.5rem;
  }
  .why-choose-section .why-choose-card-heading {
    font-size: var(--text-sm);
    margin-bottom: 0.15rem;
  }
  .why-choose-section .why-choose-card img,
  .why-choose-section .featuresBox.why-choose-card img {
    max-width: 52px !important;
    min-height: 44px !important;
    margin-bottom: 0.15rem;
  }
  .why-choose-section .why-choose-card p {
    font-size: 0.8125rem;
    line-height: 1.45;
    margin-top: 0.15rem;
  }
  .why-choose-section .why-choose-card p span:first-child {
    font-size: 0.875rem;
    margin-bottom: 0;
  }
}

/* Very small screens: single column for readability */
@media (max-width: 380px) {
  .why-choose-section .row {
    grid-template-columns: 1fr;
    column-gap: 0.5rem;
    row-gap: 0;
  }
  .why-choose-section .row [class*="col-"]:nth-child(n+2) {
    margin-top: -2.5rem !important;
  }
}

/* ============================================
   HOW IT WORKS – 3-step process (interactive)
   ============================================ */
/* Match Why choose section: same background and heading color */
.how-it-works-section {
  background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 100%) !important;
  padding-top: var(--space-2xl);
  padding-bottom: var(--space-2xl);
}

.how-it-works-heading {
  margin-bottom: var(--space-xl);
}

.how-it-works-heading h2 {
  font-size: var(--text-3xl);
  font-weight: 800;
  color: var(--primary) !important;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: var(--space-sm);
}

.how-it-works-heading .heading-accent {
  max-width: 60px;
  height: 4px;
  object-fit: contain;
  margin: 0 auto var(--space-md);
  opacity: 1;
}

.how-it-works-subtitle {
  max-width: 560px;
  margin: 0 auto;
  font-size: var(--text-base);
  color: var(--gray-600);
  line-height: 1.6;
  text-align: center;
}

.how-it-works-steps {
  margin-top: var(--space-2xl);
}
@media (min-width: 992px) {
  .how-it-works-steps {
    align-items: stretch;
  }
}

.how-it-works-step-col {
  margin-bottom: var(--space-xl);
  position: relative;
  display: flex;
  flex-direction: column;
}
@media (min-width: 992px) {
  .how-it-works-step-col {
    align-items: stretch;
  }
}

.how-it-works-step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--space-lg) var(--space-md);
  border-radius: var(--radius-xl);
  background: var(--white);
  border: 1px solid var(--gray-200);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base), background var(--transition-base);
  cursor: default;
}
@media (min-width: 992px) {
  .how-it-works-step-col .how-it-works-step {
    flex: 1;
  }
}

.how-it-works-step:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(31, 52, 133, 0.12), 0 4px 12px rgba(0, 0, 0, 0.06);
  border-color: var(--primary);
  background: var(--white);
}

.how-it-works-step-num {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--white);
  font-size: var(--text-sm);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-bottom: var(--space-lg);
  box-shadow: 0 4px 12px rgba(31, 52, 133, 0.3);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.how-it-works-step:hover .how-it-works-step-num {
  transform: scale(1.08);
  box-shadow: 0 6px 16px rgba(31, 52, 133, 0.4);
}

.how-it-works-step-icon {
  width: 100px;
  height: 100px;
  border-radius: var(--radius-full);
  border: 2px dashed var(--gray-300);
  background: var(--gray-50);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-lg);
  flex-shrink: 0;
  transition: border-color var(--transition-base), background var(--transition-base), transform var(--transition-base);
  overflow: hidden;
}

.how-it-works-step:hover .how-it-works-step-icon {
  border-color: var(--primary);
  background: rgba(31, 52, 133, 0.06);
  transform: scale(1.05);
}

.how-it-works-step-img {
  width: 92px;
  height: 92px;
  object-fit: contain;
  display: block;
  transition: transform var(--transition-fast);
}

.how-it-works-step:hover .how-it-works-step-img {
  transform: scale(1.1);
}

.how-it-works-step-icon .how-it-works-icon-fallback {
  width: 52px;
  height: 52px;
  color: var(--primary);
  transition: transform var(--transition-fast);
}

.how-it-works-step:hover .how-it-works-step-icon .how-it-works-icon-fallback {
  transform: scale(1.1);
}

.how-it-works-icon {
  width: 52px;
  height: 52px;
  color: var(--primary);
  transition: transform var(--transition-fast);
}

.how-it-works-step:hover .how-it-works-icon {
  transform: scale(1.1);
}

.how-it-works-step-label {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--gray-900);
  line-height: 1.4;
  margin: 0;
  max-width: 220px;
  transition: color var(--transition-fast);
}

.how-it-works-step:hover .how-it-works-step-label {
  color: var(--primary-dark);
}

/* Arrow is now a direct child of .how-it-works-step-col, so it centers in the column height */
.how-it-works-arrow {
  display: none;
  position: absolute;
  right: -12px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%231f3485'%3E%3Cpath d='M12 4l-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8-8-8z'/%3E%3C/svg%3E") center/contain no-repeat;
  pointer-events: none;
  opacity: 0.8;
  animation: how-it-works-arrow-run 1.2s ease-in-out infinite;
}

.how-it-works-step-col:hover .how-it-works-arrow {
  opacity: 1;
  animation-duration: 0.8s;
}

@keyframes how-it-works-arrow-run {
  0%, 100% { transform: translateY(-50%) translateX(0); }
  50% { transform: translateY(-50%) translateX(6px); }
}

@media (min-width: 992px) {
  .how-it-works-arrow {
    display: block;
  }
  .how-it-works-step-col:last-child .how-it-works-arrow {
    display: none;
  }
}

@media (max-width: 991px) {
  .how-it-works-heading h2 {
    font-size: var(--text-2xl);
  }
  .how-it-works-step {
    padding: var(--space-xl) var(--space-md);
  }
  .how-it-works-step-icon {
    width: 88px;
    height: 88px;
  }
  .how-it-works-step-img {
    width: 78px;
    height: 78px;
  }
  .how-it-works-icon {
    width: 40px;
    height: 40px;
  }
}
@media (max-width: 767px) {
  .how-it-works-steps {
    margin-top: var(--space-xl);
  }
  .how-it-works-step-col {
    margin-bottom: var(--space-lg);
  }
  .how-it-works-subtitle {
    padding-left: var(--space-sm);
    padding-right: var(--space-sm);
  }
  .how-it-works-step-label {
    font-size: var(--text-sm);
  }
}
@media (max-width: 480px) {
  .how-it-works-step {
    padding: var(--space-md) var(--space-sm);
  }
  .how-it-works-step-num {
    width: 36px;
    height: 36px;
    font-size: var(--text-xs);
  }
  .how-it-works-step-icon {
    width: 64px;
    height: 64px;
  }
  .how-it-works-step-img {
    width: 40px;
    height: 40px;
  }
  .how-it-works-icon {
    width: 24px;
    height: 24px;
  }
  .how-it-works-step-label {
    font-size: 0.8125rem;
  }
}

/* ============================================
   PRICING CARD SYSTEM
   ============================================ */
.pricingbox {
  position: relative;
  overflow: hidden;
}

.pricingbox .columns {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.pricingbox .price {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.pricingbox .priceheader {
  text-align: center;
  padding-bottom: var(--space-xl);
  margin-bottom: var(--space-xl);
  border-bottom: 2px solid var(--gray-200);
}

.pricingbox .priceheader h3 {
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: var(--space-md);
}

.pricingbox .OfferPrice {
  font-size: var(--text-4xl);
  font-weight: 800;
  color: var(--primary);
  margin: var(--space-md) 0;
  line-height: 1.2;
}

.pricingbox .priceheader p {
  color: var(--gray-600);
  font-size: var(--text-base);
  margin: 0;
}

.pricingbox .price li {
  padding: var(--space-md);
  border-bottom: 1px solid var(--gray-100);
  color: var(--gray-700);
  font-size: var(--text-base);
  line-height: 1.6;
}

.pricingbox .price li:last-child {
  border-bottom: none;
}

.pricingbox .getstart {
  margin-top: auto;
  padding-top: var(--space-xl);
  text-align: center;
}

.pricingbox .getstart .btn {
  width: 100%;
}

/* ============================================
   PRODUCTS PRICING SECTION – 3 cards in single viewport
   ============================================ */
.products-pricing-section {
  background: linear-gradient(165deg, var(--gray-50) 0%, #f0f4f8 50%, var(--white) 100%);
  position: relative;
  overflow: hidden;
  padding-top: var(--space-lg) !important;
  padding-bottom: var(--space-lg) !important;
  min-height: 0;
}

.products-pricing-section::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -20%;
  width: 60%;
  height: 120%;
  background: radial-gradient(ellipse at center, rgba(31, 52, 133, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

.products-pricing-section::after {
  content: "";
  position: absolute;
  bottom: -30%;
  right: -15%;
  width: 50%;
  height: 80%;
  background: radial-gradient(ellipse at center, rgba(6, 86, 143, 0.03) 0%, transparent 70%);
  pointer-events: none;
}

.products-pricing-heading {
  text-align: center;
  margin-bottom: var(--space-md);
  position: relative;
  z-index: 1;
}

.products-pricing-title {
  font-size: clamp(1.35rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--primary) !important;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: var(--space-sm);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.products-pricing-subtitle {
  font-size: var(--text-lg);
  color: var(--gray-600);
  max-width: 520px;
  margin: 0 auto var(--space-xl);
  line-height: 1.6;
}

.products-pricing-accent {
  width: 64px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: var(--radius-full);
  margin: 0 auto;
}

/* Custom flex layout – no Bootstrap grid, so 3 cards per row is guaranteed */
.products-pricing-cards {
  display: flex;
  flex-wrap: wrap;
  margin-left: -0.75rem;
  margin-right: -0.75rem;
  position: relative;
  z-index: 1;
}

#products-pricing .products-pricing-col {
  flex: 0 0 100%;
  max-width: 100%;
  width: 100%;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  margin-bottom: var(--space-md);
  box-sizing: border-box;
}

@media (min-width: 768px) {
  #products-pricing .products-pricing-col {
    flex: 0 0 33.333333% !important;
    max-width: 33.333333% !important;
    width: 33.333333% !important;
  }
}

/* Mobile: keep 3 cards in one viewport – single column, compact cards */
@media (max-width: 767px) {
  #products-pricing .products-pricing-col {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    width: 100% !important;
    margin-bottom: var(--space-sm);
  }
}

.products-pricing-col {
  margin-bottom: var(--space-md);
}

.product-pricing-card {
  height: 100%;
  border-radius: var(--radius-2xl);
  background: var(--white);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
  overflow: hidden;
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}

.product-pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 48px -12px rgba(31, 52, 133, 0.15);
  border-color: rgba(31, 52, 133, 0.2);
}

.product-pricing-card-inner {
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: var(--space-lg);
}

.product-pricing-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  opacity: 0;
  transition: opacity var(--transition-base);
}

.product-pricing-card:hover::before {
  opacity: 1;
}

.product-pricing-card-header {
  text-align: center;
  padding-bottom: var(--space-md);
  margin-bottom: var(--space-md);
  border-bottom: 1px solid var(--gray-100);
}

.product-pricing-name {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: var(--space-xs);
}

.product-pricing-desc {
  font-size: var(--text-sm);
  color: var(--gray-600);
  margin: 0 0 var(--space-md);
  line-height: 1.45;
}

.product-pricing-price-wrap {
  display: flex;
  align-items: baseline;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2px;
}

.product-pricing-currency {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--gray-600);
}

.product-pricing-price {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.product-pricing-suffix {
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--gray-500);
}

.product-pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-md);
  flex: 1;
  min-height: 0;
}

.product-pricing-feature {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  padding: var(--space-xs) 0;
  font-size: var(--text-sm);
  color: var(--gray-700);
  line-height: 1.45;
  border-bottom: 1px solid var(--gray-100);
}

.product-pricing-feature::before {
  content: "";
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236bab43' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") no-repeat center;
  background-size: contain;
}

.product-pricing-feature-title {
  font-weight: 600;
  color: var(--gray-900);
  border-bottom: none;
  padding-bottom: var(--space-md);
}

.product-pricing-feature-title::before {
  display: none;
}

.product-pricing-feature-more {
  border-bottom: none;
  justify-content: center;
  padding-top: var(--space-md);
}

.product-pricing-feature-more::before {
  display: none;
}

.product-pricing-view-all {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-md);
  background: rgba(31, 52, 133, 0.08);
  transition: background var(--transition-fast), color var(--transition-fast);
}

.product-pricing-view-all:hover {
  background: rgba(31, 52, 133, 0.15);
  color: var(--primary-dark);
  text-decoration: none;
}

.product-pricing-cta {
  margin-top: auto;
  padding-top: var(--space-md);
}

.product-pricing-btn {
  display: block;
  width: 100%;
  padding: var(--space-sm) var(--space-lg);
  font-size: var(--text-sm);
  font-weight: 600;
  text-align: center;
  color: var(--white);
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border: none;
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 14px rgba(31, 52, 133, 0.35);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  text-decoration: none;
}

.product-pricing-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(31, 52, 133, 0.4);
  color: var(--white);
  text-decoration: none;
}

.products-pricing-footer {
  text-align: center;
  margin-top: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid var(--gray-200);
  font-size: var(--text-sm);
  color: var(--gray-600);
  position: relative;
  z-index: 1;
}

.products-pricing-footer p {
  margin: 0 0 var(--space-xs);
}

.products-pricing-footer a {
  color: var(--primary);
  font-weight: 600;
}

/* Responsive: keep 3 cards in one viewport – compact on smaller screens */
@media (max-width: 991px) {
  .products-pricing-section {
    padding-top: var(--space-md) !important;
    padding-bottom: var(--space-md) !important;
  }
  .products-pricing-heading {
    margin-bottom: var(--space-sm);
  }
  .product-pricing-card-inner {
    padding: var(--space-md);
  }
  .product-pricing-card-header {
    padding-bottom: var(--space-sm);
    margin-bottom: var(--space-sm);
  }
  .product-pricing-name {
    font-size: var(--text-lg);
  }
  .product-pricing-desc {
    font-size: 0.8125rem;
    margin-bottom: var(--space-sm);
  }
  .product-pricing-features {
    margin-bottom: var(--space-sm);
  }
  .product-pricing-feature {
    padding: 0.2rem 0;
    font-size: 0.8125rem;
  }
  .product-pricing-cta {
    padding-top: var(--space-sm);
  }
  .product-pricing-btn {
    padding: var(--space-sm) var(--space-md);
    font-size: 0.8125rem;
  }
  .products-pricing-footer {
    margin-top: var(--space-sm);
    padding-top: var(--space-sm);
    font-size: 0.8125rem;
  }
}

@media (max-width: 768px) {
  .product-pricing-card-inner {
    padding: var(--space-md);
  }
  .products-pricing-title {
    font-size: var(--text-xl);
  }
  .products-pricing-subtitle {
    font-size: var(--text-base);
  }
}

/* Mobile: single column, very compact so section fits in viewport */
@media (max-width: 767px) {
  .products-pricing-section {
    padding-top: var(--space-sm) !important;
    padding-bottom: 0 !important;
  }
  .products-pricing-title {
    font-size: var(--text-lg);
    padding-left: var(--space-sm);
    padding-right: var(--space-sm);
  }
  .product-pricing-card-inner {
    padding: var(--space-sm) var(--space-md);
  }
  .product-pricing-card-header {
    padding-bottom: var(--space-xs);
    margin-bottom: var(--space-xs);
  }
  .product-pricing-name {
    font-size: var(--text-base);
  }
  .product-pricing-desc {
    font-size: 0.75rem;
    margin-bottom: var(--space-xs);
  }
  .product-pricing-price-wrap .product-pricing-price {
    font-size: 1.35rem;
  }
  .product-pricing-features {
    margin-bottom: var(--space-xs);
  }
  .product-pricing-feature {
    padding: 0.15rem 0;
    font-size: 0.75rem;
  }
  .product-pricing-feature-title {
    padding-bottom: var(--space-xs);
  }
  .product-pricing-cta {
    padding-top: var(--space-sm);
  }
  .product-pricing-btn {
    padding: var(--space-xs) var(--space-md);
    font-size: 0.75rem;
  }
  .products-pricing-footer {
    margin-top: var(--space-sm);
    padding-top: var(--space-sm);
    font-size: 0.75rem;
  }
}

/* Download section – reuse product-pricing-card styling, same 3-column layout */
.download-pricing-section {
  background: linear-gradient(165deg, var(--gray-50) 0%, #f0f4f8 50%, var(--white) 100%);
  position: relative;
  overflow: hidden;
}

.download-pricing-section::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -20%;
  width: 60%;
  height: 120%;
  background: radial-gradient(ellipse at center, rgba(31, 52, 133, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

.download-pricing-section::after {
  content: "";
  position: absolute;
  bottom: -30%;
  right: -15%;
  width: 50%;
  height: 80%;
  background: radial-gradient(ellipse at center, rgba(6, 86, 143, 0.03) 0%, transparent 70%);
  pointer-events: none;
}

.download-pricing-heading {
  text-align: center;
  margin-bottom: var(--space-2xl);
  position: relative;
  z-index: 1;
}

.download-pricing-section .products-pricing-cards {
  display: flex;
  flex-wrap: wrap;
  margin-left: -0.75rem;
  margin-right: -0.75rem;
  position: relative;
  z-index: 1;
}

.download-pricing-section .products-pricing-col {
  flex: 0 0 100%;
  max-width: 100%;
  width: 100%;
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  margin-bottom: var(--space-lg);
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .download-pricing-section .products-pricing-col {
    flex: 0 0 33.333333% !important;
    max-width: 33.333333% !important;
    width: 33.333333% !important;
  }
}

@media (max-width: 767px) {
  .download-pricing-section .products-pricing-col {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    width: 100% !important;
  }
}

/* ============================================
   HERO SECTION – Attractive, aesthetic, typewriter
   ============================================ */
.herobannertop {
  background: linear-gradient(165deg, #f0f4f8 0%, #ffffff 38%, #fafbfd 70%, #eef2f7 100%);
  /* Ultra compact hero: minimal vertical padding */
  padding: var(--space-xs) 0 0;
  position: relative;
  overflow: hidden;
  overflow-x: hidden;
}
@media (max-width: 767px) {
  .herobannertop {
    padding-bottom: var(--space-lg);
  }
}

.herobannertop .container {
  overflow-x: hidden;
}

.herobannertop .hero-row {
  overflow-x: hidden;
}

.herobannertop::before {
  content: "";
  position: absolute;
  top: -30%;
  right: -15%;
  width: 70%;
  height: 120%;
  background: radial-gradient(ellipse 70% 60% at 75% 35%, rgba(31, 52, 133, 0.08) 0%, transparent 55%);
  pointer-events: none;
}

.herobannertop::after {
  content: "";
  position: absolute;
  bottom: -25%;
  left: -15%;
  width: 55%;
  height: 80%;
  background: radial-gradient(ellipse at 30% 80%, rgba(107, 171, 67, 0.06) 0%, transparent 55%);
  pointer-events: none;
}

/* Hero: title on top (smaller), then two columns – left centered: “Import any” / BIG typewriter / yearly para / buttons; right: changing images */
.hero-title-top {
  text-align: center;
  font-size: clamp(1.1rem, 2.8vw, 1.5rem);
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 0;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

/* Override legacy `style.css` padding that creates extra blank space – force minimal gap */
.herobannertop .hero-contant {
  padding: 0 0 var(--space-md) 0 !important;
}

/* Reduce vertical gap between hero title and content row – strong overrides */
.herobannertop .hero-title,
.herobannertop h1.hero-title-top {
  margin-bottom: 0 !important;
}

.herobannertop .hero-row {
  margin-top: 0 !important;
}

/* Pull content row up to sit close under the heading (reduces gap around title underline only) */
.herobannertop #hero-section .container > .hero-row,
.herobannertop .container > .hero-row {
  margin-top: -2.75rem !important;
}
@media (max-width: 767px) {
  /* Prevent overlap: use positive spacing so "Yearly package" never overlaps title/PDF */
  .herobannertop #hero-section .container > .hero-row,
  .herobannertop .container > .hero-row {
    margin-top: 0 !important;
  }
  .herobannertop h1.hero-title-top {
    margin-bottom: 1rem !important;
  }
}

.hero-title-top::after {
  display: none;
}

.hero-title--smaller {
  font-size: clamp(1.6rem, 4.2vw, 2.5rem);
}

.hero-title-typewriter {
  display: inline;
  color: var(--primary, #1f3485);
  font-weight: 800;
}

.hero-title-typewriter-cursor {
  display: inline-block;
  animation: hero-title-cursor-blink 0.9s step-end infinite;
  margin-left: 1px;
  color: var(--primary, #1f3485);
}

@keyframes hero-title-cursor-blink {
  50% { opacity: 0; }
}

.hero-row {
  position: relative;
  z-index: 1;
  margin-top: 0;
}
@media (max-width: 991px) {
  .hero-row {
    flex-direction: column;
  }
  .hero-col-left {
    order: 1;
  }
  .hero-col-right {
    order: 2;
  }
}

.hero-col-left,
.hero-col-right {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.hero-col-right {
  min-width: 0;
}

.hero-contant {
  position: relative;
  z-index: 1;
  text-align: center;
  min-width: 0;
}

.hero-title {
  font-size: clamp(2.25rem, 5.5vw, 3.5rem);
  font-weight: 800;
  color: var(--gray-900);
  /* Tight spacing below main hero heading (reduces marked gap) */
  margin-bottom: var(--space-sm);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.hero-title::after {
  display: none;
}

/* “Import any” on first line; typewriter phrase on next line = BIGGEST text on page */
.hero-typewriter-wrap {
  display: none;
  margin-bottom: var(--space-xs);
}

.hero-typewriter-prefix {
  font-size: clamp(1rem, 2.5vw, 1.35rem);
  font-weight: 600;
  color: var(--gray-600);
  margin: 0 0 var(--space-sm);
  line-height: 1.3;
}

.hero-typewriter-line {
  font-size: clamp(1.5rem, 4.5vw, 2.25rem);
  line-height: 1.3;
  margin: 0;
  font-weight: 800;
  min-height: 1.25em;
  overflow-wrap: break-word;
  word-wrap: break-word;
  word-break: break-word;
}

.hero-typewriter-dynamic {
  color: var(--primary);
  font-weight: 800;
  font-size: 1em;
  letter-spacing: -0.02em;
  border-bottom: 5px solid var(--accent);
  padding-bottom: 6px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  text-shadow: 0 2px 12px rgba(31, 52, 133, 0.15);
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.hero-typewriter-cursor {
  color: var(--primary);
  font-weight: 400;
  font-size: 0.85em;
  animation: hero-cursor-blink 0.85s step-end infinite;
  margin-left: 4px;
  vertical-align: middle;
}

@keyframes hero-cursor-blink {
  50% { opacity: 0; }
}

.hero-yearly-highlight {
  /* Slightly larger, more prominent highlight */
  font-size: clamp(1.15rem, 2.4vw, 1.4rem);
  font-weight: 700;
  color: var(--primary);
  margin: 0 auto;
  line-height: 1.35;
  max-width: 380px;
  letter-spacing: 0.02em;
  padding: var(--space-sm) var(--space-lg);
  border-left: 4px solid var(--primary);
  background: linear-gradient(90deg, rgba(31, 52, 133, 0.06) 0%, transparent 100%);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  text-align: left;
  box-sizing: border-box;
  white-space: nowrap;
}
@media (max-width: 767px) {
  .hero-yearly-highlight {
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
  }
}

.hero-yearly-sub {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--gray-600);
  margin: 0 auto var(--space-xs);
  line-height: 1.6;
  max-width: 360px;
}

.hero-trust-count {
  font-weight: 800;
  color: var(--gray-800);
}

.hero-yearly {
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--gray-700);
  margin: 0 auto var(--space-xl);
  line-height: 1.6;
  max-width: 360px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  align-items: center;
  margin-bottom: var(--space-xl);
}

.hero-price {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--gray-800);
}

.hero-support {
  font-size: var(--text-sm);
  color: var(--gray-600);
  padding-left: var(--space-md);
  border-left: 2px solid var(--gray-300);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: center;
}

.hero-btn {
  /* Slightly tighter buttons in hero to save vertical space */
  padding: var(--space-sm) var(--space-lg);
  font-size: var(--text-base);
  font-weight: 600;
  border-radius: var(--radius-lg);
  text-decoration: none;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.hero-btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  border: none;
  box-shadow: 0 4px 14px rgba(31, 52, 133, 0.35);
}

.hero-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(31, 52, 133, 0.4);
  color: var(--white);
  text-decoration: none;
}

.hero-btn-secondary {
  background: var(--white);
  color: var(--primary);
  border: 2px solid var(--primary);
}

.hero-btn-secondary:hover {
  background: rgba(31, 52, 133, 0.06);
  color: var(--primary-dark);
  transform: translateY(-2px);
  text-decoration: none;
}

.herobanner {
  position: relative;
  z-index: 1;
}

.hero-visual {
  padding-left: var(--space-xl);
  max-width: 100%;
  overflow-x: hidden;
}
@media (max-width: 991px) {
  .hero-visual {
    padding-left: 0;
    padding-top: var(--space-lg);
  }
}

.herobannertop .herobanner {
  max-width: 100%;
  overflow-x: hidden;
}

/* Hero carousel: stacked cards, center prominent, sides scaled and layered */
.hero-carousel {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow-x: hidden;
  max-width: 100%;
}
@media (max-width: 991px) {
  .hero-carousel {
    min-height: 400px;
  }
}
@media (max-width: 767px) {
  .hero-carousel {
    min-height: 340px;
  }
}
@media (max-width: 480px) {
  .hero-carousel {
    min-height: 300px;
  }
}

.hero-carousel-viewport {
  position: relative;
  width: 100%;
  max-width: 760px;
  height: 540px;
  margin: 0 auto;
  overflow: hidden;
  overflow-x: hidden;
}
@media (max-width: 991px) {
  .hero-carousel-viewport {
    max-width: 100%;
    height: 400px;
  }
}
@media (max-width: 767px) {
  .hero-carousel-viewport {
    height: 340px;
  }
}
@media (max-width: 480px) {
  .hero-carousel-viewport {
    height: 300px;
  }
}

.hero-carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: none;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.18);
  color: var(--gray-700);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 4;
  transition: background var(--transition-fast), color var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
}

.hero-carousel-nav:hover {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.25);
  transform: translateY(-50%) scale(1.04);
}

.hero-carousel-nav--prev {
  left: 0;
}

.hero-carousel-nav--next {
  right: 0;
}
@media (max-width: 480px) {
  .hero-carousel-nav {
    width: 36px;
    height: 36px;
  }
  .hero-carousel-nav--prev {
    left: 4px;
  }
  .hero-carousel-nav--next {
    right: 4px;
  }
}

.hero-carousel-nav-icon {
  width: 18px;
  height: 18px;
  display: block;
  color: inherit;
}

.hero-carousel-card {
  position: absolute;
  width: 360px;
  transition: transform 0.45s ease, box-shadow 0.45s ease, z-index 0s;
  top: 50%;
}
@media (max-width: 991px) {
  .hero-carousel-card {
    width: 300px;
  }
}
@media (max-width: 767px) {
  .hero-carousel-card {
    width: 280px;
  }
}
@media (max-width: 480px) {
  .hero-carousel-card {
    width: min(260px, 85vw);
  }
}

.hero-carousel-card-inner {
  background: var(--white);
  border-radius: var(--radius-2xl);
  padding: var(--space-lg);
  box-shadow: 0 8px 24px -6px rgba(31, 52, 133, 0.12), 0 4px 12px -4px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(31, 52, 133, 0.08);
  text-align: center;
}
@media (max-width: 480px) {
  .hero-carousel-card-inner {
    padding: var(--space-md);
  }
}

.hero-carousel-card--left {
  left: 0;
  transform: translate(0, -50%) scale(0.72) translateY(12px);
  z-index: 1;
}
@media (max-width: 767px) {
  .hero-carousel-card--left {
    left: 50%;
    margin-left: -140px;
    transform: translate(-100%, -50%) scale(0.65);
    opacity: 0.85;
  }
}
@media (max-width: 480px) {
  .hero-carousel-card--left {
    display: none;
  }
}

.hero-carousel-card--center {
  left: 50%;
  margin-left: -180px;
  transform: translateY(-50%) scale(1);
  z-index: 3;
  width: 360px;
}
@media (max-width: 991px) {
  .hero-carousel-card--center {
    width: 300px;
    margin-left: -150px;
  }
}
@media (max-width: 767px) {
  .hero-carousel-card--center {
    width: 280px;
    margin-left: -140px;
  }
}
@media (max-width: 480px) {
  .hero-carousel-card--center {
    width: min(260px, 85vw);
    margin-left: min(-130px, -42.5vw);
  }
}

.hero-carousel-card--center .hero-carousel-card-inner {
  box-shadow: 0 20px 48px -12px rgba(31, 52, 133, 0.2), 0 8px 24px -8px rgba(0, 0, 0, 0.1);
}

.hero-carousel-card--right {
  right: 0;
  left: auto;
  transform: translate(0, -50%) scale(0.72) translateY(12px);
  transform-origin: center center;
  z-index: 1;
}
@media (max-width: 767px) {
  .hero-carousel-card--right {
    right: 50%;
    left: auto;
    margin-right: -140px;
    transform: translate(100%, -50%) scale(0.65);
    opacity: 0.85;
  }
}
@media (max-width: 480px) {
  .hero-carousel-card--right {
    display: none;
  }
}

.hero-carousel-img-wrap {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto var(--space-md);
  border: 3px solid var(--gray-100);
  background: var(--gray-50);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-carousel-card--center .hero-carousel-img-wrap {
  border-color: rgba(31, 52, 133, 0.12);
}

.hero-carousel-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  display: block;
}

@media (max-width: 767px) {
  .hero-carousel-img-wrap {
    max-height: 200px;
    min-height: 120px;
  }
  .hero-carousel-viewport {
    overflow: visible;
  }
  .hero-carousel-card-inner {
    overflow: visible;
  }
}

.hero-carousel-caption {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-600);
  margin: 0;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hero-carousel-card--center .hero-carousel-caption {
  font-size: var(--text-sm);
  color: var(--gray-700);
  -webkit-line-clamp: 2;
}

.hero-visual-inner {
  position: relative;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: 0 28px 56px -16px rgba(31, 52, 133, 0.15);
  border: 1px solid rgba(31, 52, 133, 0.06);
  background: var(--gray-50);
}

.hero-changing-image {
  width: 100%;
  height: auto;
  display: block;
  transition: opacity 0.3s ease;
}

.hero-changing-image.hero-image-fade-out {
  opacity: 0;
}

.hero-image {
  width: 100%;
  height: auto;
  border-radius: var(--radius-2xl);
}

.hero-visual-inner .hero-image {
  border-radius: 0;
  box-shadow: none;
}

/* Legacy hero (if .loginbtn still used elsewhere) */
.hero-contant .btn.loginbtn {
  margin-right: var(--space-md);
  margin-top: var(--space-lg);
}

.hero-contant p {
  font-size: var(--text-lg);
  color: var(--gray-700);
  margin-bottom: var(--space-md);
  line-height: 1.7;
}

/* Override: typewriter line (beats .hero-contant p and other sheets) */
.hero-contant .hero-typewriter-line {
  font-size: clamp(1.5rem, 4.5vw, 2.25rem) !important;
  color: inherit;
  margin-bottom: 0;
  line-height: 1.2;
}

.hero-contant .hero-typewriter-dynamic {
  font-size: 1em !important;
}

@media (max-width: 768px) {
  .hero-title-top {
    font-size: clamp(1rem, 4.5vw, 1.35rem);
    margin-bottom: var(--space-xl);
  }

  .hero-title-top::after {
    display: none;
  }

  .hero-title {
    font-size: var(--text-3xl);
  }

  .hero-title::after {
    display: none;
  }

  .hero-typewriter-wrap {
    min-height: 0;
    margin-bottom: var(--space-md);
  }

  .hero-typewriter-prefix {
    font-size: clamp(0.95rem, 4vw, 1.2rem);
  }

  .hero-contant .hero-typewriter-line {
    font-size: clamp(1.25rem, 5.5vw, 1.85rem) !important;
    line-height: 1.35;
    min-height: 0;
  }

  .hero-meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-support {
    padding-left: 0;
    border-left: none;
  }

  .hero-yearly-highlight {
    white-space: normal;
    max-width: 100%;
  }

  .hero-actions .hero-btn {
    flex: 1;
    min-width: 140px;
    text-align: center;
  }

  .hero-visual {
    padding-left: 0;
    margin-top: var(--space-xl);
  }

  .hero-carousel {
    min-height: 420px;
  }

  .hero-carousel-viewport {
    max-width: 100%;
    height: 440px;
  }

  .hero-carousel-card {
    width: 290px;
  }

  .hero-carousel-card--center {
    margin-left: -145px;
    width: 290px;
  }

  .hero-carousel-card--left {
    transform: translate(0, -50%) scale(0.72) translateY(8px);
  }

  .hero-carousel-card--right {
    transform: translate(0, -50%) scale(0.72) translateY(8px);
  }

  .hero-carousel-caption {
    font-size: 0.75rem;
  }

  .hero-carousel-card--center .hero-carousel-caption {
    font-size: 0.85rem;
  }
}

@media (max-width: 576px) {
  .herobannertop .hero-typewriter-wrap {
    min-height: 0;
    margin-bottom: var(--space-sm);
  }

  .herobannertop .hero-typewriter-prefix {
    font-size: clamp(0.875rem, 4vw, 1rem);
  }

  .herobannertop .hero-contant .hero-typewriter-line {
    font-size: clamp(1rem, 5vw, 1.35rem) !important;
    line-height: 1.4;
    min-height: 0;
  }

  .herobannertop .hero-typewriter-dynamic {
    border-bottom-width: 3px;
    padding-bottom: 4px;
  }
}

@media (max-width: 375px) {
  .herobannertop .hero-typewriter-prefix {
    font-size: 0.8125rem;
  }

  .herobannertop .hero-contant .hero-typewriter-line {
    font-size: clamp(0.875rem, 4.5vw, 1.15rem) !important;
    line-height: 1.45;
  }

  .herobannertop .hero-typewriter-dynamic {
    border-bottom-width: 2px;
    padding-bottom: 3px;
  }
}

/* ============================================
   FORM SYSTEM
   ============================================ */
.form-control {
  display: block;
  width: 100%;
  padding: var(--space-md);
  font-size: var(--text-base);
  font-weight: 400;
  line-height: 1.5;
  color: var(--gray-900);
  background-color: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-md);
  transition: border-color var(--transition-fast),
    box-shadow var(--transition-fast);
  margin-bottom: var(--space-md);
}

.form-control:focus {
  outline: 0;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(31, 52, 133, 0.1);
}

.form-control::placeholder {
  color: var(--gray-400);
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

/* All select dropdowns – consistent aesthetic site-wide */
select.form-control,
select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  cursor: pointer;
  font-family: inherit;
  background-color: var(--white);
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%231f3485' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.8' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 12px center;
  background-repeat: no-repeat;
  background-size: 1.25em 1.25em;
  padding: var(--space-sm) 2.75rem var(--space-sm) var(--space-md);
  padding-right: 2.75rem;
  min-height: 42px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-300);
  color: var(--gray-800);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

select.form-control:hover,
select:hover {
  border-color: var(--gray-400);
}

select.form-control:focus,
select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(31, 52, 133, 0.12);
}

select.form-control {
  margin-bottom: var(--space-md);
}

.demoboxform {
  background: var(--white);
  padding: var(--space-2xl);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

.demoboxform h2 {
  color: var(--gray-900);
  margin-bottom: var(--space-xl);
  text-align: center;
}

.demoboxform label {
  display: block;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: var(--space-sm);
  font-size: var(--text-sm);
}

.demoboxform button.form-control {
  background-color: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  font-weight: 600;
  cursor: pointer;
  margin-top: var(--space-lg);
}

.demoboxform button.form-control:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ============================================
   AUTH PAGES (Login / Signup – User & Partner)
   ============================================ */
.auth-page {
  min-height: 70vh;
  display: flex;
  align-items: center;
  padding: var(--space-2xl) var(--space-md);
  background: linear-gradient(160deg, var(--gray-50) 0%, var(--white) 50%, var(--gray-50) 100%);
}

.auth-card {
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-xl);
  padding: var(--space-2xl);
  border: 1px solid var(--gray-100);
}

.auth-card.auth-card--wide {
  max-width: 520px;
}

.auth-card__logo {
  display: block;
  margin: 0 auto var(--space-xl);
  height: 56px;
  width: auto;
  object-fit: contain;
}

.auth-card__title {
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--gray-900);
  text-align: center;
  margin: 0 0 var(--space-xs);
}

.auth-card__subtitle {
  font-size: var(--text-sm);
  color: var(--gray-500);
  text-align: center;
  margin: 0 0 var(--space-xl);
}

.auth-card .form-group {
  margin-bottom: var(--space-lg);
}

.auth-card label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: var(--space-xs);
}

.auth-card .form-control {
  width: 100%;
  padding: var(--space-sm) var(--space-md);
  font-size: var(--text-base);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  background: var(--white);
  color: var(--gray-900);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.auth-card .form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(31, 52, 133, 0.12);
}

.auth-card .form-control::placeholder {
  color: var(--gray-400);
}

.auth-card .btn-primary-auth {
  width: 100%;
  padding: var(--space-md) var(--space-xl);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--white);
  background: var(--primary);
  border: none;
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: background-color var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
}

.auth-card .btn-primary-auth:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.auth-card__links {
  margin-top: var(--space-xl);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--gray-200);
  text-align: center;
  font-size: var(--text-sm);
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.auth-card__links a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.auth-card__links a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

.auth-card__message {
  margin-top: var(--space-md);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-weight: 500;
  text-align: center;
}

.auth-card__message.auth-card__message--error {
  background: rgba(239, 68, 68, 0.1);
  color: var(--error);
}

.auth-card__message.auth-card__message--success {
  background: rgba(16, 185, 129, 0.1);
  color: var(--success);
}

/* Auth split layout (e.g. partner login with image) */
.auth-split {
  min-height: 70vh;
  display: flex;
  align-items: stretch;
  padding: var(--space-2xl) 0;
}

.auth-split__media {
  display: none;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  border-radius: var(--radius-2xl) 0 0 var(--radius-2xl);
  background-size: cover;
  background-position: center;
}

@media (min-width: 992px) {
  .auth-split__media {
    display: block;
    width: 42%;
    min-height: 520px;
  }
}

.auth-split__form-wrap {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-xl);
  width: 100%;
}

.auth-split .auth-card {
  max-width: 400px;
  width: 100%;
  margin: 0 auto;
}

/* Signup form: two columns on larger screens */
.auth-form-grid {
  display: grid;
  gap: var(--space-lg);
}

@media (min-width: 576px) {
  .auth-form-grid.auth-form-grid--2 {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 576px) {
  .auth-form-grid.auth-form-grid--3 {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

/* Customer signup: fit form in single viewport */
.auth-page--signup {
  min-height: 100vh;
  padding: var(--space-sm) var(--space-md);
  align-items: center;
}

.auth-page--signup .auth-card--signup {
  padding: var(--space-lg) var(--space-xl);
}

.auth-page--signup .auth-card__subtitle {
  margin-bottom: var(--space-md);
}

.auth-page--signup .auth-card .form-group {
  margin-bottom: var(--space-sm);
}

.auth-page--signup .auth-card__links {
  margin-top: var(--space-md);
  padding-top: var(--space-md);
}

.auth-page--signup .auth-card .btn-primary-auth {
  padding: var(--space-sm) var(--space-lg);
}

.auth-page--signup .auth-form-grid {
  gap: var(--space-sm);
}

/* Partner signup: form card uses auth styling */
.demoboxform.auth-form-card {
  max-width: 540px;
  margin: 0 auto;
}

.demoboxform.auth-form-card .form-group {
  margin-bottom: var(--space-lg);
}

.demoboxform.auth-form-card label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: var(--space-xs);
}

.demoboxform.auth-form-card .form-control {
  width: 100%;
  padding: var(--space-sm) var(--space-md);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.demoboxform.auth-form-card .form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(31, 52, 133, 0.12);
}

.demoboxform.auth-form-card button[type="submit"] {
  width: 100%;
  padding: var(--space-md) var(--space-xl);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--white);
  background: var(--primary);
  border: none;
  border-radius: var(--radius-lg);
  cursor: pointer;
  margin-top: var(--space-md);
  transition: background-color var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
}

.demoboxform.auth-form-card button[type="submit"]:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.demoboxform.auth-form-card .auth-card__links {
  border-top: none;
  padding-top: var(--space-md);
  margin-top: var(--space-md);
}

/* Partner page: make Advantages cards compact and aligned */
.partner-advantages .featuresBoxnew {
  min-height: auto !important;
  margin: 0 0 var(--space-md) 0 !important;
  padding: var(--space-md) !important;
  text-align: left !important;
  font-size: var(--text-sm) !important;
  border-radius: var(--radius-lg) !important;
  box-shadow: var(--shadow-sm) !important;
}

.partner-advantages .featuresBoxnew h4 {
  margin: 0 0 var(--space-xs) 0;
  color: var(--primary);
  font-size: var(--text-base);
  font-weight: 700;
}

.partner-advantages .featuresBoxnew p {
  margin: 0;
  color: var(--gray-600);
  font-size: var(--text-sm);
  line-height: 1.6;
}

.partner-signup-heading--center {
  text-align: center;
  margin-bottom: var(--space-lg);
  font-size: var(--text-2xl);
}

.partner-advantages-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

@media (max-width: 575px) {
  .partner-advantages-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   PARTNER SIGNUP PAGE – aligned heights, single viewport form
   ============================================ */
.partner-signup-page {
  padding: var(--space-lg) 0;
  background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 30%);
}

.partner-signup-page .partner-signup-row {
  margin-bottom: var(--space-xl);
}

.partner-signup-page .partner-signup-row:last-of-type {
  margin-bottom: 0;
}

/* Aligned image + content: same height per row */
.partner-signup-img-col {
  display: flex;
}

.partner-signup-img-wrap {
  width: 100%;
  min-height: 260px;
  height: 100%;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-100);
}

.partner-signup-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.partner-signup-content {
  width: 100%;
}

.partner-signup-title {
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--gray-900);
  margin: 0 0 var(--space-md);
  text-align: center;
}

.partner-signup-intro {
  font-size: var(--text-base);
  color: var(--gray-600);
  line-height: 1.6;
  margin: 0;
  text-align: center;
}

.partner-signup-heading {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--gray-900);
  margin: 0 0 var(--space-md);
}

/* Form + steps in single viewport */
.partner-signup-form-row {
  min-height: 0;
  margin-bottom: 0;
}

.partner-form-col,
.partner-steps-col {
  display: flex;
  flex-direction: column;
}

.partner-form-card,
.partner-steps-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  max-height: 78vh;
  overflow-y: auto;
}

.partner-form-card {
  max-width: 100%;
  margin: 0;
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-lg);
  background: var(--white);
  border: 1px solid var(--gray-100);
}

.partner-form-title {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--gray-900);
  margin: 0 0 2px;
  text-align: center;
}

.partner-form-subtitle {
  font-size: var(--text-sm);
  color: var(--gray-500);
  text-align: center;
  margin: 0 0 var(--space-sm);
}

.partner-form-card label {
  margin-bottom: 2px;
}

.partner-form-card .form-group {
  margin-bottom: var(--space-xs);
}

.partner-form-card .form-control {
  padding: 6px var(--space-sm);
  font-size: var(--text-sm);
}

.partner-form-card .auth-form-grid {
  gap: var(--space-xs);
}

.partner-form-card .btn-primary-auth {
  padding: 8px var(--space-lg);
  margin-top: 2px;
  font-size: var(--text-sm);
}

.partner-form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: var(--space-xs);
}

.partner-form-checkbox input[type="checkbox"] {
  margin-top: 4px;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
}

.partner-form-checkbox label {
  font-size: var(--text-sm);
  color: var(--gray-600);
  margin: 0;
  line-height: 1.5;
}

.partner-form-checkbox a {
  color: var(--primary);
  font-weight: 600;
}

/* Registration steps card */
.partner-steps-card {
  background: var(--white);
  padding: var(--space-lg) var(--space-xl);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-100);
  height: 100%;
}

.partner-steps-title {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--gray-900);
  margin: 0 0 var(--space-md);
}

.partner-step-item {
  margin-bottom: var(--space-sm);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid var(--gray-200);
}

.partner-step-item--last {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.partner-step-item h4 {
  color: var(--primary);
  font-size: var(--text-base);
  margin: 0 0 var(--space-xs);
  font-weight: 600;
}

.partner-step-item p {
  color: var(--gray-600);
  margin: 0;
  font-size: var(--text-sm);
  line-height: 1.5;
}

.partner-step-item a {
  color: var(--primary);
}

@media (min-width: 992px) {
  .partner-signup-img-wrap {
    min-height: 280px;
  }

  .partner-signup-form-row {
    align-items: stretch;
  }

  .partner-form-card,
  .partner-steps-card {
    max-height: 72vh;
  }
}

@media (max-width: 991px) {
  .partner-signup-form-row {
    flex-direction: column;
  }

  .partner-form-card,
  .partner-steps-card {
    max-height: none;
  }

  .partner-signup-img-wrap {
    min-height: 220px;
  }
}

/* ============================================
   TABLE SYSTEM
   ============================================ */
.table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  margin: 0;
}

.table thead {
  background: var(--primary);
  color: var(--white);
}

.table th {
  padding: var(--space-lg);
  text-align: left;
  font-weight: 600;
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 2px solid var(--primary-dark);
}

.table td {
  padding: var(--space-lg);
  border-bottom: 1px solid var(--gray-200);
  color: var(--gray-700);
  vertical-align: middle;
}

.table tbody tr:hover {
  background-color: var(--gray-50);
}

.table tbody tr:last-child td {
  border-bottom: none;
}

.table td a.btn {
  padding: var(--space-sm) var(--space-lg);
  font-size: var(--text-sm);
  margin: 0;
}

.cspr {
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: var(--space-xl);
  margin: var(--space-2xl) auto;
  overflow: visible;
}

@media (max-width: 768px) {
  .table {
    font-size: var(--text-sm);
  }

  .table th,
  .table td {
    padding: var(--space-md);
  }

  .cspr {
    padding: var(--space-md);
    margin: var(--space-lg) auto;
  }
}

/* ============================================
   PRICING TABLE PAGE – Plans & Pricing
   ============================================ */
.pricing-table-page {
  background: linear-gradient(165deg, var(--gray-50) 0%, #f0f4f8 50%, var(--white) 100%);
  position: relative;
  overflow: hidden;
}

.pricing-table-page::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -20%;
  width: 60%;
  height: 120%;
  background: radial-gradient(ellipse at center, rgba(31, 52, 133, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

.pricing-table-page::after {
  content: "";
  position: absolute;
  bottom: -30%;
  right: -15%;
  width: 50%;
  height: 80%;
  background: radial-gradient(ellipse at center, rgba(6, 86, 143, 0.03) 0%, transparent 70%);
  pointer-events: none;
}

.pricing-table-heading {
  text-align: center;
  margin-bottom: var(--space-3xl);
  position: relative;
  z-index: 1;
}

.pricing-table-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--primary) !important;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: var(--space-md);
}

.pricing-table-subtitle {
  font-size: var(--text-lg);
  color: var(--gray-600);
  max-width: 640px;
  margin: 0 auto var(--space-xl);
  line-height: 1.6;
}

.pricing-table-accent {
  width: 64px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: var(--radius-full);
  margin: 0 auto;
}

.pricing-table-page .pricing-table-wrap {
  position: relative;
  z-index: 1;
  border: 1px solid var(--gray-200);
  overflow: hidden;
  border-radius: var(--radius-2xl);
  box-shadow: 0 12px 40px rgba(31, 52, 133, 0.1), 0 4px 20px rgba(0, 0, 0, 0.06);
}

.pricing-table-page .pricing-table-wrap .table-responsive {
  border-radius: 0;
  box-shadow: none;
  overflow-x: auto;
}

.pricing-table-page .pricing-table-wrap .table {
  margin: 0;
}

.pricing-table-page .pricing-table-wrap .table thead th {
  font-size: var(--text-sm);
  letter-spacing: 0.04em;
}

.pricing-table-page .pricing-table-wrap .table td a.btn,
.pricing-table-page .pricing-table-wrap .table td .btn {
  display: inline-block;
  padding: var(--space-sm) var(--space-xl);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--white);
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border: none;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.pricing-table-page .pricing-table-wrap .table td a.btn:hover,
.pricing-table-page .pricing-table-wrap .table td .btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(31, 52, 133, 0.35);
  color: var(--white);
  text-decoration: none;
}

.pricing-table-footer {
  margin-top: var(--space-xl);
  padding-top: var(--space-xl);
  border-top: 1px solid var(--gray-200);
  text-align: center;
  font-size: var(--text-base);
  color: var(--gray-600);
}

.pricing-table-footer p {
  margin: 0 0 var(--space-xs);
}

.pricing-table-footer a {
  color: var(--primary);
  font-weight: 600;
}

@media (max-width: 768px) {
  .pricing-table-page .pricing-table-wrap {
    padding: var(--space-md);
  }
}

/* ============================================
   CONTACT PAGE – Contact Us
   ============================================ */
.contact-page {
  background: linear-gradient(165deg, var(--gray-50) 0%, #f0f4f8 50%, var(--white) 100%);
  position: relative;
  overflow: hidden;
}

.contact-page::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -20%;
  width: 60%;
  height: 120%;
  background: radial-gradient(ellipse at center, rgba(31, 52, 133, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

.contact-page::after {
  content: "";
  position: absolute;
  bottom: -30%;
  right: -15%;
  width: 50%;
  height: 80%;
  background: radial-gradient(ellipse at center, rgba(6, 86, 143, 0.03) 0%, transparent 70%);
  pointer-events: none;
}

.contact-heading {
  text-align: center;
  margin-bottom: var(--space-3xl);
  position: relative;
  z-index: 1;
}

.contact-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--primary) !important;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: var(--space-md);
}

.contact-subtitle {
  font-size: var(--text-lg);
  color: var(--gray-600);
  max-width: 640px;
  margin: 0 auto var(--space-xl);
  line-height: 1.6;
}

.contact-accent {
  width: 64px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: var(--radius-full);
  margin: 0 auto;
}

/* Two-column layout: centered, equal height, wider form */
.contact-page .contact-layout {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xl);
  align-items: stretch;
  justify-content: center;
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
}

.contact-page .contact-info-card,
.contact-page .contact-form-card {
  flex: 1 1 300px;
  min-width: 0;
}

@media (min-width: 992px) {
  .contact-page .contact-info-card {
    flex: 0 0 320px;
    max-width: 320px;
  }
  .contact-page .contact-form-card {
    flex: 0 1 480px;
    max-width: 480px;
    min-width: 320px;
  }
}

.contact-info-card {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-2xl);
  box-shadow: 0 12px 40px rgba(31, 52, 133, 0.08), 0 4px 20px rgba(0, 0, 0, 0.04);
  padding: var(--space-lg) var(--space-xl);
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
}

.contact-info-image-wrap {
  margin-bottom: var(--space-sm);
  text-align: center;
  flex-shrink: 0;
}

.contact-info-image {
  max-width: 100%;
  width: 120px;
  height: auto;
  object-fit: contain;
  display: inline-block;
}

.contact-info-title {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--primary);
  margin-bottom: var(--space-xs);
  margin-top: 0;
}

.contact-info-text {
  font-size: var(--text-sm);
  color: var(--gray-600);
  line-height: 1.5;
  margin-bottom: var(--space-md);
}

.contact-info-item {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.contact-info-item:last-child {
  margin-bottom: 0;
}

.contact-info-icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
  flex-shrink: 0;
}

.contact-info-link {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.contact-info-link:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

.contact-info-sep {
  color: var(--gray-400);
  font-weight: 400;
}

.contact-info-card .contact-info-title {
  flex-shrink: 0;
}

.contact-info-card .contact-info-text,
.contact-info-card .contact-info-item {
  flex-shrink: 0;
}

.contact-form-card {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-2xl);
  box-shadow: 0 12px 40px rgba(31, 52, 133, 0.08), 0 4px 20px rgba(0, 0, 0, 0.04);
  padding: var(--space-lg) var(--space-xl);
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
}

.contact-form-title {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--primary);
  margin-bottom: var(--space-sm);
  margin-top: 0;
}

.contact-page .contact-form .contact-form-group {
  margin-bottom: var(--space-sm);
}

.contact-page .contact-form .contact-form-group:last-of-type {
  margin-bottom: 0;
}

.contact-page .contact-form label {
  display: block;
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 2px;
}

.contact-page .contact-form .form-control {
  width: 100%;
  padding: 6px 10px;
  font-size: var(--text-sm);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-md);
  background: var(--white);
  color: var(--gray-900);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.contact-page .contact-form .form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(31, 52, 133, 0.15);
}

.contact-page .contact-form textarea.form-control {
  min-height: 72px;
  resize: vertical;
  max-height: 120px;
}

.contact-page .contact-form .g-recaptcha {
  margin-bottom: var(--space-xs);
}

.contact-form-submit {
  display: inline-block;
  padding: var(--space-sm) var(--space-xl);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--white);
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border: none;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 14px rgba(31, 52, 133, 0.35);
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  margin-top: 2px;
}

.contact-form-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(31, 52, 133, 0.4);
}

.contact-form-message {
  margin-top: var(--space-md);
  font-size: var(--text-sm);
  color: var(--error);
}

@media (max-width: 768px) {
  .contact-page .contact-layout {
    flex-direction: column;
    max-width: 100%;
  }
  .contact-page .contact-info-card,
  .contact-page .contact-form-card {
    flex: 1 1 100%;
    max-width: 100%;
  }
  .contact-info-card,
  .contact-form-card {
    padding: var(--space-lg) var(--space-xl);
  }
  .contact-info-image {
    width: 80px;
  }
  .contact-heading {
    margin-bottom: var(--space-2xl);
  }
}

/* ============================================
   TDL PAGE – Tally Addons (TDLs)
   ============================================ */
.tdl-page {
  background: linear-gradient(165deg, var(--gray-50) 0%, #f0f4f8 50%, var(--white) 100%);
  position: relative;
  overflow: hidden;
}

.tdl-page::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -20%;
  width: 60%;
  height: 120%;
  background: radial-gradient(ellipse at center, rgba(31, 52, 133, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

.tdl-page::after {
  content: "";
  position: absolute;
  bottom: -30%;
  right: -15%;
  width: 50%;
  height: 80%;
  background: radial-gradient(ellipse at center, rgba(6, 86, 143, 0.03) 0%, transparent 70%);
  pointer-events: none;
}

.tdl-heading {
  text-align: center;
  margin-bottom: var(--space-3xl);
  position: relative;
  z-index: 1;
}

.tdl-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--primary) !important;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: var(--space-md);
}

.tdl-subtitle {
  font-size: var(--text-lg);
  color: var(--gray-600);
  max-width: 640px;
  margin: 0 auto var(--space-xl);
  line-height: 1.6;
}

.tdl-accent {
  width: 64px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: var(--radius-full);
  margin: 0 auto;
}

.tdl-table-wrap {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  background: var(--white);
  border-radius: var(--radius-2xl);
  box-shadow: 0 12px 40px rgba(31, 52, 133, 0.1), 0 4px 20px rgba(0, 0, 0, 0.06);
  border: 1px solid var(--gray-200);
  overflow: hidden;
  margin-bottom: var(--space-3xl);
}

.tdl-table-wrap .table-responsive {
  border-radius: 0;
  box-shadow: none;
}

.tdl-page .tdl-table.paidTblInner,
.tdl-page .paidTblInner {
  width: 100%;
  border-collapse: collapse;
  margin: 0;
}

.tdl-page .tdl-table.paidTblInner th,
.tdl-page .paidTblInner th {
  padding: 0.5rem 0.6rem;
  text-align: left;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  font-weight: 600;
  font-size: 0.8125rem;
  letter-spacing: 0.03em;
  border: none;
}

.tdl-page .tdl-table.paidTblInner td,
.tdl-page .paidTblInner td {
  padding: 0.5rem 0.6rem;
  border-bottom: 1px solid var(--gray-200);
  color: var(--gray-700);
  font-size: 0.875rem;
}

.tdl-page .tdl-table.paidTblInner tr:nth-child(even),
.tdl-page .paidTblInner tr:nth-child(even) {
  background: var(--gray-50);
}

.tdl-page .tdl-table.paidTblInner tbody tr:hover,
.tdl-page .paidTblInner tbody tr:hover {
  background: rgba(31, 52, 133, 0.04);
}

.tdl-request-section {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2xl);
  align-items: stretch;
  justify-content: center;
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: var(--space-3xl);
  position: relative;
  z-index: 1;
}

.tdl-request-content {
  flex: 0 1 520px;
  max-width: 520px;
  min-width: 0;
  padding: var(--space-lg) var(--space-xl);
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: 0 8px 28px rgba(31, 52, 133, 0.08);
  border: 1px solid var(--gray-200);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.tdl-request-title {
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--primary);
  margin-bottom: var(--space-3xl);
  margin-top: 0;
  text-align: center;
}

.tdl-request-text {
  font-size: var(--text-base);
  color: var(--gray-700);
  line-height: 1.6;
  margin-bottom: var(--space-2xl);
}

.tdl-request-text:last-of-type {
  margin-bottom: 0;
}

.tdl-request-text a {
  color: var(--primary);
  font-weight: 600;
}

/* Email line: add space before it */
.tdl-request-email {
  display: block;
  margin-top: var(--space-2xl);
}

.tdl-request-form-wrap {
  flex: 0 1 420px;
  max-width: 420px;
  min-width: 0;
  display: flex;
  align-items: stretch;
}

.tdl-page .tdl-form-card {
  padding: var(--space-md) var(--space-lg);
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: 0 8px 28px rgba(31, 52, 133, 0.08);
  border: 1px solid var(--gray-200);
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.tdl-page .tdl-form-card form {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.tdl-page .tdl-form-card .form-control {
  margin-bottom: var(--space-xs);
  padding: 6px 10px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
}

.tdl-page .tdl-form-card .form-control:focus {
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(31, 52, 133, 0.12);
}

.tdl-page .tdl-form-card form > div {
  margin-bottom: var(--space-xs);
}

.tdl-page .tdl-form-card select.form-control {
  padding: 6px 10px;
  min-height: auto;
}

.tdl-page .tdl-form-card .g-recaptcha {
  margin-bottom: var(--space-xs);
}

.tdl-form-submit {
  width: 100%;
  padding: var(--space-xs) var(--space-lg);
  margin-top: 2px;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--white);
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.tdl-form-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(31, 52, 133, 0.35);
}

.tdl-form-message {
  display: block;
  margin-top: var(--space-sm);
  color: var(--primary);
  font-weight: 600;
  font-size: var(--text-base);
}

.tdl-bank-section {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xl);
  align-items: flex-start;
  padding: var(--space-lg) var(--space-xl);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: 0 8px 28px rgba(31, 52, 133, 0.08);
  border: 1px solid var(--gray-200);
  position: relative;
  z-index: 1;
}

.tdl-bank-details {
  flex: 1 1 240px;
  min-width: 0;
}

.tdl-bank-title {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: var(--space-md);
  margin-top: 0;
}

.tdl-bank-line {
  font-size: var(--text-sm);
  color: var(--gray-700);
  margin-bottom: var(--space-xs);
  line-height: 1.45;
}

.tdl-bank-line:last-child {
  margin-bottom: 0;
}

.tdl-bank-qr {
  flex: 0 0 160px;
}

.tdl-qr-img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  display: block;
}

@media (max-width: 768px) {
  .tdl-request-section {
    flex-direction: column;
  }
  .tdl-request-form-wrap {
    flex: 1 1 100%;
  }
  .tdl-bank-section {
    flex-direction: column;
    padding: var(--space-md) var(--space-lg);
    max-width: 100%;
  }
  .tdl-bank-title {
    margin-bottom: var(--space-sm);
  }
  .tdl-bank-qr {
    flex: 0 0 auto;
    max-width: 180px;
  }
}

/* ============================================
   FAQ PAGE
   ============================================ */
.faq-page {
  background: linear-gradient(165deg, var(--gray-50) 0%, #f0f4f8 50%, var(--white) 100%);
  position: relative;
  overflow: hidden;
}

.faq-page::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -20%;
  width: 60%;
  height: 120%;
  background: radial-gradient(ellipse at center, rgba(31, 52, 133, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

.faq-heading {
  text-align: center;
  margin-bottom: var(--space-3xl);
  position: relative;
  z-index: 1;
}

.faq-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--primary) !important;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: var(--space-md);
}

.faq-subtitle {
  font-size: var(--text-lg);
  color: var(--gray-600);
  max-width: 600px;
  margin: 0 auto var(--space-xl);
  line-height: 1.6;
}

.faq-accent {
  width: 64px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: var(--radius-full);
  margin: 0 auto;
}

.faq-search-wrap {
  max-width: 560px;
  margin: 0 auto var(--space-2xl);
  display: flex;
  align-items: stretch;
  border-radius: var(--radius-xl);
  box-shadow: 0 4px 20px rgba(31, 52, 133, 0.1);
  border: 1px solid var(--gray-200);
  background: var(--white);
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.faq-search-wrap:focus-within {
  border-color: var(--primary);
  box-shadow: 0 8px 28px rgba(31, 52, 133, 0.12);
}

.faq-search-input {
  flex: 1;
  padding: var(--space-md) var(--space-xl);
  font-size: var(--text-base);
  border: none;
  background: transparent;
  color: var(--gray-900);
  outline: none;
}

.faq-search-input::placeholder {
  color: var(--gray-400);
}

.faq-search-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 var(--space-xl);
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
}

.faq-layout {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2xl);
  align-items: flex-start;
  position: relative;
  z-index: 1;
}

.faq-sidebar {
  flex: 0 0 260px;
  min-width: 0;
}

.faq-sidebar-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: 0 4px 20px rgba(31, 52, 133, 0.08);
  border: 1px solid var(--gray-200);
  overflow: hidden;
  position: sticky;
  top: var(--space-xl);
}

.faq-sidebar-title {
  margin: 0;
  padding: var(--space-md) var(--space-lg);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--white);
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.faq-sidebar-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.faq-sidebar-item {
  border-bottom: 1px solid var(--gray-100);
}

.faq-sidebar-item:last-child {
  border-bottom: none;
}

.faq-sidebar-link {
  display: block;
  padding: var(--space-sm) var(--space-lg);
  color: var(--gray-700);
  text-decoration: none;
  font-size: var(--text-sm);
  transition: color var(--transition-fast), background var(--transition-fast);
}

.faq-sidebar-link:hover {
  color: var(--primary);
  background: var(--gray-50);
}

.faq-content {
  flex: 1 1 400px;
  min-width: 0;
}

.faq-category-title {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--primary);
  margin: var(--space-2xl) 0 var(--space-md);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.faq-category-title:first-child {
  margin-top: 0;
}

.faq-accordion-item {
  border-radius: var(--radius-lg) !important;
  overflow: hidden;
  margin-bottom: var(--space-sm) !important;
  border: 1px solid var(--gray-200) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.faq-accordion-btn {
  font-weight: 600 !important;
  color: var(--gray-900) !important;
  font-size: var(--text-base) !important;
  background: var(--white) !important;
}

.faq-accordion-btn:not(.collapsed) {
  color: var(--primary) !important;
  background: var(--gray-50) !important;
  box-shadow: none !important;
}

.faq-accordion-btn:focus {
  box-shadow: none !important;
  border-color: var(--gray-200) !important;
}

.faq-accordion-body {
  font-size: var(--text-base);
  color: var(--gray-700);
  line-height: 1.65;
  padding: var(--space-lg) !important;
}

@media (max-width: 991px) {
  .faq-sidebar {
    flex: 1 1 100%;
  }
  .faq-sidebar-card {
    position: static;
  }
}

/* ============================================
   COUNTER SECTION
   ============================================ */
.counter-box {
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-dark) 100%
  );
  color: var(--white);
  padding: var(--space-4xl) 0;
  position: relative;
  overflow: hidden;
}

.counter-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%23ffffff" fill-opacity="0.05"><path d="M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z"/></g></g></svg>');
  opacity: 0.1;
}

.counter-desc {
  display: block;
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: var(--space-md);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.9;
}

.counter-box p {
  margin: 0;
  font-size: var(--text-5xl);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
}

/* Counter section – stats layout (like reference image), horizontal, minimal height */
.counter-box-stats {
  background: #10214c !important;
  padding: var(--space-xl) 0 !important;
  position: relative;
}

.counter-box-stats.section-padding {
  padding-top: var(--space-lg) !important;
  padding-bottom: var(--space-lg) !important;
}

.counter-box-stats::before {
  display: none;
}

.counter-stats-row {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-left: 0;
  margin-right: 0;
}

.counter-stats-row .counter-stat {
  flex: 1 1 0;
  min-width: 0;
  max-width: 25%;
}

.counter-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  padding: var(--space-sm) var(--space-md);
}

.counter-stat-icon {
  width: 44px;
  height: 44px;
  margin-bottom: var(--space-sm);
  color: #5eb3f6;
  flex-shrink: 0;
}

.counter-stat-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.counter-box-stats .counter-desc {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--white);
  margin-bottom: var(--space-xs);
  text-transform: none;
  letter-spacing: 0;
  opacity: 1;
}

.counter-stat-value {
  margin: 0;
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  white-space: nowrap;
}

.counter-box-stats .counter-stat-value .counter {
  display: inline-block;
}

@media (max-width: 991px) {
  .counter-stats-row {
    flex-wrap: wrap;
    justify-content: center;
  }

  .counter-stats-row .counter-stat {
    flex: 1 1 auto;
    max-width: 50%;
    min-width: 140px;
  }
}

@media (max-width: 768px) {
  .counter-box p {
    font-size: var(--text-4xl);
  }

  .counter-desc {
    font-size: var(--text-base);
  }

  .counter-stat-value {
    font-size: var(--text-sm);
  }

  .counter-stat-icon {
    width: 36px;
    height: 36px;
    margin-bottom: var(--space-xs);
  }

  .counter-box-stats,
  .counter-box-stats.section-padding {
    padding: var(--space-lg) 0 !important;
  }

  .counter-stats-row .counter-stat {
    max-width: 50%;
  }
}

@media (max-width: 576px) {
  .counter-box p {
    font-size: var(--text-2xl);
  }

  .counter-desc {
    font-size: var(--text-sm);
  }

  .counter-box-stats,
  .counter-box-stats.section-padding {
    padding: var(--space-md) 0 !important;
  }

  .counter-stats-row {
    margin-left: -0.25rem;
    margin-right: -0.25rem;
  }

  .counter-stats-row .counter-stat {
    max-width: 50%;
    min-width: 0;
    padding: var(--space-xs) var(--space-sm);
  }

  .counter-stat-icon {
    width: 28px;
    height: 28px;
    margin-bottom: var(--space-xs);
  }

  .counter-box-stats .counter-desc {
    font-size: 0.6875rem;
    margin-bottom: 2px;
  }

  .counter-stat-value {
    font-size: 0.75rem;
  }
}

@media (max-width: 380px) {
  .counter-stats-row .counter-stat {
    padding: var(--space-xs) 4px;
  }

  .counter-stat-icon {
    width: 24px;
    height: 24px;
  }

  .counter-box-stats .counter-desc {
    font-size: 0.625rem;
  }

  .counter-stat-value {
    font-size: 0.6875rem;
  }
}

/* ============================================
   TESTIMONIALS – Trusted by (client says)
   ============================================ */
.testimonials-trusted {
  background: var(--gray-50) !important;
  background-image: none !important;
  background-attachment: scroll !important;
}

.testimonials-trusted-row {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  margin-left: -0.75rem;
  margin-right: -0.75rem;
}

.testimonials-trusted-row > * {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  flex: 0 0 100%;
  max-width: 100%;
  box-sizing: border-box;
}

@media (min-width: 992px) {
  .testimonials-trusted-row > .col-lg-4 {
    flex: 0 0 33.333333% !important;
    max-width: 33.333333% !important;
  }
  .testimonials-trusted-row > .col-lg-8 {
    flex: 0 0 66.666667% !important;
    max-width: 66.666667% !important;
  }
}

.testimonials-trusted-left {
  padding-right: var(--space-2xl);
}

.testimonials-trusted-title {
  font-size: var(--text-3xl);
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: var(--space-sm);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.testimonials-trusted-subtitle {
  font-size: var(--text-base);
  color: var(--gray-600);
  margin-bottom: var(--space-xl);
}

.testimonials-trusted-visual {
  margin-bottom: var(--space-lg);
}

.testimonials-trusted-illustration {
  max-width: 380px;
  margin: 0 auto;
}

.testimonials-trusted-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.testimonials-trusted-illustration svg,
.testimonials-trusted-fallback {
  width: 100%;
  height: auto;
  display: block;
}

.testimonials-trusted-rating {
  font-size: var(--text-sm);
  color: var(--gray-600);
  margin: 0;
}

.testimonials-trusted-right {
  position: relative;
}

.testimonials-trusted .testimonials-carousel {
  position: relative;
}

.testimonials-carousel .owl-stage-outer {
  padding-bottom: var(--space-2xl);
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-lg);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04);
  border: 1px solid var(--gray-200);
  margin: 0 var(--space-xs);
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.testimonial-card-header {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-xs);
}

.testimonial-avatar {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-full);
  overflow: hidden;
  flex-shrink: 0;
  background: var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.testimonial-avatar-initial {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.testimonial-meta {
  flex: 1;
  min-width: 0;
}

.testimonial-name {
  display: block;
  font-weight: 700;
  color: var(--gray-900);
  font-size: var(--text-sm);
}

.testimonial-reviews {
  display: block;
  font-size: var(--text-sm);
  color: var(--gray-500);
}

.testimonial-options {
  background: none;
  border: none;
  color: var(--gray-400);
  font-size: 1.25rem;
  line-height: 1;
  padding: var(--space-xs);
  cursor: pointer;
  align-self: flex-start;
}

.testimonial-stars {
  color: #fbbf24;
  font-size: 0.875rem;
  letter-spacing: 0.08em;
  margin-bottom: 2px;
}

.testimonial-time {
  font-size: var(--text-xs);
  color: var(--gray-500);
  margin: 0 0 var(--space-sm);
}

.testimonial-text {
  font-size: var(--text-sm);
  color: var(--gray-700);
  line-height: 1.55;
  margin: 0;
  flex: 1;
}

.testimonials-trusted .owl-dots {
  display: flex !important;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: var(--space-lg);
  padding-bottom: var(--space-xs);
}

.testimonials-trusted .owl-dots .owl-dot {
  width: 12px;
  height: 12px;
  border-radius: var(--radius-full);
  border: 2px solid #000 !important;
  background: var(--white) !important;
  padding: 0 !important;
  margin: 0 !important;
  transition: background 0.2s ease, transform 0.2s ease;
}

.testimonials-trusted .owl-dots .owl-dot span {
  display: none;
}

.testimonials-trusted .owl-dots .owl-dot.active,
.testimonials-trusted .owl-dots .owl-dot:hover {
  background: var(--primary) !important;
  border: 2px solid #000 !important;
  transform: scale(1.15);
}

/* Visible nav arrows for testimonial carousel */
.testimonials-trusted .owl-nav {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex !important;
  justify-content: space-between;
  pointer-events: none;
  margin: 0;
  padding: 0 4px;
  z-index: 10;
}

.testimonials-trusted .owl-nav button {
  pointer-events: auto;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: var(--white) !important;
  color: var(--primary) !important;
  border: 2px solid var(--primary);
  box-shadow: 0 4px 16px rgba(31, 52, 133, 0.25);
  display: flex !important;
  align-items: center;
  justify-content: center;
  margin: 0 !important;
  padding: 0 !important;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.testimonials-trusted .owl-nav button:hover {
  background: var(--primary) !important;
  color: var(--white) !important;
  transform: translateY(-50%) scale(1.08);
}

.testimonials-trusted .owl-nav .owl-prev {
  left: -4px;
  right: auto;
}

.testimonials-trusted .owl-nav .owl-next {
  right: -4px;
  left: auto;
}

.testimonials-trusted .owl-nav button i {
  font-size: 1.5rem;
  line-height: 1;
}

@media (max-width: 991px) {
  .testimonials-trusted-left {
    padding-right: 0;
    margin-bottom: var(--space-xl);
    text-align: center;
  }

  .testimonials-trusted-illustration {
    margin-left: auto;
    margin-right: auto;
  }

  .testimonials-trusted-title {
    font-size: var(--text-2xl);
  }
}

/* ============================================
   MODAL SYSTEM
   ============================================ */
/* Above sticky navbar (style.css uses .home-page.sticky z-index: 99999) */
/* Backdrop must sit BELOW the modal so the form stays clickable */
.modal-backdrop {
  z-index: 100000 !important;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
}

.modal {
  z-index: 100001 !important;
  display: none;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: transparent;
  backdrop-filter: none;
  pointer-events: none;
}

.modal .modal-dialog {
  pointer-events: auto;
}

.modal.show {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Feature list modal – centered, compact list */
#showpricefeature.modal,
#showpricefeature.modal.show {
  align-items: center;
  justify-content: center;
}
#showpricefeature .modal-dialog {
  margin: auto;
  max-width: 420px;
}
#showpricefeature .modal-header {
  padding: 0.5rem 0.75rem;
}
#showpricefeature .modal-title {
  font-size: 0.9375rem;
  font-weight: 600;
}
#showpricefeature .modal-body {
  padding: 0.5rem 0.75rem 0.75rem;
  max-height: 60vh;
  overflow-y: auto;
}
#showpricefeature #dvFlist {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.8125rem;
}
#showpricefeature #dvFlist .feature-list-item {
  padding: 0.35rem 0;
  border-bottom: 1px solid var(--gray-200);
  color: var(--gray-700);
  line-height: 1.35;
}
#showpricefeature #dvFlist .feature-list-item:last-child {
  border-bottom: none;
}

.modal-dialog {
  position: relative;
  width: 90%;
  max-width: 600px;
  margin: auto;
  z-index: 1;
}

.modal-content {
  background-color: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-2xl);
  overflow: hidden;
}

.modal-header {
  padding: var(--space-xl);
  border-bottom: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-title {
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--gray-900);
  margin: 0;
}

.modal-body {
  padding: var(--space-xl);
  max-height: 70vh;
  overflow-y: auto;
}

/* Enquiry form modal – compact, no scroll, clean */
#getsavecontectpopup .modal-dialog.modal-dialog-enquiry {
  max-width: 400px;
  margin: 1rem auto;
}

#getsavecontectpopup .modal-header.modal-header-enquiry {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--gray-200);
}

#getsavecontectpopup .modal-header-enquiry .modal-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--gray-900);
}

#getsavecontectpopup .modal-body.modal-body-enquiry {
  padding: 0.75rem 1rem 1rem;
  overflow: visible;
  max-height: none;
}

#getsavecontectpopup .demoboxform.demoboxform-enquiry {
  padding: 0;
  box-shadow: none;
  background: transparent;
}

#getsavecontectpopup .demoboxform-enquiry label {
  display: block;
  margin-bottom: 0.2rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--gray-700);
}

#getsavecontectpopup .demoboxform-enquiry .form-control {
  margin-bottom: 0.5rem;
  padding: 0.4rem 0.6rem;
  min-height: 34px;
  font-size: 0.875rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-300);
}

#getsavecontectpopup .demoboxform-enquiry textarea.form-control {
  min-height: 52px;
  resize: vertical;
  max-height: 80px;
}

#getsavecontectpopup .demoboxform-enquiry .btn-enquiry-submit {
  margin-top: 0.5rem;
  margin-bottom: 0;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  background: var(--primary, #2563eb);
  color: #fff;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  position: relative;
  z-index: 10;
  pointer-events: auto;
}

#getsavecontectpopup .demoboxform-enquiry .btn-enquiry-submit:hover {
  opacity: 0.9;
}

/* reCAPTCHA area – compact so modal fits without scroll */
#getsavecontectpopup .demoboxform-enquiry .g-recaptcha {
  margin: 0.35rem 0;
  transform: scale(0.88);
  transform-origin: left center;
  position: relative;
  z-index: 1;
}

@media (max-width: 480px) {
  #getsavecontectpopup .modal-dialog.modal-dialog-enquiry {
    max-width: 100%;
    margin: 0.5rem;
  }
}

.modal-footer {
  padding: var(--space-xl);
  border-top: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: var(--space-md);
}

.close {
  background: none;
  border: none;
  font-size: var(--text-3xl);
  font-weight: 300;
  color: var(--gray-400);
  cursor: pointer;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
}

.close:hover {
  background-color: var(--gray-100);
  color: var(--gray-900);
}

.custom-modal {
  display: none;
  position: fixed;
  z-index: var(--z-modal);
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  align-items: center;
  justify-content: center;
  padding: var(--space-lg);
  box-sizing: border-box;
}

.custom-modal-content {
  background-color: var(--white);
  margin: auto;
  padding: var(--space-lg);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 560px;
  box-shadow: var(--shadow-2xl);
}

.custom-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-md);
}

.custom-modal-heading {
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--gray-900);
  margin: 0;
}

.custom-modal-heading a {
  color: var(--primary);
}

.custom-modal iframe {
  width: 100%;
  height: 315px;
  border: none;
  border-radius: var(--radius-md);
  display: block;
}

@media (max-width: 768px) {
  .custom-modal {
    padding: var(--space-md);
  }

  .custom-modal-content {
    max-width: 95%;
    padding: var(--space-md);
  }

  .custom-modal-heading {
    font-size: var(--text-base);
  }

  .custom-modal iframe {
    height: 220px;
  }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.mt-0 {
  margin-top: 0;
}
.mt-1 {
  margin-top: var(--space-xs);
}
.mt-2 {
  margin-top: var(--space-sm);
}
.mt-3 {
  margin-top: var(--space-md);
}
.mt-4 {
  margin-top: var(--space-lg);
}
.mt-5 {
  margin-top: var(--space-xl);
}

.mb-0 {
  margin-bottom: 0;
}
.mb-1 {
  margin-bottom: var(--space-xs);
}
.mb-2 {
  margin-bottom: var(--space-sm);
}
.mb-3 {
  margin-bottom: var(--space-md);
}
.mb-4 {
  margin-bottom: var(--space-lg);
}
.mb-5 {
  margin-bottom: var(--space-xl);
}

.pt-0 {
  padding-top: 0;
}
.pt-1 {
  padding-top: var(--space-xs);
}
.pt-2 {
  padding-top: var(--space-sm);
}
.pt-3 {
  padding-top: var(--space-md);
}
.pt-4 {
  padding-top: var(--space-lg);
}
.pt-5 {
  padding-top: var(--space-xl);
}

.pb-0 {
  padding-bottom: 0;
}
.pb-1 {
  padding-bottom: var(--space-xs);
}
.pb-2 {
  padding-bottom: var(--space-sm);
}
.pb-3 {
  padding-bottom: var(--space-md);
}
.pb-4 {
  padding-bottom: var(--space-lg);
}
.pb-5 {
  padding-bottom: var(--space-xl);
}

.py-5 {
  padding-top: var(--space-xl);
  padding-bottom: var(--space-xl);
}

/* ============================================
   RESPONSIVE IMAGES
   ============================================ */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

/* ============================================
   EMPTY STATE HANDLING
   ============================================ */
.empty-state {
  text-align: center;
  padding: var(--space-4xl);
  color: var(--gray-500);
}

.empty-state p {
  font-size: var(--text-lg);
  margin: 0;
}

/* ============================================
   CONTENT BOX
   ============================================ */
.contentbox {
  padding: var(--space-xl);
}

.contentbox h1,
.contentbox h2,
.contentbox h3 {
  color: var(--gray-900);
  margin-bottom: var(--space-lg);
}

.contentbox p {
  color: var(--gray-700);
  line-height: 1.8;
}

.demobox {
  padding: var(--space-2xl);
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

.demobox h1 {
  color: var(--gray-900);
  margin-bottom: var(--space-lg);
}

.demobox h6 {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  color: var(--gray-700);
  font-size: var(--text-lg);
  margin-bottom: var(--space-md);
}

.demobox h6 img {
  width: 24px;
  height: 24px;
}

/* ============================================
   VIDEO SECTION
   ============================================ */
.videoSection {
  background: var(--gray-50);
}

.videoSection .contentbox h1 {
  font-size: var(--text-4xl);
  text-align: center;
  margin-bottom: var(--space-xl);
}

/* ============================================
   ASSOCIATE PARTNER SECTION
   ============================================ */
.asociatepart {
  background: var(--white);
}

.asociatepart .contentbox h1 {
  font-size: var(--text-4xl);
  text-align: center;
  margin-bottom: var(--space-lg);
}

.asociatepart .contentbox h3 {
  color: var(--primary);
  margin-bottom: var(--space-md);
}

.asociatepart .contentbox p {
  color: var(--gray-700);
  line-height: 1.8;
  margin-bottom: var(--space-md);
}

.asociatepart .contentbox p1 {
  display: block;
  color: var(--gray-700);
  line-height: 1.8;
  margin-bottom: var(--space-lg);
}

/* ============================================
   VIDEO GALLERY PAGE – Attractive, aesthetic
   ============================================ */
.video-gallery-section {
  background: linear-gradient(165deg, var(--gray-50) 0%, #f0f4f8 50%, var(--white) 100%);
  position: relative;
  overflow: hidden;
}

.video-gallery-section::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -20%;
  width: 60%;
  height: 120%;
  background: radial-gradient(ellipse at center, rgba(31, 52, 133, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

.video-gallery-section::after {
  content: "";
  position: absolute;
  bottom: -30%;
  right: -15%;
  width: 50%;
  height: 80%;
  background: radial-gradient(ellipse at center, rgba(6, 86, 143, 0.03) 0%, transparent 70%);
  pointer-events: none;
}

.video-gallery-heading {
  text-align: center;
  margin-bottom: var(--space-3xl);
  position: relative;
  z-index: 1;
}

.video-gallery-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--primary) !important;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: var(--space-md);
}

.video-gallery-subtitle {
  font-size: var(--text-lg);
  color: var(--gray-600);
  max-width: 720px;
  margin: 0 auto var(--space-xl);
  line-height: 1.6;
}

.video-gallery-accent {
  width: 64px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: var(--radius-full);
  margin: 0 auto;
}

.video-gallery-search-wrap {
  max-width: 560px;
  margin: 0 auto var(--space-3xl);
  position: relative;
  z-index: 1;
}

.video-gallery-search {
  display: flex;
  align-items: stretch;
  border-radius: var(--radius-xl);
  box-shadow: 0 4px 20px rgba(31, 52, 133, 0.1), 0 2px 8px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  background: var(--white);
  transition: box-shadow var(--transition-base), border-color var(--transition-base);
}

.video-gallery-search:focus-within {
  box-shadow: 0 8px 28px rgba(31, 52, 133, 0.15);
  border-color: var(--primary);
}

.video-gallery-search-input {
  flex: 1;
  padding: var(--space-md) var(--space-xl);
  font-size: var(--text-base);
  border: none;
  background: transparent;
  color: var(--gray-900);
  outline: none;
}

.video-gallery-search-input::placeholder {
  color: var(--gray-400);
}

.video-gallery-search-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 var(--space-xl);
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  font-size: 1.1rem;
}

.video-gallery-list {
  position: relative;
  z-index: 1;
}

.video-gallery-item {
  display: flex;
  flex-wrap: wrap;
  margin-left: -0.75rem;
  margin-right: -0.75rem;
  margin-bottom: 0;
  padding: var(--space-2xl) 0;
  border-bottom: 1px solid var(--gray-100);
  align-items: center;
}

.video-gallery-item:last-child {
  border-bottom: none;
}

.video-gallery-section .video-gallery-item > * {
  width: auto;
  max-width: none;
  flex: 0 0 100%;
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  box-sizing: border-box;
}

@media (min-width: 992px) {
  .video-gallery-section .video-gallery-item {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    align-items: stretch;
  }
  .video-gallery-section .video-gallery-item > .col-lg-6 {
    flex: 0 0 50% !important;
    max-width: 50% !important;
    display: flex;
  }
}

/* Video smaller; player and content box same size */
.video-gallery-player {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%;
  overflow: hidden;
  border-radius: var(--radius-xl);
  box-shadow: 0 12px 32px rgba(31, 52, 133, 0.12), 0 4px 16px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--gray-200);
  background: var(--gray-100);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

@media (min-width: 992px) {
  .video-gallery-player {
    padding-bottom: 0;
    height: 260px;
    flex-shrink: 0;
  }
}

.video-gallery-player:hover {
  box-shadow: 0 20px 40px rgba(31, 52, 133, 0.15);
}

.video-gallery-player iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-gallery-section .video-gallery-content {
  padding: var(--space-xl) var(--space-2xl);
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: 0 4px 20px rgba(31, 52, 133, 0.06);
  border: 1px solid var(--gray-100);
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: box-shadow var(--transition-base), border-color var(--transition-base);
  overflow-y: auto;
  min-height: 0;
}

@media (min-width: 992px) {
  .video-gallery-section .video-gallery-content {
    height: 260px;
    min-height: 260px;
  }
}

.video-gallery-section .video-gallery-content:hover {
  box-shadow: 0 12px 28px rgba(31, 52, 133, 0.1);
  border-color: var(--gray-200);
}

.video-gallery-section .video-gallery-content h3 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: var(--space-sm);
  line-height: 1.3;
  flex-shrink: 0;
}

.video-gallery-section .video-gallery-content p {
  font-size: 0.8125rem;
  color: var(--gray-700);
  line-height: 1.55;
  margin: 0;
  flex-shrink: 0;
}

.video-gallery-empty {
  text-align: center;
  padding: var(--space-3xl);
  font-size: var(--text-lg);
  color: var(--gray-500);
  background: var(--gray-50);
  border-radius: var(--radius-xl);
  border: 1px dashed var(--gray-300);
}

/* Video gallery: smaller screens – stack and spacing */
@media (max-width: 991px) {
  .video-gallery-section .video-gallery-item {
    max-width: none;
  }
  .video-gallery-item {
    padding: var(--space-xl) 0;
  }
  .video-gallery-section .video-gallery-item > .col-12 {
    margin-bottom: var(--space-md);
  }
  .video-gallery-section .video-gallery-content {
    padding: var(--space-lg) var(--space-xl);
    min-height: 0;
    height: auto;
  }
  .video-gallery-section .video-gallery-content h3 {
    font-size: 0.9375rem;
  }
  .video-gallery-section .video-gallery-content p {
    font-size: 0.8125rem;
  }
  .video-gallery-player {
    margin-bottom: var(--space-lg);
  }
  .video-gallery-heading {
    margin-bottom: var(--space-2xl);
  }
  .video-gallery-search-wrap {
    margin-bottom: var(--space-2xl);
  }
}

@media (max-width: 576px) {
  .video-gallery-title {
    font-size: 1.5rem;
  }
  .video-gallery-item {
    padding: var(--space-lg) 0;
    margin-left: -0.5rem;
    margin-right: -0.5rem;
  }
  .video-gallery-section .video-gallery-item > * {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
  .video-gallery-section .video-gallery-content {
    padding: var(--space-md) var(--space-lg);
  }
  .video-gallery-section .video-gallery-content h3 {
    font-size: 0.875rem;
  }
  .video-gallery-section .video-gallery-content p {
    font-size: 0.75rem;
  }
  .video-gallery-search-input {
    font-size: 0.875rem;
    padding: var(--space-sm) var(--space-md);
  }
  .video-gallery-search-icon {
    padding: 0 var(--space-md);
  }
}

/* ============================================
   ONLINE SUPPORT SECTION
   ============================================ */
.olinesupport {
  background: var(--gray-50);
}

/* ============================================
   ABOUT US SECTION – Single viewport, image & content equal height
   ============================================ */
.about-us-section {
  position: relative;
  overflow: hidden;
  padding-top: var(--space-md) !important;
  padding-bottom: var(--space-md) !important;
  min-height: 0;
}

.about-us-row {
  position: relative;
  z-index: 1;
  align-items: stretch !important;
}

/* Left column: fill row height so image area matches right content height */
.about-us-row > .about-us-media {
  display: flex !important;
  align-self: stretch !important;
}

/* Left column: min-height so image sets row height; right box will match */
.about-us-row .about-us-media > .about-us-image-wrap {
  position: relative;
  flex: 1;
  min-height: 280px;
  max-width: 100%;
  width: 100%;
  min-width: 0;
  display: flex;
  border-radius: var(--radius-2xl);
  overflow: hidden;
}

/* Mobile: stack naturally – image auto-height, text below; no forced equal heights */
@media (max-width: 767px) {
  .about-us-section.section-padding {
    padding-top: 0 !important;
  }
  .about-us-row > .about-us-media {
    display: block !important;
    align-self: auto !important;
  }

  .about-us-row .about-us-media > .about-us-image-wrap {
    min-height: 0;
    height: auto;
    max-width: 100%;
  }

  .about-us-row .about-us-image-wrap .about-us-image {
    max-width: 100%;
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
  }

  .about-us-content {
    margin-top: var(--space-md);
  }
}

.about-us-section::before {
  content: "";
  position: absolute;
  top: -30%;
  left: -10%;
  width: 55%;
  height: 80%;
  background: radial-gradient(ellipse at center, rgba(31, 52, 133, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.about-us-row {
  position: relative;
  z-index: 1;
  align-items: stretch !important;
}

/* Left column: fill row height so image area matches right content height */
.about-us-row > .about-us-media {
  display: flex !important;
  align-self: stretch !important;
}

/* Left column: image wrap – responsive width, no overflow */
.about-us-row .about-us-media > .about-us-image-wrap {
  position: relative;
  flex: 1;
  min-height: 280px;
  max-width: 100%;
  width: 100%;
  height: 100%;
  min-width: 0;
  display: flex;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(31, 52, 133, 0.12);
  background: linear-gradient(135deg, rgba(31, 52, 133, 0.08), rgba(107, 171, 67, 0.06));
  padding: 6px;
}

.about-us-row .about-us-media > .about-us-image-wrap::after {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: calc(var(--radius-2xl) - 6px);
  background: linear-gradient(135deg, rgba(31, 52, 133, 0.08) 0%, transparent 55%);
  pointer-events: none;
}

.about-us-row .about-us-image-wrap .about-us-image {
  display: block;
  max-width: 100%;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center;
  border-radius: calc(var(--radius-2xl) - 8px);
}

/* Right column: content box matches image height */
.about-us-content {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.about-us-heading {
  margin-bottom: var(--space-sm);
}

.about-us-section .about-us-heading h2 {
  margin-bottom: var(--space-xs);
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.03em;
}

.about-us-lead {
  font-size: var(--text-base);
  color: var(--gray-700);
  line-height: 1.5;
  margin-bottom: 0;
}

.about-us-card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-2xl);
  box-shadow: 0 18px 40px -18px rgba(17, 24, 39, 0.18);
  padding: var(--space-lg);
  backdrop-filter: blur(10px);
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 280px;
}

.about-us-card p {
  color: var(--gray-700);
  line-height: 1.6;
  font-size: var(--text-base);
  margin-bottom: var(--space-sm);
}

.about-us-card p:last-of-type {
  margin-bottom: 0;
}

.about-us-highlights {
  list-style: none;
  padding: 0;
  margin: var(--space-md) 0 0;
  display: grid;
  gap: var(--space-xs);
}

.about-us-highlights li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  color: var(--gray-800);
  font-weight: 600;
  line-height: 1.5;
  font-size: 0.9375rem;
}

.about-us-highlights li::before {
  content: "";
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236bab43' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") no-repeat center;
  background-size: contain;
}

@media (max-width: 768px) {
  .about-us-section {
    padding-top: var(--space-md) !important;
    padding-bottom: var(--space-md) !important;
  }
  .about-us-media {
    display: block;
  }
  .about-us-row .about-us-media > .about-us-image-wrap {
    min-height: 0;
    max-width: 100%;
  }
  .about-us-image-wrap {
    margin-bottom: var(--space-md);
    min-height: 0;
    height: auto;
    max-width: 100%;
    padding: 6px;
  }
  .about-us-image-wrap::after {
    inset: 6px;
  }
  .about-us-image {
    max-width: 100%;
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
  }
  .about-us-card {
    min-height: 0;
    padding: var(--space-md);
  }
  .about-us-section .about-us-heading h2 {
    font-size: var(--text-2xl);
  }
  .about-us-heading {
    margin-bottom: var(--space-sm);
  }
  .about-us-card p {
    font-size: 0.9375rem;
    line-height: 1.55;
  }
  .about-us-highlights {
    margin-top: var(--space-sm);
  }
  .about-us-highlights li {
    font-size: 0.9375rem;
  }
}

@media (max-width: 576px) {
  .about-us-section {
    padding-top: var(--space-sm) !important;
    padding-bottom: var(--space-sm) !important;
  }
  .about-us-image-wrap {
    min-height: 0;
    margin-bottom: var(--space-sm);
    max-width: 100%;
  }
  .about-us-image {
    max-width: 100%;
    width: 100%;
    height: auto;
  }
  .about-us-section .about-us-heading h2 {
    font-size: var(--text-xl);
  }
  .about-us-lead {
    font-size: var(--text-sm);
  }
  .about-us-card {
    padding: var(--space-sm) var(--space-md);
  }
  .about-us-card p {
    font-size: 0.875rem;
    line-height: 1.55;
  }
  .about-us-highlights li {
    font-size: 0.875rem;
  }
}

.colsuport {
  padding: var(--space-xl);
}

.colsuport h2 {
  font-size: var(--text-3xl);
  color: var(--gray-900);
  margin-bottom: var(--space-lg);
}

.colsuport h2 span {
  display: block;
  font-size: var(--text-xl);
  font-weight: 400;
  color: var(--gray-600);
  margin-top: var(--space-sm);
}

.colsuport p {
  color: var(--gray-700);
  line-height: 1.8;
  margin-bottom: var(--space-lg);
}

/* ============================================
   ONLINE SUPPORT SECTION – Modern, elegant
   ============================================ */
.online-support-section {
  position: relative;
  overflow: hidden;
}

.online-support-section::before {
  content: "";
  position: absolute;
  bottom: -20%;
  right: -10%;
  width: 50%;
  height: 70%;
  background: radial-gradient(ellipse at center, rgba(6, 86, 143, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.online-support-row {
  position: relative;
  z-index: 1;
  align-items: stretch !important;
}

/* Right column: limit image size to align with left content */
.online-support-row > [class*="col-"] .online-support-media {
  display: flex;
  height: 100%;
  min-height: 0;
}

.online-support-section .online-support-image-wrap {
  flex: 1;
  min-height: 0;
  display: flex;
  max-height: 340px !important;
  width: 100%;
  position: relative;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(31, 52, 133, 0.1);
  background: linear-gradient(135deg, rgba(31, 52, 133, 0.06), rgba(107, 171, 67, 0.05));
  padding: 10px;
}

.online-support-section .online-support-image {
  width: 100% !important;
  height: auto !important;
  max-height: 100% !important;
  min-height: 0;
  object-fit: contain;
  object-position: center;
  border-radius: calc(var(--radius-2xl) - 10px);
}

.online-support-heading {
  margin-bottom: var(--space-lg);
}

.online-support-section .online-support-heading h2 {
  font-size: var(--text-4xl);
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.03em;
  margin-bottom: var(--space-xs);
}

.online-support-subtitle {
  font-size: var(--text-lg);
  font-weight: 500;
  color: var(--gray-600);
  margin: 0;
  line-height: 1.4;
}

.online-support-card {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-2xl);
  box-shadow: 0 18px 40px -18px rgba(17, 24, 39, 0.12);
  padding: var(--space-2xl);
  backdrop-filter: blur(10px);
}

.online-support-card p {
  color: var(--gray-700);
  line-height: 1.85;
  margin-bottom: var(--space-xl);
}

.online-support-btn {
  display: inline-block;
  padding: var(--space-md) var(--space-xl);
  font-size: var(--text-base);
  font-weight: 600;
  text-align: center;
  color: var(--white);
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border: none;
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 14px rgba(31, 52, 133, 0.35);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  text-decoration: none;
}

.online-support-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(31, 52, 133, 0.4);
  color: var(--white);
  text-decoration: none;
}

@media (max-width: 768px) {
  .online-support-media {
    display: block !important;
    margin-bottom: var(--space-xl);
  }
  .online-support-media .online-support-image-wrap {
    max-height: none;
    height: auto;
  }
  .online-support-media .online-support-image {
    height: auto;
    max-height: 280px;
    object-fit: contain;
  }
  .online-support-section .online-support-heading h2 {
    font-size: var(--text-3xl);
  }
  .online-support-card {
    padding: var(--space-xl);
  }
}

/* ============================================
   FLOATING WHATSAPP ICON – size, no white background
   ============================================ */
.amg-floating-contacts .amg-floating-contact-wrap.amg-green,
.amg-floating-contacts .amg-green .amg-floating-icon,
.amg-floating-contacts .amg-green .amg-floating-link,
.amg-floating-contacts .amg-green .amg-nav-item {
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
}
.amg-floating-contacts .amg-green .amg-floating-icon {
  width: auto !important;
  min-width: 56px;
  padding: 6px !important;
  display: flex;
  align-items: center;
  justify-content: center;
}
.amg-floating-contacts .amg-green .amg-nav-item {
  display: block;
  line-height: 0;
}
.amg-floating-contacts .amg-green .amg-nav-item .whatsapp-icon-svg {
  width: 48px;
  height: 48px;
  display: block;
}

@media (min-width: 769px) {
  .amg-floating-contacts .amg-green .amg-nav-item .whatsapp-icon-svg {
    width: 56px;
    height: 56px;
  }
  .amg-floating-contacts .amg-green .amg-floating-icon {
    min-width: 68px;
  }
}

/* Prevent invisible WhatsApp hit-area from blocking clicks */
.amg-floating-contacts .amg-green .amg-floating-link {
  display: none !important;
}

/* ============================================
   FOOTER – logo size and layout
   ============================================ */
.footerOuter .footer-logo-wrap {
  margin-bottom: var(--space-md);
}

.footerOuter .container {
  padding-top: var(--space-lg);
  padding-bottom: var(--space-lg);
}


.footerOuter .footer-logo {
  height: 58px;
  width: auto;
  max-width: 200px;
  display: block;
  object-fit: contain;
}

/* Footer: force three-column layout (override .row > * width: 100%) */
.footerOuter .row {
  display: flex;
  flex-wrap: wrap;
}
.footerOuter .row > * {
  width: auto;
  max-width: none;
  flex: 0 0 100%;
}
@media (min-width: 768px) {
  .footerOuter .row .col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}
@media (min-width: 992px) {
  .footerOuter .row .col-lg-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }
  .footerOuter .row .col-lg-3 {
    flex: 0 0 25%;
    max-width: 25%;
  }
}
@media (max-width: 767px) {
  .footerOuter .row > * {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

/* ============================================
   HOMEDOWNBTN – CTA box
   ============================================ */
.homedownbtn {
  background: var(--gray-50);
  /* Reduce the large empty band around the CTA */
  padding: var(--space-lg) var(--space-md);
  text-align: center;
}
@media (max-width: 576px) {
  .homedownbtn {
    padding: var(--space-md) var(--space-sm);
  }
}

.homedownbtn-box {
  display: inline-block;
  max-width: 100%;
  padding: var(--space-sm) var(--space-lg);
  background: var(--white);
  border: 2px solid var(--primary);
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 20px rgba(31, 52, 133, 0.12), 0 1px 3px rgba(0, 0, 0, 0.06);
  transition: box-shadow var(--transition-base), border-color var(--transition-base), transform var(--transition-fast);
}
@media (max-width: 576px) {
  .homedownbtn-box {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: var(--space-md) var(--space-lg);
  }
  .homedownbtn-box .btnnewdownload {
    display: block;
    width: 100%;
    text-align: center;
    box-sizing: border-box;
  }
}

.homedownbtn-box:hover {
  box-shadow: 0 8px 28px rgba(31, 52, 133, 0.18), 0 2px 8px rgba(0, 0, 0, 0.08);
  border-color: var(--primary-dark);
}

.btnnewdownload {
  display: inline-block;
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--primary) !important;
  text-decoration: none !important;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  padding: var(--space-xs) 0;
  transition: color var(--transition-fast);
}

.btnnewdownload:hover {
  color: var(--primary-dark) !important;
}

/* ============================================
   FLOATING LEAD FORM (replaces chat widget)
   ============================================ */
.floating-lead-form-wrap {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 99998;
  font-family: inherit;
  box-sizing: border-box;
}

.floating-lead-form-card {
  width: 260px;
  max-width: calc(100vw - 40px);
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 32px rgba(31, 52, 133, 0.2), 0 6px 16px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(31, 52, 133, 0.1);
  overflow: hidden;
  position: relative;
  animation: floating-lead-form-in 0.35s ease-out;
}

@keyframes floating-lead-form-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.floating-lead-form-close {
  position: absolute;
  top: 6px;
  right: 8px;
  width: 26px;
  height: 26px;
  border: none;
  background: rgba(255, 255, 255, 0.25);
  color: #fff;
  font-size: 1.2rem;
  line-height: 1;
  border-radius: var(--radius-md);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: background var(--transition-fast), color var(--transition-fast);
}

.floating-lead-form-close:hover {
  background: rgba(255, 255, 255, 0.4);
  color: #fff;
}

.floating-lead-form-header {
  padding: 12px 14px 10px;
  background: linear-gradient(135deg, var(--primary) 0%, #1e3a8a 100%);
  color: #fff;
  text-align: center;
}

.floating-lead-form-title {
  margin: 0 0 4px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #fff;
}

.floating-lead-form-subtitle {
  margin: 0;
  font-size: 0.8rem;
  color: #fff;
  opacity: 1;
  line-height: 1.35;
}

.floating-lead-form-body {
  padding: 10px 14px 14px;
}

.floating-lead-form-group {
  margin-bottom: 10px;
}

.floating-lead-form-group label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 3px;
}

.floating-lead-input {
  width: 100%;
  padding: 6px 10px;
  font-size: 0.85rem;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  background: var(--white);
  color: var(--gray-900);
  box-sizing: border-box;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.floating-lead-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(31, 52, 133, 0.15);
}

.floating-lead-input::placeholder {
  color: var(--gray-400);
}

.floating-lead-textarea {
  resize: vertical;
  min-height: 52px;
}

.floating-lead-form-submit {
  width: 100%;
  margin-top: 4px;
  padding: 8px 12px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, var(--primary) 0%, #1e3a8a 100%);
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: opacity var(--transition-fast), transform var(--transition-fast);
  position: relative;
  z-index: 2;
  pointer-events: auto;
}

.floating-lead-form-submit:hover {
  opacity: 0.95;
  transform: translateY(-1px);
}

/* Tab to reopen form when closed */
.floating-lead-form-tab {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 99997;
  padding: 8px 14px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, var(--primary) 0%, #1e3a8a 100%);
  border: none;
  border-radius: 50px;
  box-shadow: 0 6px 18px rgba(31, 52, 133, 0.35);
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.floating-lead-form-tab:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(31, 52, 133, 0.4);
}

.floating-lead-form-wrap.is-closed .floating-lead-form-card {
  display: none;
}

.floating-lead-form-wrap.is-closed .floating-lead-form-tab {
  display: block;
}

@media (max-width: 480px) {
  .floating-lead-form-wrap {
    bottom: 12px;
    right: 12px;
  }
  .floating-lead-form-card {
    width: 260px;
  }
  .floating-lead-form-tab {
    bottom: 12px;
    right: 12px;
  }
}

/* ============================================
   RESPONSIVE BREAKPOINTS
   ============================================ */
@media (max-width: 1200px) {
  .container {
    max-width: 992px;
  }
}

@media (max-width: 992px) {
  .container {
    max-width: 768px;
  }
}

@media (max-width: 768px) {
  .container {
    max-width: 100%;
  }

  h1 {
    font-size: var(--text-3xl);
  }

  h2 {
    font-size: var(--text-2xl);
  }

  h3 {
    font-size: var(--text-xl);
  }

  .section-heading h2 {
    font-size: var(--text-2xl);
  }

  .hero-contant h1 {
    font-size: var(--text-3xl);
  }
}

@media (max-width: 576px) {
  .section-padding {
    padding-top: var(--space-lg);
    padding-bottom: var(--space-lg);
  }

  h1 {
    font-size: var(--text-2xl);
  }

  h2 {
    font-size: var(--text-xl);
  }

  .btn {
    padding: var(--space-sm) var(--space-lg);
    font-size: var(--text-sm);
  }
}

/* ============================================
   DATA RESILIENCE - FLEXIBLE LAYOUTS
   ============================================ */
.row {
  display: flex;
  flex-wrap: wrap;
  margin-left: calc(-1 * var(--space-md));
  margin-right: calc(-1 * var(--space-md));
}

.row > * {
  padding-left: var(--space-md);
  padding-right: var(--space-md);
  flex: 0 0 auto;
  width: 100%;
}

/* Grid columns - responsive by default */
.col-12 {
  flex: 0 0 100%;
  max-width: 100%;
}
.col-md-4,
.col-md-6 {
  flex: 0 0 100%;
  max-width: 100%;
}
.col-lg-4 {
  flex: 0 0 100%;
  max-width: 100%;
}
.col-lg-6 {
  flex: 0 0 100%;
  max-width: 100%;
}

@media (min-width: 768px) {
  .col-md-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
  }
  .col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

@media (min-width: 992px) {
  .col-lg-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
  }
  .col-lg-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

/* Ensure content containers are flexible */
.card,
.pricingbox,
.featuresBox,
.featuresBoxnew {
  min-height: auto;
  height: auto;
}

/* Text wrapping and line clamping */
.text-wrap {
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ============================================
   ANIMATIONS (Subtle & Professional)
   ============================================ */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 0.6s ease-out;
}

/* Smooth scroll + prevent horizontal scroll site-wide */
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

/* ============================================
   TWO-TIER HEADER (Top bar + Main nav)
   ============================================ */
.header-two-tier .header-top-bar {
  background: #fff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  padding: 5px 0;
  font-size: 13px;
}

.header-two-tier .header-contact-info {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
  max-width: 100%;
}
.header-two-tier .header-top-bar [class*="col-"] {
  min-width: 0;
}

/* Mobile: top bar stacks; auth links wrap with gap so Login/Signup aren't cramped */
@media (max-width: 767px) {
  .header-two-tier .header-top-bar .row {
    margin-left: -8px;
    margin-right: -8px;
  }
  .header-two-tier .header-top-bar [class*="col-"] {
    padding-left: 8px;
    padding-right: 8px;
  }
  .header-two-tier .header-contact-info {
    justify-content: center;
    text-align: center;
  }
  .header-two-tier .header-auth-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
  }
  .header-two-tier .header-auth-links .top-bar-nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 16px;
  }
  .header-two-tier .header-auth-links .drop-down button {
    padding: 6px 10px;
    font-size: 13px;
  }
}

.header-two-tier .top-bar-link {
  color: #333;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s;
}

.header-two-tier .top-bar-link:hover {
  color: var(--pinkColor, #1f3485);
}

.header-two-tier .top-bar-link i {
  color: var(--pinkColor, #1f3485);
  font-size: 13px;
}

.header-two-tier .top-bar-sep {
  color: #ccc;
  font-weight: 300;
  user-select: none;
}

.header-two-tier .header-auth-links .top-bar-nav.main-nav,
.header-two-tier .header-auth-links .top-bar-nav.main-nav * {
  margin: 0;
  list-style: none;
}

/* Position Login/Signup dropdown below the button – top-bar nav is ul > li, so li needs position context */
.header-two-tier .header-top-bar .drop-down {
  position: relative;
  z-index: 100;
}

.header-two-tier .header-auth-links .drop-down button {
  background: none;
  border: none;
  color: #333;
  cursor: pointer;
  font-size: 13px;
  padding: 2px 6px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.header-two-tier .header-auth-links .drop-down button:hover {
  color: var(--pinkColor, #1f3485);
}

.header-two-tier .header-auth-links .drop-down button .fa-angle-down {
  font-size: 12px;
  transition: transform 0.2s ease;
}

.header-two-tier .header-auth-links .drop-down:hover button .fa-angle-down {
  transform: rotate(180deg);
}

.header-two-tier .header-main-bar {
  background: #fff;
  padding: 6px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  overflow: visible; /* allow How to Use dropdown to show below */
  max-height: 80px;
  transition: max-height 0.3s ease, padding 0.3s ease, border-width 0.2s ease, opacity 0.2s ease;
}

/* Hide main navbar on scroll – collapse height so no space is left (top bar stays visible) */
.header-two-tier .header-main-bar.main-bar-hidden {
  max-height: 0;
  padding-top: 0;
  padding-bottom: 0;
  border-bottom-width: 0;
  opacity: 0;
  pointer-events: none;
  overflow: hidden; /* clip content only when collapsed */
}

/* When header is sticky: white background so no blue strip shows */
.header-two-tier.sticky {
  background: #fff !important;
}

/* Single horizontal line: logo | nav | tally – no row/col, pure flex */
.header-two-tier .header-main-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 16px;
  min-height: 56px;
  overflow: visible;
}

@media (max-width: 767px) {
  .header-two-tier .header-main-row {
    gap: 12px;
    min-height: 48px;
    padding-left: 4px;
    padding-right: 4px;
  }
  .header-two-tier .header-logo-img {
    height: 44px;
    max-width: 140px;
    object-fit: contain;
  }
  .header-two-tier .header-logo-col {
    min-width: 0;
  }
}

/* Don't clip header: overflow hidden would cut off Login/Signup dropdown; html has overflow-x: hidden for page */
.header-two-tier.headerOuter,
section.headerOuter.header-two-tier {
  max-width: 100vw;
}
.header-two-tier .header-top-bar,
.header-two-tier .header-auth-links {
  overflow: visible;
}
.header-two-tier .header-top-bar .container,
.header-two-tier .header-main-bar .container {
  max-width: 100%;
}

/* Single hamburger only: hide the one in top bar so only main bar's toggle shows */
.header-two-tier .header-top-bar .mobile-nav-toggle,
.header-two-tier .header-top-bar .navbar-toggler.d-lg-none {
  display: none !important;
}

.header-two-tier .header-logo-col {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
}

.header-two-tier .header-nav-col {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

.header-two-tier .header-tally-col {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
}

.header-two-tier .header-logo-block {
  display: flex;
  align-items: center;
}

.header-two-tier .header-logo-block a {
  text-decoration: none;
  color: inherit;
  display: flex;
  align-items: center;
  line-height: 0;
}

/* Company logo in main navbar – enlarged for better visibility */
.header-two-tier .header-logo-img {
  height: 52px;
  width: auto;
  display: block;
  position: static !important;
  left: auto !important;
  padding: 0 !important;
}

/* Keep nav and #header from adding height/padding that breaks the line */
.header-two-tier .header-main-bar #header.headerNav-inline,
.header-two-tier .header-main-bar .headerNav-inline {
  padding: 0 !important;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 0;
  overflow: visible;
}

.header-two-tier .header-main-bar .headerNav-inline .main-bar-nav {
  margin: 0;
  overflow: visible;
}

/* Ensure dropdown parent has positioning context and list items don’t clip */
.header-two-tier .header-main-bar .main-bar-nav .drop-down {
  position: relative;
}

.header-two-tier .main-bar-nav.main-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
}

.header-two-tier .main-bar-nav .nav-link-uc,
.header-two-tier .main-bar-nav .drop-down button.nav-link-uc {
  color: #333;
  text-decoration: none;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.5px;
  padding: 5px 10px;
  text-transform: uppercase;
  background: none;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color 0.2s ease;
}

.header-two-tier .main-bar-nav .drop-down button.nav-link-uc .fa-angle-down {
  transition: transform 0.2s ease;
}

.header-two-tier .main-bar-nav .drop-down:hover button.nav-link-uc .fa-angle-down {
  transform: rotate(180deg);
}

.header-two-tier .main-bar-nav a.nav-link-uc:hover,
.header-two-tier .main-bar-nav .drop-down button.nav-link-uc:hover {
  color: var(--pinkColor, #1f3485);
}

.header-two-tier .main-bar-nav a.nav-link-uc.nav-link-uc--active,
.header-two-tier .main-bar-nav .drop-down button.nav-link-uc.nav-link-uc--active {
  color: var(--primary, #1f3485);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.header-two-tier .header-partner-badge {
  display: flex;
  align-items: center;
}

.header-two-tier .header-partner-badge .partner-logo {
  max-height: 36px;
  height: 36px;
  width: auto !important;
  max-width: 180px;
  display: block;
  object-fit: contain;
}

/* Dropdowns in two-tier header – aesthetic panel */
.header-two-tier .header-top-bar .drop-down ul,
.header-two-tier .header-main-bar .drop-down ul {
  background: var(--white);
  border: 1px solid var(--gray-200);
  box-shadow: 0 10px 40px rgba(31, 52, 133, 0.12), 0 4px 12px rgba(0, 0, 0, 0.06);
  border-radius: var(--radius-lg);
  padding: 4px 0;
  min-width: 200px;
  width: max-content;
  max-width: 320px;
  position: absolute;
  left: 0;
  top: 100%;
  margin-top: 6px;
  z-index: var(--z-dropdown);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
  transform: translateY(-4px);
}

.header-two-tier .header-top-bar .drop-down:hover > ul,
.header-two-tier .header-main-bar .drop-down:hover > ul {
  transform: translateY(0);
}

/* Top accent line on dropdown panel */
.header-two-tier .header-top-bar .drop-down ul::before,
.header-two-tier .header-main-bar .drop-down ul::before {
  content: "";
  position: absolute;
  top: 0;
  left: 12px;
  right: 12px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: var(--radius-full);
}

.header-two-tier .header-top-bar .drop-down ul,
.header-two-tier .header-main-bar .drop-down ul {
  padding-top: 8px;
}

/* Top bar only: dropdown directly under Login/Signup (override style.css right/top) */
.header-two-tier .header-top-bar .drop-down ul {
  right: auto;
  left: 0;
  top: 100%;
  margin-top: 4px;
  transform: translateY(0);
}

/* Show dropdown on hover */
.header-two-tier .header-top-bar .drop-down:hover > ul,
.header-two-tier .header-main-bar .drop-down:hover > ul {
  opacity: 1;
  visibility: visible;
}

/* Tablet/mobile: show top-bar Login/Signup dropdown when opened by click (.open) */
@media (max-width: 991px) {
  .header-two-tier .header-top-bar .drop-down ul {
    max-width: min(320px, calc(100vw - 24px));
  }
  .header-two-tier .header-top-bar .drop-down.open > ul {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .header-two-tier .header-top-bar .drop-down.open > button .fa-angle-down {
    transform: rotate(180deg);
  }
}

/* Small screens: center Login/Signup dropdown under the trigger so it appears near them */
@media (max-width: 767px) {
  .header-two-tier .header-top-bar .drop-down ul {
    left: 50%;
    right: auto;
    transform: translateX(-50%) translateY(-4px);
  }
  .header-two-tier .header-top-bar .drop-down:hover > ul,
  .header-two-tier .header-top-bar .drop-down.open > ul {
    transform: translateX(-50%) translateY(0);
  }
}

.header-two-tier .header-top-bar .drop-down ul a,
.header-two-tier .header-main-bar .drop-down ul a {
  color: var(--gray-800);
  padding: 5px 14px;
  display: block;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
  border-left: 3px solid transparent;
  margin: 0 4px;
  border-radius: var(--radius-md);
}

.header-two-tier .header-top-bar .drop-down ul li:first-child a,
.header-two-tier .header-main-bar .drop-down ul li:first-child a {
  margin-top: 0;
}

.header-two-tier .header-top-bar .drop-down ul a:hover,
.header-two-tier .header-main-bar .drop-down ul a:hover {
  background: var(--gray-50);
  color: var(--primary);
  border-left-color: var(--primary);
}

/* Remove duplicate arrow on trigger buttons (Login, Signup, HOW TO USE): style.css adds ::after – we keep only the <i> icon */
.header-two-tier .header-top-bar .drop-down > button:after,
.header-two-tier .header-main-bar .drop-down > button:after {
  display: none !important;
  content: none !important;
}
.header-two-tier .header-top-bar .drop-down > a:after,
.header-two-tier .header-main-bar .drop-down > a:after {
  display: none !important;
  content: none !important;
}

/* Remove any arrow from dropdown list items (As User, As Partner, How to use options, etc.) */
.header-two-tier .header-main-bar .drop-down ul a:after,
.header-two-tier .header-top-bar .drop-down ul a:after,
.header-two-tier .header-main-bar .drop-down ul li:after,
.header-two-tier .header-top-bar .drop-down ul li:after {
  display: none !important;
  content: none !important;
}
.header-two-tier .header-main-bar .drop-down ul a .fa,
.header-two-tier .header-main-bar .drop-down ul a i[class*="fa-"],
.header-two-tier .header-main-bar .drop-down ul li .fa,
.header-two-tier .header-main-bar .drop-down ul li i[class*="fa-"],
.header-two-tier .header-top-bar .drop-down ul a .fa,
.header-two-tier .header-top-bar .drop-down ul a i[class*="fa-"],
.header-two-tier .header-top-bar .drop-down ul li .fa,
.header-two-tier .header-top-bar .drop-down ul li i[class*="fa-"] {
  display: none !important;
}

@media (max-width: 991px) {
  .header-two-tier .header-contact-info {
    justify-content: center;
  }
  .header-two-tier .header-auth-links {
    text-align: center;
  }
  .header-two-tier .header-auth-links .top-bar-nav {
    justify-content: center;
  }
  .header-two-tier .header-logo-img {
    height: 42px;
  }
  .header-two-tier .header-partner-badge .partner-logo {
    max-height: 32px;
    height: 32px;
  }
  .header-two-tier .header-main-row {
    min-height: 44px;
    flex-wrap: wrap;
    gap: 8px;
  }
  .header-two-tier .header-logo-col,
  .header-two-tier .header-nav-col {
    min-width: 0;
  }
  /* Hamburger on the right when nav is collapsed (logo left, menu right) */
  .header-two-tier .header-nav-col {
    justify-content: flex-end;
  }
  .header-two-tier .header-main-bar #header.headerNav-inline,
  .header-two-tier .header-main-bar .headerNav-inline {
    justify-content: flex-end;
  }
}

@media (max-width: 767px) {
  .header-two-tier .header-top-bar {
    padding: 6px 0;
    font-size: 12px;
  }
  .header-two-tier .header-top-bar .container {
    padding-left: 12px;
    padding-right: 12px;
  }
  .header-two-tier .header-contact-info {
    justify-content: center;
    gap: 6px;
  }
  .header-two-tier .top-bar-link {
    font-size: 12px;
    gap: 4px;
  }
  .header-two-tier .top-bar-link i {
    font-size: 12px;
  }
  .header-two-tier .top-bar-sep {
    display: none;
  }
  .header-two-tier .header-main-bar .container {
    padding-left: 12px;
    padding-right: 12px;
  }
  .header-two-tier .header-main-row {
    gap: 12px;
    min-height: 38px;
  }
  .header-two-tier .header-logo-img {
    height: 36px;
    max-width: 120px;
    object-fit: contain;
  }
  .header-two-tier .header-partner-badge .partner-logo {
    max-height: 28px;
    height: 28px;
  }
}

@media (max-width: 480px) {
  .header-two-tier .header-top-bar {
    padding: 8px 0;
    font-size: 11px;
  }
  .header-two-tier .header-top-bar .row {
    margin-left: -8px;
    margin-right: -8px;
  }
  .header-two-tier .header-top-bar [class*="col-"] {
    padding-left: 8px;
    padding-right: 8px;
  }
  .header-two-tier .header-contact-info {
    flex-direction: column;
    align-items: center;
    gap: 2px;
    text-align: center;
  }
  .header-two-tier .top-bar-link {
    font-size: 11px;
    display: inline-flex;
  }
  .header-two-tier .header-auth-links {
    justify-content: center;
  }
  .header-two-tier .header-main-bar {
    padding: 8px 0;
  }
  .header-two-tier .header-main-bar .container {
    padding-left: 10px;
    padding-right: 10px;
  }
  .header-two-tier .header-main-row {
    gap: 8px;
    min-height: 36px;
  }
  .header-two-tier .header-logo-col {
    flex: 0 0 auto;
    min-width: 0;
  }
  .header-two-tier .header-logo-img {
    height: 32px;
    max-width: 100px;
  }
  .header-two-tier .header-nav-col {
    flex: 1 1 auto;
    min-width: 0;
    justify-content: flex-end;
  }
  .header-two-tier .mobile-nav-toggle {
    padding: 6px 8px !important;
    font-size: 18px;
  }
}

@media (max-width: 375px) {
  .header-two-tier .header-contact-info a {
    word-break: break-all;
  }
  .header-two-tier .header-logo-img {
    max-width: 90px;
    height: 28px;
  }
}

/* ============================================
   HOW TO USE (FEATURES) PAGES – Attractive layout + Category select
   ============================================ */
.htu-page {
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 12%, var(--white) 100%);
  padding-top: var(--space-2xl);
  padding-bottom: var(--space-4xl);
}

/* Force Poppins on all How to Use page text (overrides body, headings, Bootstrap, style.css) */
.htu-page,
.htu-page * {
  font-family: 'Poppins', sans-serif !important;
}
/* Keep FontAwesome for icons */
.htu-page .fa,
.htu-page .fas,
.htu-page .far,
.htu-page .fab,
.htu-page [class^="fa-"],
.htu-page i[class*="fa-"] {
  font-family: "FontAwesome" !important;
}

.htu-breadcrumb {
  font-size: var(--text-sm);
  color: var(--gray-500);
  margin-bottom: var(--space-md);
}

.htu-breadcrumb a {
  color: var(--primary);
  text-decoration: none;
}

.htu-breadcrumb a:hover {
  text-decoration: underline;
}

.htu-breadcrumb span {
  margin: 0 var(--space-xs);
  color: var(--gray-400);
}

.htu-title-wrap {
  margin-bottom: var(--space-2xl);
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid var(--gray-200);
}

.htu-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2xl);
  align-items: flex-start;
}

.htu-main {
  flex: 1 1 0;
  min-width: 0;
}

.htu-sidebar {
  flex: 0 0 280px;
  position: sticky;
  top: 100px;
}

.htu-sidebar-box {
  background: linear-gradient(180deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: var(--radius-xl);
  padding: var(--space-lg);
  box-shadow: var(--shadow-lg);
}

.htu-sidebar-title {
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  margin: 0 0 var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

/* Popular Searches box (How to Use sidebar) */
.htu-sidebar-box--popular {
  margin-top: var(--space-lg);
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
}

.htu-sidebar-title--popular {
  color: var(--gray-900);
  border-bottom-color: var(--gray-200);
}

.htu-popular-searches-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.htu-popular-search-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem var(--space-md);
  border-radius: 999px;
  border: 1px solid var(--primary);
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--primary);
  background-color: var(--white);
  text-decoration: none;
  white-space: nowrap;
  transition: background-color var(--transition-fast), color var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast), border-color var(--transition-fast);
}

.htu-popular-search-tag:hover {
  background-color: var(--primary);
  color: var(--white);
  border-color: var(--primary-dark);
  box-shadow: 0 4px 12px rgba(31, 52, 133, 0.25);
  transform: translateY(-1px);
  text-decoration: none;
}

.htu-popular-search-tag:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.htu-page .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.htu-category-select {
  width: 100%;
  padding: var(--space-sm) var(--space-md);
  font-size: var(--text-sm);
  font-family: inherit;
  color: var(--gray-800);
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.htu-category-select:hover {
  border-color: var(--primary);
}

.htu-category-select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(31, 52, 133, 0.15);
}

.htu-content-intro {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  margin-bottom: var(--space-xl);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-100);
}

.htu-content-intro h1 {
  font-size: var(--text-3xl);
  font-weight: 800;
  color: var(--gray-900);
  margin: 0 0 var(--space-md);
  line-height: 1.25;
}

.htu-content-intro .htu-intro-short {
  font-size: var(--text-lg);
  color: var(--gray-600);
  margin: 0 0 var(--space-lg);
  line-height: 1.6;
}

.htu-content-intro .htu-intro-long {
  font-size: var(--text-base);
  color: var(--gray-700);
  line-height: 1.75;
  margin: 0;
}

.htu-content-intro .htu-intro-long p {
  margin-bottom: var(--space-md);
}

.htu-content-intro .htu-intro-long p:last-child {
  margin-bottom: 0;
}

.htu-steps-section {
  margin-bottom: var(--space-2xl);
}

.htu-steps-title {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--gray-900);
  margin: 0 0 var(--space-lg);
  padding-left: var(--space-md);
  border-left: 4px solid var(--primary);
}

.htu-step-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  margin-bottom: var(--space-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-100);
}

.htu-step-card:last-child {
  margin-bottom: 0;
}

.htu-step-card h3 {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--primary);
  margin: 0 0 var(--space-md);
}

.htu-step-card .htu-step-body {
  font-size: var(--text-base);
  color: var(--gray-700);
  line-height: 1.75;
  margin: 0 0 var(--space-md);
}

.htu-step-card .htu-step-body p {
  margin-bottom: var(--space-sm);
}

.htu-step-card .htu-step-body p:last-child {
  margin-bottom: 0;
}

.htu-step-card .htu-step-img-wrap {
  margin-top: var(--space-md);
}

.htu-step-card .htu-step-img-wrap img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

/* How to Use step images: hover zoom + pop-out (zoom extends beyond borders) */
.htu-page .htu-step-card .htu-step-img-wrap.htu-img-hover-zoom {
  display: block;
  overflow: visible;
  border-radius: var(--radius-lg);
  position: relative;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.35s ease, transform 0.35s ease;
  cursor: pointer;
}
.htu-page .htu-step-card .htu-step-img-wrap.htu-img-hover-zoom img {
  display: block !important;
  width: 100%;
  max-width: 100%;
  height: auto;
  transition: transform 0.4s ease !important;
  transform: scale(1);
  transform-origin: center center;
}
.htu-page .htu-step-card .htu-step-img-wrap.htu-img-hover-zoom:hover,
.htu-page .htu-step-card .htu-step-img-wrap.htu-img-hover-zoom:focus-within {
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2) !important;
  transform: translateY(-8px) !important;
  z-index: 5;
  overflow: visible !important;
}
.htu-page .htu-step-card .htu-step-img-wrap.htu-img-hover-zoom:hover img,
.htu-page .htu-step-card .htu-step-img-wrap.htu-img-hover-zoom:focus-within img {
  transform: scale(1.35) !important;
  transform-origin: center center;
}

.htu-advantages-section {
  background: var(--gray-50);
  border-radius: var(--radius-2xl);
  padding: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

.htu-advantages-section .htu-advantages-heading {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.htu-advantages-section .htu-advantages-heading h2 {
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--gray-900);
  margin: 0 0 var(--space-sm);
}

.htu-advantages-section .htu-advantages-heading .heading-accent {
  max-width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: var(--radius-full);
  margin: 0 auto;
}

.htu-advantage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--space-lg);
}

.htu-advantage-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  transition: box-shadow 0.2s, transform 0.2s;
}

.htu-advantage-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.htu-advantage-card h3 {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--primary);
  margin: 0 0 var(--space-sm);
}

.htu-advantage-card p {
  font-size: var(--text-sm);
  color: var(--gray-600);
  line-height: 1.6;
  margin: 0;
}

.htu-counter-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: var(--radius-2xl);
  padding: var(--space-xl) var(--space-2xl);
  color: var(--white);
}

.htu-counter-section.section-padding {
  padding-top: var(--space-xl) !important;
  padding-bottom: var(--space-xl) !important;
}

.htu-counter-section .section-heading {
  padding-bottom: var(--space-md) !important;
  margin-bottom: 0;
}

.htu-counter-section .section-heading h2 {
  color: var(--white);
}

.htu-counter-section .section-heading img {
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.htu-counter-row {
  align-items: stretch;
}

.htu-counter-item {
  padding: var(--space-sm) var(--space-md);
}

.htu-counter-section .htu-counter-icon {
  width: 44px;
  height: 44px;
  margin: 0 auto var(--space-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-lg);
  color: var(--white);
  font-size: 1.25rem;
}

.htu-counter-section .htu-counter-icon .fa {
  font-size: 1.25rem;
}

.htu-counter-section .counter-desc {
  display: block;
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: var(--space-xs);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.htu-counter-section .counter {
  font-size: clamp(1.75rem, 4vw, var(--text-4xl));
  font-weight: 800;
  display: block;
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  line-height: 1.2;
}

.htu-counter-section .counter-desc + p {
  margin: 0;
}

@media (max-width: 992px) {
  .htu-sidebar {
    flex: 0 0 100%;
    position: static;
    order: -1;
  }

  .htu-sidebar-box {
    max-width: 320px;
  }
}

@media (max-width: 768px) {
  .htu-page {
    padding-top: var(--space-xl);
    padding-bottom: var(--space-2xl);
  }

  .htu-content-intro,
  .htu-step-card {
    padding: var(--space-lg);
  }

  .htu-content-intro h1 {
    font-size: var(--text-2xl);
  }

  .htu-advantage-grid {
    grid-template-columns: 1fr;
  }

  .htu-counter-section {
    padding: var(--space-lg) var(--space-xl);
  }
}

/* ============================================
   FULLY RESPONSIVE – site-wide
   ============================================ */
img,
video,
iframe,
embed,
object {
  max-width: 100%;
  height: auto;
}

img {
  display: block;
}

/* Keep images visible on all screen sizes (override responsivestyle.css hiding) */
/* Exclude .hero-carousel-img and .hero-carousel-img-wrap so hero carousel centering rules apply */
.asociatepart img.img-fluid,
.partner-advantages img.img-fluid,
.about-us-media img,
.contentbox img,
section .container img.img-fluid {
  display: block !important;
  max-width: 100% !important;
  height: auto !important;
}

/* Prevent overflow on small viewports */
.container,
.herobannertop,
section,
.section-padding,
.row {
  max-width: 100%;
}

/* Tighter gutters on mobile so row doesn't overflow */
@media (max-width: 576px) {
  .row {
    margin-left: calc(-1 * var(--space-sm));
    margin-right: calc(-1 * var(--space-sm));
  }
  .row > * {
    padding-left: var(--space-sm);
    padding-right: var(--space-sm);
  }
}

@media (max-width: 375px) {
  .container {
    padding-left: var(--space-sm);
    padding-right: var(--space-sm);
  }
  .row {
    margin-left: calc(-1 * var(--space-xs));
    margin-right: calc(-1 * var(--space-xs));
  }
  .row > * {
    padding-left: var(--space-xs);
    padding-right: var(--space-xs);
  }
  .btn {
    padding: var(--space-xs) var(--space-md);
    font-size: var(--text-xs);
  }
  .hero-actions .hero-btn {
    min-width: 0;
    width: 100%;
  }
  .section-heading h2 {
    font-size: var(--text-xl);
  }
  h1 {
    font-size: var(--text-xl);
  }
}

/* Modal full-width on small screens */
@media (max-width: 576px) {
  .modal-dialog {
    width: 95%;
    max-width: none;
    margin: var(--space-md) auto;
  }
  .modal-body,
  .modal-header {
    padding-left: var(--space-md);
    padding-right: var(--space-md);
  }
  #getsavecontectpopup .modal-dialog {
    width: 95%;
  }
}

/* Forms and inputs always full-width on small screens */
@media (max-width: 768px) {
  .form-control,
  select.form-control,
  input[type="text"],
  input[type="email"],
  input[type="number"],
  input[type="tel"],
  textarea {
    width: 100%;
    box-sizing: border-box;
  }
  .demoboxform,
  .contact-page .contact-form,
  .tdl-page .tdl-form-card {
    padding-left: 0;
    padding-right: 0;
  }
}

/* Tables: horizontal scroll wrapper */
.table-responsive,
.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
}

@media (max-width: 768px) {
  .table {
    font-size: var(--text-sm);
  }
  .table th,
  .table td {
    padding: var(--space-xs) var(--space-sm);
    white-space: nowrap;
  }
}

/* Footer responsive */
@media (max-width: 767px) {
  .footerOuter .container .row {
    text-align: center;
  }
  .footerOuter .socailfooter {
    text-align: center;
  }
  .footerOuter .socailfooter a {
    display: inline-block;
    margin: 0 var(--space-xs);
  }
}

/* Hero actions stack on very small */
@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  .hero-actions .hero-btn {
    width: 100%;
  }
}

/* Home page: prevent any horizontal scroll */
#hero-section,
.herobannertop,
.why-choose-section,
.how-it-works-section,
.counter-box,
.products-pricing-section,
.what-we-offer-section,
.about-us-section,
.online-support-section {
  max-width: 100%;
  overflow-x: hidden;
}

/* Product pricing cards full width on mobile */
@media (max-width: 767px) {
  .product-pricing-card,
  .products-pricing-col {
    max-width: 100%;
  }
}

/* Ensure headings don't overflow */
h1, h2, h3, h4, h5, h6,
.section-heading h2,
.hero-title {
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* Touch-friendly tap targets (min 44px) */
@media (max-width: 992px) {
  .btn,
  .hero-btn,
  a.btn,
  .nav-link-uc,
  .drop-down button {
    min-height: 44px;
    padding-top: var(--space-sm);
    padding-bottom: var(--space-sm);
  }
  .form-control,
  select.form-control {
    min-height: 44px;
  }
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
  .btn,
  .modal,
  .custom-modal {
    display: none;
  }

  .card,
  .pricingbox {
    box-shadow: none;
    border: 1px solid var(--gray-300);
    page-break-inside: avoid;
  }
}

/* Mobile nav: dropdowns triggered by button (e.g. HOW TO USE) – match anchor styling */
.mobile-nav .drop-down > button {
  display: block;
  width: 100%;
  text-align: left;
  color: #333;
  padding: 10px 20px 10px 20px;
  padding-right: 35px;
  font-weight: 500;
  text-transform: uppercase;
  border: none;
  background: none;
  cursor: pointer;
  border-bottom: 1px solid #f1f1f1;
  position: relative;
  font-size: inherit;
  line-height: inherit;
}

.mobile-nav .drop-down.active > button {
  background-color: var(--pinkColor, #1f3485);
  color: #fff;
}

.mobile-nav .drop-down > button .fa-angle-down {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  transition: transform 0.2s ease;
}

.mobile-nav .drop-down.active > button .fa-angle-down {
  transform: translateY(-50%) rotate(180deg);
}

/* ===== Floating Lead Form reCAPTCHA Fix ===== */

.floating-lead-form-body .g-recaptcha {
    transform: scale(0.70);
    transform-origin: left top;
}


.floating-lead-form-body iframe {
    max-width: 100% !important;
}


.floating-lead-form-body .g-recaptcha {
    margin-bottom: 2px;
}