/* ==========================================================================
   Rajouri Hire Purchase and Finance Pvt. Ltd.
   Design System & Component Styles
   Version: 1.0.0
   ========================================================================== */

/* --------------------------------------------------------------------------
   0. DESIGN TOKENS (CSS Custom Properties)
   -------------------------------------------------------------------------- */
:root {
  /* Brand Colors — UI UX Pro Max: Banking/Traditional Finance palette */
  --color-primary: #0F172A;          /* Trust Navy */
  --color-primary-dark: #020617;     /* Darker navy */
  --color-primary-light: #1E293B;    /* Lighter navy */
  --color-secondary: #A16207;        /* Premium Gold (WCAG 3:1 on white) */
  --color-secondary-dark: #854D0E;   /* Darker gold */
  --color-accent: #1E3A8A;           /* Royal Blue */
  --color-accent-dark: #1E40AF;      /* Deeper blue for hover */
  --color-accent-light: #3B82F6;     /* Lighter blue */
  --color-success: #059669;          /* Trust Green */
  --color-success-bg: #ECFDF5;
  --color-error: #DC2626;
  --color-error-bg: #FEF2F2;
  --color-warning: #D97706;
  --color-warning-bg: #FFFBEB;
  --color-info: #1E40AF;
  --color-info-bg: #EFF6FF;

  /* Neutrals — UI UX Pro Max: Banking palette */
  --color-bg: #F8FAFC;               /* Cool off-white */
  --color-bg-alt: #F1F5F9;           /* Subtle section alt */
  --color-text: #020617;             /* Near-black */
  --color-text-light: #475569;       /* Secondary text */
  --color-text-muted: #94A3B8;       /* Muted/disabled text */
  --color-border: #E2E8F0;           /* Default border */
  --color-border-light: #F1F5F9;     /* Light border */
  --color-white: #FFFFFF;
  --color-black: #000000;

  /* Semantic Colors */
  --color-success: #2D7A3A;
  --color-success-bg: #E8F5E9;
  --color-error: #C62828;
  --color-error-bg: #FFEBEE;
  --color-warning: #E65100;
  --color-warning-bg: #FFF3E0;
  --color-info: #1565C0;
  --color-info-bg: #E3F2FD;

  /* Typography — UI UX Pro Max: Corporate Trust pairing */
  --font-heading: 'Lexend', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;

  /* Font Sizes (modular 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 */

  /* Font Weights */
  --weight-normal: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;

  /* Line Heights */
  --leading-tight: 1.25;
  --leading-normal: 1.6;
  --leading-relaxed: 1.75;

  /* Spacing */
  --spacing-unit: 8px;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --space-10: 128px;

  /* Layout */
  --max-width: 1200px;
  --max-width-narrow: 800px;
  --max-width-wide: 1400px;
  --gutter: 16px;
  --gutter-lg: 32px;

  /* Border Radius */
  --border-radius: 4px;
  --border-radius-sm: 2px;
  --border-radius-lg: 8px;
  --border-radius-full: 9999px;

  /* Shadows — UI UX Pro Max: Trust & Authority pattern */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
  --shadow-card: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;

  /* Z-index layers */
  --z-base: 1;
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-overlay: 300;
  --z-modal: 400;
  --z-toast: 500;
  --z-skip-nav: 600;
}

/* --------------------------------------------------------------------------
   1. RESET & BASE STYLES
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 100%;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: var(--weight-normal);
  line-height: var(--leading-normal);
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

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

a:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 2px;
  border-radius: var(--border-radius-sm);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: var(--weight-bold);
  line-height: var(--leading-tight);
  color: var(--color-text);
}

h1 { font-size: var(--text-4xl); }
h2 { font-size: var(--text-3xl); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }
h5 { font-size: var(--text-lg); }
h6 { font-size: var(--text-base); }

p {
  margin-bottom: var(--space-4);
}

p:last-child {
  margin-bottom: 0;
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none;
}

button:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 2px;
  border-radius: var(--border-radius-sm);
}

input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 1px;
}

/* --------------------------------------------------------------------------
   2. SKIP NAVIGATION (ACCESSIBILITY)
   -------------------------------------------------------------------------- */
.skip-nav {
  position: fixed;
  top: -100%;
  left: var(--space-4);
  z-index: var(--z-skip-nav);
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: var(--space-3) var(--space-5);
  font-weight: var(--weight-semibold);
  font-size: var(--text-sm);
  border-radius: 0 0 var(--border-radius) var(--border-radius);
  transition: top var(--transition-fast);
}

.skip-nav:focus {
  top: 0;
  outline: 3px solid var(--color-secondary);
  outline-offset: 2px;
  color: var(--color-white);
  text-decoration: none;
}

/* --------------------------------------------------------------------------
   3. LAYOUT UTILITIES
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.container--narrow {
  max-width: var(--max-width-narrow);
}

.container--wide {
  max-width: var(--max-width-wide);
}

.section {
  padding-top: var(--space-8);
  padding-bottom: var(--space-8);
}

.section--alt {
  background-color: var(--color-bg-alt);
}

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

.section--primary h2,
.section--primary h3,
.section--primary h4 {
  color: var(--color-white);
}

.section--accent {
  background-color: var(--color-accent);
  color: var(--color-white);
}

.section--accent h2,
.section--accent h3 {
  color: var(--color-white);
}

.grid {
  display: grid;
  gap: var(--gutter-lg);
}

.grid--2 {
  grid-template-columns: 1fr;
}

.grid--3 {
  grid-template-columns: 1fr;
}

.grid--4 {
  grid-template-columns: 1fr;
}

.flex {
  display: flex;
}

.flex--wrap {
  flex-wrap: wrap;
}

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

.flex--between {
  justify-content: space-between;
}

.flex--col {
  flex-direction: column;
}

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

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

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* --------------------------------------------------------------------------
   4. HEADER & STICKY NAVIGATION
   -------------------------------------------------------------------------- */
.header {
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
  background-color: var(--color-white);
  box-shadow: var(--shadow-sm);
  border-bottom: 2px solid var(--color-border-light);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-3);
  padding-bottom: var(--space-3);
  min-height: 64px;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  color: var(--color-text);
  flex-shrink: 0;
}

.header__logo:hover {
  text-decoration: none;
  color: var(--color-text);
}

.header__logo-icon {
  width: 40px;
  height: 40px;
  background-color: var(--color-primary);
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-family: var(--font-heading);
  font-weight: var(--weight-bold);
  font-size: var(--text-lg);
}

.header__logo-img {
  height: 42px;
  width: auto;
  display: block;
}

.header__logo-text {
  display: flex;
  flex-direction: column;
}

.header__logo-name {
  font-family: var(--font-heading);
  font-weight: var(--weight-bold);
  font-size: var(--text-lg);
  line-height: 1.2;
  color: var(--color-primary);
}

