/**
 * 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: #6bab43;
  --accent-hover: #5a9436;

  /* 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 */
  --space-xs: 0.5rem; /* 8px */
  --space-sm: 0.75rem; /* 12px */
  --space-md: 1rem; /* 16px */
  --space-lg: 1.5rem; /* 24px */
  --space-xl: 2rem; /* 32px */
  --space-2xl: 3rem; /* 48px */
  --space-3xl: 4rem; /* 64px */
  --space-4xl: 6rem; /* 96px */

  /* 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.6;
  color: var(--gray-800);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* ============================================
   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-md);
}

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-md);
  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-4xl);
  padding-bottom: var(--space-4xl);
}

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

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

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

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

@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-lg);
  padding-right: var(--space-lg);
}

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

/* ============================================
   BUTTON SYSTEM
   ============================================ */
.btn,
button.btn,
a.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-md) var(--space-xl);
  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-xl);
  padding-bottom: var(--space-xl);
}

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

.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-lg) var(--space-md);
  }

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

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

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

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

/* ============================================
   WHY CHOOSE US – Feature cards section
   ============================================ */
.why-choose-section {
  background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 100%);
  padding-top: var(--space-2xl);
  padding-bottom: var(--space-2xl);
  overflow-x: hidden;
}

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

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

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

.why-choose-section .row {
  align-items: stretch;
  margin-left: -0.5rem;
  margin-right: -0.5rem;
}

.why-choose-section .row [class*="col-"] {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  min-width: 0;
}

.why-choose-section .row .mb-4 {
  margin-bottom: 0.75rem !important;
}

/* Wrapper for running gradient border */
.why-choose-section .why-choose-card-border-wrap {
  position: relative;
  border-radius: var(--radius-xl);
  padding: 0;
  overflow: hidden;
  min-width: 0;
  display: block;
}

/* Rotating gradient layer (full area) */
.why-choose-section .why-choose-card-border-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  background: conic-gradient(
    from 0deg,
    #1f3485,
    #0ea5e9,
    #6366f1,
    #2d4ba8,
    #1f3485
  );
  animation: why-choose-border-run 6s linear infinite;
}

/* Inner mask so only a 4px “border” shows the gradient */
.why-choose-section .why-choose-card-border-wrap::after {
  content: "";
  position: absolute;
  inset: 2px;
  z-index: 1;
  border-radius: calc(var(--radius-xl) - 2px);
  background: var(--white);
  pointer-events: none;
}

.why-choose-section .why-choose-card-border-wrap:hover::before {
  animation-duration: 4s;
}

@keyframes why-choose-border-run {
  to {
    transform: rotate(360deg);
  }
}

.why-choose-section .why-choose-card {
  background: var(--white) !important;
  border-radius: calc(var(--radius-xl) - 2px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04);
  border: 1px solid var(--gray-200);
  padding: var(--space-lg);
  margin: 2px;
  min-height: 400px;
  height: auto !important;
  overflow: hidden;
  min-width: 0;
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
}

.why-choose-section .why-choose-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 100%);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.why-choose-section .why-choose-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(31, 52, 133, 0.12), 0 8px 16px rgba(0, 0, 0, 0.06);
  border-color: var(--gray-300);
}

.why-choose-section .why-choose-card:hover::before {
  opacity: 1;
}

/* Shine / shimmer effect on hover */
.why-choose-section .why-choose-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    105deg,
    transparent 0%,
    transparent 35%,
    rgba(255, 255, 255, 0.25) 50%,
    transparent 65%,
    transparent 100%
  );
  transform: translateX(-100%) skewX(-18deg);
  transition: transform 0.6s ease;
  pointer-events: none;
  border-radius: var(--radius-xl);
}

.why-choose-section .why-choose-card:hover::after {
  transform: translateX(200%) skewX(-18deg);
}

/* Reset style.css .featuresBox img (position: absolute; top: -110px) so images are visible */
.why-choose-section .why-choose-card img {
  position: static !important;
  top: auto !important;
  left: auto !important;
  max-width: 140px;
  width: 100%;
  height: auto;
  min-height: 80px;
  margin: 0 auto var(--space-md);
  display: block;
  border-radius: var(--radius-md);
  object-fit: contain;
}

.why-choose-section .why-choose-card img + p {
  position: relative;
  padding-top: var(--space-md);
  margin-top: 0;
  border-top: 1px solid var(--gray-200);
}

.why-choose-section .why-choose-card p {
  font-size: var(--text-sm);
  line-height: 1.75;
  color: var(--gray-600);
  overflow-wrap: break-word;
  word-wrap: break-word;
  word-break: break-word;
  min-width: 0;
  flex: 1 1 auto;
}

