/* ============================================================
   Active Loan — Global Stylesheet
   Brand: RUHA PRIME GENERALS LTD
   Primary Color: #003F98
   ============================================================ */

/* ---------- CSS Variables ---------- */
:root {
  --primary: #003F98;
  --primary-rgb: 0, 63, 152;
  --primary-light: #0055CC;
  --primary-lighter: #1A6BFF;
  --primary-dark: #001A40;
  --primary-dark-rgb: 0, 26, 64;
  --accent: #F5A623;
  --accent-rgb: 245, 166, 35;
  --accent-light: #FFD700;
  --bg-light: #F8FAFC;
  --bg-white: #FFFFFF;
  --text-dark: #1E293B;
  --text-muted: #64748B;
  --text-light: #94A3B8;
  --success: #10B981;
  --success-rgb: 16, 185, 129;
  --border-light: #E2E8F0;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.15);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Base & Typography ---------- */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  overflow-x: hidden;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--text-dark);
  background: var(--bg-white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.25;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 3vw, 1.6rem); }

/* ---------- Gradient Text Utility ---------- */
.gradient-text {
  background: linear-gradient(135deg, var(--primary-light), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---------- Buttons ---------- */
.btn-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn-brand::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.btn-brand:hover::after {
  opacity: 1;
}

.btn-primary-brand {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  box-shadow: 0 4px 15px rgba(var(--primary-rgb), 0.35);
}

.btn-primary-brand:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(var(--primary-rgb), 0.45);
  color: #fff;
}

.btn-accent {
  background: linear-gradient(135deg, var(--accent), #F7B84E);
  color: #1E293B;
  box-shadow: 0 4px 15px rgba(var(--accent-rgb), 0.35);
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(var(--accent-rgb), 0.45);
  color: #1E293B;
}

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

.btn-outline-brand:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

.btn-outline-white {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-outline-white:hover {
  background: #fff;
  color: var(--primary);
  border-color: #fff;
  transform: translateY(-2px);
}

/* ---------- Navbar ---------- */
.navbar-custom {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1050;
  padding: 0.75rem 0;
  transition: background 0.3s, padding 0.3s, box-shadow 0.3s, backdrop-filter 0.3s;
  background: rgba(0, 26, 64, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.navbar-custom.scrolled {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-md);
  padding: 0.4rem 0;
}

.navbar-custom .navbar-brand {
  color: #fff !important;
  text-decoration: none;
}

.navbar-custom.scrolled .navbar-brand {
  color: var(--primary) !important;
}

.app-logo-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 !important;
  min-width: 0;
}

.app-logo-slot {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 44px;
  height: 40px;
  overflow: hidden;
}

.app-logo-img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: max-height 0.3s;
}

.app-brand-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.15;
}

.app-brand-name {
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  white-space: nowrap;
}

.app-brand-tagline {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.68rem;
  font-weight: 500;
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.navbar-custom.scrolled .app-brand-name {
  color: var(--primary);
}

.navbar-custom.scrolled .app-brand-tagline {
  color: var(--text-muted);
}

.navbar-custom.scrolled .app-logo-slot {
  height: 34px;
}

@media (max-width: 575px) {
  .app-logo-slot {
    width: 42px;
    height: 36px;
  }

  .app-brand-name {
    font-size: 0.92rem;
  }

  .app-brand-tagline {
    max-width: 120px;
    font-size: 0.62rem;
  }

  .navbar-custom.scrolled .app-logo-slot {
    height: 32px;
  }
}

.navbar-custom .nav-link {
  color: rgba(255, 255, 255, 0.9) !important;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.5rem 1.1rem !important;
  border-radius: 50px;
  transition: var(--transition);
  position: relative;
}

.navbar-custom.scrolled .nav-link {
  color: var(--text-dark) !important;
}

.navbar-custom .nav-link:hover,
.navbar-custom .nav-link.active {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.15);
}

.navbar-custom.scrolled .nav-link:hover,
.navbar-custom.scrolled .nav-link.active {
  color: var(--primary) !important;
  background: rgba(var(--primary-rgb), 0.08);
}

/* Language Toggle */
.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  transition: var(--transition);
}