.header__logo-tagline {
  font-size: var(--text-xs);
  color: var(--color-text-light);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Desktop Navigation */
.nav {
  display: none;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.nav__item {
  position: relative;
}

.nav__link {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  padding: var(--space-3) var(--space-4);
  color: var(--color-text);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  text-decoration: none;
  white-space: nowrap;
  border-radius: var(--border-radius);
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

.nav__link:hover {
  background-color: var(--color-bg-alt);
  color: var(--color-primary);
  text-decoration: none;
}

.nav__link--active {
  color: var(--color-primary);
  font-weight: var(--weight-semibold);
}

.nav__link--cta {
  background-color: var(--color-primary);
  color: var(--color-white);
  font-weight: var(--weight-semibold);
  padding: var(--space-3) var(--space-5);
  border-radius: var(--border-radius);
  margin-left: var(--space-2);
}

.nav__link--cta:hover {
  background-color: var(--color-primary-dark);
  color: var(--color-white);
}

.nav__link--cta:focus-visible {
  outline-color: var(--color-secondary);
}

.nav__chevron {
  width: 12px;
  height: 12px;
  transition: transform var(--transition-fast);
  flex-shrink: 0;
}

.nav__item:hover .nav__chevron,
.nav__item--open .nav__chevron {
  transform: rotate(180deg);
}

/* Mega Menu Dropdown */
.mega-menu {
  display: none !important;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 280px;
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
  z-index: var(--z-dropdown);
  padding: var(--space-4) 0;
}

.nav__item:hover > .mega-menu,
.nav__item--open > .mega-menu {
  display: block !important;
}

.mega-menu--wide {
  min-width: 360px;
  left: 0;
  transform: none;
}

.mega-menu__link {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-5);
  color: var(--color-text);
  text-decoration: none;
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

.mega-menu__link:hover {
  background-color: var(--color-bg-alt);
  color: var(--color-primary);
  text-decoration: none;
}

.mega-menu__link:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: -3px;
}

.mega-menu__icon {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-bg-alt);
  border-radius: var(--border-radius);
  color: var(--color-primary);
}

.mega-menu__icon svg {
  width: 16px;
  height: 16px;
}

.mega-menu__text {
  display: flex;
  flex-direction: column;
}

.mega-menu__title {
  font-weight: var(--weight-semibold);
  font-size: var(--text-sm);
  line-height: 1.3;
}

.mega-menu__desc {
  font-size: var(--text-xs);
  color: var(--color-text-light);
  line-height: 1.4;
  margin-top: 2px;
}

/* Header Actions */
.header__actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.header__cta {
  display: none;
}

/* Mobile Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-2);
  border-radius: var(--border-radius);
}

.hamburger:hover {
  background-color: var(--color-bg-alt);
}

.hamburger__line {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--color-text);
  border-radius: 1px;
  transition: transform var(--transition-base), opacity var(--transition-fast);
}

.hamburger--active .hamburger__line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger--active .hamburger__line:nth-child(2) {
  opacity: 0;
}

.hamburger--active .hamburger__line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Navigation Panel */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 360px;
  height: 100vh;
  background-color: var(--color-white);
  z-index: var(--z-overlay);
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform var(--transition-base);
  box-shadow: var(--shadow-xl);
}

.mobile-nav--open {
  transform: translateX(0);
}

.mobile-nav__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4) var(--space-5);
  border-bottom: 1px solid var(--color-border-light);
}

.mobile-nav__title {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: var(--weight-bold);
  color: var(--color-primary);
}

.mobile-nav__close {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--border-radius);
  color: var(--color-text);
}

.mobile-nav__close:hover {
  background-color: var(--color-bg-alt);
}

.mobile-nav__list {
  padding: var(--space-3) 0;
}

.mobile-nav__item {
  border-bottom: 1px solid var(--color-border-light);
}

.mobile-nav__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4) var(--space-5);
  color: var(--color-text);
  font-size: var(--text-base);
  font-weight: var(--weight-medium);
  text-decoration: none;
  transition: background-color var(--transition-fast);
}

.mobile-nav__link:hover {
  background-color: var(--color-bg-alt);
  text-decoration: none;
}

.mobile-nav__link--cta {
  background-color: var(--color-primary);
  color: var(--color-white);
  margin: var(--space-4) var(--space-5);
  border-radius: var(--border-radius);
  justify-content: center;
  padding: var(--space-4);
  font-weight: var(--weight-semibold);
}

.mobile-nav__link--cta:hover {
  background-color: var(--color-primary-dark);
  color: var(--color-white);
}

/* Mobile Accordion Sub-items */
.mobile-nav__toggle {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--color-text-light);
  transition: transform var(--transition-fast);
}

.mobile-nav__toggle--open {
  transform: rotate(180deg);
}

.mobile-nav__sub {
  display: none;
  background-color: var(--color-bg-alt);
  padding: var(--space-2) 0;
}

.mobile-nav__sub--open {
  display: block;
}

.mobile-nav__sub-link {
  display: block;
  padding: var(--space-3) var(--space-7);
  color: var(--color-text);
  font-size: var(--text-sm);
  text-decoration: none;
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

.mobile-nav__sub-link:hover {
  background-color: var(--color-border-light);
  color: var(--color-primary);
  text-decoration: none;
}

/* Mobile Overlay */
.mobile-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: calc(var(--z-overlay) - 1);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.mobile-overlay--visible {
  opacity: 1;
}

/* --------------------------------------------------------------------------
   5. HERO SECTION
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  background-color: var(--color-primary);
  min-height: 480px;
  display: flex;
  align-items: center;
}

.hero__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.25;
}

.hero__content {
  position: relative;
  z-index: var(--z-base);
  padding: var(--space-8) 0;
  max-width: 640px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background-color: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--border-radius-full);
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  color: var(--color-white);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-5);
}

.hero__title {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-weight: var(--weight-bold);
  color: var(--color-white);
  margin-bottom: var(--space-4);
  line-height: var(--leading-tight);
}

.hero__desc {
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--space-6);
  line-height: var(--leading-relaxed);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.hero__trust {
  margin-top: var(--space-7);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-5);
  padding-top: var(--space-5);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.hero__trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.85);
}

.hero__trust-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--color-secondary);
}

/* --------------------------------------------------------------------------
   6. BUTTONS
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-5);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  line-height: 1.5;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: var(--border-radius);
  transition: background-color var(--transition-fast), color var(--transition-fast),
              border-color var(--transition-fast), box-shadow var(--transition-fast);
  cursor: pointer;
  white-space: nowrap;
}

.btn:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 2px;
}

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

.btn--primary:hover {
  background-color: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  color: var(--color-white);
  text-decoration: none;
}

.btn--secondary {
  background-color: transparent;
  color: var(--color-white);
  border-color: var(--color-white);
}

.btn--secondary:hover {
  background-color: var(--color-white);
  color: var(--color-primary);
  text-decoration: none;
}

.btn--outline {
  background-color: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.btn--outline:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
  text-decoration: none;
}

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

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

.btn--gold {
  background-color: var(--color-secondary);
  color: var(--color-text);
  border-color: var(--color-secondary);
}

.btn--gold:hover {
  background-color: var(--color-secondary-dark);
  border-color: var(--color-secondary-dark);
  color: var(--color-text);
  text-decoration: none;
}

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

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

.btn--block {
  display: flex;
  width: 100%;
}

.btn--icon {
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: var(--border-radius-full);
}

/* --------------------------------------------------------------------------
   7. CARDS
   -------------------------------------------------------------------------- */
.card {
  background-color: var(--color-white);
  border: 1px solid var(--color-border-light);
  border-radius: var(--border-radius);
  overflow: hidden;
  transition: box-shadow var(--transition-base), transform var(--transition-base);
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.card__image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card__body {
  padding: var(--space-5);
}

.card__category {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-3);
}

.card__title {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: var(--weight-bold);
  margin-bottom: var(--space-3);
  color: var(--color-text);
}

.card__desc {
  font-size: var(--text-sm);
  color: var(--color-text-light);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-4);
}

