:root {
  --primary: #0D244D;
  --secondary: #C40234;
  --light: #658ECC;
  --dark: #15233C;
  --theme-gray: #C0C0C0;
  --bs-primary: #0D244D;
  --bs-secondary: #C40234;
}

/* Typography */
body {
  font-family: 'Montserrat', sans-serif;
  color: var(--dark);
  -webkit-font-smoothing: antialiased;
}
.lead {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.7;
}
p {
  font-size: 1rem;
  line-height: 1.7;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6,
.navbar-brand,
.display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
  font-family: 'Jost', sans-serif;
  font-weight: 600;
}

/* Buttons */
.btn-primary {
  background-color: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.btn-primary:hover, .btn-primary:focus {
  background-color: #091b3a;
  border-color: #091b3a;
  color: #fff;
}
.btn-secondary {
  background-color: var(--secondary);
  border-color: var(--secondary);
  color: #fff;
}
.btn-secondary:hover, .btn-secondary:focus {
  background-color: #a3022b;
  border-color: #a3022b;
  color: #fff;
}
.btn-outline-light {
  color: #fff;
  border-color: rgba(255,255,255,0.4);
}
.btn-outline-light:hover {
  background-color: rgba(255,255,255,0.1);
  border-color: #fff;
  color: #fff;
}

/* Links */
a {
  color: var(--primary);
}
a:hover {
  color: var(--secondary);
}

/* Navbar */
.navbar-dark {
  background-color: var(--primary);
}
.navbar-dark .navbar-nav .nav-link {
  color: rgba(255,255,255,0.8);
  font-weight: 500;
}
.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link:focus {
  color: #fff;
}
.navbar-brand {
  font-size: 1.5rem;
  font-weight: 700;
}

/* Hero */
.hero {
  min-height: 100vh;
  background: linear-gradient(160deg, var(--primary) 0%, var(--dark) 100%);
  padding-top: 50px;
  padding-bottom: 50px;
  position: relative;
  overflow: hidden;
  border-top: 3px solid;
  border-image: linear-gradient(to right top, #6ccff6, #6ccff6, #2196f3a6, #17b0e6, #17b0e66e) 1;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 70% at 70% 50%, rgba(101, 142, 204, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

/* Hero form card */
.hero-card {
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 1rem;
}
.hero-card .form-control,
.hero-card .form-select,
.hero-card textarea.form-control {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.15);
  color: #fff;
}
.hero-card .form-control::placeholder,
.hero-card textarea.form-control::placeholder {
  color: rgba(255,255,255,0.45);
}
.hero-card .form-control:focus,
.hero-card .form-select:focus,
.hero-card textarea.form-control:focus {
  background: rgba(255,255,255,0.12);
  border-color: rgba(196, 2, 52, 0.5);
  color: #fff;
  box-shadow: 0 0 0 0.25rem rgba(196, 2, 52, 0.25);
}
.hero-card .form-check-input {
  background-color: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.3);
}
.hero-card .form-check-input:checked {
  background-color: var(--secondary);
  border-color: var(--secondary);
}
.hero-card .form-check-input:focus {
  box-shadow: 0 0 0 0.25rem rgba(196, 2, 52, 0.25);
  border-color: rgba(196, 2, 52, 0.5);
}
.hero-card .form-label {
  color: rgba(255,255,255,0.75);
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}
.hero-card .form-select option {
  background: var(--primary);
  color: #fff;
}

/* Eyebrow */
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(196, 2, 52, 0.15);
  border: 1px solid rgba(196, 2, 52, 0.35);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 0.875rem;
  font-weight: 600;
  color: #ff4d79;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--secondary);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.7); }
}

/* Trust chips */
.trust-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.7);
}
.trust-chip .icon-box {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(196, 2, 52, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.trust-chip .icon-box i {
  font-size: 0.6rem;
  color: var(--secondary);
}

/* Stats */
.stat-num {
  font-family: 'Jost', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--secondary);
  line-height: 1;
}
.stat-label {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.85);
}
.stat-box {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 0.75rem;
  padding: 1.25rem 0.75rem;
  box-shadow: 0 0 20px rgba(196, 2, 52, 0.15), 0 0 40px rgba(101, 142, 204, 0.1);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.stat-box:hover {
  box-shadow: 0 0 30px rgba(196, 2, 52, 0.25), 0 0 60px rgba(101, 142, 204, 0.15);
  transform: translateY(-2px);
}

/* Cards */
.why-card, .service-card, .review-card {
  background: #fafbfd;
  border: 2px solid rgba(13, 36, 77, 0.15);
  border-left: 4px solid rgba(196, 2, 52, 0.25);
  border-radius: 0.75rem;
  height: 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
  position: relative;
}
.why-card:hover, .service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(13, 36, 77, 0.12);
  border-color: rgba(196, 2, 52, 0.35);
  border-left-color: var(--secondary);
  background: #fff;
}
.why-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(196, 2, 52, 0.08);
  border: 1px solid rgba(196, 2, 52, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary);
  margin-bottom: 1rem;
}
.service-card {
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--secondary);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.3s ease;
}
.service-card:hover::before {
  transform: scaleY(1);
}
.service-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--secondary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