.navbar-custom.scrolled .lang-toggle {
  border-color: var(--border-light);
  background: var(--bg-light);
  color: var(--text-dark);
}

.lang-toggle:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.navbar-custom.scrolled .lang-toggle:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* Mobile menu button */
.navbar-toggler-custom {
  border: none;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  padding: 8px 12px;
  border-radius: 8px;
  transition: var(--transition);
}

.navbar-custom.scrolled .navbar-toggler-custom {
  background: var(--bg-light);
  color: var(--text-dark);
}

/* Mobile nav — keep Bootstrap navbar controls visible despite Tailwind utilities */
@media (max-width: 991px) {
  .navbar-custom .navbar-toggler {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }
}

/* Desktop: always show navbar links inline (Bootstrap expand breakpoint is lg=992px) */
@media (min-width: 992px) {
  .navbar-custom .collapse {
    display: flex !important;
    visibility: visible !important;
    flex-basis: auto !important;
    height: auto !important;
    overflow: visible !important;
  }
  .navbar-custom .navbar-toggler {
    display: none !important;
  }
}

/* Mobile nav backdrop — always visible text on dark bg */
@media (max-width: 991px) {
  /* Override Tailwind's visibility:collapse which hides Bootstrap .collapse content */
  .navbar-custom .navbar-collapse.collapse,
  .navbar-custom .navbar-collapse.collapsing {
    visibility: visible !important;
  }
  .navbar-custom .navbar-collapse.collapse:not(.show) {
    display: none !important;
  }
  .navbar-custom .navbar-collapse.collapse.show {
    display: block !important;
  }
  .navbar-custom .navbar-collapse {
    background: rgba(0, 26, 64, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--radius-md);
    padding: 1rem;
    margin-top: 0.75rem;
  }

  /* Force mobile menu links to be visible on dark bg */
  .navbar-custom .navbar-collapse .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    display: block;
    padding: 0.6rem 1rem !important;
  }

  .navbar-custom .navbar-collapse .nav-link:hover,
  .navbar-custom .navbar-collapse .nav-link.active {
    background: rgba(255, 255, 255, 0.12) !important;
    color: #fff !important;
  }

  .navbar-custom.scrolled .navbar-collapse {
    background: rgba(255, 255, 255, 0.99);
    box-shadow: var(--shadow-lg);
  }

  .navbar-custom.scrolled .navbar-collapse .nav-link {
    color: var(--text-dark) !important;
  }

  .navbar-custom.scrolled .navbar-collapse .nav-link:hover,
  .navbar-custom.scrolled .navbar-collapse .nav-link.active {
    background: rgba(var(--primary-rgb), 0.08) !important;
    color: var(--primary) !important;
  }
}

/* ---------- Hero Section ---------- */
.hero-section {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 40%, var(--primary-light) 100%);
  overflow: hidden;
  padding-top: 100px;
  padding-bottom: 80px;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-section::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -15%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--accent-rgb), 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 500;
  backdrop-filter: blur(10px);
  margin-bottom: 1.5rem;
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.5); }
}

.hero-title {
  color: #fff;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.hero-title span {
  color: var(--accent);
}

.hero-subtitle {
  color: rgba(255, 255, 255, 0.8);
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 520px;
}

.hero-image-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image-wrapper img {
  max-width: 100%;
  height: auto;
  position: relative;
  z-index: 2;
  border-radius: var(--radius-lg);
}

.hero-image-glow {
  position: absolute;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--accent-rgb), 0.2) 0%, rgba(var(--primary-rgb), 0.1) 50%, transparent 70%);
  z-index: 1;
  animation: glow-float 6s ease-in-out infinite;
}

@keyframes glow-float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-20px) scale(1.05); }
}

.hero-wave {
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  z-index: 1;
}

/* ---------- Section Spacing ---------- */
.section-padding {
  padding: 100px 0;
}