.card__meta {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

.card__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--color-accent);
}

.card__link:hover {
  color: var(--color-accent-dark);
}

.card__link svg {
  width: 16px;
  height: 16px;
  transition: transform var(--transition-fast);
}

.card__link:hover svg {
  transform: translateX(3px);
}

/* Product Card Variant */
.card--product {
  text-align: center;
  padding: var(--space-6) var(--space-5);
}

.card--product .card__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto var(--space-4);
  background-color: var(--color-bg-alt);
  border-radius: var(--border-radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
}

.card--product .card__icon svg {
  width: 24px;
  height: 24px;
}

/* Stat Card */
.card--stat {
  text-align: center;
  padding: var(--space-6);
  border-left: 4px solid var(--color-secondary);
}

.card--stat .card__number {
  font-family: var(--font-heading);
  font-size: var(--text-4xl);
  font-weight: var(--weight-bold);
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: var(--space-2);
}

.card--stat .card__label {
  font-size: var(--text-sm);
  color: var(--color-text-light);
  font-weight: var(--weight-medium);
}

/* --------------------------------------------------------------------------
   8. SECTION HEADERS
   -------------------------------------------------------------------------- */
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--space-7);
}

.section-header__label {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-3);
}

.section--primary .section-header__label {
  color: var(--color-secondary);
}

.section-header__title {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-weight: var(--weight-bold);
  margin-bottom: var(--space-4);
}

.section-header__desc {
  font-size: var(--text-lg);
  color: var(--color-text-light);
  line-height: var(--leading-relaxed);
}

.section--primary .section-header__desc {
  color: rgba(255, 255, 255, 0.85);
}

/* --------------------------------------------------------------------------
   9. MOTIF DIVIDER (BASHOLI/PAHARI BORDER PATTERN)
   -------------------------------------------------------------------------- */
.motif-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-5) 0;
  overflow: hidden;
}

.motif-divider svg {
  width: 100%;
  max-width: 320px;
  height: auto;
}

/* --------------------------------------------------------------------------
   10. TRUST ICONS (INLINE SVG)
   -------------------------------------------------------------------------- */
.trust-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
}

.trust-icon svg {
  width: 100%;
  height: 100%;
}

.trust-icon--accent {
  color: var(--color-accent);
}

.trust-icon--gold {
  color: var(--color-secondary);
}

/* --------------------------------------------------------------------------
   11. FEATURE LIST / ICON LIST
   -------------------------------------------------------------------------- */
.icon-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.icon-list__item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
}

.icon-list__icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  background-color: var(--color-bg-alt);
  border-radius: var(--border-radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
}

.icon-list__icon svg {
  width: 20px;
  height: 20px;
}

.icon-list__content {
  flex: 1;
}

.icon-list__title {
  font-weight: var(--weight-semibold);
  font-size: var(--text-base);
  margin-bottom: var(--space-1);
  color: var(--color-text);
}

.icon-list__desc {
  font-size: var(--text-sm);
  color: var(--color-text-light);
  line-height: var(--leading-relaxed);
}

/* --------------------------------------------------------------------------
   12. TESTIMONIALS
   -------------------------------------------------------------------------- */
.testimonial {
  background-color: var(--color-white);
  border: 1px solid var(--color-border-light);
  border-radius: var(--border-radius);
  padding: var(--space-6);
  position: relative;
}

.testimonial::before {
  content: '\201C';
  font-family: var(--font-heading);
  font-size: 4rem;
  color: var(--color-secondary);
  position: absolute;
  top: var(--space-3);
  left: var(--space-5);
  line-height: 1;
  opacity: 0.4;
}

.testimonial__text {
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
  color: var(--color-text);
  margin-bottom: var(--space-5);
  font-style: italic;
  position: relative;
  z-index: var(--z-base);
}

.testimonial__author {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.testimonial__avatar {
  width: 48px;
  height: 48px;
  border-radius: var(--border-radius-full);
  object-fit: cover;
  border: 2px solid var(--color-border-light);
}

.testimonial__name {
  font-weight: var(--weight-semibold);
  font-size: var(--text-sm);
  color: var(--color-text);
}

.testimonial__role {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

/* --------------------------------------------------------------------------
   13. FORMS
   -------------------------------------------------------------------------- */
.form {
  max-width: 640px;
}

.form--wide {
  max-width: 100%;
}

.form__group {
  margin-bottom: var(--space-5);
}

.form__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}

.form__label {
  display: block;
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--color-text);
  margin-bottom: var(--space-2);
}

.form__label--required::after {
  content: ' *';
  color: var(--color-error);
}

.form__input,
.form__select,
.form__textarea {
  display: block;
  width: 100%;
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-base);
  color: var(--color-text);
  background-color: var(--color-white);
  border: 2px solid var(--color-border);
  border-radius: var(--border-radius);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  appearance: none;
}

.form__input:focus,
.form__select:focus,
.form__textarea:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(46, 93, 115, 0.15);
  outline: none;
}

.form__input--error,
.form__select--error,
.form__textarea--error {
  border-color: var(--color-error);
}

.form__input--error:focus,
.form__select--error:focus {
  box-shadow: 0 0 0 3px rgba(198, 40, 40, 0.15);
}

.form__input::placeholder {
  color: var(--color-text-muted);
}

.form__select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2322252A' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--space-4) center;
  padding-right: var(--space-8);
}

.form__textarea {
  min-height: 120px;
  resize: vertical;
}

.form__hint {
  display: block;
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-top: var(--space-1);
}

.form__error {
  display: none;
  font-size: var(--text-xs);
  color: var(--color-error);
  margin-top: var(--space-1);
  align-items: center;
  gap: var(--space-1);
}

.form__error--visible {
  display: flex;
}

.form__error svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.form__checkbox-group,
.form__radio-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.form__checkbox-label,
.form__radio-label {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-text);
  cursor: pointer;
}

.form__checkbox,
.form__radio {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 1px;
  accent-color: var(--color-accent);
}

.form__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-top: var(--space-6);
}

/* Multi-step Form */
.form-step {
  display: none;
}

.form-step--active {
  display: block;
}

.form-step__progress {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-6);
}