.why-choose-section .why-choose-card p span:first-child {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: var(--space-sm);
  letter-spacing: -0.01em;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.why-choose-section .why-choose-card p span:last-child {
  font-weight: 400;
  color: var(--gray-600);
}

@media (max-width: 991px) {
  .why-choose-section .why-choose-heading h2 {
    font-size: var(--text-2xl);
  }
  .why-choose-section .why-choose-card {
    min-height: 360px;
  }
}

/* ============================================
   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);
}

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

.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;
}

.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);
}

.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;
  }
}

/* ============================================
   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 – Modern, dynamic
   ============================================ */
.products-pricing-section {
  background: linear-gradient(165deg, var(--gray-50) 0%, #f0f4f8 50%, var(--white) 100%);
  position: relative;
  overflow: hidden;
}

.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-3xl);
  position: relative;
  z-index: 1;
}

.products-pricing-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--primary) !important;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: var(--space-md);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.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.75rem;
  padding-right: 0.75rem;
  margin-bottom: var(--space-lg);
  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;
  }
}

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

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

.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-2xl);
}

.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-xl);
  margin-bottom: var(--space-xl);
  border-bottom: 1px solid var(--gray-100);
}

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

.product-pricing-desc {
  font-size: var(--text-base);
  color: var(--gray-600);
  margin: 0 0 var(--space-lg);
  line-height: 1.5;
}

.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(2rem, 4vw, 2.75rem);
  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-xl);
  flex: 1;
}

.product-pricing-feature {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  padding: var(--space-sm) 0;
  font-size: var(--text-sm);
  color: var(--gray-700);
  line-height: 1.5;
  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-lg);
}

.product-pricing-btn {
  display: block;
  width: 100%;
  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;
}

.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-2xl);
  padding-top: var(--space-xl);
  border-top: 1px solid var(--gray-200);
  font-size: var(--text-base);
  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;
}

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

/* 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%);
  padding: var(--space-3xl) 0;
  position: relative;
  overflow: hidden;
  overflow-x: hidden;
}

.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: var(--space-2xl);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.hero-title-top::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: var(--radius-full);
  margin: var(--space-md) auto 0;
}

.hero-row {
  position: relative;
  z-index: 1;
}

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

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

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

.hero-title {
  font-size: clamp(2.25rem, 5.5vw, 3.5rem);
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: var(--space-md);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.hero-title::after {
  content: "";
  display: block;
  width: 72px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: var(--radius-full);
  margin-top: var(--space-md);
}

/* “Import any” on first line; typewriter phrase on next line = BIGGEST text on page */
.hero-typewriter-wrap {
  min-height: 5em;
  margin-bottom: var(--space-lg);
}

.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.2;
  margin: 0;
  font-weight: 800;
  min-height: 1.25em;
}

.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);
}

.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 {
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  font-weight: 700;
  color: var(--primary);
  margin: 0 auto var(--space-lg);
  line-height: 1.35;
  max-width: 380px;
  letter-spacing: 0.02em;
  padding: var(--space-sm) var(--space-lg);
  border-left: 4px solid var(--accent);
  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;
}

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

.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-md);
  justify-content: center;
}

.hero-btn {
  padding: var(--space-md) var(--space-xl);
  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;
}

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

/* Hero carousel: stacked cards, center prominent, sides scaled and layered */
.hero-carousel {
  position: relative;
  min-height: 460px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow-x: hidden;
  max-width: 100%;
}

.hero-carousel-viewport {
  position: relative;
  width: 100%;
  max-width: 680px;
  height: 480px;
  margin: 0 auto;
  overflow: hidden;
  overflow-x: hidden;
}

.hero-carousel-card {
  position: absolute;
  width: 320px;
  transition: transform 0.45s ease, box-shadow 0.45s ease, z-index 0s;
  top: 50%;
}

.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;
}

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

.hero-carousel-card--center {
  left: 50%;
  margin-left: -160px;
  transform: translateY(-50%) scale(1);
  z-index: 3;
  width: 320px;
}

.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;
}

.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);
}

.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;
  display: block;
  transform: scale(1.08);
  transform-origin: center center;
}

.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 {
    width: 56px;
  }

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

  .hero-title::after {
    width: 56px;
  }

  .hero-typewriter-wrap {
    min-height: 4.5em;
  }

  .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;
  }

  .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: 380px;
  }

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

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

  .hero-carousel-card--center {
    margin-left: -130px;
    width: 260px;
  }

  .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;
  }
}

/* ============================================
   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);
}

/* ============================================
   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;
  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: var(--space-md) var(--space-lg);
  text-align: left;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  font-weight: 600;
  font-size: var(--text-sm);
  letter-spacing: 0.03em;
  border: none;
}

.tdl-page .tdl-table.paidTblInner td,
.tdl-page .paidTblInner td {
  padding: var(--space-md) var(--space-lg);
  border-bottom: 1px solid var(--gray-200);
  color: var(--gray-700);
}

.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: flex-start;
  margin-bottom: var(--space-3xl);
  position: relative;
  z-index: 1;
}

.tdl-request-content {
  flex: 1 1 340px;
  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);
}

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

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

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

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

.tdl-request-form-wrap {
  flex: 0 1 380px;
  min-width: 0;
}

.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);
}

.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-xl) !important;
  padding-bottom: var(--space-xl) !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%;
  }
}

/* ============================================
   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;
}

.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 so it fits without scrolling */
#getsavecontectpopup .modal-dialog {
  max-width: 480px;
}