@media (max-width: 767px) {
  .section-padding {
    padding: 60px 0;
  }
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-header .badge {
  display: inline-block;
  padding: 6px 18px;
  background: rgba(var(--primary-rgb), 0.08);
  color: var(--primary);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.section-header h2 {
  color: var(--text-dark);
  margin-bottom: 0.75rem;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ---------- Trust Bar / Stats ---------- */
.trust-bar {
  background: #fff;
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-xl);
  padding: 2.5rem 2rem;
  margin-top: -50px;
  position: relative;
  z-index: 20;
}

.trust-item {
  text-align: center;
  padding: 0.5rem;
}

.trust-item .trust-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.trust-item .trust-number .suffix {
  color: var(--accent);
}

.trust-item .trust-label {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-top: 0.4rem;
}

@media (max-width: 767px) {
  .trust-bar {
    margin-top: -30px;
    padding: 1.5rem 1rem;
    border-radius: var(--radius-lg);
  }

  .trust-item .trust-number {
    font-size: 1.8rem;
  }
}

/* ---------- Feature Cards ---------- */
.feature-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  border: 1px solid var(--border-light);
  transition: var(--transition);
  height: 100%;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.feature-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 1.25rem;
  background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.1), rgba(var(--primary-rgb), 0.05));
  color: var(--primary);
  transition: var(--transition);
}

.feature-card:hover .feature-icon {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  transform: scale(1.05);
}

.feature-card h4 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: var(--text-dark);
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

/* ---------- App Screenshots Gallery (Staggered) ---------- */
.screenshots-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 0;
}

.screenshot-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-md);
}

.screenshot-item:nth-child(1) { transform: translateY(0px) rotate(-2deg); }
.screenshot-item:nth-child(2) { transform: translateY(25px) rotate(1.5deg); }
.screenshot-item:nth-child(3) { transform: translateY(-15px) rotate(-1deg); }
.screenshot-item:nth-child(4) { transform: translateY(35px) rotate(2deg); }
.screenshot-item:nth-child(5) { transform: translateY(5px) rotate(-2.5deg); }

.screenshot-item:hover {
  transform: translateY(-8px) rotate(0deg) scale(1.05) !important;
  box-shadow: var(--shadow-xl);
  z-index: 5;
}

.screenshot-item img {
  width: 100%;
  height: auto;
  display: block;
}

.screenshot-overlay {
  position: absolute;
  inset: 0;
  background: rgba(var(--primary-dark-rgb), 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.screenshot-overlay i {
  color: #fff;
  font-size: 2rem;
}

.screenshot-item:hover .screenshot-overlay {
  opacity: 1;
}

@media (max-width: 991px) {
  .screenshots-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
  .screenshot-item:nth-child(4),
  .screenshot-item:nth-child(5) {
    transform: translateY(10px) rotate(0deg);
  }
}

@media (max-width: 575px) {
  .screenshots-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    padding: 1rem 0;
  }
  .screenshot-item:nth-child(1),
  .screenshot-item:nth-child(2),
  .screenshot-item:nth-child(3),
  .screenshot-item:nth-child(4),
  .screenshot-item:nth-child(5) {
    transform: none;
  }
  .screenshot-item:nth-child(odd) {
    transform: translateY(0px) rotate(-1deg);
  }
  .screenshot-item:nth-child(even) {
    transform: translateY(15px) rotate(1deg);
  }
  .screenshot-item:hover {
    transform: translateY(-6px) rotate(0deg) scale(1.03) !important;
  }
}

/* ---------- Timeline / How It Works ---------- */
.timeline {
  position: relative;
  padding: 0;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  height: 2px;
  background: linear-gradient(90deg, var(--border-light), var(--primary-light), var(--border-light));
  z-index: 0;
}

.timeline-step {
  text-align: center;
  position: relative;
  z-index: 1;
  padding: 0 1rem;
}

.timeline-dot {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  font-size: 1.25rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  box-shadow: 0 4px 15px rgba(var(--primary-rgb), 0.35);
}

.timeline-step h5 {
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.timeline-step p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

@media (max-width: 767px) {
  .timeline::before {
    left: 24px;
    top: 0;
    bottom: 0;
    width: 2px;
    height: auto;
    transform: none;
  }

  .timeline-step {
    text-align: left;
    padding-left: 3.5rem;
    margin-bottom: 2rem;
  }

  .timeline-dot {
    position: absolute;
    left: 0;
    top: 0;
    margin: 0;
  }
}

/* ---------- Why Choose Us ---------- */
.why-card {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  transition: var(--transition);
  border: 1px solid transparent;
}

.why-card:hover {
  background: var(--bg-light);
  border-color: var(--border-light);
}

.why-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.1), rgba(var(--primary-rgb), 0.05));
  color: var(--primary);
}