.form-step__dot {
  width: 32px;
  height: 32px;
  border-radius: var(--border-radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  background-color: var(--color-border-light);
  color: var(--color-text-muted);
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

.form-step__dot--active {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.form-step__dot--completed {
  background-color: var(--color-success);
  color: var(--color-white);
}

.form-step__line {
  flex: 1;
  height: 2px;
  background-color: var(--color-border-light);
  transition: background-color var(--transition-fast);
}

.form-step__line--active {
  background-color: var(--color-primary);
}

/* --------------------------------------------------------------------------
   14. EMI CALCULATOR
   -------------------------------------------------------------------------- */
.calculator {
  background-color: var(--color-white);
  border: 1px solid var(--color-border-light);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
}

.calculator__header {
  background-color: var(--color-primary);
  padding: var(--space-5) var(--space-6);
  color: var(--color-white);
}

.calculator__header h3 {
  color: var(--color-white);
  font-size: var(--text-xl);
  margin-bottom: var(--space-1);
}

.calculator__header p {
  font-size: var(--text-sm);
  opacity: 0.85;
}

.calculator__body {
  padding: var(--space-6);
}

.calculator__result {
  background-color: var(--color-bg-alt);
  border-radius: var(--border-radius);
  padding: var(--space-5);
  text-align: center;
  margin-top: var(--space-5);
  margin-bottom: var(--space-5);
}

.calculator__result-label {
  font-size: var(--text-sm);
  color: var(--color-text-light);
  margin-bottom: var(--space-2);
}

.calculator__result-value {
  font-family: var(--font-heading);
  font-size: var(--text-4xl);
  font-weight: var(--weight-bold);
  color: var(--color-primary);
  line-height: 1;
}

.calculator__result-detail {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-top: var(--space-2);
}

/* Amortization Table */
.amortization {
  overflow-x: auto;
  margin-top: var(--space-5);
  border: 1px solid var(--color-border-light);
  border-radius: var(--border-radius);
}

.amortization table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-sm);
}

.amortization th {
  background-color: var(--color-bg-alt);
  padding: var(--space-3) var(--space-4);
  text-align: left;
  font-weight: var(--weight-semibold);
  color: var(--color-text);
  white-space: nowrap;
  border-bottom: 2px solid var(--color-border);
}

.amortization td {
  padding: var(--space-3) var(--space-4);
  border-bottom: 1px solid var(--color-border-light);
  color: var(--color-text);
}

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

.amortization tr:hover td {
  background-color: var(--color-bg-alt);
}

.calculator__disclaimer {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-top: var(--space-4);
  padding: var(--space-3);
  background-color: var(--color-warning-bg);
  border-radius: var(--border-radius);
  border-left: 3px solid var(--color-warning);
}

/* Range Slider */
.range-slider {
  position: relative;
}

.range-slider__input {
  width: 100%;
  height: 6px;
  appearance: none;
  background: var(--color-border-light);
  border-radius: 3px;
  outline: none;
  margin: var(--space-3) 0;
}

.range-slider__input::-webkit-slider-thumb {
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--color-primary);
  cursor: pointer;
  border: 3px solid var(--color-white);
  box-shadow: var(--shadow-sm);
}

.range-slider__input::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--color-primary);
  cursor: pointer;
  border: 3px solid var(--color-white);
  box-shadow: var(--shadow-sm);
}

.range-slider__labels {
  display: flex;
  justify-content: space-between;
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

/* --------------------------------------------------------------------------
   15. TABLES (GENERAL)
   -------------------------------------------------------------------------- */
.table-wrapper {
  overflow-x: auto;
  border: 1px solid var(--color-border-light);
  border-radius: var(--border-radius);
}

.table {
  width: 100%;
  border-collapse: collapse;
}

.table th {
  background-color: var(--color-bg-alt);
  padding: var(--space-3) var(--space-4);
  text-align: left;
  font-weight: var(--weight-semibold);
  font-size: var(--text-sm);
  color: var(--color-text);
  border-bottom: 2px solid var(--color-border);
}

.table td {
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-sm);
  color: var(--color-text);
  border-bottom: 1px solid var(--color-border-light);
}

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

.table tr:hover td {
  background-color: var(--color-bg-alt);
}

/* --------------------------------------------------------------------------
   16. TABS
   -------------------------------------------------------------------------- */
.tabs {
  margin-bottom: var(--space-5);
}

.tabs__nav {
  display: flex;
  overflow-x: auto;
  border-bottom: 2px solid var(--color-border-light);
  gap: var(--space-1);
  -webkit-overflow-scrolling: touch;
}

.tabs__trigger {
  padding: var(--space-3) var(--space-5);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--color-text-light);
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: color var(--transition-fast), border-color var(--transition-fast);
  cursor: pointer;
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
}

.tabs__trigger:hover {
  color: var(--color-primary);
}

.tabs__trigger--active {
  color: var(--color-primary);
  font-weight: var(--weight-semibold);
  border-bottom-color: var(--color-primary);
}

.tabs__panel {
  display: none;
  padding-top: var(--space-5);
}

.tabs__panel--active {
  display: block;
}

/* --------------------------------------------------------------------------
   17. ACCORDION / FAQ
   -------------------------------------------------------------------------- */
.accordion {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.accordion__item {
  background-color: var(--color-white);
  border: 1px solid var(--color-border-light);
  border-radius: var(--border-radius);
  overflow: hidden;
}

.accordion__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: var(--space-4) var(--space-5);
  font-size: var(--text-base);
  font-weight: var(--weight-semibold);
  color: var(--color-text);
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  transition: background-color var(--transition-fast);
}

.accordion__trigger:hover {
  background-color: var(--color-bg-alt);
}

.accordion__trigger-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: var(--color-text-light);
  transition: transform var(--transition-base);
}

.accordion__item--open .accordion__trigger-icon {
  transform: rotate(180deg);
}

.accordion__content {
  display: none;
  padding: 0 var(--space-5) var(--space-5);
  font-size: var(--text-sm);
  color: var(--color-text-light);
  line-height: var(--leading-relaxed);
}

.accordion__item--open .accordion__content {
  display: block;
}

/* --------------------------------------------------------------------------
   18. BREADCRUMBS
   -------------------------------------------------------------------------- */
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-2);
  padding: var(--space-4) 0;
  font-size: var(--text-sm);
}

.breadcrumb__item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.breadcrumb__link {
  color: var(--color-accent);
  text-decoration: none;
}

.breadcrumb__link:hover {
  color: var(--color-accent-dark);
  text-decoration: underline;
}

.breadcrumb__separator {
  color: var(--color-text-muted);
  font-size: var(--text-xs);
}

.breadcrumb__current {
  color: var(--color-text-muted);
}

/* --------------------------------------------------------------------------
   19. PAGINATION
   -------------------------------------------------------------------------- */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  margin-top: var(--space-6);
}

.pagination__link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--color-text);
  text-decoration: none;
  transition: background-color var(--transition-fast), color var(--transition-fast),
              border-color var(--transition-fast);
}

.pagination__link:hover {
  background-color: var(--color-bg-alt);
  border-color: var(--color-primary);
  color: var(--color-primary);
  text-decoration: none;
}

.pagination__link--active {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
}

.pagination__link--active:hover {
  background-color: var(--color-primary-dark);
  color: var(--color-white);
}

/* --------------------------------------------------------------------------
   20. ALERTS / NOTICES
   -------------------------------------------------------------------------- */
.alert {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-5);
  border-radius: var(--border-radius);
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
}

.alert--info {
  background-color: var(--color-info-bg);
  color: var(--color-info);
  border: 1px solid rgba(21, 101, 192, 0.2);
}

.alert--success {
  background-color: var(--color-success-bg);
  color: var(--color-success);
  border: 1px solid rgba(45, 122, 58, 0.2);
}

.alert--warning {
  background-color: var(--color-warning-bg);
  color: var(--color-warning);
  border: 1px solid rgba(230, 81, 0, 0.2);
}

