/* ------------------------------------------------------------- */
/* CreditPaisa Dark Theme - Ultra-sleek, Modern & Cohesive Design */
/* ------------------------------------------------------------- */

:root {
  --clr-primary: #FDB201;
  --clr-secondary: #FD5103;
  --clr-accent: #FD5103;
  --clr-accent-gradient: linear-gradient(135deg, #FDB201 0%, #FD5103 100%);
  --clr-white: #ffffff;
  --clr-black: #05070f;
  --clr-dark: #f1f5f9; /* In dark mode, default typography maps to crisp light text */
  --clr-light: #94a3b8;
  --clr-light-sm: #334155;
  --bg-body: #0b0f19;
  --bg-card: #111827;
  --bg-card-hover: #1e293b;
  --bg-surface: #0f172a;
  --border-color: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(253, 178, 1, 0.35);
  --glass-bg: rgba(15, 23, 42, 0.85);
}

body {
  background-color: var(--bg-body) !important;
  color: #e2e8f0 !important;
}

/* Headings and Text */
h1, h2, h3, h4, h5, h6,
body h1, body h2, body h3, body h4, body h5, body h6 {
  color: #f8fafc !important;
}

body p {
  color: #94a3b8 !important;
}

/* Text & Colors */
.text-muted,
.text-secondary {
  color: #94a3b8 !important;
}

.text-dark {
  color: #f8fafc !important;
}

.title-gradient {
  background: linear-gradient(135deg, #FDB201 0%, #FD5103 100%) !important;
  background-clip: text !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

/* ---------------------------------- */
/* Header Navigation */
/* ---------------------------------- */
.header-section,
.header-section.bg-white {
  background-color: #000000 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.8) !important;
}

.header-section a,
.header-section .nav-link {
  color: #e2e8f0 !important;
}

.header-section a:hover,
.header-section .nav-link:hover,
.header-section .nav-link.active {
  color: var(--clr-primary) !important;
}

.header-section .dropdown-content {
  background-color: #111827 !important;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6) !important;
}

.header-section .dropdown-content a {
  color: #cbd5e1 !important;
}

.header-section .dropdown-content a:hover,
.header-section .dropdown-item:hover {
  background: var(--clr-accent-gradient) !important;
  color: #ffffff !important;
}

/* Mobile Offcanvas Menu */
.header-section .mobile-menu {
  background-color: #0f172a !important;
  border-right: 1px solid var(--border-color);
}

.header-section .mobile-menu .accordion-item {
  background-color: transparent !important;
  border-color: var(--border-color) !important;
}

.header-section .mobile-menu a,
.header-section .mobile-menu .accordion-button {
  color: #e2e8f0 !important;
}

.header-section .mobile-menu .btn-close {
  color: #ffffff !important;
  filter: invert(1);
}

.header-section .navbar-toggler-icon {
  filter: invert(1) brightness(1.5);
}

.header-section .try-for-free-btn,
.custom-primary-btn,
.custom-message-btn,
.custom-generate-btn,
.custom-downloads-btn {
  background: var(--clr-accent-gradient) !important;
  color: #ffffff !important;
  border: none !important;
  box-shadow: 0 4px 15px rgba(253, 81, 3, 0.35) !important;
}

.header-section .try-for-free-btn:hover,
.custom-primary-btn:hover {
  box-shadow: 0 6px 22px rgba(253, 81, 3, 0.55) !important;
  transform: translateY(-1px);
}

/* ---------------------------------- */
/* Banner Section */
/* ---------------------------------- */
.home-banner-section {
  background-color: #0b0f19 !important;
  background-image: radial-gradient(circle at 80% 20%, rgba(14, 165, 233, 0.12) 0%, transparent 50%),
                    radial-gradient(circle at 20% 80%, rgba(99, 102, 241, 0.1) 0%, transparent 50%) !important;
}

.banner-content h1 {
  color: #ffffff !important;
}

.qr-scanner {
  background: rgba(255, 255, 255, 0.04);
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid var(--border-color);
  width: fit-content;
}

.qr-scanner p {
  color: #e2e8f0 !important;
}

/* ---------------------------------- */
/* Earn Section */
/* ---------------------------------- */
.earn-section {
  background-color: var(--bg-body);
}

.earn-section .earn-card {
  background: #111827 !important;
  border: 1px solid var(--border-color) !important;
  transition: all 0.3s ease;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.earn-section .earn-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-hover) !important;
  box-shadow: 0 14px 40px rgba(14, 165, 233, 0.15) !important;
}

.earn-section .image {
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid var(--border-color);
}

.earn-section .earn-content h5 {
  color: #f8fafc !important;
}

.earn-section .earn-content p {
  color: #94a3b8 !important;
}

/* ---------------------------------- */
/* About & Services Section */
/* ---------------------------------- */
.about-section {
  background-color: var(--bg-body) !important;
}

.about-section ul li {
  color: #cbd5e1 !important;
}

.service-section {
  background-color: #0c1220 !important;
}

.service-section .service-card {
  background: #131c31 !important;
  border: 1px solid var(--border-color) !important;
  transition: all 0.3s ease;
}

.service-section .service-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover) !important;
}