/* Steps */
.step-num {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(196, 2, 52, 0.1);
  border: 2px solid rgba(196, 2, 52, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Jost', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--secondary);
  margin: 0 auto 1rem;
}

/* Reviews */
.stars {
  color: var(--secondary);
  font-size: 0.9rem;
  letter-spacing: 2px;
}
.google-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  border: 1px solid rgba(13,36,77,0.1);
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 0.875rem;
  color: #5a6476;
}
.review-text {
  font-style: italic;
  line-height: 1.75;
}
.review-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(13, 36, 77, 0.15);
  border-color: rgba(196, 2, 52, 0.35);
  border-left-color: var(--secondary);
  background: #fff;
}
.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(196, 2, 52, 0.1);
  border: 1px solid rgba(196, 2, 52, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Jost', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--secondary);
}

/* Trust band */
.fca-badge {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 1rem 1.5rem;
  background: #fff;
  border: 2px solid rgba(13,36,77,0.15);
  border-left: 4px solid var(--secondary);
  border-radius: 0.5rem;
  box-shadow: 0 2px 12px rgba(13,36,77,0.08);
}
.fca-icon {
  width: 48px;
  height: 48px;
  background: var(--primary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--secondary);
  text-align: center;
  line-height: 1.2;
}

/* FAQ */
.faq-section .accordion-item {
  border: 2px solid rgba(13,36,77,0.12);
  border-left: 4px solid rgba(196, 2, 52, 0.2);
  border-radius: 0.5rem;
  margin-bottom: 0.75rem;
  overflow: hidden;
  background: #fafbfd;
  transition: border-color 0.25s ease, background 0.25s ease;
}
.faq-section .accordion-item:hover {
  border-color: rgba(13,36,77,0.18);
  border-left-color: rgba(196, 2, 52, 0.4);
  background: #fff;
}
.faq-section .accordion-button {
  font-weight: 600;
  color: var(--primary);
  padding: 1.25rem 1.5rem;
}
.faq-section .accordion-button:not(.collapsed) {
  background-color: rgba(196, 2, 52, 0.04);
  color: var(--primary);
  box-shadow: none;
}
.faq-section .accordion-button:focus {
  box-shadow: none;
  border-color: rgba(13,36,77,0.1);
}
.faq-section .accordion-body {
  color: #5a6476;
  line-height: 1.75;
  padding: 0 1.5rem 1.25rem;
}

/* Area pills */
.area-pill {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  background: #fff;
  border: 2px solid rgba(13,36,77,0.2);
  border-radius: 100px;
  font-size: 0.95rem;
  color: var(--primary);
  font-weight: 500;
  transition: all 0.25s ease;
  cursor: default;
}
.area-pill:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* Sticky bar */
.sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1030;
  background: var(--primary);
  border-top: 1px solid rgba(255,255,255,0.15);
  padding: 0.75rem 0;
}
.sticky-bar.visible {
  display: block;
}

/* WhatsApp FAB */
.whatsapp-fab {
  position: fixed;
  bottom: 5rem;
  right: 1.5rem;
  z-index: 1020;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(37,211,102,0.4);
  transition: transform 0.25s ease;
}
.whatsapp-fab:hover {
  transform: scale(1.1);
  color: #fff;
}

/* Footer */
.footer-main {
  background: #070F1E;
  border-top: 1px solid rgba(196, 2, 52, 0.15);
}
.footer-main a {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-main a:hover {
  color: #fff;
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Backgrounds */
.bg-subtle {
  background-color: rgba(101, 142, 204, 0.08);
}

.text-white-75 {
  color: rgba(255, 255, 255, 0.75) !important;
}

/* Responsive */
@media (max-width: 991.98px) {
  .hero {
    padding-top: 50px;
    min-height: auto;
  }
}

#loader {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  background: rgba(0,0,0,0.75) url(img/loading-spinner.gif) no-repeat center center;
  background-size: 150px;
  z-index: 10000;
}