.alert--error {
  background-color: var(--color-error-bg);
  color: var(--color-error);
  border: 1px solid rgba(198, 40, 40, 0.2);
}

.alert__icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 1px;
}

/* --------------------------------------------------------------------------
   21. BADGE / TAG
   -------------------------------------------------------------------------- */
.badge {
  display: inline-flex;
  align-items: center;
  padding: var(--space-1) var(--space-3);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  border-radius: var(--border-radius-full);
  white-space: nowrap;
}

.badge--primary {
  background-color: rgba(122, 31, 43, 0.1);
  color: var(--color-primary);
}

.badge--accent {
  background-color: rgba(46, 93, 115, 0.1);
  color: var(--color-accent);
}

.badge--success {
  background-color: var(--color-success-bg);
  color: var(--color-success);
}

.badge--warning {
  background-color: var(--color-warning-bg);
  color: var(--color-warning);
}

/* --------------------------------------------------------------------------
   22. BLOG POST CARD & ARTICLE
   -------------------------------------------------------------------------- */
.blog-card {
  display: flex;
  flex-direction: column;
  background-color: var(--color-white);
  border: 1px solid var(--color-border-light);
  border-radius: var(--border-radius);
  overflow: hidden;
  transition: box-shadow var(--transition-base), transform var(--transition-base);
}

.blog-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.blog-card__image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-card__body {
  padding: var(--space-5);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-card__category {
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-2);
}

.blog-card__title {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: var(--weight-bold);
  margin-bottom: var(--space-3);
  color: var(--color-text);
}

.blog-card__title a {
  color: inherit;
  text-decoration: none;
}

.blog-card__title a:hover {
  color: var(--color-primary);
}

.blog-card__excerpt {
  font-size: var(--text-sm);
  color: var(--color-text-light);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-4);
  flex: 1;
}

.blog-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-border-light);
}

.blog-card__date {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

.blog-card__read-more {
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  color: var(--color-accent);
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
}

/* Blog Article (Full Post) */
.article {
  max-width: var(--max-width-narrow);
}

.article__header {
  margin-bottom: var(--space-6);
}

.article__category {
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-3);
}

.article__title {
  font-family: var(--font-heading);
  font-size: var(--text-4xl);
  font-weight: var(--weight-bold);
  margin-bottom: var(--space-4);
}

.article__meta {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.article__author-img {
  width: 40px;
  height: 40px;
  border-radius: var(--border-radius-full);
  object-fit: cover;
}

.article__body {
  font-size: var(--text-lg);
  line-height: var(--leading-relaxed);
  color: var(--color-text);
}

.article__body h2 {
  font-size: var(--text-2xl);
  margin-top: var(--space-7);
  margin-bottom: var(--space-4);
}

.article__body h3 {
  font-size: var(--text-xl);
  margin-top: var(--space-6);
  margin-bottom: var(--space-3);
}

.article__body p {
  margin-bottom: var(--space-5);
}

.article__body ul,
.article__body ol {
  margin-bottom: var(--space-5);
  padding-left: var(--space-6);
}

.article__body li {
  margin-bottom: var(--space-2);
  list-style: disc;
}

.article__body ol li {
  list-style: decimal;
}

.article__body blockquote {
  border-left: 4px solid var(--color-secondary);
  padding: var(--space-4) var(--space-5);
  margin: var(--space-6) 0;
  background-color: var(--color-bg-alt);
  font-style: italic;
  color: var(--color-text-light);
}

/* --------------------------------------------------------------------------
   23. PARTNER / DEALER SECTION
   -------------------------------------------------------------------------- */
.partner-benefits {
  display: grid;
  gap: var(--space-5);
}

.partner-benefit {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  padding: var(--space-5);
  background-color: var(--color-white);
  border: 1px solid var(--color-border-light);
  border-radius: var(--border-radius);
  transition: box-shadow var(--transition-base);
}

.partner-benefit:hover {
  box-shadow: var(--shadow-sm);
}

.partner-benefit__icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  background-color: var(--color-bg-alt);
  border-radius: var(--border-radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
}

.partner-benefit__icon svg {
  width: 22px;
  height: 22px;
}

.partner-benefit__title {
  font-weight: var(--weight-semibold);
  font-size: var(--text-lg);
  margin-bottom: var(--space-2);
  color: var(--color-text);
}

.partner-benefit__desc {
  font-size: var(--text-sm);
  color: var(--color-text-light);
  line-height: var(--leading-relaxed);
}

/* --------------------------------------------------------------------------
   24. PORTAL LOGIN
   -------------------------------------------------------------------------- */
.login-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-7);
  align-items: start;
}

.login-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-border-light);
  border-radius: var(--border-radius-lg);
  padding: var(--space-7);
  box-shadow: var(--shadow-md);
}

.login-card__title {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: var(--weight-bold);
  margin-bottom: var(--space-2);
}

.login-card__subtitle {
  font-size: var(--text-sm);
  color: var(--color-text-light);
  margin-bottom: var(--space-6);
}

.login-sidebar {
  background-color: var(--color-bg-alt);
  border: 1px solid var(--color-border-light);
  border-radius: var(--border-radius-lg);
  padding: var(--space-6);
}

.login-sidebar__title {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: var(--weight-bold);
  margin-bottom: var(--space-4);
  color: var(--color-primary);
}

.login-sidebar__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.login-sidebar__item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-text);
}

.login-sidebar__icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--color-success);
  margin-top: 1px;
}

/* --------------------------------------------------------------------------
   25. COMPLAINT TRACKER
   -------------------------------------------------------------------------- */
.tracker {
  background-color: var(--color-white);
  border: 1px solid var(--color-border-light);
  border-radius: var(--border-radius-lg);
  padding: var(--space-6);
  max-width: 560px;
}

.tracker__form {
  display: flex;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
}

.tracker__input {
  flex: 1;
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-base);
  border: 2px solid var(--color-border);
  border-radius: var(--border-radius);
  transition: border-color var(--transition-fast);
}

.tracker__input:focus {
  border-color: var(--color-accent);
  outline: none;
  box-shadow: 0 0 0 3px rgba(46, 93, 115, 0.15);
}

.tracker__result {
  display: none;
  padding: var(--space-5);
  background-color: var(--color-bg-alt);
  border-radius: var(--border-radius);
  border-left: 4px solid var(--color-accent);
}

.tracker__result--visible {
  display: block;
}

.tracker__result-label {
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-2);
}

.tracker__result-status {
  font-size: var(--text-lg);
  font-weight: var(--weight-bold);
  color: var(--color-text);
  margin-bottom: var(--space-2);
}

.tracker__result-detail {
  font-size: var(--text-sm);
  color: var(--color-text-light);
}

/* --------------------------------------------------------------------------
   26. DOWNLOADS PAGE
   -------------------------------------------------------------------------- */
.download-group {
  margin-bottom: var(--space-7);
}

.download-group__title {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: var(--weight-bold);
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-3);
  border-bottom: 2px solid var(--color-border-light);
  color: var(--color-text);
}

.download-item {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-4) var(--space-5);
  background-color: var(--color-white);
  border: 1px solid var(--color-border-light);
  border-radius: var(--border-radius);
  margin-bottom: var(--space-3);
  transition: box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.download-item:hover {
  box-shadow: var(--shadow-sm);
  border-color: var(--color-accent);
}