#getsavecontectpopup .modal-header {
  padding: var(--space-md) var(--space-lg);
}

#getsavecontectpopup .modal-title {
  font-size: var(--text-xl);
}

#getsavecontectpopup .modal-body {
  padding: var(--space-md) var(--space-lg);
  max-height: 85vh;
}

#getsavecontectpopup .demoboxform {
  padding: var(--space-lg);
  box-shadow: none;
  background: transparent;
}

#getsavecontectpopup .demoboxform label {
  margin-bottom: var(--space-xs);
  font-size: var(--text-sm);
}

#getsavecontectpopup .demoboxform .form-control {
  margin-bottom: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  min-height: 38px;
}

#getsavecontectpopup .demoboxform textarea.form-control {
  min-height: 72px;
}

#getsavecontectpopup .demoboxform button.form-control {
  margin-top: var(--space-sm);
  margin-bottom: 0;
  padding: var(--space-sm) var(--space-lg);
}

#getsavecontectpopup .demoboxform .form-control#cattype,
#getsavecontectpopup .demoboxform select.form-control {
  min-height: 38px;
  margin-bottom: var(--space-sm);
}

.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);
}

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

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

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

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

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

@media (max-width: 768px) {
  .custom-modal-content {
    margin: 5% auto;
    padding: var(--space-lg);
  }

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

/* ============================================
   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 > .col-lg-6 {
    flex: 0 0 50% !important;
    max-width: 50% !important;
  }
}

.video-gallery-player {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  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);
}

.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);
  height: 100%;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: box-shadow var(--transition-base), border-color var(--transition-base);
}

.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: var(--text-xl);
  font-weight: 700;
  color: var(--primary);
  margin-bottom: var(--space-md);
  line-height: 1.3;
}

.video-gallery-section .video-gallery-content p {
  font-size: var(--text-base);
  color: var(--gray-700);
  line-height: 1.7;
  margin: 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);
}

@media (max-width: 991px) {
  .video-gallery-item {
    padding: var(--space-xl) 0;
  }
  .video-gallery-section .video-gallery-content {
    padding: var(--space-lg) var(--space-xl);
    min-height: 0;
  }
  .video-gallery-player {
    margin-bottom: var(--space-lg);
  }
}

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

/* ============================================
   ABOUT US SECTION – Elegant, modern
   ============================================ */
.about-us-section {
  position: relative;
  overflow: hidden;
}

.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;
}

.about-us-image-wrap {
  position: relative;
  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: 10px;
}

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

.about-us-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: calc(var(--radius-2xl) - 10px);
  transform: scale(1.01);
}

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

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

.about-us-lead {
  font-size: var(--text-lg);
  color: var(--gray-700);
  line-height: 1.7;
  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-2xl);
  backdrop-filter: blur(10px);
}

.about-us-card p {
  color: var(--gray-700);
  line-height: 1.85;
}

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

.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;
}

.about-us-highlights li::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;
}

@media (max-width: 768px) {
  .about-us-image-wrap {
    margin-bottom: var(--space-xl);
  }

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

  .about-us-card {
    padding: var(--space-xl);
  }
}

.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;
}

.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;
}

.online-support-image-wrap {
  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-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: calc(var(--radius-2xl) - 10px);
}

@media (max-width: 768px) {
  .online-support-media {
    margin-bottom: var(--space-xl);
  }
  .online-support-section .online-support-heading h2 {
    font-size: var(--text-3xl);
  }
  .online-support-card {
    padding: var(--space-xl);
  }
}

/* ============================================
   FOOTER – logo size and layout
   ============================================ */
.footerOuter .footer-logo-wrap {
  margin-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);
  padding: var(--space-2xl);
  text-align: center;
}

.homedownbtn-box {
  display: inline-block;
  max-width: 100%;
  padding: var(--space-md) var(--space-xl);
  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);
}

.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);
}

.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-xl);
    padding-bottom: var(--space-xl);
  }

  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;
}

.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;
}

.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;
}

/* 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: 40px;
  overflow: visible;
}

.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;
}

/* Smaller logo; reset style.css .headerNav .logo (left, position) */
.header-two-tier .header-logo-img {
  height: 36px;
  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 .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;
  top: 100%;
  margin-top: 4px;
}

/* 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;
}

.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: 32px;
  }
  .header-two-tier .header-partner-badge .partner-logo {
    max-height: 32px;
    height: 32px;
  }
  .header-two-tier .header-main-row {
    min-height: 36px;
  }
}

/* ============================================
   HOW TO USE (FEATURES) PAGES – Attractive layout + Category select
   ============================================ */
.htu-page {
  background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 12%, var(--white) 100%);
  padding-top: var(--space-2xl);
  padding-bottom: var(--space-4xl);
}

.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);
}

.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);
}

.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;
}

/* 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%;
  }
}

/* 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;
  }
}