.why-card h5 {
  font-weight: 700;
  margin-bottom: 0.35rem;
}

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

/* ---------- Testimonial Cards ---------- */
.testimonial-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  border: 1px solid var(--border-light);
  position: relative;
  transition: var(--transition);
}

.testimonial-card:hover {
  box-shadow: var(--shadow-lg);
}

.testimonial-card .quote-icon {
  font-size: 2.5rem;
  color: rgba(var(--primary-rgb), 0.1);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.testimonial-card .testimonial-text {
  color: var(--text-dark);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
  font-style: italic;
}

.testimonial-card .testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
}

.testimonial-author .name {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-dark);
}

.testimonial-author .role {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.testimonial-stars {
  color: var(--accent);
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

/* ---------- CTA Section ---------- */
.cta-section {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary), var(--primary-light));
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.05), transparent 70%);
  pointer-events: none;
}

.cta-section h2 {
  color: #fff;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.8);
}

/* ---------- Page Hero Banner (inner pages) ---------- */
.page-hero {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -15%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.05), transparent 70%);
  pointer-events: none;
}

.page-hero h1 {
  color: #fff;
  margin-bottom: 1rem;
}

.page-hero .breadcrumb-custom {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}

.page-hero .breadcrumb-custom a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s;
}

.page-hero .breadcrumb-custom a:hover {
  color: var(--accent);
}

.page-hero .breadcrumb-custom .separator {
  font-size: 0.7rem;
}

/* ---------- About Page ---------- */
.about-image-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--bg-light), #E2E8F0);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.95rem;
  border: 2px dashed var(--border-light);
}

.value-card {
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  transition: var(--transition);
  height: 100%;
}

.value-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.value-card .value-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.08), rgba(var(--primary-rgb), 0.03));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 1.25rem;
  color: var(--primary);
}

.value-card h4 {
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.value-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

/* ---------- Features Page ---------- */
.feature-detail-card {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  padding: 2rem;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  margin-bottom: 1.5rem;
  transition: var(--transition);
}

.feature-detail-card:hover {
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.feature-detail-card .fd-icon {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.1), rgba(var(--primary-rgb), 0.04));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: var(--primary);
}

.feature-detail-card h4 {
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.feature-detail-card p {
  color: var(--text-muted);
  margin: 0;
  line-height: 1.6;
}

@media (max-width: 575px) {
  .feature-detail-card {
    flex-direction: column;
    gap: 1rem;
  }
}

/* Security Highlight */
.security-badge {
  display: flex;
  gap: 1rem;
  align-items: center;
  padding: 1.25rem 1.5rem;
  background: rgba(var(--success-rgb), 0.06);
  border: 1px solid rgba(var(--success-rgb), 0.2);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
}

.security-badge i {
  color: var(--success);
  font-size: 1.5rem;
}

.security-badge span {
  font-weight: 600;
  font-size: 0.95rem;
}

/* ---------- How It Works Page ---------- */
.step-card {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  padding: 2rem;
  position: relative;
}

.step-number {
  flex-shrink: 0;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  font-size: 1.75rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(var(--primary-rgb), 0.35);
}

.step-card h4 {
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.step-card p {
  color: var(--text-muted);
  margin: 0;
  line-height: 1.6;
}

.vertical-line {
  position: absolute;
  left: 35px;
  top: 90px;
  bottom: 0;
  width: 2px;
  background: var(--border-light);
  z-index: 0;
  pointer-events: none;
}

.step-card:last-child .vertical-line {
  display: none;
}

@media (max-width: 575px) {
  .step-card {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  .step-number {
    margin: 0 auto;
  }
  .vertical-line {
    display: none;
  }
}

/* Eligibility Box */
.eligibility-box {
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--border-light);
}

.eligibility-box li {
  padding: 0.6rem 0;
  color: var(--text-dark);
  font-size: 0.95rem;
}

.eligibility-box li i {
  color: var(--success);
  margin-right: 0.6rem;
}

/* ---------- Contact Page ---------- */
.contact-form-card {
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
}

.contact-form-card .form-label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-dark);
  margin-bottom: 0.4rem;
}