.download-item__icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  background-color: var(--color-error-bg);
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-error);
}

.download-item__icon svg {
  width: 18px;
  height: 18px;
}

.download-item__info {
  flex: 1;
}

.download-item__name {
  font-weight: var(--weight-semibold);
  font-size: var(--text-base);
  color: var(--color-text);
  margin-bottom: var(--space-1);
}

.download-item__meta {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

.download-item__action {
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   27. FOOTER
   -------------------------------------------------------------------------- */
.footer {
  background-color: var(--color-text);
  color: rgba(255, 255, 255, 0.8);
  padding-top: var(--space-8);
}

.footer__top {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  padding-bottom: var(--space-7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__brand {
  max-width: 320px;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.footer__logo-icon {
  width: 40px;
  height: 40px;
  background-color: var(--color-primary);
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-family: var(--font-heading);
  font-weight: var(--weight-bold);
  font-size: var(--text-lg);
}

.footer__logo-img {
  height: 36px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
}

.footer__logo-name {
  font-family: var(--font-heading);
  font-weight: var(--weight-bold);
  font-size: var(--text-lg);
  color: var(--color-white);
}

.footer__desc {
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: var(--space-4);
}

.footer__social {
  display: flex;
  gap: var(--space-3);
}

.footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--border-radius);
  background-color: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.7);
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

.footer__social-link:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
  text-decoration: none;
}

.footer__social-link svg {
  width: 18px;
  height: 18px;
}

.footer__column h4 {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--color-white);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-4);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer__link {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer__link:hover {
  color: var(--color-secondary);
  text-decoration: none;
}

/* Regulatory Footer Bar */
.footer__regulatory {
  padding: var(--space-5) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__reg-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}

.footer__reg-item {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.5);
  line-height: var(--leading-relaxed);
}

.footer__reg-item strong {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  font-weight: var(--weight-semibold);
  margin-bottom: var(--space-1);
}

/* Footer Bottom */
.footer__bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-5) 0;
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.4);
  text-align: center;
}

.footer__disclaimer {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.35);
  line-height: var(--leading-relaxed);
  max-width: 800px;
  text-align: center;
}

/* --------------------------------------------------------------------------
   28. FLOATING WHATSAPP BUTTON
   -------------------------------------------------------------------------- */
.whatsapp-float {
  position: fixed;
  bottom: var(--space-5);
  right: var(--space-5);
  z-index: var(--z-toast);
  width: 48px;
  height: 48px;
  background-color: #25D366;
  border-radius: var(--border-radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: var(--shadow-xl);
  text-decoration: none;
}

.whatsapp-float svg {
  width: 22px;
  height: 22px;
  color: var(--color-white);
}

/* --------------------------------------------------------------------------
   29. SECURITY ADVISORY PAGE
   -------------------------------------------------------------------------- */
.security-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-border-light);
  border-radius: var(--border-radius);
  padding: var(--space-5);
  margin-bottom: var(--space-4);
}

.security-card__header {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.security-card__icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  background-color: var(--color-warning-bg);
  border-radius: var(--border-radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-warning);
}

.security-card__icon svg {
  width: 18px;
  height: 18px;
}

.security-card__title {
  font-weight: var(--weight-bold);
  font-size: var(--text-lg);
  color: var(--color-text);
}

.security-card__body {
  font-size: var(--text-sm);
  color: var(--color-text-light);
  line-height: var(--leading-relaxed);
}

.security-card__body ul {
  padding-left: var(--space-5);
  margin-top: var(--space-3);
}

.security-card__body li {
  margin-bottom: var(--space-2);
  list-style: disc;
}

/* --------------------------------------------------------------------------
   30. MEDIA / PRESS PAGE
   -------------------------------------------------------------------------- */
.press-release {
  background-color: var(--color-white);
  border: 1px solid var(--color-border-light);
  border-radius: var(--border-radius);
  padding: var(--space-5);
  margin-bottom: var(--space-4);
  transition: box-shadow var(--transition-base);
}

.press-release:hover {
  box-shadow: var(--shadow-sm);
}

.press-release__date {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  font-weight: var(--weight-medium);
  margin-bottom: var(--space-2);
}

.press-release__title {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: var(--weight-bold);
  margin-bottom: var(--space-3);
  color: var(--color-text);
}

.press-release__summary {
  font-size: var(--text-sm);
  color: var(--color-text-light);
  line-height: var(--leading-relaxed);
}

.press-release__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--color-accent);
  margin-top: var(--space-3);
}

.award-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-border-light);
  border-radius: var(--border-radius);
  padding: var(--space-5);
  text-align: center;
  transition: box-shadow var(--transition-base);
}

.award-card:hover {
  box-shadow: var(--shadow-sm);
}

.award-card__icon {
  width: 44px;
  height: 44px;
  margin: 0 auto var(--space-4);
  background-color: rgba(217, 164, 65, 0.1);
  border-radius: var(--border-radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-secondary);
}

.award-card__icon svg {
  width: 20px;
  height: 20px;
}

.award-card__title {
  font-weight: var(--weight-bold);
  font-size: var(--text-base);
  color: var(--color-text);
  margin-bottom: var(--space-2);
}

.award-card__year {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  font-weight: var(--weight-medium);
}

/* --------------------------------------------------------------------------
   31. CAREERS PAGE
   -------------------------------------------------------------------------- */
.job-listing {
  background-color: var(--color-white);
  border: 1px solid var(--color-border-light);
  border-radius: var(--border-radius);
  padding: var(--space-5);
  margin-bottom: var(--space-4);
  transition: box-shadow var(--transition-base);
}

.job-listing:hover {
  box-shadow: var(--shadow-sm);
}

.job-listing__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-4);
  margin-bottom: var(--space-3);
}

.job-listing__title {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: var(--weight-bold);
  color: var(--color-text);
}

.job-listing__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
}

.job-listing__detail {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

.job-listing__detail svg {
  width: 14px;
  height: 14px;
}

.job-listing__desc {
  font-size: var(--text-sm);
  color: var(--color-text-light);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-4);
}

/* --------------------------------------------------------------------------
   32. APPLY PAGE — MULTI-STEP FORM
   -------------------------------------------------------------------------- */
.apply-progress {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  margin-bottom: var(--space-7);
  padding: var(--space-5) 0;
}

.apply-progress__step {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.apply-progress__number {
  width: 36px;
  height: 36px;
  border-radius: var(--border-radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
  background-color: var(--color-border-light);
  color: var(--color-text-muted);
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

.apply-progress__step--active .apply-progress__number {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.apply-progress__step--completed .apply-progress__number {
  background-color: var(--color-success);
  color: var(--color-white);
}

.apply-progress__label {
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--color-text-muted);
  display: none;
}

.apply-progress__step--active .apply-progress__label {
  color: var(--color-primary);
}

.apply-progress__connector {
  width: 40px;
  height: 2px;
  background-color: var(--color-border-light);
  transition: background-color var(--transition-fast);
}

.apply-progress__connector--active {
  background-color: var(--color-primary);
}

.apply-progress__connector--completed {
  background-color: var(--color-success);
}

/* --------------------------------------------------------------------------
   33. PAGE HEADER (INNER PAGES)
   -------------------------------------------------------------------------- */
.page-header {
  background-color: var(--color-primary);
  padding: var(--space-7) 0 var(--space-6);
  color: var(--color-white);
}

.page-header__title {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-weight: var(--weight-bold);
  color: var(--color-white);
  margin-bottom: var(--space-2);
}

.page-header__desc {
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.85);
  max-width: 640px;
}

/* --------------------------------------------------------------------------
   34. SIDEBAR LAYOUT
   -------------------------------------------------------------------------- */
.sidebar-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-7);
}

