@import url(https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap);
body {
  margin: 0;
  font-family: 'Poppins', 'Inter', 'Segoe UI', Roboto, sans-serif;
  background: linear-gradient(to right, #FFF9E6 0%, #FFE082 35%, #D4A017 100%);
  background-attachment: fixed;
  min-height: 100vh;
}

code {
  font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New', monospace;
}
/* Fonts imported in public/index.html */

:root {
  /* Unity Bank Color Scheme - Changed to Black */
  --primary: #000000;
  --primary-dark: #000000;
  --primary-darker: #000000;
  --primary-light: #000000;
  --primary-lighter: #000000;

  /* Secondary Colors */
  --secondary: #111111;
  --secondary-dark: #000000;

  /* Accent Colors */
  --accent-gold: #000000;
  --accent-gold-dark: #000000;

  /* Text Colors */
  --text-strong: #0b0b0b;
  --text-muted: #4a4a4a;

  /* Surface Colors */
  --surface: #ffffff;
  --surface-alt: #fff8e6;
  --surface-soft: #fffdf5;
  --surface-dark: #111111;

  /* Borders */
  --border-soft: rgba(17, 17, 17, 0.08);
  --border-strong: rgba(17, 17, 17, 0.16);

  /* Shadows */
  --shadow-soft: 0 25px 65px rgba(17, 17, 17, 0.12);
  --shadow-gold: 0 20px 50px rgba(247, 189, 32, 0.25);

  /* Premium Multi-Tone Gradients */

  /* Main Background Gradient - Visible Yellow (Light to Dark) */
  --gradient-background: linear-gradient(to right,
      #fef3c7 0%,
      #fde68a 50%,
      #fbbf24 100%);

  /* Hero Section - Warm yellow glow */
  --gradient-hero: linear-gradient(to right,
      rgba(254, 243, 199, 0.3) 0%,
      rgba(253, 230, 138, 0.3) 50%,
      rgba(251, 191, 36, 0.3) 100%);

  /* Primary Gradient - Warm orange to peachy coral */
  --gradient-primary: linear-gradient(135deg,
      #f7bd20 0%,
      #f5a623 25%,
      #f39c21 50%,
      #f18e1f 75%,
      #e8a91a 100%);

  /* Accent Gradient - Orange with subtle rose gold */
  --gradient-accent: linear-gradient(120deg,
      #f7bd20 0%,
      #f4ad26 20%,
      #f19d2b 40%,
      #ed8f30 60%,
      #e88132 80%,
      #d89515 100%);

  /* Sophisticated Dark - Deep blacks with subtle blue undertone */
  --gradient-dark: linear-gradient(135deg,
      #1a1a1a 0%,
      #111111 50%,
      #0a0a0a 100%);

  /* New Premium Gradients */

  /* Radial glow for cards and highlights */
  --gradient-glow: radial-gradient(circle at top right,
      rgba(247, 189, 32, 0.15) 0%,
      rgba(247, 189, 32, 0.05) 40%,
      rgba(247, 189, 32, 0) 70%);

  /* Mesh gradient for modern backgrounds */
  --gradient-mesh: linear-gradient(135deg,
      rgba(247, 189, 32, 0.1) 0%,
      rgba(255, 255, 255, 0) 30%,
      rgba(238, 174, 50, 0.08) 60%,
      rgba(255, 255, 255, 0) 100%);

  /* Button hover - more vibrant */
  --gradient-button-hover: linear-gradient(135deg,
      #faca3d 0%,
      #f7bd20 50%,
      #e8a91a 100%);

  /* Subtle card background */
  --gradient-card: linear-gradient(to right,
      #FFF9E6 0%,
      #FFE082 35%,
      #D4A017 100%);

  /* Premium overlay for sections */
  --gradient-overlay: linear-gradient(180deg,
      rgba(255, 255, 255, 0) 0%,
      rgba(247, 189, 32, 0.03) 50%,
      rgba(255, 255, 255, 0) 100%);

  /* Typography - Poppins as primary font (matching Unity Bank) */
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: #0b0b0b;
  color: var(--text-strong);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

/* ===== Global responsive utilities ===== */
html,
body,
.App {
  overflow-x: hidden;
}

img,
picture,
video,
iframe {
  max-width: 100%;
  height: auto;
  display: block;
}

/* prevent very long words or unbroken content from causing horizontal scroll */
* {
  word-wrap: break-word;
  -ms-word-break: break-word;
  word-break: break-word;
  -webkit-hyphens: auto;
          hyphens: auto;
}

/* ===== Generic card/grid/container fixes (improve mobile layout) ===== */
.container,
.page,
.footer-inner,
.header-shell,
.main-content {
  box-sizing: border-box;
  padding-left: 1rem;
  padding-right: 1rem;
}

.card,
.value-card,
.stat-card-new,
.document-card,
.feature-bento-card,
.product-card,
.office-card,
.step-card,
.calc-side-card,
.feature-bento-business {
  width: 100% !important;
  max-width: 100% !important;
}

/* make common grids more fluid by default */
[class*="-grid"],
.grid,
.cards-grid,
.feature-grid,
.offering-grid,
.testimonial-track {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  grid-gap: 1rem;
  gap: 1rem;
}

/* Modals and overlays should be responsive */
.modal,
.dialog,
.drawer {
  max-width: 95vw;
}

/* Inputs - prevent iOS zoom and ensure legible size */
input,
textarea,
select,
button {
  font-size: 16px;
}

/* small screens: ensure stacked layout for complex grids */
@media (max-width: 900px) {

  [class*="-grid"],
  .grid {
    grid-template-columns: 1fr !important;
  }

  .header-shell,
  .footer-inner {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
}


html {
  background: linear-gradient(to right, #FFF9E6 0%, #FFE082 35%, #D4A017 100%);
  background-attachment: fixed;
  min-height: 100vh;
}

body {
  margin: 0;
  font-family: inherit;
  color: #0b0b0b;
  color: var(--text-strong);
  background: linear-gradient(to right, #FFF9E6 0%, #FFE082 35%, #D4A017 100%);
  background-attachment: fixed;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* Performance optimizations */
  text-rendering: optimizeSpeed;
  -webkit-tap-highlight-color: transparent;
}

body.nav-open {
  overflow: hidden;
}

a {
  color: inherit;
}

.App {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: linear-gradient(to right, #FFF9E6 0%, #FFE082 35%, #D4A017 100%);
}

.main-content {
  flex: 1 1;
  display: flex;
  flex-direction: column;
  padding-top: 80px;
}

@media (max-width: 640px) {
  .main-content {
    padding-top: 70px;
  }
}

.page {
  /* Full width background like footer */
  width: 100%;
  max-width: none;
  margin: 0;
  padding-bottom: 0;
  background: linear-gradient(to right, #FFF9E6 0%, #FFE082 35%, #D4A017 100%);
  background-attachment: fixed;
  min-height: calc(100vh - 80px);
}

/* Center content inside pages */
.page>section,
.page>div:not(.hero-block):not(.admin-dashboard-layout) {
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 3vw;
  padding-right: 3vw;
}

.fibe-home {
  padding-top: 1.5rem;
  min-height: 100vh;
  background: linear-gradient(to right, #FFF9E6 0%, #FFE082 35%, #D4A017 100%);
  background-attachment: fixed;
  /* Override .page width to extend full width like footer */
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding-bottom: 0 !important;
  /* Remove bottom padding to eliminate gap with footer */
}

/* Container for centered content inside fibe-home */
.fibe-home>section,
.fibe-home>.hero-block {
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 3vw;
  padding-right: 3vw;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.78rem;
  font-weight: 600;
  color: #000000;
  color: var(--primary-dark);
}

.primary-btn,
.ghost-btn {
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 1.75rem;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.3s ease;
}

.primary-btn {
  background: linear-gradient(135deg,
      #f7bd20 0%,
      #f5a623 25%,
      #f39c21 50%,
      #f18e1f 75%,
      #e8a91a 100%);
  background: var(--gradient-primary);
  color: #111111;
  color: var(--secondary);
  box-shadow: 0 20px 50px rgba(247, 189, 32, 0.25);
  box-shadow: var(--shadow-gold);
  text-decoration: none;
}

.primary-btn:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg,
      #faca3d 0%,
      #f7bd20 50%,
      #e8a91a 100%);
  background: var(--gradient-button-hover);
  box-shadow: 0 25px 60px rgba(246, 183, 9, 0.928);
}

.ghost-btn {
  background: transparent;
  color: #111111;
  color: var(--secondary);
  border: 2px solid rgba(247, 189, 32, 0.4);
  text-decoration: none;
}

.ghost-btn:hover {
  transform: translateY(-2px);
  background: rgba(247, 189, 32, 0.08);
  border-color: #000000;
  border-color: var(--primary);
}

.primary-link {
  color: #000000;
  color: var(--primary-dark);
  font-weight: 600;
  text-decoration: none;
}

.hero-block {
  margin-top: 2rem;
  padding: 3rem;
  border-radius: 40px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 26px 80px rgba(15, 23, 42, 0.12);
  background: linear-gradient(to right, #FFF9E6 0%, #FFE082 35%, #D4A017 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 3rem;
  gap: 3rem;
  align-items: center;
}

.hero-content h1 {
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  line-height: 1.1;
  margin: 0.4rem 0 1rem;
}

.hero-content h1 span {
  color: #000000;
  color: var(--primary-dark);
}

.hero-content p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #4a4a4a;
  color: var(--text-muted);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1.5rem 0;
}

.hero-form {
  background: rgba(255, 255, 255, 0.25);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  padding: 1.5rem;
  border-radius: 24px;
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.12);
}

.hero-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.8rem;
}

.hero-form-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-form input {
  flex: 1 1;
  min-width: 200px;
  border-radius: 16px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border: 1px solid var(--border-soft);
  padding: 0.9rem 1.1rem;
  font-size: 1rem;
}

.hero-form button {
  background: #111111;
  background: var(--secondary);
  color: #000000;
  color: var(--primary);
  border: 1px solid #000000;
  border: 1px solid var(--primary-dark);
  border-radius: 16px;
  padding: 0.9rem 1.5rem;
  font-weight: 600;
}

.form-success {
  margin: 0.75rem 0 0;
  font-size: 0.95rem;
  color: #0f9d58;
}

.hero-badges {
  margin-top: 1rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  font-weight: 600;
  color: #4a4a4a;
  color: var(--text-muted);
}

.hero-visual {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.landing-carousel {
  position: relative;
  width: 100%;
  height: 450px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.15);
}

.landing-carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

.landing-carousel-slide.active {
  opacity: 1;
}

.landing-carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 24px;
}

.landing-carousel-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.landing-carousel-dots .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: 2px solid rgba(255, 255, 255, 0.8);
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.landing-carousel-dots .dot.active {
  background: #ffffff;
  width: 14px;
  height: 14px;
}

.landing-carousel-dots .dot:hover {
  background: rgba(255, 255, 255, 0.8);
  transform: scale(1.1);
}

.hero-insight {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 32px;
  padding: 1.75rem;
  box-shadow: 0 35px 65px rgba(15, 23, 42, 0.12);
  position: relative;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
}

.hero-insight.primary {
  background: rgba(255, 255, 255, 0.15);
}

.hero-pill {
  display: inline-flex;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  background: rgba(247, 189, 32, 0.18);
  color: #111111;
  color: var(--secondary);
  font-weight: 600;
  font-size: 0.9rem;
}

.hero-snapshot h3 {
  font-size: 2.2rem;
  margin: 0.4rem 0 1rem;
}

.hero-snapshot ul {
  list-style: none;
  padding: 0;
  margin: 0;
  color: #4a4a4a;
  color: var(--text-muted);
  line-height: 1.8;
}

.hero-note {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: #4a4a4a;
  color: var(--text-muted);
}

.hero-mini-cards {
  display: grid;
  grid-template-columns: 1fr;
  grid-gap: 1rem;
  gap: 1rem;
}

.hero-mini-cards div {
  background: rgba(255, 255, 255, 0.25);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  border-radius: 18px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border: 1px solid var(--border-soft);
  padding: 0.9rem 1.1rem;
  min-height: 90px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
}

.hero-mini-cards span {
  color: #4a4a4a;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.stats-bar {
  margin: 3rem 0;
  background: linear-gradient(to right, #FFF9E6 0%, #FFE082 35%, #D4A017 100%);
  border-radius: 24px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  text-align: center;
  padding: 1.5rem;
  grid-gap: 1rem;
  gap: 1rem;
}

.stats-bar strong {
  display: block;
  font-size: 1.8rem;
}

.section-block {
  margin: 4rem 0;
}

.section-heading {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3rem;
}

.section-heading h2 {
  margin: 0.75rem 0;
  font-size: clamp(2rem, 3vw, 2.8rem);
}

.section-heading p {
  color: #4a4a4a;
  color: var(--text-muted);
  margin: 0 auto;
  line-height: 1.7;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  grid-gap: 1.5rem;
  gap: 1.5rem;
}

.product-card {
  background: linear-gradient(to right,
      #FFF9E6 0%,
      #FFE082 35%,
      #D4A017 100%);
  background: var(--gradient-card);
  border-radius: 24px;
  padding: 1.5rem;
  border: 1px solid transparent;
  text-decoration: none;
  color: inherit;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease, background 0.3s ease;
  position: relative;
  overflow: hidden;
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle at top right,
      rgba(247, 189, 32, 0.15) 0%,
      rgba(247, 189, 32, 0.05) 40%,
      rgba(247, 189, 32, 0) 70%);
  background: var(--gradient-glow);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.product-card img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  margin-bottom: 1rem;
}

.product-card:hover {
  border-color: rgba(247, 189, 32, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 25px 65px rgba(17, 17, 17, 0.12);
  box-shadow: var(--shadow-soft);
}

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

.product-card p {
  color: #4a4a4a;
  color: var(--text-muted);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  grid-gap: 1.5rem;
  gap: 1.5rem;
}

.steps-grid article {
  background: #fff;
  padding: 1.75rem;
  border-radius: 24px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border: 1px solid var(--border-soft);
  position: relative;
}

.step-index {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(247, 189, 32, 0.18);
  color: #111111;
  color: var(--secondary);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.calculator-block {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  grid-gap: 2.5rem;
  gap: 2.5rem;
  align-items: flex-start;
}

.calculator-copy {
  background: #fff;
  border-radius: 28px;
  padding: 2rem;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border: 1px solid var(--border-soft);
}

.calculator-tools {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  grid-gap: 1rem;
  gap: 1rem;
}

.tool-card {
  background: #fffdf5;
  background: var(--surface-soft);
  border-radius: 18px;
  padding: 1.25rem;
  text-decoration: none;
  color: inherit;
  border: 1px solid transparent;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.tool-card:hover {
  border-color: rgba(247, 189, 32, 0.45);
  transform: translateY(-3px);
}

.tool-card p {
  color: #4a4a4a;
  color: var(--text-muted);
}

.tool-card span {
  color: #000000;
  color: var(--primary-dark);
  font-weight: 600;
}

.calculator-widget .loan-calculator {
  background: #fff;
  border-radius: 32px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border: 1px solid var(--border-soft);
  box-shadow: 0 25px 65px rgba(17, 17, 17, 0.12);
  box-shadow: var(--shadow-soft);
}

.loan-calculator {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  padding: 2rem;
}

.loan-calculator__inputs {
  flex: 1.4 1;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  min-width: 260px;
}

.slider-field {
  padding: 1.25rem 1.5rem;
  border-radius: 22px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border: 1px solid var(--border-soft);
  background: #fffdf5;
  background: var(--surface-soft);
}

.slider-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.9rem;
}

.slider-heading label {
  font-weight: 600;
  font-size: 1rem;
}

.value-chip {
  background: #fff;
  border-radius: 12px;
  padding: 0.4rem 0.95rem;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border: 1px solid var(--border-soft);
  font-weight: 600;
  font-size: 0.95rem;
}

.slider-field input[type='range'] {
  width: 100%;
  accent-color: #000000;
  accent-color: var(--primary);
}

.range-extents {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: #4a4a4a;
  color: var(--text-muted);
  margin-top: 0.35rem;
}

.loan-calculator__summary {
  flex: 1 1;
  min-width: 260px;
  border-radius: 28px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border: 1px solid var(--border-soft);
  padding: 2rem;
  background: linear-gradient(180deg, #fffef7 0%, #fff8df 100%);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.emi-highlight {
  background: #111111;
  background: var(--secondary);
  border-radius: 20px;
  padding: 1.5rem;
  text-align: center;
  color: #000000;
  color: var(--primary);
}

.emi-highlight p {
  margin: 0 0 0.4rem;
  font-weight: 600;
  color: #ffffff;
  color: var(--surface);
}

.emi-highlight strong {
  font-size: 2rem;
  color: #000000;
  color: var(--primary);
}

.summary-grid {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 1rem;
  color: #4a4a4a;
  color: var(--text-muted);
}

.summary-row strong {
  font-size: 1.1rem;
  color: #0b0b0b;
  color: var(--text-strong);
}

.summary-row.total {
  border-top: 1px dashed rgba(17, 17, 17, 0.08);
  border-top: 1px dashed var(--border-soft);
  padding-top: 0.85rem;
  margin-top: 0.3rem;
  font-weight: 600;
  color: #0b0b0b;
  color: var(--text-strong);
}

.loan-calculator__summary .primary-btn {
  width: 100%;
  justify-content: center;
}

.card-footnote {
  font-size: 0.82rem;
  color: #4a4a4a;
  color: var(--text-muted);
  margin: 0;
}

/* Loan calculator - responsive tweaks */
@media (max-width: 900px) {
  .loan-calculator {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
  }

  .loan-calculator__inputs,
  .loan-calculator__summary {
    min-width: auto;
    width: 100%;
    padding: 1rem;
  }

  .slider-field {
    padding: 0.9rem 1rem;
    border-radius: 14px;
  }

  .slider-heading label {
    font-size: 0.95rem;
  }

  .emi-highlight strong {
    font-size: 1.6rem;
  }

  .loan-calculator__summary {
    border-radius: 18px;
  }

  .loan-calculator__summary .primary-btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .loan-calculator {
    padding: 0.75rem;
  }

  .slider-heading label {
    font-size: 0.9rem;
  }

  .emi-highlight strong {
    font-size: 1.4rem;
  }
}

.offerings-block {
  background: linear-gradient(to right, #FFF9E6 0%, #FFE082 35%, #D4A017 100%);
  border-radius: 34px;
  padding: 3rem;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border: 1px solid var(--border-soft);
}

.offering-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  grid-gap: 1.25rem;
  gap: 1.25rem;
}

.offering-card {
  padding: 1.5rem;
  border-radius: 20px;
  background: #fffdf5;
  background: var(--surface-soft);
  border: 1px solid transparent;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.offering-card img {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.offering-card:hover {
  border-color: rgba(247, 189, 32, 0.4);
  transform: translateY(-2px);
}

.offering-card span {
  display: inline-block;
  margin-top: 0.5rem;
  color: #000000;
  color: var(--primary-dark);
  font-weight: 600;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  grid-gap: 1.5rem;
  gap: 1.5rem;
}

.why-grid article {
  padding: 1.75rem;
  border-radius: 24px;
  background: linear-gradient(to right, #FFF9E6 0%, #FFE082 35%, #D4A017 100%);
  border: 1px solid rgba(17, 17, 17, 0.08);
  border: 1px solid var(--border-soft);
  min-height: 200px;
}

.awards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  grid-gap: 1.5rem;
  gap: 1.5rem;
}

.awards-grid article {
  padding: 1.5rem;
  border-radius: 24px;
  background: #fffdf5;
  background: var(--surface-soft);
  border: 1px solid rgba(17, 17, 17, 0.08);
  border: 1px solid var(--border-soft);
}

.why-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  grid-gap: 1rem;
  gap: 1rem;
  margin: 1rem 0 1.25rem;
}

.why-metrics div {
  background: linear-gradient(135deg, #fffdf5, #fff6d6);
  border: 1px solid rgba(17, 17, 17, 0.08);
  border: 1px solid var(--border-soft);
  border-radius: 18px;
  padding: 1rem;
  text-align: center;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

.why-metrics strong {
  display: block;
  font-size: 1.2rem;
}

.why-card {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-gap: 0.85rem;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 1.5rem;
  border-radius: 24px;
  background: linear-gradient(135deg, #ffffff, #fff7da);
  border: 1px solid rgba(17, 17, 17, 0.08);
  border: 1px solid var(--border-soft);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
}

.why-icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: #fffdf5;
  background: var(--surface-soft);
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border: 1px solid var(--border-soft);
}

.testimonials-block blockquote {
  background: #fff;
  padding: 2rem;
  border-radius: 28px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border: 1px solid var(--border-soft);
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-height: 260px;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  grid-gap: 1.25rem;
  gap: 1.25rem;
}

.testimonials-carousel {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
}

.testimonials-carousel-track {
  position: relative;
  min-height: 280px;
}

.testimonial-card {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transform: translateX(20px);
  transition: all 0.6s ease-in-out;
  background: linear-gradient(to right, #FFF9E6 0%, #FFE082 35%, #D4A017 100%);
  border-radius: 24px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border: 1px solid var(--border-soft);
  padding: 2rem;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-gap: 1.5rem;
  gap: 1.5rem;
  align-items: start;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
}

.testimonial-card.active {
  opacity: 1;
  transform: translateX(0);
  position: relative;
}

.testimonials-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 2rem;
}

.testimonials-carousel-dots .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(247, 189, 32, 0.3);
  border: 2px solid rgba(247, 189, 32, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.testimonials-carousel-dots .dot.active {
  background: #000000;
  background: var(--primary-dark);
  border-color: #000000;
  border-color: var(--primary-dark);
  width: 14px;
  height: 14px;
  box-shadow: 0 4px 12px rgba(247, 189, 32, 0.4);
}

.testimonials-carousel-dots .dot:hover {
  background: rgba(247, 189, 32, 0.6);
  transform: scale(1.15);
}

.testimonial-avatar {
  width: 72px;
  height: 72px;
  border-radius: 14px;
  overflow: hidden;
  background: #fffdf5;
  background: var(--surface-soft);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.testimonial-avatar.round {
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.8);
}

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

.testimonial-text {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.testimonial-text p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.6;
  color: #0b0b0b;
  color: var(--text-strong);
}

.testimonial-meta {
  display: grid;
  grid-gap: 0.25rem;
  gap: 0.25rem;
  color: #4a4a4a;
  color: var(--text-muted);
}

.testimonial-meta strong {
  color: #0b0b0b;
  color: var(--text-strong);
  font-size: 1rem;
}

.testimonial-meta span {
  font-size: 0.9rem;
}

.quote-tag {
  font-size: 0.85rem;
  font-weight: 700;
  color: #000000;
  color: var(--primary-dark);
  text-transform: uppercase;
}

blockquote p {
  margin: 0;
  color: #0b0b0b;
  color: var(--text-strong);
  line-height: 1.6;
}

blockquote cite {
  font-style: normal;
  color: #4a4a4a;
  color: var(--text-muted);
}

.download-block {
  margin-top: 5rem;
}

.download-card {
  padding: 3rem;
  border-radius: 36px;
  background: linear-gradient(120deg, #ffffff, #fff7da);
  color: #111111;
  color: var(--secondary);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
}

.download-card .store-badge {
  border: 1px solid rgba(17, 17, 17, 0.12);
}

.store-badges {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: none;
  background: none;
}

.store-badge img {
  width: 140px;
  height: auto;
  display: block;
  border-radius: 8px;
}

.store-badge img {
  width: 135px;
  height: auto;
  display: block;
}

.hero-store-badges {
  margin-top: 1rem;
}

.download-card .store-badges {
  justify-content: flex-start;
}

/* Modern Homepage Styles */
.highlight-text {
  background: linear-gradient(135deg,
      #f7bd20 0%,
      #f5a623 25%,
      #f39c21 50%,
      #f18e1f 75%,
      #e8a91a 100%);
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-stats-card {
  background: linear-gradient(135deg, #ffffff, #fff7da);
  border-radius: 24px;
  padding: 2rem;
  box-shadow: 0 25px 65px rgba(17, 17, 17, 0.12);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(247, 189, 32, 0.2);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.stat-item-hero {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 16px;
  border: 1px solid rgba(247, 189, 32, 0.15);
}

.stat-icon {
  font-size: 2rem;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg,
      #f7bd20 0%,
      #f5a623 25%,
      #f39c21 50%,
      #f18e1f 75%,
      #e8a91a 100%);
  background: var(--gradient-primary);
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(247, 189, 32, 0.3);
}

.stat-item-hero strong {
  font-size: 1.8rem;
  color: #111111;
  color: var(--secondary);
  display: block;
  line-height: 1;
}

.stat-item-hero p {
  margin: 0.3rem 0 0;
  color: #4a4a4a;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.hero-form-card {
  background: #fff;
  border-radius: 24px;
  padding: 2rem;
  box-shadow: 0 25px 65px rgba(17, 17, 17, 0.12);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(17, 17, 17, 0.08);
  border: 1px solid var(--border-soft);
}

.hero-form-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.4rem;
  color: #111111;
  color: var(--secondary);
}

.hero-form-card>p {
  margin: 0 0 1.5rem;
  color: #4a4a4a;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.store-badges-inline {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(17, 17, 17, 0.08);
  border-top: 1px solid var(--border-soft);
}

.store-badges-inline .store-badge img {
  width: 120px;
}

/* Why Choose Us Section */
.why-choose-section {
  background: linear-gradient(135deg, #fff7da, #ffffff);
  border-radius: 40px;
  padding: 3rem;
  box-shadow: 0 20px 60px rgba(17, 17, 17, 0.08);
}

.why-choose-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  grid-gap: 1.5rem;
  gap: 1.5rem;
}

.why-card {
  background: #fff;
  padding: 2rem;
  border-radius: 20px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border: 1px solid var(--border-soft);
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: all 0.3s ease;
}

.why-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 25px 65px rgba(17, 17, 17, 0.12);
  box-shadow: var(--shadow-soft);
  border-color: rgba(247, 189, 32, 0.3);
}

.why-icon {
  font-size: 2.5rem;
  line-height: 1;
}

.why-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  color: #111111;
  color: var(--secondary);
}

.why-card p {
  margin: 0;
  color: #4a4a4a;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Modern Product Cards */
.product-card.modern {
  position: relative;
  overflow: hidden;
}

.product-content {
  flex: 1 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.product-badge {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  background: linear-gradient(135deg,
      #f7bd20 0%,
      #f5a623 25%,
      #f39c21 50%,
      #f18e1f 75%,
      #e8a91a 100%);
  background: var(--gradient-primary);
  color: #111111;
  color: var(--secondary);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  width: -webkit-fit-content;
  width: fit-content;
}

.product-arrow {
  color: #000000;
  color: var(--primary-dark);
  font-weight: 600;
  font-size: 0.95rem;
}

.product-card.modern:hover .product-arrow {
  transform: translateX(4px);
  display: inline-block;
  transition: transform 0.3s ease;
}

/* CTA Section */
.cta-section {
  margin: 4rem 0 2rem;
  background: linear-gradient(to right, #FFF9E6 0%, #FFE082 35%, #D4A017 100%);
  border-radius: 40px;
  padding: 4rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(247, 189, 32, 0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.cta-section::after {
  content: '';
  position: absolute;
  bottom: -40%;
  right: -15%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 193, 7, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}

.cta-section h2 {
  color: #000000 !important;
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 0 0 1rem;
  font-weight: 800;
}

.cta-section p {
  color: #000000 !important;
  font-size: 1.2rem;
  margin: 0 0 2rem;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-section .primary-btn,
.cta-section .ghost-btn {
  color: #000000 !important;
}

.primary-btn.large,
.ghost-btn.large {
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  color: #000000 !important;
}

.ghost-btn.large {
  background: rgba(255, 255, 255, 0.15);
  color: #000000 !important;
  border-color: rgba(0, 0, 0, 0.3);
}

.ghost-btn.large:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: #000000;
  color: #000000 !important;
}



.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  grid-gap: 1.5rem;
  gap: 1.5rem;
}

.blog-grid article {
  background: #fff;
  border-radius: 24px;
  padding: 1.75rem;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border: 1px solid var(--border-soft);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.blog-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: #4a4a4a;
  color: var(--text-muted);
}

.blog-grid h3 {
  margin: 0;
}

.blogs-page {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding-top: 3rem;
}

.blogs-hero {
  background:
    radial-gradient(circle at 0% 0% 0%, rgba(247, 189, 32, 0.18), transparent 50%),
    radial-gradient(circle at 90% 10% 0%, rgba(232, 169, 26, 0.18), transparent 50%),
    linear-gradient(120deg, #ffffff, #fff8e0);
  color: #111111;
  color: var(--secondary);
  border-radius: 32px;
  padding: 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  grid-gap: 1.5rem;
  gap: 1.5rem;
  align-items: start;
  box-shadow: 0 25px 65px rgba(17, 17, 17, 0.12);
  box-shadow: var(--shadow-soft);
}

.blogs-hero__copy {
  display: grid;
  grid-gap: 0.75rem;
  gap: 0.75rem;
}

.blogs-hero__copy p {
  margin: 0;
  color: #4a4a4a;
  color: var(--text-muted);
  line-height: 1.6;
}

.blogs-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.blogs-hero__meta span {
  border-radius: 999px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border: 1px solid var(--border-soft);
  padding: 0.35rem 0.75rem;
  background: #ffffff;
  background: var(--surface);
  font-weight: 700;
  font-size: 0.9rem;
}

.blogs-filters {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.blogs-filters button {
  border: 1px solid rgba(17, 17, 17, 0.08);
  border: 1px solid var(--border-soft);
  background: rgba(0, 0, 0, 0.02);
  color: #111111;
  color: var(--secondary);
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  cursor: pointer;
  font-weight: 700;
}

.blogs-filters button.selected {
  background: linear-gradient(135deg, #000000, #000000);
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-color: transparent;
  color: #111111;
  color: var(--secondary);
  box-shadow: 0 12px 26px rgba(17, 17, 17, 0.12);
}

.blogs-featured {
  background: rgba(0, 0, 0, 0.02);
  border: 1px solid rgba(17, 17, 17, 0.08);
  border: 1px solid var(--border-soft);
  border-radius: 22px;
  padding: 1.4rem;
  display: grid;
  grid-gap: 0.5rem;
  gap: 0.5rem;
  box-shadow: 0 25px 65px rgba(17, 17, 17, 0.12);
  box-shadow: var(--shadow-soft);
}

.blogs-featured__badge {
  align-self: flex-start;
  padding: 0.35rem 0.8rem;
  background: linear-gradient(135deg, #000000, #000000);
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #111111;
  color: var(--secondary);
  border-radius: 12px;
  font-weight: 800;
  width: -webkit-fit-content;
  width: fit-content;
}

.blogs-featured h2 {
  margin: 0.25rem 0 0.25rem;
}

.blog-meta-row {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  color: #4a4a4a;
  color: var(--text-muted);
  font-weight: 700;
}

.blogs-featured .ghost-btn {
  justify-self: flex-start;
}

.blogs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  grid-gap: 1rem;
  gap: 1rem;
}

.blog-card {
  background: #fff;
  border-radius: 18px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border: 1px solid var(--border-soft);
  padding: 1.25rem;
  display: grid;
  grid-gap: 0.5rem;
  gap: 0.5rem;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
}

.blog-card__badge {
  display: inline-flex;
  padding: 0.35rem 0.75rem;
  border-radius: 12px;
  background: #fffdf5;
  background: var(--surface-soft);
  font-weight: 800;
  color: #111111;
  color: var(--secondary);
  width: -webkit-fit-content;
  width: fit-content;
}

.blog-card h3 {
  margin: 0;
}

.blog-card p {
  margin: 0;
  color: #4a4a4a;
  color: var(--text-muted);
}

.blog-card .blog-meta-row {
  color: #4a4a4a;
  color: var(--text-muted);
}

.calculator-page {
  padding-top: 4rem;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.calculator-hero {
  background: linear-gradient(135deg, #f7f3ff, #e9ffff, #fff2e1);
  border-radius: 36px;
  padding: 2.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  grid-gap: 1.5rem;
  gap: 1.5rem;
}

.calculator-hero.enhanced {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  background: radial-gradient(circle at 0% 0% 0%, rgba(247, 189, 32, 0.18), transparent 50%),
    radial-gradient(circle at 80% 20% 0%, rgba(232, 169, 26, 0.12), transparent 45%),
    linear-gradient(120deg, #ffffff, #fff7da);
  color: #111111;
  color: var(--secondary);
  box-shadow: 0 25px 65px rgba(17, 17, 17, 0.12);
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.calculator-hero.enhanced::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.08) 0%, transparent 55%);
  pointer-events: none;
}

.calc-hero-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.calc-hero-copy h1 {
  margin: 0.25rem 0;
}

.calc-hero-copy p {
  margin: 0;
  color: #4a4a4a;
  color: var(--text-muted);
  line-height: 1.6;
}

.calc-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.5rem;
}

.calc-chip {
  display: inline-flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.65rem 0.9rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  min-width: 150px;
}

.calc-chip strong {
  font-size: 1.1rem;
}

.calc-chip small {
  color: rgba(255, 255, 255, 0.78);
}

.calc-hero-panel {
  position: relative;
  z-index: 1;
  background: rgba(0, 0, 0, 0.02);
  border: 1px solid rgba(17, 17, 17, 0.08);
  border: 1px solid var(--border-soft);
  border-radius: 22px;
  padding: 1.5rem;
  display: grid;
  grid-gap: 1rem;
  gap: 1rem;
  box-shadow: 0 25px 65px rgba(17, 17, 17, 0.12);
  box-shadow: var(--shadow-soft);
}

.calc-hero-stat p {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: #4a4a4a;
  color: var(--text-muted);
}

.calc-hero-stat strong {
  display: block;
  font-size: 1.4rem;
}

.calc-hero-stat span {
  color: #4a4a4a;
  color: var(--text-muted);
}

.calc-hero-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-gap: 0.6rem;
  gap: 0.6rem;
  color: #4a4a4a;
  color: var(--text-muted);
}

.calc-hero-cta {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.support-page {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  padding-top: 3rem;
}

.contact-stack {
  background: linear-gradient(135deg, #ffffff, #fff8df);
  border-radius: 32px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border: 1px solid var(--border-soft);
  padding: 1.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  grid-gap: 1.25rem;
  gap: 1.25rem;
  align-items: start;
  box-shadow: 0 25px 65px rgba(17, 17, 17, 0.12);
  box-shadow: var(--shadow-soft);
}

.contact-stack__left,
.contact-stack__right {
  display: grid;
  grid-gap: 1rem;
  gap: 1rem;
}

.contact-stack-head h2 {
  margin: 0.25rem 0 0.3rem;
}

.contact-stack-lead {
  margin: 0;
  color: #4a4a4a;
  color: var(--text-muted);
}

.contact-assurance {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.contact-assurance span {
  border-radius: 14px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border: 1px solid var(--border-soft);
  padding: 0.55rem 0.85rem;
  background: #fff;
  font-weight: 700;
  display: inline-flex;
  flex-direction: column;
  gap: 0.1rem;
}

.contact-hero {
  background:
    radial-gradient(circle at 0% 0% 0%, rgba(247, 189, 32, 0.2), transparent 45%),
    radial-gradient(circle at 80% 20% 0%, rgba(17, 17, 17, 0.12), transparent 55%),
    linear-gradient(120deg, #ffffff, #fff7da);
  color: #111111;
  color: var(--secondary);
  border-radius: 36px;
  padding: 2.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  grid-gap: 1.5rem;
  gap: 1.5rem;
  align-items: center;
  box-shadow: 0 25px 65px rgba(17, 17, 17, 0.12);
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.contact-hero-copy h1 {
  margin: 0.2rem 0 0.4rem;
}

.contact-hero-copy p {
  margin: 0;
  color: #4a4a4a;
  color: var(--text-muted);
  line-height: 1.6;
}

.contact-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1rem 0 0.5rem;
}

.contact-badges span {
  border-radius: 14px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border: 1px solid var(--border-soft);
  background: #ffffff;
  background: var(--surface);
  padding: 0.6rem 0.85rem;
  display: inline-flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 130px;
}

.contact-badges strong {
  font-size: 1.05rem;
}

.contact-badges small {
  color: #4a4a4a;
  color: var(--text-muted);
}

.contact-quick {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.contact-hero-visual {
  position: relative;
  display: grid;
  grid-gap: 0.75rem;
  gap: 0.75rem;
  justify-items: center;
}

.contact-hero-card {
  background: rgba(0, 0, 0, 0.02);
  border: 1px solid rgba(17, 17, 17, 0.08);
  border: 1px solid var(--border-soft);
  border-radius: 22px;
  padding: 1.4rem;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 25px 65px rgba(17, 17, 17, 0.12);
  box-shadow: var(--shadow-soft);
}

.contact-hero-card h3 {
  margin: 0.3rem 0 0.35rem;
}

.contact-hero-note {
  margin: 0 0 0.65rem;
  color: #4a4a4a;
  color: var(--text-muted);
}

.support-highlight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  grid-gap: 1rem;
  gap: 1rem;
}

.support-highlight-card {
  background: linear-gradient(135deg, #ffffff, #f5f8ff);
  border-radius: 20px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border: 1px solid var(--border-soft);
  padding: 1.2rem;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-gap: 0.75rem;
  gap: 0.75rem;
  align-items: center;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
}

.support-info-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  grid-gap: 1rem;
  gap: 1rem;
}

.support-info-card {
  border-radius: 22px;
  padding: 1.4rem;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-gap: 0.8rem;
  gap: 0.8rem;
  align-items: start;
  box-shadow: 0 25px 65px rgba(17, 17, 17, 0.12);
  box-shadow: var(--shadow-soft);
  color: #111111;
  color: var(--secondary);
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #ffffff, #fff7da);
  border: 1px solid rgba(17, 17, 17, 0.08);
  border: 1px solid var(--border-soft);
}

.support-info-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 15% 15% 0%, rgba(255, 255, 255, 0.12), transparent 55%);
  pointer-events: none;
}

.support-info-card.blue {
  background: linear-gradient(135deg, #ffffff, #fff7da);
}

.support-info-card.teal {
  background: linear-gradient(135deg, #ffffff, #fff7da);
}

.support-info-card.amber {
  background: linear-gradient(135deg, #ffffff, #fff7da);
}

.support-info-card ul {
  margin: 0.2rem 0 0;
  padding-left: 1.1rem;
  color: #4a4a4a;
  color: var(--text-muted);
  display: grid;
  grid-gap: 0.35rem;
  gap: 0.35rem;
}

.support-info-card h3 {
  margin: 0;
}

.support-faqs {
  background: #fff;
  border-radius: 28px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border: 1px solid var(--border-soft);
  padding: 1.5rem;
  box-shadow: 0 25px 65px rgba(17, 17, 17, 0.12);
  box-shadow: var(--shadow-soft);
  display: grid;
  grid-gap: 1rem;
  gap: 1rem;
}

.faq-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  grid-gap: 0.75rem;
  gap: 0.75rem;
}

.faq-card {
  background: #fffdf5;
  background: var(--surface-soft);
  border-radius: 16px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border: 1px solid var(--border-soft);
  padding: 0.9rem 1rem;
}

.faq-card summary {
  cursor: pointer;
  font-weight: 700;
}

.faq-card p {
  margin: 0.5rem 0 0;
  color: #4a4a4a;
  color: var(--text-muted);
}

.calculator-hero.eligibility-hero {
  background:
    radial-gradient(circle at 0% 0% 0%, rgba(247, 189, 32, 0.2), transparent 50%),
    radial-gradient(circle at 80% 20% 0%, rgba(232, 169, 26, 0.16), transparent 55%),
    linear-gradient(120deg, #ffffff, #fff8e0);
  color: #111111;
  color: var(--secondary);
  position: relative;
  overflow: hidden;
}

.calculator-hero.credit-hero {
  background:
    radial-gradient(circle at 0% 0% 0%, rgba(247, 189, 32, 0.2), transparent 55%),
    radial-gradient(circle at 80% 20% 0%, rgba(17, 17, 17, 0.12), transparent 55%),
    linear-gradient(120deg, #ffffff, #fff7da);
  color: #111111;
  color: var(--secondary);
  position: relative;
  overflow: hidden;
}

.eligibility-hero-card {
  background: rgba(0, 0, 0, 0.02);
  border: 1px solid rgba(17, 17, 17, 0.08);
  border: 1px solid var(--border-soft);
  border-radius: 22px;
  padding: 1.5rem;
  display: grid;
  grid-gap: 0.65rem;
  gap: 0.65rem;
  box-shadow: 0 25px 65px rgba(17, 17, 17, 0.12);
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.eligibility-hero-card h3 {
  margin: 0.2rem 0 0.1rem;
}

.credit-hero-card {
  background: rgba(0, 0, 0, 0.02);
  border: 1px solid rgba(17, 17, 17, 0.08);
  border: 1px solid var(--border-soft);
  border-radius: 22px;
  padding: 1.5rem;
  display: grid;
  grid-gap: 0.65rem;
  gap: 0.65rem;
  box-shadow: 0 25px 65px rgba(17, 17, 17, 0.12);
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.credit-hero-card h3 {
  margin: 0.2rem 0 0.1rem;
}

.doodle-bubbles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.bubble.mini {
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(247, 189, 32, 0.26), transparent 70%);
  top: 12%;
  right: 18%;
}

.sparkle {
  position: absolute;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(17, 17, 17, 0.12), transparent 65%);
  bottom: 10%;
  left: 10%;
}

.calculator-hero.two-wheeler-hero {
  background:
    radial-gradient(circle at 0% 0%, rgba(247, 189, 32, 0.22) 0%, transparent 45%),
    radial-gradient(circle at 80% 20%, rgba(17, 17, 17, 0.12) 0%, transparent 50%),
    linear-gradient(120deg, #ffffff, #fff8df);
  color: #111111;
  color: var(--secondary);
  overflow: hidden;
  position: relative;
}

.two-wheeler-hero-visual {
  position: relative;
  min-height: 260px;
  display: grid;
  place-items: center;
}

.two-wheeler-hero-card {
  background: rgba(0, 0, 0, 0.02);
  border: 1px solid rgba(17, 17, 17, 0.08);
  border: 1px solid var(--border-soft);
  border-radius: 24px;
  padding: 1.6rem;
  width: 100%;
  max-width: 360px;
  box-shadow: 0 25px 65px rgba(17, 17, 17, 0.12);
  box-shadow: var(--shadow-soft);
  position: relative;
  z-index: 1;
}

.two-wheeler-hero-card h3 {
  margin: 0.35rem 0 0.25rem;
}

.calc-hero-note {
  margin: 0 0 0.75rem;
  color: #4a4a4a;
  color: var(--text-muted);
}

.hero-mini-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  grid-gap: 0.5rem;
  gap: 0.5rem;
}

.hero-mini-stats div {
  background: rgba(0, 0, 0, 0.04);
  border-radius: 14px;
  padding: 0.7rem 0.9rem;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border: 1px solid var(--border-soft);
  text-align: center;
}

.doodle-bubble {
  position: absolute;
  border-radius: 50%;
  filter: blur(0);
  z-index: 0;
}

.bubble-a {
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, rgba(247, 189, 32, 0.26), transparent 70%);
  top: 10%;
  right: 12%;
}

.bubble-b {
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(17, 17, 17, 0.12), transparent 70%);
  bottom: 5%;
  left: 5%;
}

.hero-facts {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  grid-gap: 1rem;
  gap: 1rem;
}

.hero-facts li {
  background: #fff;
  border-radius: 20px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border: 1px solid var(--border-soft);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.hero-facts.compact {
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}

.calculator-body {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(220px, 1fr);
  grid-gap: 2rem;
  gap: 2rem;
}

.calculator-body.modern {
  background: #fff;
  border-radius: 32px;
  padding: 1.5rem;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border: 1px solid var(--border-soft);
  box-shadow: 0 25px 65px rgba(17, 17, 17, 0.12);
  box-shadow: var(--shadow-soft);
  align-items: start;
}

.calculator-main-card {
  background: linear-gradient(180deg, #ffffff 0%, #f7f9ff 100%);
  border-radius: 24px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border: 1px solid var(--border-soft);
  padding: 1.25rem;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
}

.calculator-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
}

.calculator-subhead {
  margin: 0.35rem 0 0;
  color: #4a4a4a;
  color: var(--text-muted);
}

.calculator-meta-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.calculator-meta-tags span {
  border-radius: 999px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border: 1px solid var(--border-soft);
  padding: 0.35rem 0.75rem;
  background: #fff;
  font-weight: 700;
  font-size: 0.9rem;
}

.calculator-aside {
  display: grid;
  grid-gap: 1rem;
  gap: 1rem;
}

.calculator-body.stacked {
  grid-template-columns: 1fr;
}

.calc-side-card {
  background: #fff;
  border-radius: 28px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border: 1px solid var(--border-soft);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.calc-side-card ul,
.calc-side-card ol {
  margin: 0;
  padding-left: 1.2rem;
  color: #4a4a4a;
  color: var(--text-muted);
}

.calc-side-card .note {
  margin: 0;
  font-size: 0.9rem;
  color: #4a4a4a;
  color: var(--text-muted);
}

.calculator-visual-shell {
  background: #fff;
  border-radius: 28px;
  padding: 1.25rem;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border: 1px solid var(--border-soft);
  box-shadow: 0 25px 65px rgba(17, 17, 17, 0.12);
  box-shadow: var(--shadow-soft);
  display: grid;
  grid-gap: 0.75rem;
  gap: 0.75rem;
  position: relative;
}

.calculator-carousel {
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border: 1px solid var(--border-soft);
  background: #fffdf5;
  background: var(--surface-soft);
  position: relative;
}

.calculator-carousel__track {
  display: flex;
  transition: transform 0.4s ease;
}

.calculator-carousel__slide {
  min-width: 100%;
}

.calculator-carousel__slide img {
  width: 100%;
  display: block;
}

.compact-carousel .calculator-carousel {
  max-height: 360px;
}

.compact-carousel .calculator-carousel__slide img {
  max-height: 320px;
  object-fit: cover;
}

.calculator-carousel__dots {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.9);
}

.calculator-carousel__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border: 1px solid var(--border-soft);
  background: #fff;
  cursor: pointer;
  transition: all 0.2s ease;
}

.calculator-carousel__dot.is-active {
  background: #111111;
  background: var(--secondary);
  border-color: #111111;
  border-color: var(--secondary);
  transform: scale(1.05);
}

.carousel-tags {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.carousel-tags span {
  border-radius: 999px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border: 1px solid var(--border-soft);
  padding: 0.35rem 0.8rem;
  background: #fffdf5;
  background: var(--surface-soft);
  font-weight: 700;
  font-size: 0.9rem;
}

.carousel-doodle .doodle-dot,
.carousel-doodle .doodle-line {
  position: absolute;
  display: inline-block;
  background: linear-gradient(135deg, rgba(247, 189, 32, 0.28), rgba(17, 17, 17, 0.12));
  filter: blur(0);
  opacity: 0.8;
}

.carousel-doodle .doodle-dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  top: 6%;
  right: 10%;
}

.carousel-doodle .doodle-line {
  width: 120px;
  height: 10px;
  border-radius: 999px;
  bottom: 8%;
  left: 6%;
}

.calc-side-card.tinted {
  background: linear-gradient(180deg, #fffdf5, #fff);
}

.calc-side-card.compact ul {
  padding-left: 1.1rem;
  margin: 0;
  display: grid;
  grid-gap: 0.35rem;
  gap: 0.35rem;
  color: #4a4a4a;
  color: var(--text-muted);
}

.calc-bullet-list {
  list-style: disc;
}

.calc-side-card ol {
  display: grid;
  grid-gap: 0.6rem;
  gap: 0.6rem;
  padding-left: 1.2rem;
}

.calc-side-card ol strong {
  display: block;
}

.calc-grid-section {
  display: grid;
  grid-gap: 1.25rem;
  gap: 1.25rem;
}

.calc-scenario-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  grid-gap: 1rem;
  gap: 1rem;
}

.calc-scenario-card {
  background: #fff;
  border-radius: 18px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border: 1px solid var(--border-soft);
  padding: 1.25rem;
  display: grid;
  grid-gap: 0.75rem;
  gap: 0.75rem;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
}

.calc-scenario-card h3 {
  margin: 0.35rem 0;
}

.calc-scenario-card p {
  margin: 0;
  color: #4a4a4a;
  color: var(--text-muted);
}

.calc-scenario-card .ghost-btn {
  width: -webkit-fit-content;
  width: fit-content;
}

.calc-scenario-kicker {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
  font-weight: 700;
  color: #000000;
  color: var(--primary-dark);
  margin: 0;
}

.apply-page {
  padding-top: 4rem;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.apply-hero {
  background: linear-gradient(120deg, #f7f3ff, #fff2e1);
  border-radius: 36px;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.apply-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  grid-gap: 1rem;
  gap: 1rem;
}

.apply-highlights div {
  background: #fff;
  padding: 1rem;
  border-radius: 18px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border: 1px solid var(--border-soft);
}

.apply-highlights span {
  display: block;
  font-size: 0.85rem;
  color: #4a4a4a;
  color: var(--text-muted);
}

.apply-highlights strong {
  font-size: 1.2rem;
}

.apply-content {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(260px, 1fr);
  grid-gap: 2rem;
  gap: 2rem;
}

.apply-form {
  background: #fff;
  border-radius: 32px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border: 1px solid var(--border-soft);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  grid-gap: 1.25rem;
  gap: 1.25rem;
}

.form-grid label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-weight: 600;
}

.form-grid input,
.form-grid select {
  border-radius: 14px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border: 1px solid var(--border-soft);
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
}

.slider-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  grid-gap: 1.25rem;
  gap: 1.25rem;
}

.slider-grid>div {
  border: 1px solid rgba(17, 17, 17, 0.08);
  border: 1px solid var(--border-soft);
  border-radius: 20px;
  padding: 1rem 1.25rem;
  background: #fffdf5;
  background: var(--surface-soft);
}

.slider-heading {
  display: flex;
  justify-content: space-between;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.slider-grid input[type='range'] {
  width: 100%;
  accent-color: #000000;
  accent-color: var(--primary);
}

.apply-form .primary-btn {
  width: max(240px, 40%);
}

.form-note {
  font-size: 0.9rem;
  color: #4a4a4a;
  color: var(--text-muted);
  margin: 0;
}

.form-note.success {
  color: #0f9d58;
  font-weight: 600;
}

.apply-summary {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.summary-card,
.contact-card {
  background: #fff;
  border-radius: 28px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border: 1px solid var(--border-soft);
  padding: 1.75rem;
}

.summary-card h2 {
  margin-top: 0;
}

.summary-card div {
  display: flex;
  justify-content: space-between;
  margin-top: 0.75rem;
  font-size: 0.95rem;
}

.summary-card div strong {
  color: #0b0b0b;
  color: var(--text-strong);
}

.contact-card a {
  display: block;
  color: #111111;
  color: var(--secondary);
  font-weight: 600;
  text-decoration: none;
  margin-top: 0.35rem;
}

.company-overview {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  grid-gap: 1.5rem;
  gap: 1.5rem;
}

.company-card {
  background: #fff;
  border-radius: 28px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border: 1px solid var(--border-soft);
  padding: 2rem;
}

.fact-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.fact-grid div {
  border-radius: 20px;
  border: 1px dashed rgba(17, 17, 17, 0.08);
  border: 1px dashed var(--border-soft);
  padding: 1rem 1.25rem;
  background: #fffdf5;
  background: var(--surface-soft);
}

.mission-list {
  list-style: disc;
  padding-left: 1.2rem;
  color: #4a4a4a;
  color: var(--text-muted);
}

.office-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  grid-gap: 1.25rem;
  gap: 1.25rem;
}

.contact-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.contact-strip div {
  flex: 1 1;
  min-width: 200px;
  border-radius: 20px;
  padding: 1rem 1.25rem;
  background: linear-gradient(135deg, #ffffff, #fff7da);
  color: #111111;
  color: var(--secondary);
}

.contact-channel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  grid-gap: 1rem;
  gap: 1rem;
}

.contact-channel {
  border-radius: 22px;
  padding: 1.25rem;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-gap: 0.8rem;
  gap: 0.8rem;
  align-items: start;
  position: relative;
  overflow: hidden;
  color: #111111;
  color: var(--secondary);
  box-shadow: 0 25px 65px rgba(17, 17, 17, 0.12);
  box-shadow: var(--shadow-soft);
}

.contact-channel::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 10% 10% 0%, rgba(255, 255, 255, 0.12), transparent 55%);
  pointer-events: none;
}

.contact-channel:nth-child(1) {
  background: linear-gradient(135deg, #ffffff, #fff7da);
}

.contact-channel:nth-child(2) {
  background: linear-gradient(135deg, #ffffff, #fff7da);
}

.contact-channel:nth-child(3) {
  background: linear-gradient(135deg, #ffffff, #fff7da);
}

.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.16);
  display: grid;
  place-items: center;
  font-size: 1.35rem;
}

.contact-channel h3 {
  margin: 0;
}

.contact-channel p {
  margin: 0.35rem 0 0.5rem;
  color: #4a4a4a;
  color: var(--text-muted);
}

.contact-channel .primary-link {
  color: #000000;
  color: var(--primary-dark);
  font-weight: 700;
}

.careers-page,
.newsroom-page {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  padding-top: 3rem;
}

.benefit-card {
  background: #fff;
  border-radius: 28px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border: 1px solid var(--border-soft);
  padding: 1.5rem;
}

.roles-section .roles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  grid-gap: 1.25rem;
  gap: 1.25rem;
}

.role-card {
  background: #fff;
  border-radius: 24px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border: 1px solid var(--border-soft);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.tag-row {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.tag-row span {
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  background: #fffdf5;
  background: var(--surface-soft);
  font-size: 0.85rem;
}

.roles-section .ghost-btn {
  align-self: flex-start;
}

.career-form-card {
  margin-top: 1.5rem;
  display: grid;
  grid-gap: 0.75rem;
  gap: 0.75rem;
}

.career-form {
  display: grid;
  grid-gap: 1rem;
  gap: 1rem;
}

.career-form .form-grid label,
.career-message {
  font-weight: 600;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  color: #0b0b0b;
  color: var(--text-strong);
}

.career-form input,
.career-form textarea {
  border-radius: 14px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border: 1px solid var(--border-soft);
  padding: 0.75rem 0.95rem;
  font-size: 0.95rem;
  font-family: inherit;
  background: #ffffff;
  background: var(--surface);
}

.career-form input[type='file'] {
  padding: 0.6rem;
}

.career-form textarea {
  resize: vertical;
}

.section-note {
  text-align: center;
  color: #4a4a4a;
  color: var(--text-muted);
  margin-top: 1rem;
}

.newsroom-page .press-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  grid-gap: 1.25rem;
  gap: 1.25rem;
}

.press-card {
  background: #fff;
  border-radius: 24px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border: 1px solid var(--border-soft);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.media-kit {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  grid-gap: 1.5rem;
  gap: 1.5rem;
}

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

.timeline-section {
  background: #fff;
  border-radius: 32px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border: 1px solid var(--border-soft);
  padding: 2.5rem;
}

.timeline-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  grid-gap: 1.25rem;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.timeline-grid article {
  border-radius: 24px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border: 1px solid var(--border-soft);
  padding: 1.25rem;
  background: #fffdf5;
  background: var(--surface-soft);
}

.testimonials-section .testimonial-grid.wide {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.contact-cta {
  background: linear-gradient(135deg, #ffffff, #fff7da);
  border-radius: 32px;
  padding: 2.5rem;
  color: #111111;
  color: var(--secondary);
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
  justify-content: space-between;
}

.contact-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.contact-cta .ghost-btn {
  border-color: rgba(247, 189, 32, 0.5);
  color: #111111;
  color: var(--secondary);
}

.contact-form-shell {
  background: linear-gradient(135deg, #f5f7ff, #fff7ef);
  border-radius: 32px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border: 1px solid var(--border-soft);
  padding: 1.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  grid-gap: 1.25rem;
  gap: 1.25rem;
  box-shadow: 0 25px 65px rgba(17, 17, 17, 0.12);
  box-shadow: var(--shadow-soft);
}

.contact-form-card {
  background: linear-gradient(180deg, #ffffff 0%, #f7f9ff 100%);
  border-radius: 26px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border: 1px solid var(--border-soft);
  padding: 1.25rem;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.contact-form-card h2 {
  margin: 0.35rem 0 0.75rem;
}

.contact-form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  grid-gap: 0.9rem 1rem;
  gap: 0.9rem 1rem;
}

.contact-form-grid label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-weight: 600;
}

.contact-form-grid input,
.contact-form-grid select,
.contact-form-grid textarea {
  border-radius: 14px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border: 1px solid var(--border-soft);
  padding: 0.75rem 0.95rem;
  font-size: 0.95rem;
  font-family: inherit;
}

.contact-form-grid textarea {
  resize: vertical;
}

.contact-form-grid .span-2 {
  grid-column: 1 / -1;
}

.contact-info-card {
  background: linear-gradient(135deg, #ffffff, #fff7da);
  border-radius: 24px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border: 1px solid var(--border-soft);
  padding: 1.25rem;
  display: grid;
  grid-gap: 0.8rem;
  gap: 0.8rem;
  color: #111111;
  color: var(--secondary);
}

.contact-info-card ul {
  margin: 0;
  padding-left: 1.15rem;
  color: #4a4a4a;
  color: var(--text-muted);
  display: grid;
  grid-gap: 0.35rem;
  gap: 0.35rem;
}

.contact-quick-links {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: center;
}

.contact-info-card .ghost-btn,
.support-cta-band .ghost-btn {
  border-color: rgba(247, 189, 32, 0.5);
  color: #111111;
  color: var(--secondary);
}

.contact-info-card .primary-link {
  color: #000000;
  color: var(--primary-dark);
  font-weight: 700;
}

.support-cta-band {
  background: linear-gradient(120deg, #ffffff, #fff7da);
  color: #111111;
  color: var(--secondary);
  border-radius: 28px;
  padding: 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  grid-gap: 1.25rem;
  gap: 1.25rem;
  align-items: center;
  box-shadow: 0 25px 65px rgba(17, 17, 17, 0.12);
  box-shadow: var(--shadow-soft);
}

.support-cta-band p {
  margin: 0.4rem 0 0.75rem;
  color: #4a4a4a;
  color: var(--text-muted);
}

.support-cta-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.support-info-cards+.branch-locator {
  margin-top: 1rem;
}

.branch-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  grid-gap: 1rem;
  gap: 1rem;
}

.branch-card {
  background: #fff;
  border-radius: 18px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border: 1px solid var(--border-soft);
  padding: 1.1rem;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
  display: grid;
  grid-gap: 0.4rem;
  gap: 0.4rem;
}

.branch-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: #fffdf5;
  background: var(--surface-soft);
  font-weight: 700;
}

.policy-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  grid-gap: 1rem;
  gap: 1rem;
}

.policy-card {
  background: linear-gradient(135deg, #ffffff, #fff7da);
  color: #111111;
  color: var(--secondary);
  border-radius: 20px;
  padding: 1.2rem;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border: 1px solid var(--border-soft);
  box-shadow: 0 25px 65px rgba(17, 17, 17, 0.12);
  box-shadow: var(--shadow-soft);
}

.policy-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20% 0%, rgba(255, 255, 255, 0.1), transparent 55%);
  pointer-events: none;
}

.policy-card h3 {
  margin: 0.35rem 0 0.25rem;
}

.policy-card p {
  margin: 0;
  color: #4a4a4a;
  color: var(--text-muted);
}

.policy-tag {
  display: inline-flex;
  padding: 0.3rem 0.75rem;
  border-radius: 12px;
  background: rgba(247, 189, 32, 0.16);
  border: 1px solid rgba(17, 17, 17, 0.08);
  font-weight: 700;
  font-size: 0.85rem;
}

.support-timeline {
  background: linear-gradient(135deg, #f7f9ff, #fff8ef);
  border-radius: 28px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border: 1px solid var(--border-soft);
  padding: 1.75rem;
  display: grid;
  grid-gap: 1.1rem;
  gap: 1.1rem;
  box-shadow: 0 25px 65px rgba(17, 17, 17, 0.12);
  box-shadow: var(--shadow-soft);
}

.timeline-head h2 {
  margin: 0.35rem 0 0.25rem;
}

.timeline-flow {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  grid-gap: 1rem;
  gap: 1rem;
  position: relative;
}

.timeline-node {
  background: #fff;
  border-radius: 18px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border: 1px solid var(--border-soft);
  padding: 1.1rem;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-gap: 0.8rem;
  gap: 0.8rem;
  align-items: start;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
}

.timeline-connector {
  display: none;
}

.timeline-node h3 {
  margin: 0 0 0.35rem;
}

.timeline-node p {
  margin: 0;
  color: #4a4a4a;
  color: var(--text-muted);
}

.timeline-node .step-number {
  background: #000000;
  background: var(--primary);
  color: #111111;
  color: var(--secondary);
  border-radius: 12px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(247, 189, 32, 0.35);
}

@media (min-width: 900px) {
  .timeline-flow {
    grid-template-columns: repeat(3, 1fr);
  }

  .timeline-connector {
    display: block;
    height: 2px;
    background: linear-gradient(90deg, rgba(6, 148, 254, 0.25), rgba(246, 130, 31, 0.25));
    align-self: center;
  }
}

.eligibility-calculator {
  background: #fff;
  border-radius: 32px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border: 1px solid var(--border-soft);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.eligibility-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  grid-gap: 1.25rem;
  gap: 1.25rem;
}

.eligibility-grid label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-weight: 600;
}

.eligibility-grid input[type='number'],
.eligibility-grid input[type='date'],
.eligibility-grid input[type='text'] {
  border-radius: 14px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border: 1px solid var(--border-soft);
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
}

.eligibility-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  grid-gap: 1rem;
  gap: 1rem;
  background: #fffdf5;
  background: var(--surface-soft);
  border-radius: 24px;
  padding: 1.5rem;
}

.eligibility-summary div {
  background: #fff;
  border-radius: 20px;
  padding: 1rem;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border: 1px solid var(--border-soft);
}

.eligibility-summary p {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 0.9rem;
  color: #4a4a4a;
  color: var(--text-muted);
}

.credit-score-widget {
  background: #fff;
  border-radius: 32px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border: 1px solid var(--border-soft);
  padding: 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  grid-gap: 2rem;
  gap: 2rem;
}

.credit-form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  grid-gap: 1rem;
  gap: 1rem;
}

.credit-form label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-weight: 600;
}

.credit-form input {
  border-radius: 14px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border: 1px solid var(--border-soft);
  padding: 0.75rem 1rem;
}

.credit-form button {
  grid-column: 1 / -1;
  width: -webkit-fit-content;
  width: fit-content;
}

.credit-score-result {
  background: linear-gradient(165deg, #ffffff, #fff7da);
  color: #111111;
  color: var(--secondary);
  border-radius: 28px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}

.score-circle {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 6px solid rgba(247, 189, 32, 0.45);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.score-circle span {
  font-size: 1rem;
}

.success-banner {
  background: rgba(247, 189, 32, 0.2);
  border-radius: 999px;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
}


.info-page {
  padding-top: 3rem;
}

.info-hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  grid-gap: 2.5rem;
  gap: 2.5rem;
  align-items: stretch;
  margin-bottom: 2.5rem;
}

.info-copy {
  border-radius: 32px;
  padding: 2.5rem;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border: 1px solid var(--border-soft);
  background: #fff;
}

.info-hero-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #fff4e7 0%, #eef4ff 100%);
  box-shadow: 0 30px 70px rgba(15, 23, 42, 0.12);
}

.info-hero-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20% 0%, rgba(246, 130, 31, 0.16), transparent 50%);
  pointer-events: none;
}

.info-hero-card h1 {
  margin: 0.35rem 0 0.75rem;
}

.info-hero-card p {
  margin: 0;
  color: #4a4a4a;
  color: var(--text-muted);
  line-height: 1.7;
}

.info-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: rgba(6, 148, 254, 0.1);
  color: #111111;
  color: var(--secondary);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.info-highlight-chips {
  margin-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.info-highlight-chips span {
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(17, 17, 17, 0.08);
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  padding: 0.55rem 0.95rem;
  font-weight: 700;
  color: #0b0b0b;
  color: var(--text-strong);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
}

.info-speed-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  grid-gap: 0.6rem;
  gap: 0.6rem;
  margin-top: 1rem;
}

.info-speed-row div {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(17, 17, 17, 0.08);
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  padding: 0.65rem 0.9rem;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.08);
}

.info-speed-row strong {
  display: block;
  font-size: 1.05rem;
}

.info-speed-row span {
  color: #4a4a4a;
  color: var(--text-muted);
  font-weight: 600;
}

.info-helper {
  margin: 0.9rem 0 0;
  color: #4a4a4a;
  color: var(--text-muted);
  font-weight: 600;
}

.info-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 1.5rem 0;
}

.info-visual {
  display: flex;
}

.info-hero-visual {
  position: relative;
}

.info-visual-card {
  background: linear-gradient(145deg, #ffffff, #fff7da);
  border-radius: 28px;
  padding: 1.75rem;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border: 1px solid var(--border-soft);
  box-shadow: 0 25px 65px rgba(17, 17, 17, 0.12);
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.info-visual-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.info-visual img {
  width: 100%;
  max-width: 320px;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 18px 35px rgba(0, 0, 0, 0.25));
}

.info-hero.theme-cash .info-hero-card {
  background: linear-gradient(135deg, #fffdf5, #fff7da);
  border: 1px solid rgba(247, 189, 32, 0.35);
}

.info-hero.theme-cash .info-visual-card {
  background: linear-gradient(145deg, #ffffff, #fff7da);
  border-color: rgba(17, 17, 17, 0.08);
  border-color: var(--border-soft);
}

.info-hero.theme-cash .info-speed-row div {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(247, 189, 32, 0.35);
}

.info-visual-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  grid-gap: 0.75rem;
  gap: 0.75rem;
  width: 100%;
}

.info-visual-stats div {
  background: #ffffff;
  background: var(--surface);
  border: 1px solid rgba(17, 17, 17, 0.08);
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  padding: 0.9rem 1rem;
  text-align: center;
  color: #111111;
  color: var(--secondary);
  box-shadow: 0 25px 65px rgba(17, 17, 17, 0.12);
  box-shadow: var(--shadow-soft);
}

.info-visual-stats strong {
  display: block;
  color: #111111;
  color: var(--secondary);
  font-size: 1.4rem;
}

.info-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  grid-gap: 1rem;
  gap: 1rem;
  background: linear-gradient(135deg, #f7f9ff, #fff7ef);
  border-radius: 24px;
  padding: 1.5rem;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border: 1px solid var(--border-soft);
  box-shadow: 0 25px 65px rgba(17, 17, 17, 0.12);
  box-shadow: var(--shadow-soft);
}

.info-stats div {
  text-align: center;
}

.info-stats strong {
  display: block;
  font-size: 1.6rem;
  color: #0b0b0b;
  color: var(--text-strong);
}

.info-section {
  margin: 2.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.info-actions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  grid-gap: 1rem;
  gap: 1rem;
}

.info-action-card {
  background: linear-gradient(135deg, #ffffff, #f7f9ff);
  border: 1px solid rgba(17, 17, 17, 0.08);
  border: 1px solid var(--border-soft);
  border-radius: 18px;
  padding: 1.1rem;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-gap: 0.75rem;
  gap: 0.75rem;
  align-items: start;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
}

.info-action-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: #fffdf5;
  background: var(--surface-soft);
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border: 1px solid var(--border-soft);
}

.info-value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  grid-gap: 1rem;
  gap: 1rem;
}

.info-value-card {
  background: #fff;
  border-radius: 22px;
  padding: 1.5rem;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border: 1px solid var(--border-soft);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.info-value-index {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: #111111;
  color: var(--secondary);
  font-weight: 800;
}

.info-value-card h3 {
  margin: 0;
}

.info-value-card p {
  margin: 0;
  color: #4a4a4a;
  color: var(--text-muted);
}

.info-step-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  grid-gap: 1rem;
  gap: 1rem;
}

.info-step {
  background: linear-gradient(180deg, #ffffff 0%, #f6fbff 100%);
  border-radius: 20px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border: 1px solid var(--border-soft);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
  padding: 1.3rem 1.4rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.info-step-number {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #000000;
  background: var(--primary);
  color: #111111;
  color: var(--secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  box-shadow: 0 10px 20px rgba(247, 189, 32, 0.35);
}

.info-step h3 {
  margin: 0 0 0.35rem;
}

.info-step p {
  margin: 0;
  color: #4a4a4a;
  color: var(--text-muted);
}

.info-guardrail {
  background: linear-gradient(135deg, #ffffff, #fff7da);
  color: #111111;
  color: var(--secondary);
  border-radius: 26px;
  padding: 1.75rem;
  display: grid;
  grid-gap: 1rem;
  gap: 1rem;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border: 1px solid var(--border-soft);
  box-shadow: 0 25px 65px rgba(17, 17, 17, 0.12);
  box-shadow: var(--shadow-soft);
}

.info-guardrail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  grid-gap: 1rem;
  gap: 1rem;
}

.info-guardrail-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.85rem 1rem;
  background: rgba(0, 0, 0, 0.03);
  border-radius: 16px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border: 1px solid var(--border-soft);
}

.info-bullet-dot {
  width: 12px;
  height: 12px;
  background: linear-gradient(135deg, #000000, #000000);
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 50%;
  display: inline-flex;
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.info-guardrail-item strong {
  display: block;
  margin-bottom: 0.25rem;
}

.info-guardrail-item p {
  margin: 0;
  color: #4a4a4a;
  color: var(--text-muted);
}

.info-faq .faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  grid-gap: 1rem;
  gap: 1rem;
}

.faq-grid details {
  background: #fff;
  border-radius: 18px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border: 1px solid var(--border-soft);
  padding: 1rem 1.15rem;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
}

.faq-grid summary {
  cursor: pointer;
  font-weight: 700;
}

.faq-grid p {
  margin: 0.6rem 0 0;
  color: #4a4a4a;
  color: var(--text-muted);
}

.site-footer {
  margin-top: 0;
  /* Remove gap above footer */
  background: linear-gradient(to right, #FFF9E6 0%, #FFE082 35%, #D4A017 100%);
  color: #0b0b0b;
  color: var(--text-strong, #0b0b0b);
  padding: clamp(3rem, 8vw, 4.5rem) clamp(1.5rem, 8vw, 5rem);
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(135deg,
      #f7bd20 0%,
      #f5a623 25%,
      #f39c21 50%,
      #f18e1f 75%,
      #e8a91a 100%);
  background: var(--gradient-primary);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: clamp(1.5rem, 3vw, 2.75rem);
  align-items: stretch;
  position: relative;
  z-index: 1;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.25rem, 2.5vw, 3rem);
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(17, 17, 17, 0.12);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-brand .brand {
  font-size: 1.35rem;
}

.footer-brand img {
  height: 100px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  transform: scale(1.1);
  transform-origin: left center;
}

.footer-brand p {
  margin: 0;
  color: #4a4a4a;
  color: var(--text-muted, #4a4a4a);
  line-height: 1.6;
}

.footer-brand,
.footer-links,
.footer-visit {
  flex: 1 1 240px;
}

.footer-social {
  display: flex;
  gap: 0.6rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(247, 189, 32, 0.1);
  border: 1px solid rgba(247, 189, 32, 0.3);
  transition: transform 0.2s ease, background 0.2s ease;
  text-decoration: none;
  font-size: 1.1rem;
}

.footer-social img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.footer-social a:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg,
      #f7bd20 0%,
      #f5a623 25%,
      #f39c21 50%,
      #f18e1f 75%,
      #e8a91a 100%);
  background: var(--gradient-primary);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  grid-gap: 1rem 1.5rem;
  gap: 1rem 1.5rem;
}

.footer-links-column {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links-title {
  margin: 0;
  letter-spacing: 0.12em;
  font-size: 0.85rem;
  text-transform: uppercase;
  color: #111111;
  color: var(--secondary, #111);
  font-weight: 700;
}

.footer-links-list {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.footer-link {
  font-weight: 500;
  font-size: 0.95rem;
  color: #4a4a4a;
  color: var(--text-muted, #4a4a4a);
  padding: 0.2rem 0;
  transition: color 0.2s ease;
  text-decoration: none;
}

.footer-link:hover,
.footer-link.active {
  color: #000000;
  color: var(--primary-dark, #e8a91a);
}

.footer-map {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(247, 189, 32, 0.2);
  min-height: 320px;
  height: clamp(280px, 35vw, 360px);
  width: 100%;
}

.footer-visit {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-visit h3 {
  margin: 0;
  font-size: 1.6rem;
  color: #111111;
  color: var(--secondary, #111);
}

.footer-visit p {
  margin: 0;
  color: #4a4a4a;
  color: var(--text-muted, #4a4a4a);
}

.footer-address-secondary {
  margin-top: 1.25rem !important;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(247, 189, 32, 0.2);
}

.footer-map iframe {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
  display: block;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-weight: 600;
  color: #111111;
  color: var(--secondary, #111);
}

.footer-cta {
  margin-top: 0.75rem;
  align-self: flex-start;
  padding: 0.65rem 1.6rem;
  border-radius: 999px;
  background: linear-gradient(135deg,
      #f7bd20 0%,
      #f5a623 25%,
      #f39c21 50%,
      #f18e1f 75%,
      #e8a91a 100%);
  background: var(--gradient-primary);
  color: #111111;
  color: var(--secondary, #111);
  font-weight: 700;
  box-shadow: 0 16px 36px rgba(247, 189, 32, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
}

.footer-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 44px rgba(247, 189, 32, 0.45);
}

.footer-bottom {
  margin-top: clamp(2rem, 5vw, 2.75rem);
  padding-top: 1.5rem;
  border-top: 1px solid rgba(17, 17, 17, 0.1);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: #4a4a4a;
  color: var(--text-muted, #4a4a4a);
  position: relative;
  z-index: 1;
}

.footer-bottom-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-bottom-links a {
  color: #4a4a4a;
  color: var(--text-muted, #4a4a4a);
  font-size: 0.9rem;
  transition: color 0.2s ease;
  text-decoration: none;
}

.footer-bottom-links a:hover {
  color: #000000;
  color: var(--primary-dark, #e8a91a);
}

/* Responsive */
@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
  }

  .footer-brand,
  .footer-links,
  .footer-visit {
    flex: 1 1 100%;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}


.solutions-page {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding-top: 2.5rem;
}

.solutions-hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  grid-gap: 1.5rem;
  gap: 1.5rem;
  align-items: center;
  padding: 2.5rem;
  border-radius: 28px;
  background:
    radial-gradient(circle at 10% 10% 0%, rgba(245, 180, 0, 0.22), transparent 45%),
    linear-gradient(135deg, #ffffff, #fff7da);
  color: #111111;
  color: var(--secondary);
  box-shadow: 0 25px 65px rgba(17, 17, 17, 0.12);
  box-shadow: var(--shadow-soft);
}

.solutions-hero__content h1 {
  margin: 0.25rem 0 0.75rem;
  font-size: clamp(2rem, 3vw, 2.8rem);
}

.solutions-hero__content p {
  margin: 0 0 1rem;
  color: #4a4a4a;
  color: var(--text-muted);
  line-height: 1.6;
}

.audience-pills {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin: 1rem 0;
}

.audience-pills button {
  border-radius: 999px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border: 1px solid var(--border-soft);
  background: rgba(0, 0, 0, 0.03);
  color: #111111;
  color: var(--secondary);
  padding: 0.45rem 0.95rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.audience-pills button.selected {
  border-color: rgba(247, 189, 32, 0.6);
  background: linear-gradient(135deg, #000000, #000000);
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #111111;
  color: var(--secondary);
  font-weight: 700;
}

.solution-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  grid-gap: 0.75rem;
  gap: 0.75rem;
  margin-top: 1rem;
}

.solution-metrics div {
  background: #ffffff;
  background: var(--surface);
  border: 1px solid rgba(17, 17, 17, 0.08);
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  padding: 0.85rem 1rem;
  display: grid;
  grid-gap: 0.25rem;
  gap: 0.25rem;
  text-align: left;
}

.solutions-hero__visual {
  position: relative;
  display: grid;
  grid-gap: 0.75rem;
  gap: 0.75rem;
  justify-items: center;
}

.solutions-hero__tile {
  width: 100%;
  max-width: 320px;
  border-radius: 14px;
  padding: 1rem;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border: 1px solid var(--border-soft);
  background: #ffffff;
  background: var(--surface);
  box-shadow: 0 25px 65px rgba(17, 17, 17, 0.12);
  box-shadow: var(--shadow-soft);
}

.solutions-hero__tile strong {
  font-size: 1.8rem;
}

.solutions-section {
  padding: 1rem 0 0;
}

.solution-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  grid-gap: 1rem;
  gap: 1rem;
}

.solution-card {
  background: linear-gradient(135deg, #ffffff, #fff7da);
  color: #111111;
  color: var(--secondary);
  border-radius: 20px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border: 1px solid var(--border-soft);
  padding: 1.25rem;
  box-shadow: 0 25px 65px rgba(17, 17, 17, 0.12);
  box-shadow: var(--shadow-soft);
  display: grid;
  grid-gap: 0.6rem;
  gap: 0.6rem;
}

.solution-card__meta {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  font-size: 0.9rem;
  color: #4a4a4a;
  color: var(--text-muted);
}

.solution-card ul {
  margin: 0.25rem 0 0;
  padding-left: 1rem;
  color: #4a4a4a;
  color: var(--text-muted);
  display: grid;
  grid-gap: 0.25rem;
  gap: 0.25rem;
}

.solution-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.4rem;
  color: #000000;
  color: var(--primary-dark);
}

.industry-grid,
.journey-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  grid-gap: 1rem;
  gap: 1rem;
}

.industry-card,
.journey-grid article {
  background: #fff;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border: 1px solid var(--border-soft);
  border-radius: 18px;
  padding: 1.2rem;
  box-shadow: 0 14px 35px rgba(13, 15, 20, 0.08);
}

.journey-grid article span {
  display: inline-block;
  background: #fffdf5;
  background: var(--surface-soft);
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  font-weight: 700;
}

.journey-grid article ul {
  margin: 0.5rem 0 0;
  padding-left: 1.1rem;
  color: #4a4a4a;
  color: var(--text-muted);
  display: grid;
  grid-gap: 0.25rem;
  gap: 0.25rem;
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  grid-gap: 1rem;
  gap: 1rem;
}

.partner-grid strong {
  display: block;
  margin-bottom: 0.35rem;
}

.partner-grid span {
  display: inline-block;
  margin: 0.15rem 0.35rem 0.15rem 0;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: #fffdf5;
  background: var(--surface-soft);
  border: 1px solid rgba(17, 17, 17, 0.08);
  border: 1px solid var(--border-soft);
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .solutions-hero {
    padding: 1.75rem;
  }

  .solution-card {
    padding: 1rem;
  }
}

.footer-map-col {
  justify-self: end;
  align-self: start;
  max-width: 400px;
  width: 100%;
  display: grid;
  grid-gap: 0.75rem;
  gap: 0.75rem;
}

.footer-links-grid h4 {
  margin: 0 0 0.8rem;
}

.footer-links-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.footer-links-grid a {
  color: #4a4a4a;
  color: var(--text-muted);
  text-decoration: none;
}


@media (max-width: 768px) {
  .hero-block {
    padding: 2rem;
    margin-top: 1.5rem;
  }

  .hero-form-row {
    flex-direction: column;
  }

  .calculator-block {
    grid-template-columns: 1fr;
  }

  .download-card {
    padding: 2.5rem;
  }

  .offerings-block {
    padding: 2rem;
  }

  .apply-content {
    grid-template-columns: 1fr;
  }

  .apply-form {
    padding: 1.75rem;
  }

  .apply-hero {
    padding: 2rem;
  }

  .calculator-body {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    grid-template-columns: 1fr;
  }

  .calculator-hero {
    padding: 2rem;
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .calculator-hero.credit-hero {
    grid-template-columns: 1fr;
    padding: 1.5rem;
    border-radius: 24px;
  }

  .calc-hero-copy {
    order: 1;
  }

  .credit-hero-card {
    width: 100%;
    max-width: 100%;
    order: 2;
    margin: 0;
    box-sizing: border-box;
  }

  .hero-mini-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 0.75rem;
    gap: 0.75rem;
  }

  .credit-score-widget {
    padding: 1.75rem;
  }

  .contact-cta {
    flex-direction: column;
    align-items: flex-start;
  }

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

@media (max-width: 520px) {
  .hero-grid {
    gap: 1.5rem;
  }

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

  .steps-grid article,
  .why-grid article,
  .product-card,
  .offering-card,
  .tool-card,
  .blog-grid article {
    padding: 1.25rem;
  }

  .apply-form .primary-btn {
    width: 100%;
  }

  .calculator-hero,
  .calc-side-card,
  .eligibility-calculator {
    padding: 1.5rem;
  }

  .calculator-hero.credit-hero {
    padding: 1.25rem;
  }

  .credit-hero-card {
    padding: 1.25rem;
  }

  .calc-hero-copy {
    gap: 0.5rem;
  }

  .calc-chip-row {
    gap: 0.5rem;
    flex-wrap: wrap;
  }

  .calc-chip {
    flex-grow: 1;
    flex-shrink: 1;
    flex-basis: calc(50% - 0.5rem);
    min-width: calc(50% - 0.5rem);
  }

  .credit-form {
    grid-template-columns: 1fr;
  }

  .contact-buttons {
    width: 100%;
    flex-direction: column;
  }

  .contact-buttons .primary-btn,
  .contact-buttons .ghost-btn {
    width: 100%;
    justify-content: center;
  }
}

.about-hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  grid-gap: 2rem;
  gap: 2rem;
  padding: 3rem;
  border-radius: 36px;
  background: linear-gradient(120deg, #e9ffff, #fff2e1, #fef0f4);
  align-items: center;
}

.about-hero-illustration {
  justify-self: center;
}

.hero-stat-grid {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  grid-gap: 1rem;
  gap: 1rem;
}

.hero-stat-grid li {
  background: #fff;
  border-radius: 24px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border: 1px solid var(--border-soft);
  padding: 1.25rem;
}

.hero-stat-grid strong {
  display: block;
  font-size: 1.4rem;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  grid-gap: 1rem;
  gap: 1rem;
  margin-top: 1.25rem;
}

.pillar-card {
  background: #fff;
  border-radius: 20px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border: 1px solid var(--border-soft);
  padding: 1.1rem;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
}

.pillar-card h3 {
  margin: 0 0 0.35rem;
}

.pillar-card p {
  margin: 0;
  color: #4a4a4a;
  color: var(--text-muted);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  grid-gap: 1.5rem;
  gap: 1.5rem;
}

.insight-card {
  background: #fffdf5;
  background: var(--surface-soft);
  border-radius: 28px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border: 1px solid var(--border-soft);
  padding: 1.75rem;
}

.insight-card ul {
  padding-left: 1.2rem;
  color: #4a4a4a;
  color: var(--text-muted);
}

.mission-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  grid-gap: 1.5rem;
  gap: 1.5rem;
}

.mission-card {
  background: #fff;
  border-radius: 28px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border: 1px solid var(--border-soft);
  padding: 1.75rem;
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  grid-gap: 1rem;
  gap: 1rem;
  margin: 1rem 0 2rem;
}

.impact-grid article {
  background: linear-gradient(135deg, #f7f9ff, #fff7ef);
  border: 1px solid rgba(17, 17, 17, 0.08);
  border: 1px solid var(--border-soft);
  border-radius: 18px;
  padding: 1rem;
  text-align: center;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
}

.impact-grid strong {
  display: block;
  font-size: 1.4rem;
}

.leadership-grid {
  background: #fff;
  border-radius: 28px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border: 1px solid var(--border-soft);
  padding: 1.5rem;
  display: grid;
  grid-gap: 1rem;
  gap: 1rem;
  box-shadow: 0 25px 65px rgba(17, 17, 17, 0.12);
  box-shadow: var(--shadow-soft);
}

.leadership-head h2 {
  margin: 0.3rem 0 0.2rem;
}

.leader-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  grid-gap: 0.9rem;
  gap: 0.9rem;
}

.leader-card {
  background: #fffdf5;
  background: var(--surface-soft);
  border-radius: 18px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border: 1px solid var(--border-soft);
  padding: 1rem;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-gap: 0.8rem;
  gap: 0.8rem;
  align-items: center;
}

.leader-avatar {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, #000000, #000000);
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #111111;
  color: var(--secondary);
  display: grid;
  place-items: center;
  font-weight: 800;
}

.leader-card h3 {
  margin: 0;
}

.leader-card p {
  margin: 0;
  font-weight: 700;
}

.leader-card span {
  color: #4a4a4a;
  color: var(--text-muted);
}

.quiz-page {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding-top: 3rem;
}

.quiz-hero {
  background:
    radial-gradient(circle at 0% 0% 0%, rgba(247, 189, 32, 0.18), transparent 50%),
    radial-gradient(circle at 90% 10% 0%, rgba(232, 169, 26, 0.16), transparent 50%),
    linear-gradient(120deg, #ffffff, #fff8e0);
  color: #111111;
  color: var(--secondary);
  border-radius: 32px;
  padding: 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  grid-gap: 1.5rem;
  gap: 1.5rem;
  align-items: start;
  box-shadow: 0 25px 65px rgba(17, 17, 17, 0.12);
  box-shadow: var(--shadow-soft);
}

.quiz-hero__copy {
  display: grid;
  grid-gap: 0.75rem;
  gap: 0.75rem;
}

.quiz-hero__copy p {
  margin: 0;
  color: #4a4a4a;
  color: var(--text-muted);
  line-height: 1.6;
}

.quiz-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.quiz-badges span {
  background: #ffffff;
  background: var(--surface);
  border: 1px solid rgba(17, 17, 17, 0.08);
  border: 1px solid var(--border-soft);
  padding: 0.55rem 0.85rem;
  border-radius: 14px;
  display: inline-flex;
  flex-direction: column;
  gap: 0.1rem;
}

.quiz-hero__card {
  background: #ffffff;
  background: var(--surface);
  border: 1px solid rgba(17, 17, 17, 0.08);
  border: 1px solid var(--border-soft);
  border-radius: 20px;
  padding: 1.25rem;
  display: grid;
  grid-gap: 0.75rem;
  gap: 0.75rem;
  box-shadow: 0 25px 65px rgba(17, 17, 17, 0.12);
  box-shadow: var(--shadow-soft);
}

.quiz-stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  grid-gap: 0.6rem;
  gap: 0.6rem;
}

.quiz-stats-row div {
  background: #ffffff;
  background: var(--surface);
  border-radius: 12px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border: 1px solid var(--border-soft);
  padding: 0.65rem 0.8rem;
  text-align: center;
}

.quiz-note {
  margin: 0;
  color: #4a4a4a;
  color: var(--text-muted);
}

.quiz-body {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  grid-gap: 1.25rem;
  gap: 1.25rem;
}

.quiz-card {
  background: #fff;
  border-radius: 24px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border: 1px solid var(--border-soft);
  padding: 1.5rem;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.1);
  display: grid;
  grid-gap: 1rem;
  gap: 1rem;
}

.quiz-questions {
  display: grid;
  grid-gap: 1rem;
  gap: 1rem;
}

.quiz-question {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-gap: 0.8rem;
  gap: 0.8rem;
  align-items: start;
}

.quiz-question__index {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: #000000;
  background: var(--primary);
  color: #111111;
  color: var(--secondary);
  display: grid;
  place-items: center;
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(247, 189, 32, 0.35);
}

.quiz-options {
  display: grid;
  grid-gap: 0.55rem;
  gap: 0.55rem;
}

.quiz-option {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-gap: 0.55rem;
  gap: 0.55rem;
  align-items: center;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  padding: 0.65rem 0.8rem;
  background: #fffdf5;
  background: var(--surface-soft);
}

.quiz-option.selected {
  border-color: #111111;
  border-color: var(--secondary);
  background: #eef6ff;
}

.quiz-option input {
  accent-color: #111111;
  accent-color: var(--secondary);
}

.quiz-aside {
  display: grid;
  grid-gap: 0.9rem;
  gap: 0.9rem;
}

.quiz-tip-card {
  background: #fff;
  border-radius: 18px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border: 1px solid var(--border-soft);
  padding: 1.1rem;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
}

.quiz-tip-card ul {
  margin: 0.5rem 0 0;
  padding-left: 1.1rem;
  color: #4a4a4a;
  color: var(--text-muted);
  display: grid;
  grid-gap: 0.35rem;
  gap: 0.35rem;
}

.reach-section .office-card {
  background: #fff;
  border-radius: 24px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border: 1px solid var(--border-soft);
  padding: 1.5rem;
}

.partner-showcase {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  grid-gap: 1.5rem;
  gap: 1.5rem;
  align-items: stretch;
  background: #fff;
  border-radius: 32px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border: 1px solid var(--border-soft);
  padding: 2rem;
}

.ally-hero {
  background: linear-gradient(135deg, rgba(233, 255, 255, 0.7), rgba(255, 242, 225, 0.7));
  border-radius: 28px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border: 1px solid var(--border-soft);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.ally-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.ally-list li {
  background: #fffdf5;
  background: var(--surface-soft);
  border-radius: 20px;
  padding: 1rem;
  flex: 1 1;
  min-width: 140px;
  text-align: center;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.ally-carousel {
  border-radius: 24px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border: 1px solid var(--border-soft);
  padding: 1rem;
  background: #fefefe;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
}

.carousel {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(260px, 1.4fr);
  grid-gap: 1.25rem;
  gap: 1.25rem;
  align-items: stretch;
}

.carousel-visual {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
}

.carousel-slide {
  border-radius: 24px;
  height: 100%;
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #111111;
  color: var(--secondary);
  font-weight: 700;
  font-size: 1.6rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: inset 0 0 60px rgba(0, 0, 0, 0.25);
  animation: pulseBackground 6s ease-in-out infinite;
}

.about-cta {
  background: linear-gradient(135deg, #ffffff, #fff7da);
  color: #111111;
  color: var(--secondary);
  border-radius: 28px;
  padding: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 25px 65px rgba(17, 17, 17, 0.12);
  box-shadow: var(--shadow-soft);
}

.about-cta p {
  margin: 0.25rem 0;
  color: #4a4a4a;
  color: var(--text-muted);
}

.about-cta-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

@keyframes pulseBackground {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.02);
  }

  100% {
    transform: scale(1);
  }
}

.carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.85);
  color: #0b0b0b;
  color: var(--text-strong);
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.2);
  transition: transform 0.2s ease;
}

.carousel-control:hover {
  transform: translateY(-50%) scale(1.05);
}

.carousel-control.prev {
  left: 1rem;
}

.carousel-control.next {
  right: 1rem;
}

.carousel-content {
  background: #fff;
  border-radius: 24px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border: 1px solid var(--border-soft);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.carousel-content ul {
  margin: 0;
  padding-left: 1.2rem;
  color: #4a4a4a;
  color: var(--text-muted);
}

.carousel-dots {
  grid-column: 1 / -1;
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 0.5rem;
}

.carousel-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(15, 23, 42, 0.2);
}

.carousel-dots button.active {
  background: #111111;
  background: var(--secondary);
}

.value-blocks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  grid-gap: 1.25rem;
  gap: 1.25rem;
}

.value-blocks article {
  background: #fff;
  border-radius: 24px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border: 1px solid var(--border-soft);
  padding: 1.5rem;
  position: relative;
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.08);
}

.value-blocks article .eyebrow {
  margin-bottom: 0.35rem;
}

.testimonial-showcase {
  background: #fff;
  border-radius: 32px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border: 1px solid var(--border-soft);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.testimonial-header {
  max-width: 720px;
}

.testimonial-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  grid-gap: 1.25rem;
  gap: 1.25rem;
}

.testimonial-cards article {
  background: #fffdf5;
  background: var(--surface-soft);
  border-radius: 24px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border: 1px solid var(--border-soft);
  padding: 1.25rem;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.inclusion-section {
  background: linear-gradient(135deg, #fef6ee, #e9ffff);
  border-radius: 32px;
  padding: 2.5rem;
  display: grid;
  grid-gap: 2rem;
  gap: 2rem;
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  grid-gap: 1rem;
  gap: 1rem;
}

.impact-grid .impact-card {
  padding: 1.5rem;
  border-radius: 24px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: #fff;
  text-align: center;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.governance-section {
  background: #fff;
  border-radius: 32px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border: 1px solid var(--border-soft);
  padding: 2.5rem;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
}

.governance-section .journey-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  grid-gap: 1.5rem;
  gap: 1.5rem;
}

.governance-section .journey-grid article {
  padding: 1.5rem;
  border-radius: 24px;
  background: #fffdf5;
  background: var(--surface-soft);
  border: 1px solid rgba(17, 17, 17, 0.08);
  border: 1px solid var(--border-soft);
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  grid-gap: 1.5rem;
  gap: 1.5rem;
}

.insight-card {
  background: #fff;
  border-radius: 28px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border: 1px solid var(--border-soft);
  padding: 1.75rem;
  box-shadow: 0 10px 32px rgba(15, 23, 42, 0.06);
}

.mission-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  grid-gap: 1.5rem;
  gap: 1.5rem;
}

.mission-card {
  background: #fff;
  border-radius: 28px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border: 1px solid var(--border-soft);
  padding: 1.75rem;
}

.reach-section {
  background: #fff;
  border-radius: 32px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border: 1px solid var(--border-soft);
  padding: 2.5rem;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
}

.office-card {
  background: #fffdf5;
  background: var(--surface-soft);
  border-radius: 24px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border: 1px solid var(--border-soft);
  padding: 1.5rem;
}

/* ===== Personal Loan Page Styles ===== */
.personal-loan-page {
  padding-top: 0;
  background: #fff;
}

/* Hero Section */
.personal-loan-hero {
  background: linear-gradient(135deg, #fffef9 0%, #fff7e6 50%, #ffffff 100%);
  padding: 5rem 0 6rem;
  position: relative;
  overflow: hidden;
  margin-top: 80px;
}

.personal-loan-hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -15%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(247, 189, 32, 0.12) 0%, transparent 60%);
  border-radius: 50%;
  animation: float 20s ease-in-out infinite;
}

@keyframes float {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(-20px, 20px) scale(1.05);
  }
}

.hero-content-wrapper {
  width: min(1240px, 94vw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  grid-gap: 5rem;
  gap: 5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-block;
  padding: 0.6rem 1.5rem;
  background: linear-gradient(135deg, #f7bd20, #ffed4e);
  color: #111111;
  color: var(--secondary);
  font-weight: 800;
  font-size: 0.85rem;
  border-radius: 999px;
  margin-bottom: 1.75rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  box-shadow: 0 4px 15px rgba(247, 189, 32, 0.3);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.02);
  }
}

.hero-text h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.15;
  margin: 0 0 1.5rem;
  color: #111111;
  color: var(--secondary);
  font-weight: 800;
  letter-spacing: -0.5px;
}

.hero-description {
  font-size: 1.15rem;
  line-height: 1.8;
  color: #555;
  margin-bottom: 2.5rem;
  max-width: 600px;
}

.hero-features {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.feature-pill {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.75rem 1.5rem;
  background: #fff;
  border: 2px solid rgba(247, 189, 32, 0.25);
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  color: #111111;
  color: var(--secondary);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
}

.feature-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(247, 189, 32, 0.2);
  border-color: #000000;
  border-color: var(--primary);
}

.feature-pill .icon {
  font-size: 1.3rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.loan-highlight-card {
  background: linear-gradient(135deg, #fff 0%, #fffdf5 100%);
  padding: 3rem 2.5rem;
  border-radius: 28px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.12);
  border: 2px solid rgba(247, 189, 32, 0.15);
  position: relative;
  overflow: hidden;
}

.loan-highlight-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(135deg,
      #f7bd20 0%,
      #f5a623 25%,
      #f39c21 50%,
      #f18e1f 75%,
      #e8a91a 100%);
  background: var(--gradient-primary);
}

.highlight-amount {
  font-size: 3.5rem;
  font-weight: 900;
  background: linear-gradient(135deg, #f7bd20, #ffa500);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
  line-height: 1;
}

.highlight-label {
  color: #666;
  font-size: 1.05rem;
  margin-bottom: 2.5rem;
  font-weight: 600;
}

.highlight-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 2rem;
  gap: 2rem;
  padding-top: 2rem;
  border-top: 2px solid rgba(247, 189, 32, 0.2);
}

.stat-item {
  text-align: center;
  padding: 1rem;
  background: rgba(247, 189, 32, 0.05);
  border-radius: 12px;
}

.stat-item strong {
  display: block;
  font-size: 1.75rem;
  color: #111111;
  color: var(--secondary);
  margin-bottom: 0.35rem;
  font-weight: 800;
}

.stat-item span {
  color: #666;
  font-size: 0.9rem;
  font-weight: 600;
}

/* Section Block Base */
.section-block {
  padding: 5rem 0;
}

.section-heading {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3.5rem;
}

.section-heading h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  color: #111111;
  color: var(--secondary);
  margin: 0 0 1rem;
  line-height: 1.2;
}

.section-heading p {
  font-size: 1.1rem;
  color: #666;
  line-height: 1.7;
  margin: 0;
}

/* Eligibility Section */
.eligibility-section {
  background: linear-gradient(to bottom, #fff 0%, #fffef9 100%);
}

.eligibility-grid {
  width: min(1240px, 94vw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  grid-gap: 1.75rem;
  gap: 1.75rem;
}

.eligibility-card {
  padding: 2rem 1.75rem;
  background: #fff;
  border-radius: 20px;
  border: 2px solid rgba(247, 189, 32, 0.15);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.eligibility-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(135deg,
      #f7bd20 0%,
      #f5a623 25%,
      #f39c21 50%,
      #f18e1f 75%,
      #e8a91a 100%);
  background: var(--gradient-primary);
  border-radius: 20px 20px 0 0;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.eligibility-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(247, 189, 32, 0.15);
  border-color: #000000;
  border-color: var(--primary);
}

.eligibility-card:hover::before {
  opacity: 1;
}

.eligibility-label {
  font-size: 0.8rem;
  font-weight: 800;
  color: #000000;
  color: var(--primary-dark);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

.eligibility-value {
  font-size: 1.15rem;
  font-weight: 700;
  color: #111111;
  color: var(--secondary);
  line-height: 1.6;
}

/* Documents Section */
.documents-section {
  background: linear-gradient(135deg, #fffef9 0%, #fff7e6 100%);
}

.documents-grid {
  width: min(1240px, 94vw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  grid-gap: 2rem;
  gap: 2rem;
}

.document-card {
  padding: 2.25rem 2rem;
  background: #fff;
  border-radius: 20px;
  border: 2px solid rgba(17, 17, 17, 0.06);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}

.document-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
  border-color: rgba(247, 189, 32, 0.3);
}

.document-icon {
  font-size: 2.75rem;
  margin-bottom: 1.25rem;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.document-card h3 {
  font-size: 1.15rem;
  margin: 0 0 1.25rem;
  color: #111111;
  color: var(--secondary);
  font-weight: 800;
}

.document-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.document-card li {
  padding: 0.65rem 0;
  color: #555;
  font-size: 0.95rem;
  line-height: 1.5;
  border-bottom: 1px solid rgba(17, 17, 17, 0.06);
  font-weight: 500;
}

.document-card li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.document-card li::before {
  content: '✓';
  color: #000000;
  color: var(--primary-dark);
  font-weight: bold;
  margin-right: 0.75rem;
}

/* Fees Section */
.fees-section {
  background: #fff;
}

.fees-table-wrapper {
  width: min(1240px, 94vw);
  margin: 0 auto;
  overflow-x: auto;
  border-radius: 20px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
  border: 2px solid rgba(247, 189, 32, 0.15);
}

.fees-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

.fees-table thead {
  background: linear-gradient(135deg, #f7bd20, #ffed4e);
}

.fees-table th {
  padding: 1.5rem 1.75rem;
  text-align: left;
  font-weight: 800;
  color: #111111;
  color: var(--secondary);
  font-size: 1rem;
  letter-spacing: 0.3px;
}

.fees-table td {
  padding: 1.5rem 1.75rem;
  border-bottom: 1px solid rgba(17, 17, 17, 0.06);
}

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

.fee-type {
  font-weight: 700;
  color: #111111;
  color: var(--secondary);
  width: 35%;
  font-size: 0.95rem;
}

.fee-charge {
  color: #555;
  line-height: 1.7;
  font-size: 0.95rem;
}

.fees-table tbody tr {
  transition: background 0.2s ease;
}

.fees-table tbody tr:hover {
  background: rgba(247, 189, 32, 0.04);
}

/* Apply Steps Section */
.apply-steps-section {
  background: linear-gradient(to bottom, #fffef9 0%, #fff 100%);
}

.steps-timeline {
  width: min(1240px, 94vw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  grid-gap: 2.5rem;
  gap: 2.5rem;
}

.step-card {
  padding: 2.5rem 2rem;
  background: #fff;
  border-radius: 20px;
  border: 2px solid rgba(247, 189, 32, 0.15);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  position: relative;
  transition: all 0.3s ease;
}

.step-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(247, 189, 32, 0.2);
}

.step-number {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #f7bd20, #ffed4e);
  color: #111111;
  color: var(--secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 6px 20px rgba(247, 189, 32, 0.3);
}

.step-card h3 {
  margin: 0 0 1rem;
  font-size: 1.35rem;
  color: #111111;
  color: var(--secondary);
  font-weight: 800;
}

.step-card p {
  margin: 0;
  color: #555;
  line-height: 1.7;
  font-size: 1rem;
}

/* CTA Section */
.personal-loan-cta {
  background: linear-gradient(135deg, #fffef9 0%, #fff7e6 50%, #ffffff 100%);
  text-align: center;
  padding: 5rem 2rem;
  position: relative;
  overflow: hidden;
}

.personal-loan-cta::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(247, 189, 32, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.cta-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.cta-content h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 0 0 1rem;
  font-weight: 800;
  color: #f7bd20;
}

.cta-content p {
  font-size: 1.2rem;
  color: #f7bd20;
  margin: 0 0 2.5rem;
  line-height: 1.7;
}

.cta-buttons {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* Button size variants */
.primary-btn.large,
.ghost-btn.large {
  padding: 1.1rem 2.5rem;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 999px;
  box-shadow: 0 6px 24px rgba(247, 189, 32, 0.25);
  transition: all 0.3s ease;
}

.primary-btn.large:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(247, 189, 32, 0.35);
}

.ghost-btn.large:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-content-wrapper {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .loan-highlight-card {
    max-width: 450px;
    margin: 0 auto;
  }

  .section-block {
    padding: 4rem 0;
  }
}

@media (max-width: 768px) {
  .personal-loan-hero {
    padding: 3rem 0 4rem;
  }

  .hero-text h1 {
    font-size: 2.25rem;
  }

  .hero-description {
    font-size: 1.05rem;
  }

  .eligibility-grid,
  .documents-grid,
  .steps-timeline {
    grid-template-columns: 1fr;
  }

  .fees-table-wrapper {
    font-size: 0.9rem;
    border-radius: 12px;
  }

  .fees-table th,
  .fees-table td {
    padding: 1rem;
  }

  .hero-actions,
  .cta-buttons {
    flex-direction: column;
  }

  .hero-actions .primary-btn,
  .hero-actions .ghost-btn,
  .cta-buttons .primary-btn,
  .cta-buttons .ghost-btn {
    width: 100%;
  }

  .section-heading h2 {
    font-size: 1.75rem;
  }

  .section-block {
    padding: 3.5rem 0;
  }
}

*/ .personal-loan-page {
  padding-top: 0;
}

/* Hero Section */
.personal-loan-hero {
  background: linear-gradient(135deg, #fff6d6, #fffbea, #ffffff);
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}

.personal-loan-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(247, 189, 32, 0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-content-wrapper {
  width: min(1240px, 94vw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  grid-gap: 4rem;
  gap: 4rem;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  background: linear-gradient(135deg,
      #f7bd20 0%,
      #f5a623 25%,
      #f39c21 50%,
      #f18e1f 75%,
      #e8a91a 100%);
  background: var(--gradient-primary);
  color: #111111;
  color: var(--secondary);
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 999px;
  margin-bottom: 1.5rem;
}

.hero-text h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  line-height: 1.1;
  margin: 0 0 1.5rem;
  color: #111111;
  color: var(--secondary);
}

.hero-description {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #4a4a4a;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.hero-features {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.feature-pill {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  background: rgba(247, 189, 32, 0.1);
  border: 1px solid rgba(247, 189, 32, 0.3);
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
}

.feature-pill .icon {
  font-size: 1.2rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.loan-highlight-card {
  background: #fff;
  padding: 2.5rem;
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(247, 189, 32, 0.2);
}

.highlight-amount {
  font-size: 3rem;
  font-weight: 800;
  color: #000000;
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
}

.highlight-label {
  color: #4a4a4a;
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 2rem;
}

.highlight-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 1.5rem;
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(17, 17, 17, 0.1);
}

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

.stat-item strong {
  display: block;
  font-size: 1.5rem;
  color: #111111;
  color: var(--secondary);
  margin-bottom: 0.25rem;
}

.stat-item span {
  color: #4a4a4a;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* Eligibility Section */
.eligibility-section {
  background: #fff;
}

.eligibility-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  grid-gap: 1.5rem;
  gap: 1.5rem;
}

.eligibility-card {
  padding: 1.75rem;
  background: linear-gradient(135deg, #ffffff, #fff7da);
  border-radius: 16px;
  border: 1px solid rgba(247, 189, 32, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.eligibility-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.eligibility-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: #000000;
  color: var(--primary-dark);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.eligibility-value {
  font-size: 1.1rem;
  font-weight: 600;
  color: #111111;
  color: var(--secondary);
  line-height: 1.5;
}

/* Documents Section */
.documents-section {
  background: linear-gradient(135deg, #fffdf5, #fff7da);
}

.documents-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  grid-gap: 1.5rem;
  gap: 1.5rem;
}

.document-card {
  padding: 2rem;
  background: #fff;
  border-radius: 16px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.document-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.document-card h3 {
  font-size: 1.1rem;
  margin: 0 0 1rem;
  color: #111111;
  color: var(--secondary);
}

.document-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.document-card li {
  padding: 0.5rem 0;
  color: #4a4a4a;
  color: var(--text-muted);
  font-size: 0.95rem;
  border-bottom: 1px solid rgba(17, 17, 17, 0.05);
}

.document-card li:last-child {
  border-bottom: none;
}

/* Fees Section */
.fees-section {
  background: #fff;
}

.fees-table-wrapper {
  overflow-x: auto;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.fees-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

.fees-table thead {
  background: linear-gradient(135deg,
      #f7bd20 0%,
      #f5a623 25%,
      #f39c21 50%,
      #f18e1f 75%,
      #e8a91a 100%);
  background: var(--gradient-primary);
}

.fees-table th {
  padding: 1.25rem;
  text-align: left;
  font-weight: 700;
  color: #111111;
  color: var(--secondary);
  font-size: 1rem;
}

.fees-table td {
  padding: 1.25rem;
  border-bottom: 1px solid rgba(17, 17, 17, 0.05);
}

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

.fee-type {
  font-weight: 600;
  color: #111111;
  color: var(--secondary);
  width: 30%;
}

.fee-charge {
  color: #4a4a4a;
  color: var(--text-muted);
  line-height: 1.6;
}

.fees-table tbody tr:hover {
  background: rgba(247, 189, 32, 0.05);
}

/* Apply Steps Section */
.apply-steps-section {
  background: linear-gradient(135deg, #fff6d6, #fffbea);
}

.steps-timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  grid-gap: 2rem;
  gap: 2rem;
}

.step-card {
  padding: 2rem;
  background: #fff;
  border-radius: 16px;
  border: 1px solid rgba(247, 189, 32, 0.2);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  position: relative;
}

.step-number {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg,
      #f7bd20 0%,
      #f5a623 25%,
      #f39c21 50%,
      #f18e1f 75%,
      #e8a91a 100%);
  background: var(--gradient-primary);
  color: #111111;
  color: var(--secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.25rem;
  margin-bottom: 1.25rem;
}

.step-card h3 {
  margin: 0 0 0.75rem;
  font-size: 1.25rem;
  color: #111111;
  color: var(--secondary);
}

.step-card p {
  margin: 0;
  color: #4a4a4a;
  color: var(--text-muted);
  line-height: 1.6;
}

/* CTA Section */
.personal-loan-cta {
  background: linear-gradient(135deg, #ffffff, #fff7da);
  text-align: center;
  padding: 4rem 2rem;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-content-wrapper {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .loan-highlight-card {
    max-width: 400px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .personal-loan-hero {
    padding: 3rem 0;
  }

  .hero-text h1 {
    font-size: 2rem;
  }

  .eligibility-grid,
  .documents-grid,
  .steps-timeline {
    grid-template-columns: 1fr;
  }

  .fees-table-wrapper {
    font-size: 0.9rem;
  }

  .fees-table th,
  .fees-table td {
    padding: 0.875rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .primary-btn,
  .hero-actions .ghost-btn {
    width: 100%;
  }
}

/* Button size variants */
.primary-btn.large,
.ghost-btn.large {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.cta-content {
  max-width: 800px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: 2.5rem;
  margin: 0 0 1rem;
}

.cta-content p {
  font-size: 1.1rem;
  color: #f7bd20;
  margin: 0 0 2rem;
}

/* Additional Visual Enhancements for Personal Loan Page */
.card-icon {
  font-size: 4rem;
  text-align: center;
  margin-bottom: 1.5rem;
  filter: drop-shadow(0 4px 8px rgba(247, 189, 32, 0.3));
  animation: float-icon 3s ease-in-out infinite;
}

@keyframes float-icon {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

.stat-icon {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.trust-badges {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 2px solid rgba(247, 189, 32, 0.2);
}

.badge-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: #111111;
  color: var(--secondary);
}

.badge-icon {
  font-size: 1.2rem;
}

.section-icon {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  filter: drop-shadow(0 4px 8px rgba(247, 189, 32, 0.2));
}

.card-number {
  position: absolute;
  top: -15px;
  right: 20px;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #f7bd20, #ffed4e);
  color: #111111;
  color: var(--secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.1rem;
  box-shadow: 0 4px 12px rgba(247, 189, 32, 0.4);
}

/* Improve fees table visual */
.fees-table thead th:first-child {
  border-radius: 20px 0 0 0;
}

.fees-table thead th:last-child {
  border-radius: 0 20px 0 0;
}

/* Add more visual appeal */
.loan-highlight-card {
  animation: card-float 6s ease-in-out infinite;
}

@keyframes card-float {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-8px) rotate(1deg);
  }
}

/* Illustration Styles */
.hero-illustration {
  margin-bottom: 1.5rem;
  text-align: center;
}

.hero-illustration img {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 12px 40px rgba(247, 189, 32, 0.2);
  animation: float-illustration 4s ease-in-out infinite;
}

@keyframes float-illustration {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-15px);
  }
}

.section-illustration {
  margin-bottom: 2rem;
  text-align: center;
}

.section-illustration img {
  width: 100%;
  max-width: 280px;
  height: auto;
  filter: drop-shadow(0 8px 24px rgba(247, 189, 32, 0.15));
  animation: subtle-float 6s ease-in-out infinite;
}

@keyframes subtle-float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
}

@media (max-width: 768px) {
  .hero-illustration img {
    max-width: 300px;
  }

  .section-illustration img {
    max-width: 200px;
  }
}

/* ==========================================
   About Page Styles - Modern & Clean
   ========================================== */

/* About Hero Section */
.about-hero-modern {
  margin-top: 2rem;
  padding: 4rem 3rem;
  border-radius: 40px;
  background: linear-gradient(135deg,
      rgba(255, 251, 234, 0.95) 0%,
      rgba(255, 248, 225, 0.85) 50%,
      rgba(255, 243, 214, 0.75) 100%);
  box-shadow: 0 26px 80px rgba(15, 23, 42, 0.12);
  position: relative;
  overflow: hidden;
}

.about-hero-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.about-hero-content .hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  background: rgba(247, 189, 32, 0.2);
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  color: #111111;
  color: var(--secondary);
  margin-bottom: 1.5rem;
}

.about-hero-content h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.15;
  margin: 0 0 1.5rem;
  color: #0b0b0b;
  color: var(--text-strong);
}

.about-hero-content .gradient-text {
  background: linear-gradient(135deg,
      #f7bd20 0%,
      #f5a623 25%,
      #f39c21 50%,
      #f18e1f 75%,
      #e8a91a 100%);
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about-hero-content .hero-subtitle {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #4a4a4a;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 3rem;
}

.about-hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  grid-gap: 1.5rem;
  gap: 1.5rem;
  margin-top: 3rem;
}

.stat-card {
  background: rgba(255, 255, 255, 0.7);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 1.5rem;
  text-align: center;
  border: 1px solid rgba(247, 189, 32, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.15);
}

.stat-value {
  font-size: 2.5rem;
  font-weight: 700;
  color: #000000;
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.95rem;
  color: #4a4a4a;
  color: var(--text-muted);
  font-weight: 500;
}

/* Values Section */
.values-section {
  margin-top: 5rem;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  grid-gap: 2rem;
  gap: 2rem;
}

.value-card {
  background: white;
  border-radius: 24px;
  padding: 2rem;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border: 1px solid var(--border-soft);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}

.value-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle at top right,
      rgba(247, 189, 32, 0.15) 0%,
      rgba(247, 189, 32, 0.05) 40%,
      rgba(247, 189, 32, 0) 70%);
  background: var(--gradient-glow);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.value-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 25px 65px rgba(17, 17, 17, 0.12);
  box-shadow: var(--shadow-soft);
  border-color: rgba(247, 189, 32, 0.4);
}

.value-card:hover::before {
  opacity: 1;
}

.value-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
}

.value-card h3 {
  font-size: 1.4rem;
  margin: 0 0 0.75rem;
  color: #0b0b0b;
  color: var(--text-strong);
}

.value-card p {
  color: #4a4a4a;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
}

/* Journey Timeline Section */
.journey-section {
  margin-top: 5rem;
}

.journey-timeline {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 0;
}

.timeline-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  grid-gap: 2rem;
  gap: 2rem;
  margin-bottom: 3rem;
  position: relative;
}

.timeline-marker {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.timeline-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg,
      #f7bd20 0%,
      #f5a623 25%,
      #f39c21 50%,
      #f18e1f 75%,
      #e8a91a 100%);
  background: var(--gradient-primary);
  border: 4px solid rgba(247, 189, 32, 0.2);
  z-index: 2;
  flex-shrink: 0;
}

.timeline-line {
  width: 2px;
  height: 100%;
  background: linear-gradient(to bottom, rgba(247, 189, 32, 0.3), rgba(247, 189, 32, 0.1));
  margin-top: 0.5rem;
  flex-grow: 1;
}

.timeline-content {
  background: white;
  border-radius: 20px;
  padding: 1.75rem 2rem;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border: 1px solid var(--border-soft);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-content:hover {
  transform: translateX(6px);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
}

.timeline-year {
  display: inline-block;
  padding: 0.35rem 1rem;
  background: linear-gradient(135deg,
      #f7bd20 0%,
      #f5a623 25%,
      #f39c21 50%,
      #f18e1f 75%,
      #e8a91a 100%);
  background: var(--gradient-primary);
  color: #111111;
  color: var(--secondary);
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.timeline-content h3 {
  font-size: 1.4rem;
  margin: 0 0 0.75rem;
  color: #0b0b0b;
  color: var(--text-strong);
}

.timeline-content p {
  color: #4a4a4a;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
}

/* Mission & Vision Section */
.mission-vision-section {
  margin-top: 5rem;
}

.mission-vision-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  grid-gap: 2.5rem;
  gap: 2.5rem;
}

.mission-card.modern,
.vision-card.modern {
  background: linear-gradient(135deg, #ffffff 0%, #fff9e6 100%);
  border-radius: 32px;
  padding: 3rem 2.5rem;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border: 1px solid var(--border-soft);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mission-card.modern:hover,
.vision-card.modern:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 70px rgba(15, 23, 42, 0.15);
}

.mission-card .card-badge,
.vision-card .card-badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: rgba(247, 189, 32, 0.15);
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.85rem;
  color: #111111;
  color: var(--secondary);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.mission-card h2,
.vision-card h2 {
  font-size: 1.9rem;
  margin: 0 0 1.25rem;
  color: #0b0b0b;
  color: var(--text-strong);
}

.mission-card p,
.vision-card p {
  color: #4a4a4a;
  color: var(--text-muted);
  line-height: 1.8;
  margin: 0;
  font-size: 1.05rem;
}

/* Leadership Team Section */
.leadership-section {
  margin-top: 5rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  grid-gap: 2rem;
  gap: 2rem;
}

.team-card {
  background: white;
  border-radius: 24px;
  padding: 2rem;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border: 1px solid var(--border-soft);
  display: flex;
  align-items: center;
  gap: 1.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 25px 65px rgba(17, 17, 17, 0.12);
  box-shadow: var(--shadow-soft);
  border-color: rgba(247, 189, 32, 0.4);
}

.team-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg,
      #f7bd20 0%,
      #f5a623 25%,
      #f39c21 50%,
      #f18e1f 75%,
      #e8a91a 100%);
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 700;
  color: #111111;
  color: var(--secondary);
  flex-shrink: 0;
}

.team-info h3 {
  font-size: 1.3rem;
  margin: 0 0 0.35rem;
  color: #0b0b0b;
  color: var(--text-strong);
}

.team-role {
  color: #000000;
  color: var(--primary-dark);
  font-weight: 600;
  font-size: 0.95rem;
  margin: 0 0 0.5rem;
}

.team-focus {
  color: #4a4a4a;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0;
}

/* Legal & Compliance Section */
.legal-section {
  margin-top: 5rem;
}

.legal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  grid-gap: 2rem;
  gap: 2rem;
}

.legal-card {
  background: white;
  border-radius: 24px;
  padding: 2.5rem;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border: 1px solid var(--border-soft);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.legal-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 25px 65px rgba(17, 17, 17, 0.12);
  box-shadow: var(--shadow-soft);
}

.legal-card h3 {
  font-size: 1.5rem;
  margin: 0 0 1.5rem;
  color: #0b0b0b;
  color: var(--text-strong);
}

.legal-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
  border-bottom: 1px solid var(--border-soft);
}

.info-row:last-child {
  border-bottom: none;
}

.info-label {
  color: #4a4a4a;
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
}

.info-value {
  color: #0b0b0b;
  color: var(--text-strong);
  font-weight: 600;
  text-align: right;
}

.certification-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.certification-list li {
  padding: 0.75rem 0;
  color: #4a4a4a;
  color: var(--text-muted);
  font-size: 1rem;
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
  border-bottom: 1px solid var(--border-soft);
}

.certification-list li:last-child {
  border-bottom: none;
}

/* Office Locations Section */
.office-section {
  margin-top: 5rem;
}

.office-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  grid-gap: 2rem;
  gap: 2rem;
  margin-bottom: 3rem;
}

.office-card.modern {
  background: white;
  border-radius: 24px;
  padding: 2.5rem;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border: 1px solid var(--border-soft);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.office-card.modern:hover {
  transform: translateY(-4px);
  box-shadow: 0 25px 65px rgba(17, 17, 17, 0.12);
  box-shadow: var(--shadow-soft);
  border-color: rgba(247, 189, 32, 0.4);
}

.office-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.office-card h3 {
  font-size: 1.3rem;
  margin: 0 0 1rem;
  color: #0b0b0b;
  color: var(--text-strong);
}

.office-address {
  color: #4a4a4a;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0 0 0.5rem;
}

.office-city {
  color: #0b0b0b;
  color: var(--text-strong);
  font-weight: 600;
  margin: 0;
}

.contact-info-section {
  background: linear-gradient(135deg, #fff 0%, #fff9e6 100%);
  border-radius: 24px;
  padding: 2.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  grid-gap: 2rem;
  gap: 2rem;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border: 1px solid var(--border-soft);
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.contact-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.contact-item>div {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.contact-label {
  font-size: 0.85rem;
  color: #4a4a4a;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.contact-value {
  font-size: 1.1rem;
  color: #0b0b0b;
  color: var(--text-strong);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-value:hover {
  color: #000000;
  color: var(--primary-dark);
}

/* About Page CTA */
.about-cta {
  margin-top: 5rem;
  padding: 4rem 3rem;
  background: linear-gradient(135deg,
      #1a1a1a 0%,
      #111111 50%,
      #0a0a0a 100%);
  background: var(--gradient-dark);
  border-radius: 40px;
  text-align: center;
}

.about-cta .cta-content h2 {
  color: #f7bd20;
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
}

.about-cta .cta-content p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.about-cta .cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .about-hero-modern {
    padding: 2.5rem 1.5rem;
  }

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

  .mission-vision-grid {
    grid-template-columns: 1fr;
  }

  .timeline-item {
    grid-template-columns: 60px 1fr;
    gap: 1rem;
  }

  .team-card {
    flex-direction: column;
    text-align: center;
  }

  .contact-info-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .about-hero-stats {
    grid-template-columns: 1fr;
  }

  .stat-value {
    font-size: 2rem;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }

  .hero-cta-group .primary-btn,
  .hero-cta-group .ghost-btn {
    width: 100%;
    justify-content: center;
  }
}

/* ============================================
   COMPREHENSIVE MOBILE RESPONSIVE STYLES
   ============================================ */

/* Mobile-First Product Card Background Fix */
.product-card {
  background: rgba(255, 255, 255, 0.95) !important;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.08);
}

.product-card.modern {
  background: rgba(255, 255, 255, 0.98) !important;
}

/* Section Block Mobile Optimization */
@media (max-width: 1024px) {
  .section-block {
    margin: 3rem 0;
  }

  .product-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
  }

  .page {
    width: min(1240px, 92vw);
  }
}

/* Tablet Responsive Styles */
@media (max-width: 768px) {

  /* Hero Section */
  .hero-block {
    margin-top: 1rem;
    padding: 2rem 1.5rem;
    border-radius: 32px;
  }

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

  .hero-content h1 {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
  }

  .hero-content p {
    font-size: 1rem;
  }

  .hero-cta {
    flex-direction: column;
    gap: 0.75rem;
  }

  .hero-cta .primary-btn,
  .hero-cta .ghost-btn {
    width: 100%;
    text-align: center;
    justify-content: center;
    display: flex;
  }

  .hero-carousel {
    height: 300px;
  }

  /* Section Headings */
  .section-heading {
    max-width: 100%;
    margin: 0 auto 2rem;
  }

  .section-heading h2 {
    font-size: clamp(1.6rem, 4vw, 2.2rem);
  }

  .section-heading p {
    font-size: 0.95rem;
  }

  .eyebrow {
    font-size: 0.7rem;
  }

  /* Product Grid */
  .product-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .product-card {
    min-height: 180px;
    padding: 1.25rem;
    border-radius: 20px;
  }

  .product-card img {
    width: 56px;
    height: 56px;
  }

  .product-card h3 {
    font-size: 1.1rem;
  }

  .product-card p {
    font-size: 0.9rem;
  }

  .product-badge {
    font-size: 0.8rem;
    padding: 0.3rem 0.7rem;
  }

  /* Stats Bar */
  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
    padding: 1.25rem;
    gap: 0.75rem;
    margin: 2rem 0;
  }

  .stats-bar strong {
    font-size: 1.5rem;
  }

  /* Calculator Block */
  .calculator-block {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .loan-calculator {
    padding: 1.5rem;
    gap: 1.5rem;
  }

  .loan-calculator__inputs,
  .loan-calculator__summary {
    min-width: 100%;
  }

  /* Steps Grid */
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .steps-grid article {
    padding: 1.5rem;
  }

  /* Offerings */
  .offerings-block {
    padding: 2rem 1.5rem;
    border-radius: 28px;
  }

  .offering-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
  }

  /* CTA Section */
  .cta-section {
    padding: 2rem 1.5rem;
  }

  .cta-buttons {
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
  }

  .cta-buttons .primary-btn,
  .cta-buttons .ghost-btn {
    width: 100%;
    text-align: center;
    justify-content: center;
    display: flex;
  }

  /* Testimonials */
  .testimonials-carousel {
    padding: 1rem;
  }

  .testimonial-card {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1.5rem;
    text-align: center;
  }

  .testimonial-avatar {
    width: 60px;
    height: 60px;
    margin: 0 auto;
  }

  .testimonials-carousel-track {
    min-height: 320px;
  }
}

/* Mobile Phone Responsive Styles */
@media (max-width: 480px) {

  /* Page Container */
  .page {
    width: min(1240px, 90vw);
    padding-bottom: 3rem;
  }

  .fibe-home {
    padding-top: 1rem;
  }

  /* Hero Section */
  .hero-block {
    padding: 1.5rem 1rem;
    border-radius: 24px;
    margin-top: 0.5rem;
  }

  .hero-content h1 {
    font-size: 1.75rem;
    line-height: 1.2;
  }

  .hero-content p {
    font-size: 0.9rem;
    line-height: 1.6;
  }

  .hero-badges {
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.85rem;
  }

  .hero-carousel {
    height: 250px;
    border-radius: 20px;
  }

  /* Buttons */
  .primary-btn,
  .ghost-btn {
    font-size: 0.9rem;
    padding: 0.7rem 1.5rem;
  }

  .primary-btn.large,
  .ghost-btn.large {
    font-size: 1rem;
    padding: 0.85rem 1.75rem;
  }

  /* Section Headings */
  .section-block {
    margin: 2.5rem 0;
  }

  .section-heading {
    margin: 0 auto 1.5rem;
  }

  .section-heading h2 {
    font-size: 1.5rem;
    margin: 0.5rem 0;
  }

  .section-heading p {
    font-size: 0.9rem;
    line-height: 1.6;
  }

  .eyebrow {
    font-size: 0.65rem;
    letter-spacing: 0.12em;
  }

  /* Product Cards */
  .product-grid {
    gap: 0.875rem;
  }

  .product-card {
    padding: 1.125rem;
    min-height: 160px;
    border-radius: 18px;
  }

  .product-card img {
    width: 48px;
    height: 48px;
    margin-bottom: 0.75rem;
  }

  .product-card h3 {
    font-size: 1rem;
    margin: 0.5rem 0;
  }

  .product-card p {
    font-size: 0.85rem;
    line-height: 1.5;
  }

  .product-badge {
    font-size: 0.75rem;
    padding: 0.25rem 0.6rem;
  }

  .product-arrow {
    font-size: 0.85rem;
    margin-top: 0.5rem;
  }

  /* Stats Bar */
  .stats-bar {
    grid-template-columns: 1fr;
    padding: 1rem;
    gap: 0.5rem;
    border-radius: 20px;
    margin: 1.5rem 0;
  }

  .stats-bar strong {
    font-size: 1.35rem;
  }

  .stats-bar span {
    font-size: 0.85rem;
  }

  /* CTA Section */
  .cta-section {
    padding: 1.5rem 1rem;
    margin: 2rem 0;
  }

  .cta-content h2 {
    font-size: 1.5rem;
  }

  .cta-content p {
    font-size: 0.9rem;
  }
}

/* Product Content Improvements */
.product-content {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1 1;
}

.product-content h3 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
  color: #0b0b0b;
  color: var(--text-strong);
}

.product-content p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #4a4a4a;
  color: var(--text-muted);
}

.product-badge {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  background: rgba(247, 189, 32, 0.15);
  color: #111111;
  color: var(--secondary);
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  width: -webkit-fit-content;
  width: fit-content;
}

.product-arrow {
  margin-top: 1rem;
  font-weight: 600;
  color: #000000;
  color: var(--primary-dark);
  font-size: 0.9rem;
}

/* Prevent horizontal scroll */
@media (max-width: 768px) {
  body {
    overflow-x: hidden;
  }

  .App {
    overflow-x: hidden;
  }

  .page {
    overflow-x: hidden;
    padding-top: 90px !important;
    /* Ensure space for fixed header */
  }

  .hero-grid,
  .product-grid,
  .stats-bar,
  .calculator-block,
  .steps-grid,
  .offering-grid {
    width: 100%;
    max-width: 100%;
  }
}

/* ============================================
   MOBILE PAGE SYNC & OPTIMIZATION
   ============================================ */

/* Ensure all pages have proper spacing for fixed header */
.page {
  padding-top: 100px;
  min-height: 100vh;
}

@media (max-width: 900px) {
  .page {
    padding-top: 90px;
  }
}

@media (max-width: 640px) {
  .page {
    padding-top: 85px;
  }
}

/* Global mobile card & background sync */
@media (max-width: 768px) {

  /* Ensure all hero sections have consistent styling */
  [class*="-hero"],
  [class*="hero-"] {
    margin: 1rem 0 2rem !important;
    padding: 2rem 1.5rem !important;
    border-radius: 24px !important;
  }

  /* Ensure all section cards are consistent */
  [class*="-section"],
  [class*="section-"] {
    padding: 2rem 1.5rem;
    border-radius: 20px;
  }

  /* Ensure all content cards are consistent */
  [class*="-card"],
  [class*="card-"] {
    border-radius: 18px !important;
  }

  /* Full width buttons on mobile */
  .hero-cta .primary-btn,
  .hero-cta .ghost-btn,
  [class*="cta"] .primary-btn,
  [class*="cta"] .ghost-btn {
    width: 100%;
    justify-content: center;
    display: flex;
  }

  /* Consistent section heading sizes */
  .section-heading h2,
  [class*="-section"] h2 {
    font-size: clamp(1.6rem, 4vw, 2.2rem) !important;
  }

  /* Consistent eyebrow sizes */
  .eyebrow,
  [class*="eyebrow"] {
    font-size: 0.75rem !important;
  }

  /* Grid mobile optimization */
  [class*="-grid"],
  [class*="grid-"] {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
  }

  /* Ensure no overflow on any container */
  * {
    max-width: 100%;
  }

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

/* Small mobile adjustments */
@media (max-width: 480px) {
  .page {
    width: min(1280px, 94vw) !important;
    padding-top: 80px;
  }

  [class*="-hero"],
  [class*="hero-"] {
    padding: 1.5rem 1rem !important;
    border-radius: 20px !important;
  }

  .section-heading h2,
  [class*="-section"] h2 {
    font-size: 1.5rem !important;
  }

  .primary-btn,
  .ghost-btn {
    font-size: 0.9rem;
    padding: 0.75rem 1.5rem;
  }
}

/* Ensure proper background colors everywhere */
@media (max-width: 768px) {
  body {
    background: linear-gradient(135deg,
        rgba(255, 251, 234, 0.4) 0%,
        rgba(255, 248, 225, 0.3) 25%,
        rgba(255, 243, 214, 0.2) 50%,
        rgba(255, 237, 196, 0.3) 75%,
        rgba(255, 232, 161, 0.4) 100%) !important;
  }
}

/* ============================================
   COMPREHENSIVE DEVICE OPTIMIZATION
   ============================================ */

/* Tablet Specific (iPad, tablets) */
@media (min-width: 769px) and (max-width: 1024px) {
  .page {
    width: min(1280px, 92vw);
  }

  /* Optimize grids for tablet */
  [class*="-grid"]:not(.form-grid),
  [class*="grid-"]:not(.form-grid) {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  /* Form grids stay single column on tablet for better UX */
  .form-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Large Mobile / Small Tablet (iPhone Pro Max, small tablets) */
@media (min-width: 481px) and (max-width: 768px) {
  .page {
    width: 100%;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  /* Ensure touch targets are at least 44px */
  button,
  a,
  input,
  select,
  textarea {
    min-height: 44px;
  }
}

/* Small Mobile (iPhone SE, small phones) */
@media (max-width: 480px) {
  .page {
    width: 100% !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    padding-top: 80px;
  }

  /* Reduce font sizes slightly for small screens */
  html {
    font-size: 15px;
  }

  /* Adjust Hero Spacing */
  [class*="-hero"],
  [class*="hero-"] {
    padding: 1.5rem 1rem !important;
    border-radius: 20px !important;
  }

  .hero-content h1 {
    font-size: 2rem !important;
  }

  /* Ensure buttons are easily tappable */
  .primary-btn,
  .ghost-btn,
  button {
    min-height: 48px;
    padding: 0.875rem 1.5rem;
    width: 100%;
    justify-content: center;
    display: flex;
    align-items: center;
  }

  /* Full width tables with scroll */
  table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
}

/* Landscape Mode Optimization */
@media (max-height: 500px) and (orientation: landscape) {
  .page {
    padding-top: 70px;
  }

  [class*="-hero"],
  [class*="hero-"] {
    padding: 1.5rem 2rem !important;
  }

  /* Reduce vertical spacing in landscape */
  section {
    margin: 2rem 0;
  }
}

/* High DPI / Retina Displays */
@media (-webkit-min-device-pixel-ratio: 2),
(min-resolution: 192dpi) {

  /* Ensure images are sharp on retina displays */
  img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

/* Touch Device Optimization */
@media (hover: none) and (pointer: coarse) {

  /* Larger touch targets for touch devices */
  a,
  button,
  input,
  select {
    min-height: 44px;
    min-width: 44px;
  }

  /* Remove hover effects on touch devices */
  *:hover {
    transform: none !important;
  }

  /* But keep active states */
  *:active {
    opacity: 0.8;
  }
}

/* Safe Area for Devices with Notches (iPhone X, etc.) */
@supports (padding: max(0px)) {
  .page {
    padding-left: max(1rem, env(safe-area-inset-left)) !important;
    padding-right: max(1rem, env(safe-area-inset-right)) !important;
  }

  .fibe-header {
    padding-left: max(1rem, env(safe-area-inset-left));
    padding-right: max(1rem, env(safe-area-inset-right));
  }
}

/* Ensure Carousel Visibility on Mobile */
@media (max-width: 768px) {
  .hero-visual {
    display: flex !important;
    width: 100%;
    margin-top: 2rem;
    position: relative;
    z-index: 1;
  }

  .hero-carousel {
    display: block !important;
    width: 100% !important;
    height: 300px !important;
    opacity: 1 !important;
    visibility: visible !important;
    overflow: hidden;
    position: relative;
    background: rgba(255, 255, 255, 0.5);
    /* Placeholder background */
  }

  .carousel-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .carousel-track {
    width: 100%;
    height: 100%;
  }

  /* ===== Landing hero - responsive adjustments ===== */
  @media (max-width: 900px) {
    .hero-block {
      padding: 1.5rem;
      border-radius: 20px;
    }

    .hero-grid {
      grid-template-columns: 1fr;
      gap: 1.25rem;
      align-items: start;
    }

    .hero-content h1 {
      font-size: clamp(1.6rem, 6vw, 2.4rem);
      line-height: 1.15;
      margin-bottom: 0.75rem;
    }

    .hero-content p {
      font-size: 0.98rem;
    }

    .hero-visual {
      order: 2;
      display: flex;
      justify-content: center;
      align-items: center;
    }

    .hero-carousel {
      height: auto !important;
      min-height: 180px;
    }

    .carousel-image {
      max-width: 420px;
      width: 100%;
      height: auto;
      border-radius: 12px;
    }

    .hero-cta {
      justify-content: center;
    }

    .hero-badges {
      display: flex;
      justify-content: center;
      gap: 0.75rem;
      flex-wrap: wrap;
    }
  }

  @media (max-width: 480px) {
    .hero-block {
      padding: 1rem;
      border-radius: 14px;
    }

    .hero-content h1 {
      font-size: clamp(1.4rem, 7.5vw, 1.9rem);
    }

    .carousel-image {
      max-width: 320px;
    }
  }
}

/* Prevent zoom on input focus (iOS) */
@media (max-width: 768px) {

  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="number"],
  input[type="date"],
  select,
  textarea {
    font-size: 16px !important;
  }
}

/* Ensure smooth scrolling on all devices */
html {
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  background: #D4A017;
  min-height: 100vh;
}

/* Optimize for print */
@media print {

  .fibe-header,
  .site-footer,
  .primary-btn,
  .ghost-btn,
  nav,
  [class*="cta"] {
    display: none !important;
  }

  .page {
    padding-top: 0 !important;
  }

  * {
    background: white !important;
    color: black !important;
  }
}

/* Accessibility - Reduced Motion */
@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;
  }
}

/* Final Overflow Prevention */
* {
  box-sizing: border-box;
}

html,
body {
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

.page,
section,
div {
  max-width: 100%;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

/* Ensure all images are responsive */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Ensure iframes are responsive */
iframe {
  max-width: 100%;
}
/* ============================================
   PERFORMANCE OPTIMIZATIONS
   ============================================ */

/* Image optimization for all images */
img {
    max-width: 100%;
    height: auto;
    display: block;
    /* Enable GPU acceleration for smoother rendering */
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

/* Optimize animations and transitions */
* {
    /* Enable GPU acceleration for transforms and opacity */
    will-change: auto;
}

/* Specific will-change for interactive elements */
.primary-btn,
.ghost-btn,
.product-card,
.testimonial-item,
.hero-block,
a:hover,
button:hover {
    will-change: transform, opacity, background;
}

/* Remove will-change after animation completes */
.primary-btn:not(:hover),
.ghost-btn:not(:hover),
.product-card:not(:hover),
a:not(:hover),
button:not(:hover) {
    will-change: auto;
}

/* Optimize scrolling performance */
.testimonial-marquee,
.carousel-track {
    -webkit-overflow-scrolling: touch;
    transform: translateZ(0);
}

/* Reduce animation complexity on mobile */
@media (max-width: 768px) {
    * {
        animation-duration: 0.5s !important;
        transition-duration: 0.2s !important;
    }

    /* Disable complex animations on mobile for better performance */
    .carousel-track {
        animation: none !important;
    }

    /* Simplify box shadows on mobile */
    .hero-block,
    .product-card,
    .testimonial-item {
        box-shadow: 0 10px 20px rgba(15, 23, 42, 0.08) !important;
    }
}

/* Optimize font loading */
@media screen and (prefers-reduced-data: reduce) {

    /* Reduce gradient complexity for low data mode */
    body,
    html,
    .page,
    .fibe-home {
        background: #FFE082 !important;
        background-attachment: scroll !important;
    }
}

/* Improve perceived performance with skeleton loading */
.lazy-loading {
    background: linear-gradient(90deg,
            rgba(255, 255, 255, 0.1) 0%,
            rgba(255, 255, 255, 0.3) 50%,
            rgba(255, 255, 255, 0.1) 100%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

/* Mobile viewport optimization */
@media (max-width: 640px) {

    /* Reduce padding on mobile for more content visibility */
    .page>section,
    .page>div:not(.hero-block):not(.admin-dashboard-layout),
    .fibe-home>section,
    .fibe-home>.hero-block {
        padding-left: 4vw;
        padding-right: 4vw;
    }

    /* Optimize touch targets for mobile */
    .primary-btn,
    .ghost-btn,
    button,
    a {
        min-height: 44px;
        min-width: 44px;
    }

    /* Reduce font size slightly on mobile for better readability */
    html {
        font-size: 15px;
    }
}

/* Tablet optimization */
@media (min-width: 641px) and (max-width: 1024px) {

    .page>section,
    .page>div:not(.hero-block):not(.admin-dashboard-layout),
    .fibe-home>section,
    .fibe-home>.hero-block {
        padding-left: 4vw;
        padding-right: 4vw;
    }
}

/* Reduce motion for accessibility and performance */
@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;
    }
}

/* Print optimization */
@media print {

    body,
    .page,
    .fibe-home {
        background: white !important;
    }

    .primary-btn,
    .ghost-btn {
        border: 1px solid #000 !important;
    }
}

/* Content visibility optimization for better performance */
.testimonial-item,
.product-card,
.offering-card {
    content-visibility: auto;
    contain-intrinsic-size: 0 300px;
}
/* ================================
   ADMIN LOGIN PAGE - SPLIT LAYOUT
   ================================ */

:root {
    --brand-primary: #5b2fa8;
    --brand-secondary: #c7a6ff;
    --brand-accent: #eadcff;
    --brand-glow: rgba(139, 92, 246, 0.22);
    --bg-light: #f8f3ff;
    --card-bg: rgba(255, 255, 255, 0.95);
    --glass-border: rgba(91, 47, 168, 0.12);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.admin-login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(circle at top left, rgba(199, 166, 255, 0.45), transparent 34%),
        radial-gradient(circle at bottom right, rgba(91, 47, 168, 0.12), transparent 40%),
        linear-gradient(180deg, #fcfaff 0%, #f4ebff 100%);
    font-family: 'Outfit', sans-serif;
    padding: 20px;
}

.admin-login-container {
    display: flex;
    width: 100%;
    max-width: 1200px;
    background: #fff;
    border-radius: 32px;
    box-shadow: 0 30px 60px rgba(91, 47, 168, 0.14);
    overflow: hidden;
    min-height: 700px;
}

/* ================================
   LEFT SIDE: VISUAL CAROUSEL
   ================================ */
.admin-login-visual {
    flex: 1 1;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: linear-gradient(160deg, #5b2fa8 0%, #7a4bd6 52%, #2a144b 100%);
}

.carousel-track {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 60px;
    z-index: 1;
}

.carousel-slide.active {
    opacity: 1;
    z-index: 2;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(42, 20, 75, 0.92) 0%, rgba(91, 47, 168, 0.42) 54%, rgba(91, 47, 168, 0.12) 100%);
    z-index: -1;
}

.slide-content {
    color: #fff;
    z-index: 3;
    animation: slideUp 0.8s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-content h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.2;
}

.slide-content p {
    font-size: 16px;
    opacity: 0.9;
    line-height: 1.6;
    max-width: 80%;
}

.carousel-indicators {
    position: absolute;
    bottom: 30px;
    right: 30px;
    display: flex;
    gap: 8px;
    z-index: 10;
}

.indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: #fff;
    width: 30px;
    border-radius: 10px;
}

/* ================================
   RIGHT SIDE: LOGIN FORM
   ================================ */
.admin-login-form-container {
    flex: 1 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 60px;
    background: #fff;
    position: relative;
}

.admin-login-card {
    width: 100%;
    max-width: 420px;
}

.admin-login-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
}

.admin-login-logo img {
    height: 60px;
    width: auto;
}

.admin-login-header {
    text-align: center;
    margin-bottom: 30px;
}

.admin-page-title {
    font-size: 28px;
    font-weight: 700;
    color: #5b2fa8;
    margin-bottom: 6px;
}

.admin-page-subtitle {
    color: rgba(91, 47, 168, 0.72);
    font-size: 14px;
    font-weight: 500;
}

/* Toggle Styles */
.login-mode-toggle {
    display: flex;
    background: #efe5ff;
    padding: 4px;
    border-radius: 14px;
    margin-bottom: 30px;
}

.login-mode-toggle button {
    flex: 1 1;
    padding: 10px;
    border: none;
    background: transparent;
    color: #6d5b88;
    font-size: 14px;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.login-mode-toggle button.active {
    background: #fff;
    color: #5b2fa8;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Form Styles */
.admin-input-group {
    margin-bottom: 20px;
}

.admin-input-group label {
    font-size: 12px;
    font-weight: 600;
    color: #444;
    margin-bottom: 8px;
    display: block;
}

.input-with-icon {
    position: relative;
    border-radius: 12px;
    background: #F9F9F9;
    border: 1px solid #E0E0E0;
    transition: all 0.3s ease;
}

.input-with-icon:focus-within {
    background: #fff;
    border-color: #c7a6ff;
    border-color: var(--brand-secondary);
    box-shadow: 0 0 0 4px rgba(199, 166, 255, 0.24);
}

.input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
}

.input-with-icon:focus-within .input-icon {
    color: #5b2fa8;
}

.input-with-icon input {
    width: 100%;
    padding: 16px 16px 16px 48px;
    background: transparent;
    border: none;
    outline: none;
    color: #333;
    font-size: 15px;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.password-toggle {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
}

.admin-form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 10px 0 25px;
}

.admin-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    font-size: 13px;
    cursor: pointer;
}

.admin-checkbox input {
    accent-color: #5b2fa8;
}

.forgot-btn {
    background: none;
    border: none;
    color: #5b2fa8;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.admin-submit-btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #5b2fa8, #7a4bd6);
    color: #fff;
    border: none;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.admin-submit-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(91, 47, 168, 0.26);
}

.admin-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* OTP Input */
.otp-digit-container {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 20px;
}

.otp-digit-input {
    flex: 1 1;
    height: 60px;
    background: #F9F9F9;
    border: 1px solid #E0E0E0;
    border-radius: 12px;
    font-size: 24px;
    font-weight: 700;
    color: #5b2fa8;
    text-align: center;
}

.otp-digit-input:focus {
    border-color: #c7a6ff;
    border-color: var(--brand-secondary);
    outline: none;
    background: #fff;
}

.otp-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.change-number-btn {
    background: #F5F5F5;
    color: #666;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    display: flex;
    align-items: center;
    gap: 6px;
}

.resend-otp-link {
    background: none;
    border: none;
    color: #5b2fa8;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.otp-sent-message {
    background: rgba(199, 166, 255, 0.16);
    border: 1px solid rgba(91, 47, 168, 0.16);
    border-radius: 12px;
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.otp-sent-message p {
    color: #2D2D2D;
    font-size: 13px;
    margin: 0;
    font-weight: 500;
}

.otp-sent-message svg {
    color: #5b2fa8;
    color: var(--brand-primary);
}

/* Alert */
.admin-alert {
    background: #FEF2F2;
    border: 1px solid rgba(91, 47, 168, 0.18);
    color: #DC2626;
    padding: 12px;
    border-radius: 10px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 500;
}

/* Footer & Legal */
.admin-card-footer {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #F0F0F0;
    display: flex;
    justify-content: center;
}

.security-tag {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(91, 47, 168, 0.62);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.admin-legal-notice {
    margin-top: 20px;
    text-align: center;
}

.admin-legal-notice p {
    color: rgba(91, 47, 168, 0.46);
    font-size: 11px;
}

/* Responsive */
@media (max-width: 900px) {
    .admin-login-container {
        flex-direction: column;
        max-width: 500px;
        min-height: auto;
    }

    .admin-login-visual {
        display: none;
        /* Hide visual on mobile or make it smaller */
    }

    .admin-login-form-container {
        padding: 40px 20px;
    }
}

.admin-spinner {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: currentColor;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Admin Dashboard Page Styles */

.admin-dashboard-page {
    animation: fadeIn 0.5s ease;
    background: #f8fafc;
    width: 100%;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Welcome Header */
.admin-welcome-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.admin-welcome-header h1 {
    font-size: 2rem;
    font-weight: 700;
    color: #1a202c;
    margin: 0 0 0.5rem 0;
}

.admin-subtitle {
    color: #718096;
    font-size: 1rem;
    margin: 0;
}

/* Quick Actions */
.admin-quick-actions {
    display: flex;
    gap: 1rem;
}

.quick-action-btn {
    padding: 0.875rem 1.5rem;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border: none;
    font-size: 0.95rem;
}

.quick-action-btn.primary {
    background: linear-gradient(135deg, #667eea 0%, #764 ba2 100%);
    color: white;
}

.quick-action-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

.quick-action-btn.secondary {
    background: white;
    color: #667eea;
    border: 2px solid #667eea;
}

.quick-action-btn.secondary:hover {
    background: #667eea;
    color: white;
}

/* Stats Grid */
.admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-gap: 1.5rem;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    gap: 1.25rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
}

.stat-card.blue::before {
    background: #4299e1;
}

.stat-card.green::before {
    background: #48bb78;
}

.stat-card.orange::before {
    background: #ed8936;
}

.stat-card.purple::before {
    background: #9f7aea;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.stat-icon {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-card.blue .stat-icon {
    background: linear-gradient(135deg, #4299e1, #3182ce);
    color: white;
}

.stat-card.green .stat-icon {
    background: linear-gradient(135deg, #48bb78, #38a169);
    color: white;
}

.stat-card.orange .stat-icon {
    background: linear-gradient(135deg, #ed8936, #dd6b20);
    color: white;
}

.stat-card.purple .stat-icon {
    background: linear-gradient(135deg, #9f7aea, #805ad5);
    color: white;
}

.stat-content h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #1a202c;
    margin: 0 0 0.25rem 0;
}

.stat-content p {
    color: #718096;
    font-size: 0.9rem;
    margin: 0 0 0.5rem 0;
}

.stat-change {
    font-size: 0.85rem;
    font-weight: 600;
}

.stat-change.positive {
    color: #48bb78;
}

/* Content Grid */
.admin-content-grid {
    display: grid;
    grid-gap: 1.5rem;
    gap: 1.5rem;
}

/* Admin Card */
.admin-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.admin-card-header {
    padding: 1.5rem;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.admin-card-header h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a202c;
    margin: 0;
}

.view-all-btn {
    background: none;
    border: none;
    color: #667eea;
    font-weight: 600;
    cursor: pointer;
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

.view-all-btn:hover {
    color: #764ba2;
}

/* Table Styles */
.admin-table-container {
    overflow-x: auto;
}

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

.admin-table thead {
    background: #f7fafc;
}

.admin-table th {
    padding: 1rem 1.5rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.85rem;
    color: #4a5568;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.admin-table tbody tr {
    border-bottom: 1px solid #e2e8f0;
    transition: background 0.3s ease;
}

.admin-table tbody tr:hover {
    background: #f7fafc;
}

.admin-table td {
    padding: 1.25rem 1.5rem;
    color: #2d3748;
    font-size: 0.95rem;
}

.user-name {
    font-weight: 600;
    color: #1a202c;
}

.user-email {
    color: #718096;
}

.user-date {
    color: #a0aec0;
    font-size: 0.9rem;
}

.loan-amount {
    font-weight: 700;
    color: #1a202c;
}

/* Status Badges */
.status-badge {
    padding: 0.375rem 0.875rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: capitalize;
    display: inline-block;
}

.status-badge.status-success {
    background: #c6f6d5;
    color: #22543d;
}

.status-badge.status-warning {
    background: #fef5e7;
    color: #b7791f;
}

.status-badge.status-danger {
    background: #fed7d7;
    color: #742a2a;
}

/* Responsive */
@media (max-width: 1200px) {
    .admin-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .admin-welcome-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .admin-quick-actions {
        width: 100%;
    }

    .quick-action-btn {
        flex: 1 1;
    }

    .admin-stats-grid {
        grid-template-columns: 1fr;
    }

    .stat-card {
        padding: 1.25rem;
    }

    .stat-icon {
        width: 56px;
        height: 56px;
    }

    .stat-content h3 {
        font-size: 1.75rem;
    }

    .admin-card-header {
        padding: 1.25rem;
    }

    .admin-table th,
    .admin-table td {
        padding: 1rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .admin-welcome-header h1 {
        font-size: 1.5rem;
    }

    .admin-subtitle {
        font-size: 0.9rem;
    }

    .quick-action-btn {
        padding: 0.75rem 1rem;
        font-size: 0.85rem;
    }

    .admin-table {
        font-size: 0.8rem;
    }

    .admin-table th,
    .admin-table td {
        padding: 0.75rem;
    }

    .user-email,
    .user-date {
        font-size: 0.75rem;
    }
}
/* Admin Dashboard Layout Styles */

.admin-dashboard-layout {
    min-height: 100vh;
    display: flex;
    background: #f8fafc;
}

/* Sidebar Styling */
.admin-sidebar {
    width: 250px;
    background: white;
    border-right: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    z-index: 100;
    overflow-y: auto;
    flex-shrink: 0;
    transition: width 0.3s ease;
}

.admin-sidebar.collapsed {
    width: 70px;
}

.admin-sidebar.collapsed .admin-sidebar-title,
.admin-sidebar.collapsed .menu-section-label {
    display: none;
}

.admin-sidebar.collapsed .sidebar-menu-item {
    justify-content: center;
    padding: 0.75rem;
}

.admin-sidebar.collapsed .sidebar-menu-item .menu-icon {
    display: block;
    margin: 0;
}

.admin-sidebar.collapsed .sidebar-menu-item span:not(.menu-icon) {
    display: none !important;
}

.admin-sidebar.collapsed .admin-sidebar-header {
    justify-content: center;
    padding: 1rem;
}

.admin-sidebar.collapsed .sidebar-logout-btn {
    justify-content: center;
    padding: 0.75rem;
}

.admin-sidebar-header {
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid #f1f5f9;
    cursor: pointer;
}

.admin-sidebar-logo-img {
    height: 32px;
}

.admin-sidebar-title h2 {
    margin: 0;
    font-size: 1.1rem;
    color: #1a202c;
    font-weight: 700;
}

.admin-sidebar-title span {
    font-size: 0.75rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.admin-sidebar-menu {
    flex: 1 1;
    padding: 1.5rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.menu-section-label {
    padding: 0 0.5rem 0.5rem;
    font-size: 0.7rem;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 1rem;
}

.menu-section-label:first-child {
    margin-top: 0;
}

.sidebar-menu-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border: none;
    background: transparent;
    color: #64748b;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.2s ease;
    width: 100%;
    text-align: left;
}

.sidebar-menu-item:hover {
    background: #f1f5f9;
    color: #667eea;
}

.sidebar-menu-item.active {
    background: #f0f4ff;
    color: #667eea;
}

.menu-icon {
    font-size: 1.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
}

.admin-sidebar-footer {
    padding: 1rem;
    border-top: 1px solid #f1f5f9;
}

.sidebar-logout-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    width: 100%;
    border: none;
    background: #fff1f0;
    color: #f5222d;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.sidebar-logout-btn:hover {
    background: #ffccc7;
}

/* Sidebar Toggle Button */
.sidebar-toggle-btn {
    position: absolute;
    right: -15px;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: white;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    color: #64748b;
}

.sidebar-toggle-btn:hover {
    background: #f8fafc;
    border-color: #cbd5e0;
    color: #667eea;
}

/* Main Container */
.admin-main-container {
    flex: 1 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    margin-left: 250px;
    background: #f8fafc;
    transition: margin-left 0.3s ease;
}

.admin-sidebar.collapsed~.admin-main-container {
    margin-left: 70px;
}

/* Top Header */
.admin-top-header {
    height: 70px;
    background: white;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 90;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.active-tab-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a202c;
    margin: 0;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

/* Reusing existing component styles but adapting to sidebar */

/* Role Badge */
.role-badge {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.role-badge.super-admin {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
}

.admin-nav-icon-btn {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    color: #64748b;
}

.admin-nav-icon-btn:hover {
    background: #f1f5f9;
    border-color: #cbd5e0;
}

/* Main content padding */
.admin-dashboard-main {
    padding: 2rem;
    flex: 1 1;
    overflow-y: auto;
    overflow-x: hidden;
    background: #f8fafc;
}

/* Dropdowns & Modals (adapted from previous) */
.admin-dropdown-panel {
    position: absolute;
    top: 65px;
    right: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    min-width: 280px;
    padding: 1.5rem;
    z-index: 1000;
}

.admin-profile-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f1f5f9;
}

.admin-profile-avatar {
    width: 45px;
    height: 45px;
    border-radius: 10px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.admin-profile-info h3 {
    margin: 0;
    font-size: 1rem;
}

.admin-profile-info p {
    margin: 0;
    font-size: 0.85rem;
    color: #64748b;
}

.admin-detail-row {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
}

.admin-detail-label {
    font-size: 0.85rem;
    color: #64748b;
}

.admin-detail-value {
    font-size: 0.85rem;
    font-weight: 600;
}

/* Profile Actions */
.admin-profile-actions {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #f1f5f9;
}

.admin-profile-logout-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.75rem;
    border: none;
    background: linear-gradient(135deg, #ff6b6b 0%, #ff5252 100%);
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(255, 107, 107, 0.2);
}

.admin-profile-logout-btn:hover {
    background: linear-gradient(135deg, #ff5252 0%, #ff3838 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3);
}

.admin-profile-logout-btn:active {
    transform: translateY(0);
}


.admin-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    -webkit-backdrop-filter: blur(4px);
            backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.admin-modal-content {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    max-width: 400px;
    width: 90%;
    text-align: center;
}

.admin-modal-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.admin-modal-btn {
    flex: 1 1;
    padding: 0.75rem;
    border-radius: 8px;
    border: none;
    font-weight: 600;
    cursor: pointer;
}

.admin-modal-btn.confirm {
    background: #667eea;
    color: white;
}

.admin-modal-btn.cancel {
    background: #f1f5f9;
    color: #64748b;
}

/* Responsive */
@media (max-width: 1024px) {
    .admin-sidebar {
        width: 80px;
    }

    .admin-main-container {
        margin-left: 80px;
    }

    .admin-sidebar-title,
    .menu-section-label,
    .sidebar-menu-item span:not(.menu-icon),
    .sidebar-logout-btn span {
        display: none;
    }

    .sidebar-menu-item {
        justify-content: center;
        padding: 1rem;
    }

    .admin-sidebar-header {
        @media (max-width: 768px) {
            .admin-sidebar {
                width: 250px;
                transform: translateX(-100%);
                transition: transform 0.3s ease;
            }

            .admin-sidebar.open {
                transform: translateX(0);
            }

            .admin-main-container {
                margin-left: 0;
            }
        }

        justify-content: center;
        padding: 1rem;
    }
}
/* Modal Overlay */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    -webkit-backdrop-filter: blur(4px);
            backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3000;
    animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Modal Content */
.create-modal {
    background: white;
    border-radius: 16px;
    max-width: 800px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideUp 0.3s ease;
}

@keyframes modalSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Modal Header */
.modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a202c;
    margin: 0;
}

.modal-close-btn {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: none;
    background: #f7fafc;
    color: #718096;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close-btn:hover {
    background: #edf2f7;
    color: #2d3748;
}

/* Modal Error */
.modal-error {
    margin: 1rem 1.5rem;
    padding: 1rem;
    background: #fff5f5;
    border-left: 4px solid #fc8181;
    color: #c53030;
    border-radius: 8px;
    font-size: 0.9rem;
}

/* Form */
.create-form {
    padding: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 1rem;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.form-group input {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-group input:disabled {
    background: #f7fafc;
    cursor: not-allowed;
}

.form-hint {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.8rem;
    color: #718096;
}

/* Modal Actions */
.modal-actions {
    display: flex;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
}

.btn {
    flex: 1 1;
    padding: 0.875rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn.btn-cancel {
    background: #edf2f7;
    color: #4a5568;
}

.btn.btn-cancel:hover:not(:disabled) {
    background: #e2e8f0;
}

.btn.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn.btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Permission Selection Styles */
.form-section {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #f7fafc;
    border-radius: 12px;
}

.form-section h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #2d3748;
    margin: 0 0 0.5rem 0;
}

.section-hint {
    font-size: 0.85rem;
    color: #718096;
    margin: 0 0 1rem 0;
}

.all-access-alert {
    padding: 1rem;
    background: linear-gradient(135deg, #fef5e7 0%, #fdebd0 100%);
    border-left: 4px solid #f39c12;
    border-radius: 8px;
    color: #7d6608;
    font-size: 0.9rem;
}

.permission-category-group {
    margin-bottom: 1.5rem;
}

.permission-category-group h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: #4a5568;
    margin: 0 0 0.75rem 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.permission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    grid-gap: 0.75rem;
    gap: 0.75rem;
}

.permission-pill {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    -webkit-user-select: none;
            user-select: none;
}

.permission-pill:hover {
    border-color: #cbd5e0;
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.permission-pill.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: #667eea;
    color: white;
}

.permission-pill .p-icon {
    font-size: 1.2rem;
}

.permission-pill .p-label {
    font-size: 0.85rem;
    font-weight: 500;
}

.modal-select {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
    cursor: pointer;
}

.modal-select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.modal-select:disabled {
    background: #f7fafc;
    cursor: not-allowed;
}

/* Responsive */
@media (max-width: 768px) {
    .create-modal {
        max-width: 95%;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .modal-header h2 {
        font-size: 1.25rem;
    }

    .modal-actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }
}
/* Modal Overlay */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    -webkit-backdrop-filter: blur(4px);
            backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3000;
    animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Modal Content */
.create-modal {
    background: white;
    border-radius: 16px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideUp 0.3s ease;
}

@keyframes modalSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Modal Header */
.modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a202c;
    margin: 0;
}

.modal-close-btn {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: none;
    background: #f7fafc;
    color: #718096;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close-btn:hover {
    background: #edf2f7;
    color: #2d3748;
}

/* Modal Error */
.modal-error {
    margin: 1rem 1.5rem;
    padding: 1rem;
    background: #fff5f5;
    border-left: 4px solid #fc8181;
    color: #c53030;
    border-radius: 8px;
    font-size: 0.9rem;
}

/* Form */
.create-form {
    padding: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 1rem;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.form-group input {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-group input:disabled {
    background: #f7fafc;
    cursor: not-allowed;
}

.form-hint {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.8rem;
    color: #718096;
}

/* Modal Actions */
.modal-actions {
    display: flex;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
}

.btn {
    flex: 1 1;
    padding: 0.875rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn.btn-cancel {
    background: #edf2f7;
    color: #4a5568;
}

.btn.btn-cancel:hover:not(:disabled) {
    background: #e2e8f0;
}

.btn.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn.btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .create-modal {
        max-width: 95%;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .modal-header h2 {
        font-size: 1.25rem;
    }

    .modal-actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }
}
.edit-admin-modal {
    max-width: 700px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.edit-admin-modal h2 {
    margin: 0;
    color: #1a202c;
}

.form-section {
    margin-top: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #edf2f7;
}

.form-section h3 {
    font-size: 1.1rem;
    color: #2d3748;
    margin-bottom: 1rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 1.5rem;
    gap: 1.5rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    color: #718096;
    margin-bottom: 0.5rem;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    outline: none;
    transition: all 0.2s;
}

.form-group input:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #2d3748;
    font-weight: 600;
    cursor: pointer;
}

.section-hint {
    font-size: 0.85rem;
    color: #a0aec0;
    margin-bottom: 1.5rem;
}

.permission-category-group {
    margin-bottom: 2rem;
}

.permission-category-group h4 {
    font-size: 0.9rem;
    color: #4a5568;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.permission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    grid-gap: 1rem;
    gap: 1rem;
}

.permission-quick-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
    margin-bottom: 0.75rem;
}

.pill-btn {
    border: 1px solid #cbd5e0;
    background: #f7fafc;
    color: #1a202c;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.pill-btn:hover {
    background: #edf2f7;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.pill-btn.ghost {
    background: transparent;
    border: 1px dashed #cbd5e0;
}

.pill-btn-group {
    display: flex;
    gap: 0.35rem;
    flex-wrap: wrap;
    align-items: center;
}

.pill-label {
    font-weight: 600;
    color: #4a5568;
    margin-right: 0.25rem;
}

.category-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.4rem;
}

.permission-pill {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: #f7fafc;
    border: 1px solid #edf2f7;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
}

.permission-pill:hover {
    background: #edf2f7;
    border-color: #e2e8f0;
}

.permission-pill.active {
    background: rgba(102, 126, 234, 0.1);
    border-color: #667eea;
    color: #667eea;
}

.p-icon {
    font-size: 1.2rem;
}

.p-label {
    font-size: 0.85rem;
    font-weight: 600;
}

.all-access-alert {
    padding: 1rem;
    background: #fffaf0;
    border: 1px solid #feebc8;
    border-radius: 8px;
    color: #c05621;
    font-size: 0.9rem;
}

.security-section {
    background: #f8fafc;
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 2rem;
}

.security-notice {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.security-notice p {
    font-size: 0.85rem;
    color: #4a5568;
    margin: 0;
}

.btn-login-shortcut {
    align-self: flex-start;
    background: #4c51bf;
    color: white;
    font-size: 0.9rem;
    padding: 0.6rem 1.2rem;
}

.btn-login-shortcut:hover {
    background: #434190;
    transform: translateY(-2px);
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    padding-top: 2rem;
}

.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
}

.btn-secondary {
    background: #edf2f7;
    color: #4a5568;
}

.btn-primary {
    background: #667eea;
    color: white;
}

.btn-primary:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* View User Modal Styles - Redesigned */

.view-user-modal {
    max-width: 1100px;
    max-height: 90vh;
    overflow-y: auto;
    font-family: 'Outfit', sans-serif;
    color: #1a1a1a;
    background: #fff;
    border-radius: 20px;
}

.view-user-modal .modal-body {
    padding: 30px;
}

.user-view-shell {
    display: grid;
    grid-gap: 24px;
    gap: 24px;
}

/* Hero Section */
.user-hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    background: linear-gradient(135deg, #fff5f0 0%, #fff 100%);
    border: 1px solid #fed7aa;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(255, 107, 53, 0.05);
}

.identity-block {
    display: flex;
    align-items: center;
    gap: 16px;
}

.avatar-ring {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff6b35, #ff9f43);
    color: #fff;
    display: grid;
    place-items: center;
    font-weight: 700;
    font-size: 24px;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.identity-block h3 {
    margin: 0 0 4px 0;
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
}

.identity-block p {
    margin: 0;
    color: #4b5563;
    font-size: 0.95rem;
}

.chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.chip {
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid transparent;
}

.chip-success {
    background: #dcfce7;
    color: #166534;
    border-color: #bbf7d0;
}

.chip-warning {
    background: #fef9c3;
    color: #854d0e;
    border-color: #fde047;
}

.chip-danger {
    background: #fee2e2;
    color: #991b1b;
    border-color: #fecaca;
}

.chip-info {
    background: #e0f2fe;
    color: #075985;
    border-color: #bae6fd;
}

/* KPI Cards */
.kpi-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    grid-gap: 16px;
    gap: 16px;
}

.kpi-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 20px;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.kpi-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.06);
    border-color: #fed7aa;
}

.kpi-card span {
    color: #6b7280;
    font-size: 0.85rem;
    font-weight: 500;
    display: block;
    margin-bottom: 8px;
}

.kpi-card strong {
    font-size: 1.5rem;
    color: #111827;
    font-weight: 800;
}

/* Panels */
.panel-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-gap: 20px;
    gap: 20px;
}

.panel-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03);
    grid-column: span 4;
}

@media (max-width: 1024px) {
    .panel-card {
        grid-column: span 6;
    }
}

@media (max-width: 768px) {
    .panel-card {
        grid-column: span 12;
    }
}

.panel-card h4 {
    margin: 0 0 16px 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: #111827;
    display: flex;
    align-items: center;
    gap: 8px;
}

.digio-panel .detail-list {
    margin-bottom: 16px;
}

.digio-form {
    display: grid;
    grid-gap: 12px;
    gap: 12px;
}

.digio-field {
    display: grid;
    grid-gap: 6px;
    gap: 6px;
}

.digio-field label {
    font-size: 0.85rem;
    color: #6b7280;
    font-weight: 600;
}

.digio-field input,
.digio-field select {
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    font-size: 0.9rem;
}

.digio-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-gap: 12px;
    gap: 12px;
}

.digio-actions {
    display: flex;
    justify-content: flex-end;
}

.btn-primary {
    background: linear-gradient(135deg, #ff6b35, #ff9f43);
    color: #fff;
    border: none;
    padding: 10px 16px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-primary:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 8px 16px rgba(255, 107, 53, 0.25);
}

.digio-message {
    margin: 0;
    font-size: 0.85rem;
    color: #065f46;
}

@media (max-width: 768px) {
    .digio-grid {
        grid-template-columns: 1fr;
    }
}

.detail-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 12px;
    border-bottom: 1px solid #f3f4f6;
}

.detail-row:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

/* Document Grid */
.doc-grid-section {
    grid-column: span 12;
}

.doc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    grid-gap: 16px;
    gap: 16px;
    margin-top: 16px;
}

.doc-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    transition: all 0.2s ease;
    cursor: pointer;
    position: relative;
    height: 160px;
}

.doc-card:hover {
    background: #fff;
    border-color: #ff6b35;
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(255, 107, 53, 0.15);
}

.doc-icon {
    font-size: 40px;
    margin-bottom: 12px;
    color: #cbd5e1;
    transition: all 0.2s;
}

.doc-card:hover .doc-icon {
    color: #ff6b35;
    transform: scale(1.1);
}

.doc-info {
    width: 100%;
}

.doc-name {
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 4px;
    display: block;
}

.doc-meta {
    font-size: 11px;
    color: #94a3b8;
}

.view-btn-overlay {
    position: absolute;
    bottom: 16px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.2s ease;
}

.doc-card:hover .view-btn-overlay {
    opacity: 1;
    transform: translateY(0);
}

.doc-card:hover .doc-info {
    opacity: 0.1;
    /* Fade text on hover to show button clearly */
}

.btn-view-doc {
    background: #ff6b35;
    color: #fff;
    border: none;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(255, 107, 53, 0.3);
}

.upload-area {
    border: 2px dashed #cbd5e1;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background: #f8fafc;
    transition: all 0.2s;
    height: 160px;
}

.upload-area:hover {
    border-color: #ff6b35;
    background: #fff5f0;
}

.upload-icon {
    font-size: 32px;
    color: #94a3b8;
    margin-bottom: 8px;
}

.upload-area p {
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
    margin: 0;
}

.doc-empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px;
    background: #f9fafb;
    border-radius: 12px;
    color: #6b7280;
    font-style: italic;
}

/* CIBIL Score Badge in User View Modal */
.cibil-score-badge {
    text-align: center;
    padding: 0 20px;
    border-left: 2px solid #e5e7eb;
    border-right: 2px solid #e5e7eb;
    margin: 0 10px;
    min-width: 100px;
}

.cibil-score-badge .cibil-label {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 700;
    color: #6b7280;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.cibil-score-badge .cibil-value {
    font-size: 24px;
    font-weight: 800;
    line-height: 1.2;
}

@media (max-width: 768px) {
    .user-hero {
        flex-direction: column;
        align-items: flex-start;
    }

    .cibil-score-badge {
        border: none;
        padding: 0;
        margin: 10px 0;
        text-align: left;
    }
}
/* Admin Tabs Styling */

/* Analytics Tab */
.analytics-tab .analytics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-gap: 20px;
    gap: 20px;
    margin-top: 20px;
}

.analytics-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
}

.kpi-grid .analytics-card {
    background: white;
    color: #0f172a;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
}

.kpi-grid .stat-large {
    color: #0f172a;
}

.kpi-grid .analytics-card h3 {
    color: #334155;
}

.analytics-card h3 {
    margin: 0 0 10px 0;
    font-size: 14px;
    opacity: 0.9;
}

.stat-large {
    font-size: 48px;
    font-weight: bold;
    margin: 10px 0;
}

/* Permissions Tab */
.permissions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    grid-gap: 20px;
    gap: 20px;
    margin-top: 20px;
}

.permission-card {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    background: white;
}

.permission-card h4 {
    margin: 0 0 10px 0;
    color: #333;
}

.permission-card p {
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
}

.permission-actions {
    display: flex;
    gap: 10px;
}

/* Settings Tab */
.settings-sections {
    display: grid;
    grid-gap: 30px;
    gap: 30px;
    margin-top: 20px;
}

.setting-section {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    background: white;
}

.setting-section h3 {
    margin: 0 0 20px 0;
    color: #333;
    font-size: 18px;
}

.setting-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
}

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

.setting-item label {
    font-weight: 500;
    color: #555;
}

.setting-input {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    width: 300px;
}

/* Toggle Switch */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.4s;
    border-radius: 24px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

.toggle-switch input:checked+.toggle-slider {
    background-color: #f39c12;
}

.toggle-switch input:checked+.toggle-slider:before {
    transform: translateX(26px);
}

/* Database Tab */
.db-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    grid-gap: 20px;
    gap: 20px;
    margin: 20px 0;
}

.db-stat-card {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
}

.db-stat-card h3 {
    margin: 0 0 10px 0;
    font-size: 14px;
    opacity: 0.9;
}

.stat-value {
    font-size: 32px;
    font-weight: bold;
}

.db-tables-list {
    margin-top: 30px;
}

.db-tables-list h3 {
    margin-bottom: 15px;
}

.db-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 0 8px 12px 8px;
    flex-wrap: wrap;
}

.db-filter-group {
    display: flex;
    gap: 8px;
    align-items: center;
}

.db-maintenance {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

/* Security Tab */
.security-sections {
    display: grid;
    grid-gap: 20px;
    gap: 20px;
    margin-top: 20px;
}

.security-section {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    background: white;
}

.security-section h3 {
    margin: 0 0 15px 0;
    color: #333;
}

/* Activity Monitor Tab */
.activity-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    grid-gap: 20px;
    gap: 20px;
    margin: 20px 0;
}

.activity-stat {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: white;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
}

.activity-stat h4 {
    margin: 0 0 10px 0;
    font-size: 14px;
    opacity: 0.9;
}

.live-badge {
    background: #ff4444;
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
}

.activity-feed {
    margin-top: 20px;
}

.activity-feed h3 {
    margin-bottom: 15px;
}

.activity-group {
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 12px;
    margin-bottom: 12px;
    background: #fff;
}

.activity-group-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.badge {
    background: #eef2ff;
    color: #4338ca;
    padding: 4px 10px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 12px;
}

.activity-item {
    display: flex;
    gap: 15px;
    padding: 15px;
    border-bottom: 1px solid #f0f0f0;
    align-items: flex-start;
}

.activity-icon {
    font-size: 24px;
}

.activity-content {
    flex: 1 1;
}

.activity-content p {
    margin: 0 0 5px 0;
    color: #333;
}

.activity-time {
    font-size: 12px;
    color: #999;
}

/* Reports Tab */
.reports-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    grid-gap: 20px;
    gap: 20px;
    margin-top: 20px;
}

.tab-subtitle {
    margin: 12px 20px 0 20px;
    color: #6b7280;
    font-size: 14px;
}

.search-input {
    padding: 8px 10px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    width: 220px;
}

.chart-placeholder {
    margin: 18px 20px 24px 20px;
    padding: 36px;
    border: 1px dashed #e2e8f0;
    border-radius: 8px;
    text-align: center;
    color: #9ca3af;
}

.chart-inner {
    font-style: italic;
}

.report-card {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 25px;
    background: white;
    text-align: center;
}

.report-card h3 {
    margin: 0 0 10px 0;
    color: #333;
}

.report-card p {
    color: #666;
    font-size: 14px;
    margin-bottom: 20px;
}

/* Common Styles */
.data-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.data-table th,
.data-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

.data-table th {
    background: #f8f9fa;
    font-weight: 600;
    color: #333;
}

.data-table tr:hover {
    background: #f8f9fa;
}

.btn-small {
    padding: 6px 12px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    background: #f39c12;
    color: white;
}

.btn-small.danger {
    background: #e74c3c;
}

.action-btn {
    padding: 6px 10px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 16px;
}

.action-btn:hover {
    background: #f0f0f0;
    border-radius: 4px;
}

.no-data {
    text-align: center;
    padding: 40px;
    color: #999;
}

.primary-btn {
    background: #f39c12;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
}

.primary-btn:hover {
    background: #e67e22;
}

.secondary-btn {
    background: #3498db;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
}

.secondary-btn:hover {
    background: #2980b9;
}

.export-btn {
    background: #27ae60;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
}

.export-btn:hover {
    background: #229954;
}

/* Payment Gateway Tab */
.payment-gateway-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    grid-gap: 20px;
    gap: 20px;
    margin-top: 25px;
}

.gateway-card {
    padding: 24px;
    background: white;
    border: 1px solid #edf2f7;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.gateway-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.gateway-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 16px;
    gap: 16px;
    padding: 0 18px 18px 18px;
}

.gateway-status-card,
.gateway-form {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px;
    background: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

.status-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.gateway-chip {
    padding: 6px 12px;
    border-radius: 999px;
    font-weight: 700;
}

.gateway-chip.online {
    background: #ecfdf3;
    color: #0f9d58;
}

.gateway-chip.offline {
    background: #fef2f2;
    color: #b91c1c;
}

.meta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    grid-gap: 12px;
    gap: 12px;
    margin-top: 12px;
}

.meta-grid label {
    font-size: 12px;
    color: #6b7280;
}

.meta-grid p {
    margin: 4px 0 0 0;
    color: #0f172a;
}

.env-pill {
    padding: 4px 10px;
    background: #eef2ff;
    color: #4338ca;
    border-radius: 12px;
    display: inline-block;
}

.small-mono {
    font-family: monospace;
    font-size: 12px;
    color: #475569;
}

.status-actions {
    margin-top: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.test-chip {
    padding: 6px 10px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 700;
}

.test-chip.success {
    background: #ecfdf3;
    color: #0f9d58;
}

.test-chip.failed {
    background: #fef2f2;
    color: #b91c1c;
}

.gateway-form .form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    grid-gap: 12px;
    gap: 12px;
}

.gateway-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* API Management */
.api-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    grid-gap: 12px;
    gap: 12px;
    padding: 12px 18px;
}

.api-metric {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

.api-metric span {
    color: #64748b;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.api-metric strong {
    display: block;
    margin-top: 6px;
    font-size: 22px;
    color: #0f172a;
}

.api-rate-limit {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 12px 18px;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.rate-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.api-webhooks {
    padding: 16px 18px 18px 18px;
}

.api-webhook-card {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 14px;
    background: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

.form-grid.two-col {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    grid-gap: 12px;
    gap: 12px;
}

.webhook-actions {
    margin-top: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.small-mono {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 12px;
    color: #475569;
}

.gateway-card h3 {
    margin: 0;
    font-size: 1.25rem;
    color: #1a202c;
}

.gateway-status {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    width: -webkit-fit-content;
    width: fit-content;
}

.gateway-status.online {
    background: #c6f6d5;
    color: #22543d;
}

.gateway-status.offline {
    background: #fed7d7;
    color: #822727;
}

.transaction-history {
    margin-top: 40px;
}

.transaction-history h3 {
    margin-bottom: 20px;
    color: #2d3748;
}

/* KYC Management Tab */
.kyc-stats-row {
    display: flex;
    gap: 20px;
    margin: 20px 0;
}

.kyc-stat {
    flex: 1 1;
    background: rgba(255, 255, 255, 0.05);
    padding: 24px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    -webkit-backdrop-filter: blur(10px);
            backdrop-filter: blur(10px);
}

.kyc-stat span {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.kyc-stat h3 {
    font-size: 2.25rem;
    margin: 10px 0 0 0;
    color: #f39c12;
    font-weight: 700;
}

.status-badge.completed {
    background: rgba(39, 174, 96, 0.2);
    color: #2ecc71;
}

/* Leads Command Center */




.leads-insights-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    grid-gap: 16px;
    gap: 16px;
    padding: 20px;
}

.mini-kpi {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.mini-kpi span {
    font-size: 13px;
    color: #64748b;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mini-kpi strong {
    font-size: 28px;
    font-weight: 700;
    color: #0f172a;
    margin-top: 4px;
}

.mini-kpi small {
    font-size: 12px;
    color: #10b981;
    margin-top: 2px;
    font-weight: 600;
}

.mini-kpi.purple {
    border-left: 4px solid #7c3aed;
}

.mini-kpi.blue {
    border-left: 4px solid #0ea5e9;
}

.mini-kpi.green {
    border-left: 4px solid #10b981;
}

.mini-kpi.amber {
    border-left: 4px solid #f59e0b;
}

.leads-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    padding: 16px 20px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    align-items: flex-end;
}

.search-stack,
.filter-stack {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.input-label {
    font-size: 12px;
    color: #6b7280;
    font-weight: 600;
    letter-spacing: 0.2px;
}

.filter-select {
    padding: 10px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-size: 0.95rem;
    background: #fff;
}

.pill-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 16px 20px;
    background: #fff;
    border-bottom: 1px solid #f1f5f9;
}

.pill {
    border: 1px solid #e2e8f0;
    background: #fff;
    color: #334155;
    padding: 8px 12px;
    border-radius: 999px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.pill.active {
    background: #0ea5e9;
    color: #fff;
    border-color: #0ea5e9;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: capitalize;
}

.status-pill.status-new {
    background: #eef2ff;
    color: #4f46e5;
}

.status-pill.status-contacted {
    background: #fff7ed;
    color: #ea580c;
}

.status-pill.status-qualified {
    background: #ecfeff;
    color: #0ea5e9;
}

.status-pill.status-converted {
    background: #ecfdf3;
    color: #16a34a;
}

.status-pill.status-lost {
    background: #f8fafc;
    color: #475569;
}

.lead-name {
    font-weight: 700;
    color: #0f172a;
}

.lead-id {
    color: #94a3b8;
    font-size: 12px;
}

.contact-line {
    color: #0f172a;
}

.contact-line.light {
    color: #94a3b8;
    font-size: 12px;
}

.action-buttons.tight {
    gap: 6px;
}

.inline-select {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 6px 8px;
    background: #fff;
    font-size: 0.85rem;
}

.action-btn.assign {
    color: #0ea5e9;
    font-weight: 700;
}

.status-badge.pending {
    background: rgba(243, 156, 18, 0.2);
    color: #f1c40f;
}

.status-badge.in-progress {
    background: rgba(52, 152, 219, 0.2);
    color: #3498db;
}

.status-badge.rejected {
    background: rgba(231, 76, 60, 0.2);
    color: #e74c3c;
}

.action-btn.view {
    color: #3498db !important;
}

.action-btn.edit {
    color: #2ecc71 !important;
}

.action-btn.delete {
    color: #e74c3c !important;
}

.header-title-group h2 {
    margin-bottom: 4px;
}

.tab-subtitle {
    margin: 0 !important;
    color: rgba(255, 255, 255, 0.5) !important;
    font-size: 0.9rem !important;
}

.pill-switch {
    display: inline-flex;
    background: rgba(15, 23, 42, 0.4);
    border: 1px solid rgba(148, 163, 184, 0.3);
    border-radius: 999px;
    padding: 4px;
    margin-right: 10px;
    gap: 4px;
}

.pill-btn {
    background: transparent;
    color: #e2e8f0;
    border: none;
    padding: 6px 14px;
    border-radius: 999px;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.2s ease;
}

.pill-btn.active {
    background: #fff;
    color: #0f172a;
    box-shadow: 0 6px 12px rgba(15, 23, 42, 0.2);
}

.mandate-substatus {
    display: inline-block;
    margin-left: 8px;
    font-size: 0.78rem;
    color: #64748b;
}

/* Admin Modals */
.admin-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    -webkit-backdrop-filter: blur(8px);
            backdrop-filter: blur(8px);
    animation: fadeIn 0.3s ease;
}

.admin-modal-content {
    background: #ffffff;
    width: 90%;
    max-width: 550px;
    padding: 40px;
    border-radius: 20px;
    color: #1e293b;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    position: relative;
    animation: slideUp 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.admin-modal-content h3 {
    margin: 0 0 24px 0;
    font-size: 24px;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.5px;
}

.modal-form-group {
    margin-bottom: 24px;
}

.modal-form-group label {
    display: block;
    margin-bottom: 10px;
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.modal-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #f1f5f9;
    background: #f8fafc;
    border-radius: 12px;
    font-size: 15px;
    transition: all 0.2s ease;
    outline: none;
}

.modal-input:focus {
    border-color: #f39c12;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(243, 156, 18, 0.1);
}

textarea.modal-input {
    min-height: 100px;
    resize: vertical;
}

.admin-modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 16px;
    margin-top: 40px;
}

.admin-modal-btn {
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
    font-size: 15px;
}

.admin-modal-btn:active {
    transform: scale(0.98);
}

.admin-modal-btn.cancel {
    background: #f1f5f9;
    color: #64748b;
}

.admin-modal-btn.cancel:hover {
    background: #e2e8f0;
    color: #475569;
}

.admin-modal-btn.confirm {
    background: linear-gradient(135deg, #f39c12 0%, #d35400 100%);
    color: white;
    box-shadow: 0 4px 6px -1px rgba(243, 156, 18, 0.2);
}

.admin-modal-btn.confirm:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 15px -3px rgba(243, 156, 18, 0.3);
}

/* Mandate Modal */
.mandate-modal {
    max-width: 900px;
    padding: 32px 36px;
    max-height: 85vh;
    overflow-y: auto;
}

.mandate-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 16px;
}

.mandate-header h3 {
    margin: 0;
}

.mandate-header p {
    margin: 6px 0 0;
    color: #64748b;
    font-size: 0.9rem;
}

.mandate-section {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 18px 20px;
    margin-bottom: 16px;
}

.mandate-status-bar {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 16px;
    border-radius: 12px;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    color: #7c2d12;
    margin-bottom: 16px;
    font-weight: 600;
}

.mandate-details {
    background: #0f172a;
    color: #e2e8f0;
    border-radius: 14px;
    padding: 16px;
    margin-bottom: 16px;
    max-height: 240px;
    overflow: auto;
}

.mandate-details h4 {
    margin: 0 0 10px 0;
    font-size: 0.9rem;
    color: #f8fafc;
}

.mandate-details pre {
    margin: 0;
    white-space: pre-wrap;
    word-break: break-word;
    font-size: 0.8rem;
}

.mandate-section h4 {
    margin: 0 0 12px 0;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #475569;
}

.bank-filter-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.bank-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: #475569;
}

.bank-select-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mandate-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-gap: 14px 18px;
    gap: 14px 18px;
}

.mandate-modal .admin-form-group {
    margin-bottom: 0;
}

.mandate-modal .admin-form-group label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #64748b;
    font-weight: 600;
    margin-bottom: 8px;
}

.mandate-modal .admin-form-input,
.mandate-modal .admin-form-select {
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    background: #fff;
    padding: 10px 12px;
    font-size: 0.95rem;
    width: 100%;
}

.mandate-modal .admin-form-input:focus,
.mandate-modal .admin-form-select:focus {
    outline: none;
    border-color: #f39c12;
    box-shadow: 0 0 0 3px rgba(243, 156, 18, 0.15);
}

.mandate-message {
    margin: 6px 0 0;
    color: #065f46;
    font-weight: 600;
}

.mandate-error-chip {
    display: inline-flex;
    align-items: center;
    margin-left: 8px;
    padding: 4px 8px;
    border-radius: 999px;
    background: #fee2e2;
    color: #991b1b;
    font-size: 0.72rem;
    font-weight: 700;
    border: 1px solid #fecaca;
}

.mandate-error-panel {
    background: #fee2e2;
    color: #7f1d1d;
    border: 1px solid #fecaca;
    padding: 10px 12px;
    border-radius: 12px;
    margin-bottom: 16px;
    font-weight: 600;
}

@media (max-width: 900px) {
    .mandate-grid {
        grid-template-columns: 1fr;
    }

    .mandate-modal {
        max-width: 640px;
        padding: 24px;
    }
}

.permissions-checklist::-webkit-scrollbar {
    width: 6px;
}

.permissions-checklist::-webkit-scrollbar-track {
    background: #f1f5f9;
}

.permissions-checklist::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}

.permissions-checklist::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Delete Confirmation Modal Styles */
.delete-confirmation-modal {
    max-width: 500px !important;
}

.delete-modal-header {
    text-align: center;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 2px solid #fee2e2;
}

.delete-modal-header .warning-icon {
    font-size: 48px;
    margin-bottom: 12px;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

.delete-modal-header h3 {
    color: #dc2626;
    font-size: 22px;
    font-weight: 700;
    margin: 0;
}

.delete-modal-body {
    margin-bottom: 24px;
}

.warning-text {
    text-align: center;
    font-size: 15px;
    color: #374151;
    margin-bottom: 24px;
    line-height: 1.6;
}

.warning-text strong {
    color: #dc2626;
    font-weight: 700;
}

.loan-info-box {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-left: 4px solid #f59e0b;
    padding: 16px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.loan-info-box h4 {
    margin: 0 0 12px 0;
    color: #92400e;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.loan-info-box p {
    margin: 6px 0;
    color: #78350f;
    font-size: 14px;
}

.loan-info-box strong {
    color: #92400e;
    font-weight: 600;
}

.warning-box {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    border-left: 4px solid #dc2626;
    padding: 16px 20px;
    border-radius: 8px;
}

.warning-title {
    margin: 0 0 12px 0;
    color: #991b1b;
    font-size: 14px;
    font-weight: 700;
}

.warning-list {
    margin: 12px 0;
    padding-left: 24px;
    color: #7f1d1d;
}

.warning-list li {
    margin: 6px 0;
    font-size: 13px;
    line-height: 1.5;
}

.danger-text {
    margin: 12px 0 0 0;
    color: #991b1b;
    font-weight: 700;
    font-size: 14px;
    text-align: center;
    padding-top: 12px;
    border-top: 1px solid #fca5a5;
}

.admin-modal-btn.delete-confirm {
    background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
    color: white;
    box-shadow: 0 4px 6px -1px rgba(220, 38, 38, 0.3);
    font-weight: 700;
}

.admin-modal-btn.delete-confirm:hover {
    background: linear-gradient(135deg, #b91c1c 0%, #7f1d1d 100%);
    transform: translateY(-1px);
    box-shadow: 0 10px 15px -3px rgba(220, 38, 38, 0.4);
}

.admin-modal-btn.delete-confirm:active {
    transform: scale(0.98);
}




.kanban-cards {
    overflow-y: auto;
    gap: 10px;
    display: flex;
    flex-direction: column;
    padding-bottom: 8px;
    flex: 1 1;
}

.kanban-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: grab;
}

.kanban-card:active {
    cursor: grabbing;
}

.kanban-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border-color: #cbd5e1;
}

.k-card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
}

.k-name {
    font-weight: 600;
    color: #0f172a;
    font-size: 14px;
}

.k-date {
    font-size: 10px;
    color: #94a3b8;
}

.k-details {
    font-size: 12px;
    color: #64748b;
    margin-bottom: 10px;
    line-height: 1.5;
}

.k-source {
    display: inline-block;
    font-size: 10px;
    background: #f1f5f9;
    padding: 2px 6px;
    border-radius: 4px;
    color: #475569;
}



.leads-modal-header {
    background: linear-gradient(to right, #f8fafc, #fff);
    padding: 24px;
    border-bottom: 1px solid #e2e8f0;
}

.leads-modal-header h3 {
    margin: 0;
    color: #0f172a;
    font-size: 20px;
    font-weight: 700;
}

.leads-modal-body {
    padding: 24px;
}

.modal-grid-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 16px;
    gap: 16px;
    margin-bottom: 16px;
}

.fancy-input-group {
    position: relative;
    margin-bottom: 6px;
}

.fancy-input,
.fancy-select,
.fancy-textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.2s;
    background: #ffffff;
    box-sizing: border-box;
    /* Important fix */
}

.fancy-input:focus,
.fancy-select:focus,
.fancy-textarea:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
    outline: none;
}

.fancy-label {
    display: block;
    margin-bottom: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.modal-footer {
    padding: 20px 24px;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

/* -----------------------------------------------------------------------------
   LEADS DASHBOARD RESTRUCTURE - FINAL POLISH
   ----------------------------------------------------------------------------- */

/* Main Container */
.leads-dashboard-container {
    display: flex;
    flex-direction: column;
    height: calc(100vh - 80px);
    /* Adjust based on your header height */
    background: #f8fafc;
    overflow: hidden;
}

/* 1. Header & Stats Section */
.leads-header-section {
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    padding: 2px 0;
    flex-shrink: 0;
    padding: 2px 0;
    flex-shrink: 0;
    z-index: 20;
    position: relative;
}

.leads-insights-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 16px;
    gap: 16px;
    padding: 16px 24px;
    max-width: 1600px;
    margin: 0 auto;
}

.mini-kpi {
    background: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 10px;
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
    min-height: 120px;
    padding: 20px;
}

.kpi-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.kpi-header span:first-child {
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.kpi-trend {
    font-size: 12px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 12px;
    background: #f1f5f9;
    color: #64748b;
}

.kpi-trend.up {
    background: #dcfce7;
    color: #16a34a;
}

.kpi-alert {
    font-size: 11px;
    font-weight: 700;
    color: #ef4444;
    background: #fee2e2;
    padding: 2px 6px;
    border-radius: 4px;
}

.kpi-body {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.kpi-body strong {
    font-size: 28px;
    font-weight: 700;
    color: #1e293b;
    line-height: 1;
}

.kpi-chart {
    flex-grow: 1;
    max-width: 100px;
    height: 40px;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
}

.kpi-chart.donut svg {
    transform: rotate(-90deg);
}

.kpi-chart.bars {
    display: flex;
    gap: 4px;
    align-items: flex-end;
    height: 32px;
}

.kpi-chart.bars .bar {
    width: 6px;
    background: #e2e8f0;
    border-radius: 2px;
    transition: height 0.3s ease;
}

.kpi-chart.bars .bar.active {
    background: #10b981;
}

.kpi-icon-bg {
    color: #f59e0b;
    opacity: 0.8;
}

.mini-kpi::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
}

.mini-kpi.purple::after {
    background: #8b5cf6;
}

.mini-kpi.blue::after {
    background: #3b82f6;
}

.mini-kpi.green::after {
    background: #10b981;
}

.mini-kpi.amber::after {
    background: #f59e0b;
}

.mini-kpi span {
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 6px;
}

.mini-kpi strong {
    font-size: 28px;
    font-weight: 800;
    color: #1e293b;
    line-height: 1.1;
}

/* 2. Controls Toolbar */
.leads-toolbar {
    display: grid;
    grid-template-columns: auto 1fr auto;
    grid-gap: 20px;
    gap: 20px;
    align-items: center;
    padding: 12px 24px;
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    position: relative;
    z-index: 15;
}

button {
    cursor: pointer;
}

.search-stack {
    flex: 1 1;
    max-width: 400px;
    position: relative;
}

.search-input {
    width: 100%;
    padding: 0 16px 0 36px;
    height: 40px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #f8fafc;
    font-size: 14px;
    transition: all 0.2s;
}

.search-input:focus {
    background: #fff;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.search-icon-placeholder {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    pointer-events: none;
}

.filter-group {
    display: flex;
    gap: 10px;
}

.filter-select {
    height: 40px;
    padding: 0 32px 0 12px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background-color: #ffffff;
    font-size: 13px;
    color: #334155;
    font-weight: 500;
    cursor: pointer;
}

.filter-select:hover {
    border-color: #cbd5e1;
}

.view-toggle-group {
    display: flex;
    background: #f1f5f9;
    padding: 3px;
    border-radius: 8px;
}

.view-btn {
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
    background: transparent;
    border: none;
    cursor: pointer;
    border-radius: 6px;
}

.view-btn.active {
    background: #fff;
    color: #0f172a;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

/* 3. Quick Pills Row */
.pill-filters {
    display: flex;
    gap: 8px;
    padding: 12px 24px;
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
    overflow-x: auto;
    flex-shrink: 0;
    /* Prevent shrinking */
}

.pill {
    padding: 6px 14px;
    border-radius: 99px;
    font-size: 12px;
    font-weight: 600;
    color: #475569;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    cursor: pointer;
    transition: all 0.15s;
    white-space: nowrap;
}

.pill:hover {
    background: #f1f5f9;
    color: #1e293b;
}

.pill.active {
    background: #eff6ff;
    color: #2563eb;
    border-color: #bfdbfe;
}

/* 4. Kanban Board Area */
.kanban-board-container {
    flex: 1 1;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 24px;
    background: #f8fafc;
}

.kanban-board {
    display: flex;
    gap: 20px;
    height: 100%;
    align-items: flex-start;
}

.kanban-column {
    min-width: 280px;
    width: 280px;
    max-width: 280px;
    background: #eff1f5;
    /* Subtle contrast */
    border-radius: 12px;
    padding: 6px;
    /* Tighter padding */
    display: flex;
    flex-direction: column;
    max-height: 100%;
    border: 1px solid #e2e8f0;
}

.kanban-header {
    padding: 12px 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    font-weight: 700;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.kanban-count {
    background: rgba(0, 0, 0, 0.05);
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 11px;
    color: #64748b;
}

.kanban-cards {
    flex: 1 1;
    overflow-y: auto;
    padding: 0 4px 4px 4px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Custom Scrollbar for columns */
.kanban-cards::-webkit-scrollbar {
    width: 4px;
}

.kanban-cards::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

.kanban-card {
    background: #fff;
    border-radius: 8px;
    padding: 14px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    border: 1px solid transparent;
    transition: all 0.2s;
    cursor: grab;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.kanban-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px -4px rgba(0, 0, 0, 0.08);
    /* Better lift */
    border-color: #cbd5e1;
    z-index: 5;
}

.k-card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.k-name {
    font-size: 14px;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.3;
}

.k-date {
    font-size: 11px;
    color: #94a3b8;
    font-weight: 500;
}

.k-source {
    align-self: flex-start;
    font-size: 10px;
    font-weight: 600;
    color: #64748b;
    background: #f1f5f9;
    padding: 3px 8px;
    border-radius: 4px;
    border: 1px solid #e2e8f0;
}

.k-details {
    font-size: 12px;
    color: #475569;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.k-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 10px;
    border-top: 1px solid #f1f5f9;
    margin-top: 2px;
}

.k-assignee {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 500;
    color: #64748b;
}

.icon-btn {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    border: 1px solid transparent;
    background: transparent;
    color: #94a3b8;
    transition: all 0.15s;
    cursor: pointer;
}

.icon-btn:hover {
    background: #f1f5f9;
    color: #0f172a;
}

.icon-btn.whatsapp:hover {
    color: #16a34a;
    background: #dcfce7;
}

.icon-btn.call:hover {
    color: #0284c7;
    background: #e0f2fe;
}

.icon-btn.edit:hover {
    color: #f59e0b;
    background: #fef3c7;
}

.icon-btn.assign:hover {
    color: #6366f1;
    background: #e0e7ff;
}

.icon-btn.delete:hover {
    color: #ef4444;
    background: #fee2e2;
}

/* 5. Modal Polish */
.leads-modal-header {
    background: #ffffff;
    padding: 20px 24px;
    border-bottom: 1px solid #f1f5f9;
}

.leads-modal-header h3 {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
}

.leads-modal-body {
    padding: 24px;
    background: #fcfcfc;
}

.modal-grid-row {
    gap: 20px;
    margin-bottom: 20px;
}

.fancy-label {
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.fancy-input,
.fancy-select,
.fancy-textarea {
    border: 1px solid #e2e8f0;
    background: #fff;
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 14px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}

.fancy-input:focus,
.fancy-select:focus,
.fancy-textarea:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
    outline: none;
}

.modal-footer {
    padding: 20px 24px;
    background: #a85757;
    border-top: 1px solid #f1f5f9;
}

/* -----------------------------------------------------------------------------
   LEADS MODAL OVERLAY STYLES
   ----------------------------------------------------------------------------- */

.leads-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.6);
    -webkit-backdrop-filter: blur(4px);
            backdrop-filter: blur(4px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.leads-modal-content {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    animation: modalSlideUp 0.3s ease-out forwards;
}

@keyframes modalSlideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* Super Admin Dashboard Styles */

.super-admin-dashboard-page {
    animation: fadeIn 0.5s ease;
    background: #f8fafc;
    width: 100%;
}

/* Super Admin Header */
.super-admin-welcome-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    color: white;
}

.super-admin-welcome-header h1 {
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
}

.super-admin-subtitle {
    opacity: 0.95;
    font-size: 1rem;
    margin: 0;
}

/* Super Quick Actions */
.super-quick-actions {
    display: flex;
    gap: 0.75rem;
}

.super-action-btn {
    padding: 0.75rem 1.25rem;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border: none;
    font-size: 0.9rem;
    color: white;
}

.super-action-btn.create-admin {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.super-action-btn.create-user {
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.25);
}

.super-action-btn.settings {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.super-action-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* Enhanced Stats Grid */
.super-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    grid-gap: 1.5rem;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.super-stat-card {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    gap: 1.25rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.super-stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
}

.super-stat-card.purple::before {
    background: linear-gradient(135deg, #9f7aea, #805ad5);
}

.super-stat-card.pink::before {
    background: linear-gradient(135deg, #f093fb, #f5576c);
}

.super-stat-card.blue::before {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
}

.super-stat-card.green::before {
    background: linear-gradient(135deg, #43e97b, #38f9d7);
}

.super-stat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.super-stat-card.purple .stat-icon {
    background: linear-gradient(135deg, #9f7aea, #805ad5);
}

.super-stat-card.pink .stat-icon {
    background: linear-gradient(135deg, #f093fb, #f5576c);
}

.super-stat-card.blue .stat-icon {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
}

.super-stat-card.green .stat-icon {
    background: linear-gradient(135deg, #43e97b, #38f9d7);
}



/* Tab Content */
.super-tab-content {
    animation: fadeIn 0.3s ease;
}

/* Super Card */
.super-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.super-card-header {
    padding: 1.5rem;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.users-card-header {
    gap: 1rem;
}

.users-card-title {
    display: flex;
    flex-direction: column;
}

.users-title {
    font-size: 1rem;
    margin: 0;
    color: #2d3748;
    font-weight: 700;
}

.users-note {
    margin: 4px 0 0 0;
    color: #718096;
    font-size: 0.85rem;
}

.users-header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.include-admins-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #4a5568;
}

.include-admins-toggle input[type="checkbox"] {
    width: 16px;
    height: 16px;
}

.user-status-select,
.user-kyc-select {
    padding: 6px 8px;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    background: white;
    font-size: 0.95rem;
}

.user-status-select {
    min-width: 120px;
}

.user-kyc-select {
    min-width: 140px;
}

.super-card-header h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a202c;
    margin: 0;
}

.add-btn,
.export-btn {
    padding: 0.625rem 1.25rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.add-btn:hover,
.export-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

/* Header Actions */
.header-actions {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.action-header-btn {
    padding: 0.625rem 1rem;
    border: 1px solid #e2e8f0;
    background: white;
    color: #475569;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.875rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.action-header-btn:hover {
    background: #f8fafc;
    border-color: #cbd5e0;
    transform: translateY(-1px);
}

.action-header-btn.create-admin:hover {
    background: #ede9fe;
    border-color: #a78bfa;
    color: #7c3aed;
}

.action-header-btn.create-user:hover {
    background: #dbeafe;
    border-color: #60a5fa;
    color: #2563eb;
}

.action-header-btn.settings:hover {
    background: #fef3c7;
    border-color: #fbbf24;
    color: #d97706;
}

/* Overview Grid */
.overview-content {
    margin-bottom: 2rem;
}

.overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    grid-gap: 1.5rem;
    gap: 1.5rem;
    padding: 1.5rem;
}

.enhanced-overview-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    padding: 1.25rem;
}

.overview-actions {
    display: flex;
    gap: 0.5rem;
}

.insight-pulse-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    grid-gap: 1rem;
    gap: 1rem;
    padding: 0 1.25rem 0.75rem;
}

.pulse-card {
    background: linear-gradient(135deg, #0f172a, #1f2a44);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: #e2e8f0;
    border-radius: 14px;
    padding: 1rem;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.22);
}

.pulse-label { font-size: 0.85rem; letter-spacing: 0.02em; opacity: 0.8; }
.pulse-value { font-size: 1.8rem; font-weight: 800; margin: 0.15rem 0; }
.pulse-value.warning { color: #f59e0b; }
.pulse-value.success { color: #22c55e; }
.pulse-sub { font-size: 0.85rem; color: #cbd5e1; margin-bottom: 0.35rem; }

.sparkbar {
    display: flex;
    align-items: flex-end;
    gap: 4px;
    height: 50px;
}
.sparkbar span {
    flex: 1 1;
    background: rgba(255, 255, 255, 0.14);
    border-radius: 4px 4px 0 0;
    transition: height 0.3s ease, background 0.3s ease;
}
.sparkbar.info span { background: rgba(59,130,246,0.28); }
.sparkbar.warning span { background: rgba(245,158,11,0.28); }
.sparkbar.success span { background: rgba(16,185,129,0.28); }
.sparkbar span:last-child { background: #7c3aed; }

.overview-insights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    grid-gap: 1rem;
    gap: 1rem;
    padding: 0 1.25rem 1.25rem;
}

.insight-card {
    background: #0f172a;
    color: #e2e8f0;
    border-radius: 12px;
    padding: 1rem 1.25rem;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.insight-card .insight-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    opacity: 0.7;
}

.insight-card .insight-value {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0.2rem 0;
}

.insight-card .insight-sub {
    font-size: 0.9rem;
    color: #cbd5e1;
    margin: 0;
}

.insight-card.success { background: linear-gradient(135deg, #0ea5e9, #22d3ee); color: #0b1224; }
.insight-card.warning { background: linear-gradient(135deg, #f97316, #facc15); color: #1f1f1f; }
.insight-card.info { background: linear-gradient(135deg, #312e81, #4c1d95); }
.insight-card.alert { background: linear-gradient(135deg, #be123c, #f97316); }

.card-clickable {
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.card-clickable:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.overview-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: #f7fafc;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.overview-item:hover {
    background: #edf2f7;
    transform: translateY(-2px);
}

.overview-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.overview-icon.blue {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
}

.overview-icon.orange {
    background: linear-gradient(135deg, #fa709a, #fee140);
}

.overview-icon.green {
    background: linear-gradient(135deg, #43e97b, #38f9d7);
}

.overview-icon.purple {
    background: linear-gradient(135deg, #a8edea, #fed6e3);
}

.overview-item h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a202c;
    margin: 0 0 0.25rem 0;
}

.overview-item p {
    color: #718096;
    font-size: 0.85rem;
    margin: 0;
}

/* Table Styles - Clean & Minimal */
.super-table-container {
    overflow-x: auto;
}

.super-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: auto;
    /* Changed from fixed to auto for better spacing */
}

.super-table thead {
    background: #f8fafc;
    border-bottom: 2px solid #e2e8f0;
}

.super-table th {
    padding: 1rem;
    /* Reduced from 1rem 1.5rem for tighter spacing */
    text-align: left;
    font-weight: 600;
    font-size: 0.875rem;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    /* Prevent header text wrapping */
}

/* Removed fixed column widths - columns will auto-size based on content */

.super-table tbody tr {
    border-bottom: 1px solid #e2e8f0;
    transition: background-color 0.15s ease;
}

.super-table tbody tr:hover {
    background-color: #f8fafc;
}

.super-table td {
    padding: 0.875rem 1rem;
    /* Reduced from 1rem 1.5rem for tighter spacing */
    color: #334155;
    font-size: 0.9375rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.admin-name {
    font-weight: 600;
    color: #0f172a;
}

.admin-email {
    color: #64748b;
}

.admin-phone {
    color: #94a3b8;
}

.admin-date {
    color: #94a3b8;
    font-size: 0.875rem;
}

.loans-count {
    font-weight: 600;
    color: #667eea;
}

/* Role Badge - Minimal */
.role-badge {
    padding: 0.375rem 0.75rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
}

.role-badge.super-admin {
    background: #fce7f3;
    color: #be123c;
    border: 1px solid #fbcfe8;
}

.role-badge.admin {
    background: #dbeafe;
    color: #1e40af;
    border: 1px solid #bfdbfe;
}

/* Status Badge - Minimal */
.status-badge {
    padding: 0.375rem 0.75rem;
    border-radius: 4px;
    font-size: 0.8125rem;
    font-weight: 600;
    display: inline-block;
}

.status-badge.status-success {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.status-badge.status-warning {
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #fde68a;
}

.status-badge.status-danger {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* Action Buttons - Clean & Minimal */
.action-buttons {
    display: flex;
    gap: 0.5rem;
}

.action-btn {
    padding: 0.5rem 0.875rem;
    border-radius: 4px;
    border: 1px solid;
    cursor: pointer;
    transition: all 0.15s ease;
    font-size: 0.8125rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    background: white;
}

.action-btn.view {
    color: #0369a1;
    border-color: #bae6fd;
}

.action-btn.view:hover {
    background: #f0f9ff;
    border-color: #7dd3fc;
}

.action-btn.login {
    color: #7c3aed;
    border-color: #ddd6fe;
}

.action-btn.login:hover {
    background: #faf5ff;
    border-color: #c4b5fd;
}

.action-btn.edit {
    color: #059669;
    border-color: #a7f3d0;
}

.action-btn.edit:hover {
    background: #f0fdf4;
    border-color: #6ee7b7;
}

.action-btn.delete {
    color: #dc2626;
    border-color: #fecaca;
}

.action-btn.delete:hover {
    background: #fef2f2;
    border-color: #fca5a5;
}

/* System Logs */
.logs-container {
    padding: 1.5rem;
    max-height: 600px;
    overflow-y: auto;
}

.log-item {
    display: flex;
    gap: 1rem;
    padding: 1.25rem;
    border-radius: 12px;
    margin-bottom: 1rem;
    border-left: 4px solid;
    transition: all 0.3s ease;
}

.log-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.log-item.log-success {
    background: #f0fdf4;
    border-left-color: #22c55e;
}

/* Premium Dashboard Re-creation */
.dashboard-summary-premium {
    animation: fadeIn 0.8s ease-out;
}

.live-status-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    -webkit-backdrop-filter: blur(10px);
            backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.live-indicator {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.pulse-dot {
    width: 10px;
    height: 10px;
    background: #48bb78;
    border-radius: 50%;
    box-shadow: 0 0 0 rgba(72, 187, 120, 0.4);
    animation: pulse-green 2s infinite;
}

.live-text {
    font-weight: 600;
    color: #2d3748;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.last-updated {
    font-size: 0.85rem;
    color: #718096;
}

/* Glassmorphism Stat Cards */
.super-stats-grid-premium {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    grid-gap: 1.5rem;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.glass-morph {
    background: rgba(255, 255, 255, 0.8);
    -webkit-backdrop-filter: blur(20px);
            backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
}

.premium-stat-card {
    padding: 1.75rem;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.premium-stat-card:hover {
    transform: translateY(-8px);
}

.stat-icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.purple .stat-icon-wrapper {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.pink .stat-icon-wrapper {
    background: linear-gradient(135deg, #ff758c 0%, #ff7eb3 100%);
}

.blue .stat-icon-wrapper {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.green .stat-icon-wrapper {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.stat-label {
    font-size: 0.9rem;
    color: #718096;
    margin: 0;
}

.stat-value {
    font-size: 2rem;
    font-weight: 800;
    color: #1a202c;
    margin: 0.25rem 0;
}

.stat-trend {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
}

.stat-trend.positive {
    color: #48bb78;
}

.stat-trend.negative {
    color: #f56565;
}

.stat-trend.neutral {
    color: #718096;
}

/* Bento Grid Widgets */
.dashboard-widgets-grid-premium {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-gap: 2rem;
    gap: 2rem;
    margin-bottom: 2rem;
}

.widget-card {
    padding: 2rem;
    border-radius: 24px;
}

.widget-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.widget-header h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #2d3748;
    margin: 0;
}

/* Premium Chart */
.premium-chart-container {
    display: flex;
    gap: 1.5rem;
    height: 300px;
    position: relative;
    padding-left: 3rem;
}

.chart-y-axis {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    font-size: 0.75rem;
    color: #a0aec0;
}

.chart-bars-wrapper {
    flex: 1 1;
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    gap: 1rem;
    border-bottom: 1px solid #edf2f7;
}

.chart-bar-group {
    flex: 1 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.bar-interactive {
    width: 60%;
    max-width: 40px;
    background: linear-gradient(to top, #667eea, #764ba2);
    border-radius: 6px 6px 0 0;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

.bar-interactive:hover {
    filter: brightness(1.2);
    box-shadow: 0 4px 15px rgba(118, 75, 162, 0.4);
}

.bar-tooltip {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: #1a202c;
    color: white;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    font-size: 0.75rem;
    opacity: 0;
    pointer-events: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.bar-interactive:hover .bar-tooltip {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.bar-label {
    font-size: 0.8rem;
    color: #718096;
}

/* Health Monitor */
.health-metrics-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.health-metric-item {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.metric-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    font-weight: 600;
}

.metric-status {
    font-size: 0.75rem;
    padding: 0.25rem 0.6rem;
    border-radius: 20px;
}

.metric-status.online {
    background: #c6f6d5;
    color: #22543d;
}

.metric-status.busy {
    background: #feebc8;
    color: #744210;
}

.metric-progress-base {
    height: 8px;
    background: #edf2f7;
    border-radius: 4px;
    overflow: hidden;
}

.metric-progress-fill {
    height: 100%;
    background: #48bb78;
    border-radius: 4px;
    transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.metric-progress-fill.blue {
    background: #4299e1;
}

.metric-progress-fill.warning {
    background: #ed8936;
}

.premium-full-audit-btn {
    margin-top: 2rem;
    width: 100%;
    padding: 1rem;
    background: #1a202c;
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.premium-full-audit-btn:hover {
    background: #2d3748;
    transform: scale(1.02);
}

/* Premium Activity List */
.recent-activity-premium {
    padding: 2rem;
    border-radius: 24px;
}

.premium-activity-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.premium-activity-item {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    grid-gap: 1.5rem;
    gap: 1.5rem;
    padding: 1.25rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.4);
    transition: background 0.2s ease;
}

.premium-activity-item:hover {
    background: rgba(255, 255, 255, 0.8);
}

.activity-status-icon {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.success .activity-status-icon {
    background: #48bb78;
    box-shadow: 0 0 10px rgba(72, 187, 120, 0.4);
}

.warning .activity-status-icon {
    background: #ed8936;
    box-shadow: 0 0 10px rgba(237, 137, 54, 0.4);
}

.error .activity-status-icon {
    background: #f56565;
    box-shadow: 0 0 10px rgba(245, 101, 101, 0.4);
}

.info .activity-status-icon {
    background: #4299e1;
    box-shadow: 0 0 10px rgba(66, 153, 225, 0.4);
}

.activity-main {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.25rem;
}

.activity-user {
    font-size: 0.75rem;
    color: #718096;
}

.activity-desc {
    margin: 0;
    font-size: 0.9rem;
    color: #4a5568;
}

.activity-time {
    font-size: 0.8rem;
    color: #a0aec0;
}

/* Animations */
@keyframes pulse-green {
    0% {
        box-shadow: 0 0 0 0 rgba(72, 187, 120, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(72, 187, 120, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(72, 187, 120, 0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Responsive Adjustments */
@media (max-width: 1024px) {
    .dashboard-widgets-grid-premium {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .super-stats-grid-premium {
        grid-template-columns: 1fr;
    }

    .live-status-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

.log-item.log-warning {
    background: #fef3c7;
    border-left-color: #f59e0b;
}

.log-item.log-error {
    background: #fee2e2;
    border-left-color: #ef4444;
}

.log-item.log-info {
    background: #dbeafe;
    border-left-color: #3b82f6;
}

.log-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.log-content {
    flex: 1 1;
}

.log-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.log-header h4 {
    margin: 0;
    font-size: 1rem;
    color: #1a202c;
    font-weight: 700;
}

.log-time {
    font-size: 0.85rem;
    color: #718096;
}

.log-details {
    margin: 0 0 0.5rem 0;
    color: #4a5568;
    font-size: 0.9rem;
    line-height: 1.5;
}

.log-user {
    font-size: 0.85rem;
    color: #718096;
    font-weight: 500;
}

/* Responsive */
@media (max-width: 1200px) {
    .super-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .super-admin-welcome-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .super-quick-actions {
        width: 100%;
        flex-wrap: wrap;
    }

    .super-action-btn {
        flex: 1 1;
        min-width: calc(50% - 0.375rem);
    }

    .super-stats-grid {
        grid-template-columns: 1fr;
    }



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

    .super-table th,
    .super-table td {
        padding: 0.875rem;
        font-size: 0.85rem;
    }

    .action-buttons {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .super-admin-welcome-header h1 {
        font-size: 1.5rem;
    }

    .super-admin-subtitle {
        font-size: 0.9rem;
    }

    .super-card-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .add-btn,
    .export-btn {
        width: 100%;
    }

    .super-table {
        font-size: 0.8rem;
    }
}

/* Dashboard Widgets */
.dashboard-widgets-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-gap: 1.5rem;
    gap: 1.5rem;
    margin-top: 2rem;
}

.performance-chart-placeholder {
    height: 200px;
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    padding: 1.5rem;
    background: #fdfdfd;
}

.placeholder-bar {
    width: 30px;
    background: linear-gradient(180deg, #667eea 0%, #764ba2 100%);
    border-radius: 4px 4px 0 0;
    animation: barGrow 1s ease-out;
}

@keyframes barGrow {
    from {
        height: 0;
    }
}

.performance-labels {
    display: flex;
    justify-content: space-around;
    padding: 0 1.5rem 1rem;
    color: #a0aec0;
    font-size: 0.8rem;
}

.mini-logs {
    padding: 1rem;
}

.mini-log-item {
    display: flex;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f1f5f9;
}

.mini-log-item:last-child {
    border-bottom: none;
}

.log-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #667eea;
    margin-top: 5px;
    flex-shrink: 0;
}

.mini-log-info p {
    margin: 0;
    font-size: 0.875rem;
    color: #2d3748;
}

.mini-log-info small {
    color: #a0aec0;
}

@media (max-width: 1024px) {
    .dashboard-widgets-grid {
        grid-template-columns: 1fr;
    }
}

/* System Modal Styles */
.system-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.7);
    -webkit-backdrop-filter: blur(8px);
            backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    animation: fadeIn 0.2s ease;
}

.system-modal-content.bento-look {
    background: white;
    width: 90%;
    max-width: 450px;
    border-radius: 20px;
    padding: 0;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    animation: slideUp 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.system-modal-header {
    padding: 1.5rem;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.system-modal-header h3 {
    margin: 0;
    color: #1e293b;
    font-size: 1.25rem;
    font-weight: 700;
}

.close-x {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #64748b;
    cursor: pointer;
    line-height: 1;
}

.system-modal-body {
    padding: 2rem 1.5rem;
    text-align: center;
}

.system-modal-body p {
    margin: 0;
    color: #475569;
    font-size: 1.1rem;
    line-height: 1.6;
}

.system-modal-footer {
    padding: 1.25rem 1.5rem;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.modal-btn-confirm,
.modal-btn-cancel {
    padding: 0.75rem 1.75rem;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.95rem;
}

.modal-btn-confirm {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    min-width: 120px;
}

.modal-btn-confirm:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.modal-btn-cancel {
    background: white;
    border: 1px solid #e2e8f0;
    color: #64748b;
}

.modal-btn-cancel:hover {
    background: #f1f5f9;
    color: #1e293b;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.header-actions.search-row {
    margin-top: 0.75rem;
    display: flex;
    gap: 0.5rem;
    align-items: center;
}
.search-input {
    flex: 1 1;
    padding: 0.55rem 0.75rem;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-size: 0.95rem;
}


.user-header { align-items: center; gap: 0.5rem; }
.header-left { display: flex; flex-direction: column; gap: 4px; }
.header-sub { margin: 0; color: #6b7280; font-size: 0.9rem; }

/* Role Focus Panels */
.role-focus-panel {
    margin: 1rem 1.25rem 0 1.25rem;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 16px 18px;
    background: #fff;
    box-shadow: 0 8px 20px rgba(0,0,0,0.04);
}
.role-focus-panel.sales { border-left: 4px solid #7c3aed; }
.role-focus-panel.branch { border-left: 4px solid #0ea5e9; }
.role-focus-panel.collection { border-left: 4px solid #f59e0b; }
.role-panel-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.role-panel-head h3 { margin: 0; color: #0f172a; }
.eyebrow { margin: 0; text-transform: uppercase; letter-spacing: 0.6px; font-weight: 700; color: #94a3b8; font-size: 12px; }
.role-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.role-kpi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); grid-gap: 10px; gap: 10px; margin-top: 12px; }
.role-kpi { border: 1px solid #e2e8f0; border-radius: 10px; padding: 12px; background: #f8fafc; }
.role-kpi span { display: block; color: #64748b; font-size: 12px; margin-bottom: 6px; }
.role-kpi strong { color: #0f172a; font-size: 22px; }
.role-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.pill-stat { padding: 8px 10px; border-radius: 999px; background: #e2e8f0; color: #0f172a; font-weight: 700; font-size: 12px; }
.pill-stat.warn { background: #fff7ed; color: #c2410c; }
.pill-stat.info { background: #ecfeff; color: #0ea5e9; }
.pill-stat.muted { background: #f1f5f9; color: #475569; }


/*# sourceMappingURL=main.935ca6a7.css.map*/