.contact-form-card .form-control {
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  transition: var(--transition);
}

.contact-form-card .form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(var(--primary-rgb), 0.1);
}

.contact-form-card textarea.form-control {
  min-height: 140px;
  resize: vertical;
}

.contact-info-card {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  color: #fff;
  height: 100%;
}

.contact-info-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.contact-info-item i {
  font-size: 1.25rem;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-info-item h6 {
  color: #fff;
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.contact-info-item p {
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
  font-size: 0.9rem;
}

/* ---------- FAQ Page ---------- */
.accordion-custom .accordion-item {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md) !important;
  margin-bottom: 0.75rem;
  overflow: hidden;
}

.accordion-custom .accordion-button {
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-dark);
  background: var(--bg-white);
  padding: 1.1rem 1.5rem;
  box-shadow: none !important;
}

.accordion-custom .accordion-button:not(.collapsed) {
  color: var(--primary);
  background: rgba(var(--primary-rgb), 0.03);
  box-shadow: none;
}

/* Fix: Tailwind CSS preflight sets visibility:collapse on .collapse,
   which conflicts with Bootstrap's collapse component.
   When BS sets display:block, Tailwind's visibility:collapse hides it.
   Override globally so BS collapses work correctly. */
.collapse:not(.navbar-collapse) {
  visibility: visible !important;
}
.accordion-collapse.collapse {
  visibility: visible !important;
}

.accordion-custom .accordion-button::after {
  background-size: 1rem;
}

.accordion-custom .accordion-body {
  padding: 1rem 1.5rem 1.5rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--primary-dark);
  color: rgba(255, 255, 255, 0.7);
  padding-top: 70px;
}

.footer h6 {
  color: #fff;
  font-weight: 700;
  margin-bottom: 1.25rem;
  font-size: 1rem;
}

.footer a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  transition: color 0.3s;
  font-size: 0.9rem;
  display: inline-block;
  padding: 0.2rem 0;
}

.footer a:hover {
  color: var(--accent);
}

.footer .footer-logo {
  height: 42px;
  margin-bottom: 1rem;
}

.footer .footer-about {
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 280px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.25rem 0;
  margin-top: 3rem;
  font-size: 0.85rem;
}

/* ---------- Back to Top Button ---------- */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  border: none;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: var(--transition);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

/* ---------- Image Placeholder ---------- */
.img-placeholder {
  background: linear-gradient(135deg, #E2E8F0, #CBD5E1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94A3B8;
  font-size: 0.85rem;
  font-weight: 500;
  border: 2px dashed #CBD5E1;
  border-radius: var(--radius-md);
  text-align: center;
  padding: 1rem;
}

.img-placeholder.logo-placeholder {
  width: 160px;
  height: 48px;
  border-radius: var(--radius-sm);
}

.img-placeholder.banner-placeholder {
  width: 100%;
  aspect-ratio: 16/10;
  border-radius: var(--radius-lg);
}

/* ---------- Animation Utilities ---------- */
.hover-lift {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.hover-scale {
  transition: transform 0.3s ease;
}

.hover-scale:hover {
  transform: scale(1.05);
}

/* ---------- GLightbox Custom Overrides ---------- */
.glightbox-clean .gslide-media {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
}

/* ---------- Privacy Policy Page ---------- */
.privacy-section {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* ---------- Mobile Overflow Guard ---------- */
@media (max-width: 767px) {
  [data-aos],
  [data-aos].aos-init,
  [data-aos].aos-animate {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ---------- Accessibility: Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