.sidebar {
  order: 2;
}

.sidebar__widget {
  background-color: var(--color-white);
  border: 1px solid var(--color-border-light);
  border-radius: var(--border-radius);
  padding: var(--space-5);
  margin-bottom: var(--space-5);
}

.sidebar__widget-title {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: var(--weight-bold);
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-3);
  border-bottom: 2px solid var(--color-border-light);
  color: var(--color-text);
}

/* --------------------------------------------------------------------------
   35. RESPONSIVE BREAKPOINTS
   -------------------------------------------------------------------------- */

/* 480px — Small phones */
@media (min-width: 480px) {
  .form__row {
    grid-template-columns: 1fr 1fr;
  }

  .hero__title {
    font-size: var(--text-4xl);
  }

  .apply-progress__label {
    display: block;
  }
}

/* 768px — Tablets */
@media (min-width: 768px) {
  :root {
    --gutter: 24px;
  }

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

  .grid--2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid--3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero {
    min-height: 560px;
  }

  .hero__title {
    font-size: var(--text-5xl);
  }

  .section {
    padding-top: var(--space-9);
    padding-bottom: var(--space-9);
  }

  .footer__top {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }

  .footer__reg-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__bottom {
    flex-direction: row;
    justify-content: space-between;
  }

  .login-wrapper {
    grid-template-columns: 1fr 1fr;
  }

  .sidebar-layout {
    grid-template-columns: 2fr 1fr;
  }

  .sidebar {
    order: 0;
  }

  .partner-benefits {
    grid-template-columns: repeat(2, 1fr);
  }

  .tracker__form {
    flex-direction: row;
  }
}

/* 1024px — Small desktops */
@media (min-width: 1024px) {
  :root {
    --gutter: 32px;
  }

  .nav {
    display: block;
  }

  .hamburger {
    display: none;
  }

  .header__cta {
    display: inline-flex;
  }

  .mobile-nav {
    display: none !important;
  }

  .mobile-overlay {
    display: none !important;
  }

  .grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero__content {
    max-width: 720px;
  }
}

/* 1280px — Large desktops */
@media (min-width: 1280px) {
  .grid--4 {
    grid-template-columns: repeat(4, 1fr);
  }

  .hero {
    min-height: 640px;
  }

  .hero__content {
    max-width: 800px;
  }
}

/* --------------------------------------------------------------------------
   36. PRINT STYLES
   -------------------------------------------------------------------------- */
@media print {
  .header,
  .footer,
  .whatsapp-float,
  .mobile-nav,
  .mobile-overlay,
  .skip-nav {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
  }

  .section {
    padding: 1rem 0;
  }

  a {
    color: #000;
    text-decoration: underline;
  }

  .card,
  .blog-card,
  .testimonial {
    box-shadow: none;
    border: 1px solid #ccc;
  }
}

/* --------------------------------------------------------------------------
   37. MOTION PREFERENCES (ACCESSIBILITY)
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* --------------------------------------------------------------------------
   38. HIGH CONTRAST MODE SUPPORT
   -------------------------------------------------------------------------- */
@media (forced-colors: active) {
  .btn {
    border: 2px solid ButtonText;
  }

  .card,
  .blog-card,
  .testimonial {
    border: 1px solid ButtonText;
  }

  .form__input,
  .form__select,
  .form__textarea {
    border: 2px solid ButtonText;
  }
}

/* ==========================================================================
   UI UX PRO MAX — Trust & Authority Enhancements
   ========================================================================== */

/* Trust Badge Grid */
.trust-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-5);
  padding: var(--space-6) 0;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-5);
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  transition: box-shadow var(--transition-base), transform var(--transition-base);
}

.trust-badge:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.trust-badge__icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
}

.trust-badge__icon svg {
  width: 24px;
  height: 24px;
}

.trust-badge__text {
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--color-text);
}

/* Metric Counter Cards (Trust pattern) */
.metric-card {
  text-align: center;
  padding: var(--space-6);
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  border-top: 3px solid var(--color-accent);
  transition: box-shadow var(--transition-base);
}

.metric-card:hover {
  box-shadow: var(--shadow-md);
}

.metric-card__number {
  font-family: var(--font-heading);
  font-size: var(--text-4xl);
  font-weight: var(--weight-bold);
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: var(--space-2);
}

.metric-card__label {
  font-size: var(--text-sm);
  color: var(--color-text-light);
  font-weight: var(--weight-medium);
}

/* Professional Card with hover lift */
.card--professional {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  overflow: hidden;
  transition: box-shadow var(--transition-base), transform var(--transition-base);
  cursor: pointer;
}

.card--professional:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

/* Security/Compliance strip */
.compliance-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: var(--space-6);
  padding: var(--space-5) 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  background-color: var(--color-white);
}

.compliance-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  color: var(--color-text-light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.compliance-item svg {
  width: 16px;
  height: 16px;
  color: var(--color-success);
}

/* Stat counter animation */
@keyframes countUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.metric-card__number--animate {
  animation: countUp 0.6s ease-out forwards;
}

/* Smooth scroll reveal */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal--visible {
  opacity: 1;
  transform: translateY(0);
}

/* CTA button glow effect */
.btn--glow {
  position: relative;
  overflow: hidden;
}

.btn--glow::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transition: left 0.5s ease;
}

.btn--glow:hover::after {
  left: 100%;
}