.service-section .image {
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid var(--border-color);
}

.service-section .service-content h6 {
  color: #f8fafc !important;
}

/* ---------------------------------- */
/* Testimonials / Customers */
/* ---------------------------------- */
.customer-section {
  background-color: var(--bg-body);
}

.customer-section .customer-card {
  background-color: #111827 !important;
  border-radius: 16px;
  border: 1px solid var(--border-color) !important;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}

.customer-section .customer-card::before {
  background: linear-gradient(45deg, rgba(56, 189, 248, 0.2), rgba(99, 102, 241, 0.2)) !important;
}

.customer-section .customer-card p {
  color: #cbd5e1 !important;
}

.customer-section .customer-card h5 {
  color: #f8fafc !important;
}

.customer-section .customer-card small {
  color: #64748b !important;
}

.customer-section .customer-card .border-top {
  border-color: var(--border-color) !important;
}

/* ---------------------------------- */
/* FAQ Accordion */
/* ---------------------------------- */
.faqs-section {
  background-color: var(--bg-body);
}

.faqs-section .accordion-item {
  background-color: #111827 !important;
  border: 1px solid var(--border-color) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25) !important;
}

.faqs-section .accordion-button {
  background-color: transparent !important;
  color: #f8fafc !important;
}

.faqs-section .accordion-button:not(.collapsed) {
  color: var(--clr-primary) !important;
}

.faqs-section .accordion-body p {
  color: #94a3b8 !important;
}

.faqs-section .accordion-button::after {
  filter: invert(1);
}

/* ---------------------------------- */
/* Terms, Policies, Contact & Pages */
/* ---------------------------------- */
.terms-policy-section {
  background-color: var(--bg-body);
}

.terms-policy-section p {
  color: #94a3b8 !important;
}

.terms-policy-section h2,
.terms-policy-section h5 {
  color: #f8fafc !important;
}

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

.contact-section p {
  color: #94a3b8 !important;
}

.contact-section form input,
.contact-section form textarea,
.contact-section .form-control {
  background-color: #111827 !important;
  color: #f8fafc !important;
  border: 1px solid var(--border-color) !important;
}

.contact-section form input:focus,
.contact-section form textarea:focus,
.contact-section .form-control:focus {
  border-color: var(--clr-primary) !important;
  background-color: #162032 !important;
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.15) !important;
}

.contact-section label {
  color: #cbd5e1 !important;
}

.location-section,
.package-section,
.mission-section {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.08), rgba(99, 102, 241, 0.08)) !important;
}

/* Modals */
.modal-content {
  background-color: #111827 !important;
  border: 1px solid var(--border-color) !important;
  color: #f8fafc !important;
}

.modal-header,
.modal-footer {
  border-color: var(--border-color) !important;
}

/* ---------------------------------- */
/* Footer */
/* ---------------------------------- */
.footer-section {
  background-color: #000000 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-section hr {
  border-color: var(--border-color) !important;
  opacity: 0.5;
}

.footer-section .social-icon a {
  background-color: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-color);
}

.footer-section .social-icon a:hover {
  background: var(--clr-accent-gradient);
  border-color: transparent;
}