/* Responsive adjustments for trust elements */
@media (max-width: 768px) {
  .trust-badges {
    gap: var(--space-3);
  }

  .trust-badge {
    padding: var(--space-2) var(--space-3);
    font-size: var(--text-xs);
  }

  .compliance-strip {
    gap: var(--space-4);
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .btn--glow::after {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   NEW: SCROLLING NEWS BANNER & HERO CAROUSEL
   -------------------------------------------------------------------------- */
.news-banner {
  background-color: var(--color-secondary);
  color: var(--color-white);
  padding: 8px 0;
  overflow: hidden;
  position: relative;
  z-index: var(--z-sticky);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  display: flex;
  align-items: center;
}

.news-banner__marquee {
  display: inline-block;
  white-space: nowrap;
  animation: marquee 25s linear infinite;
}

.news-banner__marquee p {
  margin: 0;
  padding-left: 100vw;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

.hero__carousel {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero__carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  background-size: cover;
  background-position: center;
}

.hero__carousel-slide.active {
  opacity: 1;
}

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

/* ==========================================================================
   THEME 2: MUTHOOT FINANCE STYLE OVERRIDES (Traditional red/gold, sharp borders)
   ========================================================================== */
body.theme-traditional {
  --color-primary: #D21D25;          /* Muthoot Red */
  --color-primary-dark: #A3081A;
  --color-primary-light: #E53E3E;
  --color-secondary: #FED103;        /* Muthoot Gold/Yellow */
  --color-secondary-dark: #D6AF02;
  --color-accent: #D21D25;
  --color-accent-dark: #A3081A;
  --color-bg: #FFFFFF;               /* Solid crisp white background */
  --color-bg-alt: #FFFDEE;           /* Light yellowish/warm cream tint */
  --color-text: #1A202C;
  --color-text-light: #4A5568;
  --font-heading: 'Helvetica Neue', Arial, sans-serif;
  --font-body: Arial, sans-serif;
  --border-radius: 4px !important;    /* Square/boxy standard border radius */
  --border-radius-lg: 6px !important;
  --border-radius-full: 4px !important;
  --shadow-sm: none !important;      /* Flat, no-shadow traditional look */
  --shadow-md: none !important;
  --shadow-lg: none !important;
  --shadow-xl: none !important;
  --shadow-card: none !important;
}

body.theme-traditional .header {
  border-top: 4px solid var(--color-primary);
  border-bottom: 2px solid #E2E8F0;
}

body.theme-traditional .card {
  border: 1px solid #CBD5E0 !important;
  background-color: var(--color-white) !important;
  transition: all var(--transition-fast) !important;
}

body.theme-traditional .card:hover {
  border-color: var(--color-primary) !important;
  transform: none !important;
  box-shadow: 0 4px 12px rgba(210, 29, 37, 0.1) !important;
}

body.theme-traditional .btn {
  border-radius: 4px !important;
  text-transform: uppercase;
  font-weight: var(--weight-bold);
  letter-spacing: 0.05em;
  background-color: var(--color-primary) !important;
  color: var(--color-white) !important;
  border: 1px solid var(--color-primary) !important;
}

body.theme-traditional .btn:hover {
  background-color: var(--color-primary-dark) !important;
  border-color: var(--color-primary-dark) !important;
}

body.theme-traditional .btn--secondary {
  background-color: var(--color-secondary) !important;
  color: #1A202C !important;
  border-color: var(--color-secondary) !important;
}

body.theme-traditional .btn--secondary:hover {
  background-color: var(--color-secondary-dark) !important;
  border-color: var(--color-secondary-dark) !important;
}

body.theme-traditional .btn::after {
  display: none !important; /* disable glowing effects */
}

/* Red overlay for the hero section */
body.theme-traditional .hero__carousel-slide {
  opacity: 0 !important;
}
body.theme-traditional .hero__carousel-slide:first-child {
  opacity: 0.8 !important;
  background-blend-mode: multiply;
  background-color: rgba(163, 8, 26, 0.85); /* Muthoot Red tint */
}

/* Muthoot traditional blog design: white box with red border top */
body.theme-traditional .card--blog {
  border-top: 4px solid var(--color-primary) !important;
  border-radius: 4px !important;
}
body.theme-traditional .card--blog .card__title:hover {
  color: var(--color-primary);
  text-decoration: underline;
}

/* Traditional Calculator Override */
body.theme-traditional .calculator {
  border: 2px solid var(--color-primary) !important;
  background: #FFFFFF !important;
  border-radius: 6px !important;
}

body.theme-traditional .calculator__title {
  color: var(--color-primary) !important;
}

body.theme-traditional .form__range {
  accent-color: var(--color-primary) !important;
}

body.theme-traditional .table th {
  background-color: var(--color-primary) !important;
  color: var(--color-white) !important;
}

/* ==========================================================================
   THEME 3: CHOLAMANDALAM STYLE OVERRIDES (Corporate deep blue/sky blue, rounded)
   ========================================================================== */
body.theme-modern-alt {
  --color-primary: #003366;          /* Chola Deep Blue */
  --color-primary-dark: #002244;
  --color-primary-light: #004488;
  --color-secondary: #00B5E2;        /* Chola Sky Blue/Cyan */
  --color-secondary-dark: #0095BE;
  --color-accent: #00B5E2;
  --color-accent-dark: #0095BE;
  --color-bg: #F8FAFC;               /* Clean corporate cool white */
  --color-bg-alt: #EFF6FF;           /* Subtle light blue tint */
  --font-heading: 'Lexend', sans-serif;
  --font-body: 'Source Sans 3', sans-serif;
  --border-radius: 12px !important;  /* Modern rounded design */
  --border-radius-lg: 18px !important;
  --border-radius-full: 9999px !important;
  --shadow-sm: 0 2px 8px rgba(0, 51, 102, 0.04) !important;
  --shadow-md: 0 6px 20px rgba(0, 51, 102, 0.06) !important;
  --shadow-lg: 0 12px 35px rgba(0, 51, 102, 0.08) !important;
  --shadow-xl: 0 20px 50px rgba(0, 51, 102, 0.12) !important;
}

body.theme-modern-alt .card {
  border: 1px solid rgba(0, 51, 102, 0.08) !important;
  background-color: var(--color-white) !important;
  box-shadow: var(--shadow-sm) !important;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}

body.theme-modern-alt .card:hover {
  transform: translateY(-5px) !important;
  box-shadow: var(--shadow-md) !important;
  border-color: var(--color-secondary) !important;
}

body.theme-modern-alt .btn {
  border-radius: var(--border-radius-full) !important;
  text-transform: none;
  font-weight: var(--weight-semibold);
  transition: all 0.3s ease !important;
}

body.theme-modern-alt .btn--primary {
  background-color: var(--color-primary) !important;
  border-color: var(--color-primary) !important;
}

body.theme-modern-alt .btn--primary:hover {
  background-color: var(--color-primary-dark) !important;
  border-color: var(--color-primary-dark) !important;
}

body.theme-modern-alt .btn--secondary {
  background-color: var(--color-secondary) !important;
  border-color: var(--color-secondary) !important;
  color: var(--color-white) !important;
}

body.theme-modern-alt .btn--secondary:hover {
  background-color: var(--color-secondary-dark) !important;
  border-color: var(--color-secondary-dark) !important;
}

body.theme-modern-alt .btn--glow::after {
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
}

/* Modern corporate blue overlay for Chola theme */
body.theme-modern-alt .hero__carousel-slide {
  opacity: 0 !important;
}
body.theme-modern-alt .hero__carousel-slide.active {
  opacity: 1 !important;
}
body.theme-modern-alt .hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 51, 102, 0.9) 0%, rgba(0, 181, 226, 0.4) 100%);
  z-index: 0;
  pointer-events: none;
}

/* Chola blog card styling: rounded images and tags */
body.theme-modern-alt .card--blog {
  border-radius: 12px !important;
  overflow: hidden;
}

body.theme-modern-alt .card--blog .card__img {
  transition: transform 0.5s ease;
}

body.theme-modern-alt .card--blog:hover .card__img {
  transform: scale(1.06);
}

/* Chola calculator design */
body.theme-modern-alt .calculator {
  background: #FFFFFF !important;
  border-radius: 16px !important;
  border: 1px solid rgba(0, 51, 102, 0.08) !important;
  box-shadow: var(--shadow-md) !important;
}

body.theme-modern-alt .form__range {
  accent-color: var(--color-secondary) !important;
}

body.theme-modern-alt .table th {
  background-color: var(--color-primary) !important;
}


