/* =========================================================
   Ajay Ambulance Service — Design Tokens (Bootstrap 5 base)
   Authentic ambulance livery: emergency red + Battenburg lime
   + Star-of-Life navy blue
   ========================================================= */
:root {
  --red: #D40920;
  /* emergency vehicle red */
  --red-dark: #A50718;
  --lime: #C8E300;
  /* Battenburg hi-vis lime/sulphur */
  --lime-dark: #9FB300;
  --navy: #0B2E59;
  /* Star of Life blue */
  --navy-light: #E7EEF6;
  --ink-900: #15171B;
  --ink-700: #3A3F47;
  --ink-100: #E4E1DC;
  --white: #FFFFFF;
  --cream: #FAF8F4;
  --mist: #F1EEE7;
  --green-wa: #1FA855;

  --display: "poppins", Georgia, serif;
  --body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: "JetBrains Mono", monospace;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 26px;
  --shadow-sm: 0 2px 10px rgba(21, 23, 27, 0.07);
  --shadow-md: 0 12px 32px rgba(21, 23, 27, 0.12);
  --shadow-red: 0 10px 26px rgba(212, 9, 32, 0.28);

  --bs-body-font-family: "Inter", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  font-family: var(--body);
  color: var(--ink-900);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
  font-family: var(--display);
  color: var(--ink-900);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

p {
  color: var(--ink-700);
}

a {
  color: inherit;
  text-decoration: none;
}

.section {
  padding: 88px 0;
}

.bg-mist {
  background: var(--mist);
}

:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Custom 5-col grid (Bootstrap doesn't ship a /5 split by default) */
@media (min-width: 992px) {
  .col-lg-2-4 {
    flex: 0 0 20%;
    max-width: 20%;
  }
}

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--body);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 13px 24px;
  border-radius: 999px;
  border: 2px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn svg {
  flex-shrink: 0;
}

.btn-call {
  background: var(--red);
  color: #fff;
  box-shadow: var(--shadow-red);
}

.btn-call:hover {
  background: var(--red-dark);
  color: #fff;
}

.btn-whatsapp {
  background: var(--green-wa);
  color: #fff;
  box-shadow: 0 10px 26px rgba(31, 168, 85, .28);
}

.btn-whatsapp:hover {
  background: #18914a;
  color: #fff;
}

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

.btn-outline:hover {
  background: var(--ink-900);
  color: #fff;
}

.btn-white {
  background: #fff;
  color: var(--red);
}

.btn-white:hover {
  background: var(--cream);
  color: var(--red-dark);
}

.btn-lg {
  padding: 16px 30px;
  font-size: 1.02rem;
}

.btn-sm {
  padding: 9px 16px;
  font-size: 0.85rem;
}

.btn-block {
  width: 100%;
}

/* =========================================================
   Top Bar
   ========================================================= */
.topbar {
  background: var(--ink-900);
  color: #fff;
  height: 40px;
  font-size: 0.85rem;
}

.tb-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.tb-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--lime);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 0 rgba(200, 227, 0, .7);
  animation: pulseDot 1.6s infinite;
}

@keyframes pulseDot {
  0% {
    box-shadow: 0 0 0 0 rgba(200, 227, 0, .6);
  }

  70% {
    box-shadow: 0 0 0 7px rgba(200, 227, 0, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(200, 227, 0, 0);
  }
}

.tb-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.tb-link {
  color: #fff;
  opacity: .9;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.tb-link:hover {
  opacity: 1;
  text-decoration: underline;
  color: #fff;
}

.tb-email {
  display: none;
}

/* =========================================================
   Header / Navbar
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--ink-100);
  transition: box-shadow .2s ease;
}

.navbar {
  padding: 0;
  min-height: 78px;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 14px;
  padding-bottom: 14px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  margin: 0;
}

.brand .mark {
  color: var(--red);
  display: flex;
}

.brand-text {
  display: flex;
  flex-direction: column;
  font-family: var(--display);
  font-weight: 700;
  font-size: 14px;
  color: var(--ink-900);
  line-height: 1.2;
}

.brand-text small {
  font-family: var(--body);
  font-weight: 500;
  font-size: 8px;
  color: var(--ink-700);
  letter-spacing: .03em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-weight: 600;
  font-size: 0.93rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav li {
  display: flex;
}

.main-nav a {
  color: var(--ink-700);
  position: relative;
  padding: 6px 0;
  transition: color .15s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--red);
}

.main-nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--red);
  border-radius: 2px;
}

.header-cta {
  gap: 10px;
}

.header-cta-mobile {
  gap: 10px;
  align-items: center;
}

.btn-icon-call {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-red);
}

/* Bootstrap navbar-toggler override -> custom 3-bar burger that animates to X */
.navbar-toggler {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--ink-100);
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
  box-shadow: none !important;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 3px rgba(212, 9, 32, .25) !important;
}

.burger-bar {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink-900);
  border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease;
}

.navbar-toggler[aria-expanded="true"] .burger-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.navbar-toggler[aria-expanded="true"] .burger-bar:nth-child(2) {
  opacity: 0;
}

.navbar-toggler[aria-expanded="true"] .burger-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  background: linear-gradient(160deg, var(--cream) 0%, var(--navy-light) 100%);
  padding: 80px 0 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .5;
}

.ecg-line {
  position: absolute;
  top: 18%;
  left: 0;
  width: 140%;
  height: 80px;
}

.ecg-line path {
  fill: none;
  stroke: var(--red);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: .22;
}

.hero-copy {
  position: relative;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--red-dark);
  background: rgba(212, 9, 32, 0.08);
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
}

.eyebrow .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
}

.hero h1 {
  font-size: clamp(2.2rem, 4.2vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 20px;
}

.hero h1 span {
  color: var(--red);
}

.lead {
  font-size: 1.12rem;
  color: var(--ink-700);
  max-width: 540px;
  margin-bottom: 28px;
}

.feature-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}

.feature-pills span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  border: 1px solid var(--ink-100);
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-700);
  box-shadow: var(--shadow-sm);
}

.feature-pills svg {
  color: var(--green-wa);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 36px;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.hero-trust div:not(.vr) {
  display: flex;
  flex-direction: column;
}

.hero-trust strong {
  font-family: var(--mono);
  font-size: 1.3rem;
  color: var(--ink-900);
}

.hero-trust span {
  font-size: 0.78rem;
  color: var(--ink-700);
  text-transform: uppercase;
  letter-spacing: .03em;
}

.hero-trust .vr {
  width: 1px;
  height: 32px;
  background: var(--ink-100);
}

/* Quick form */
.quick-form {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 30px;
  border: 1px solid var(--ink-100);
}

.form-head {
  margin-bottom: 20px;
}

.form-tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--red);
  margin-bottom: 8px;
}

.form-head h3 {
  font-size: 1.25rem;
  margin: 0;
}

.form-row {
  margin-bottom: 14px;
}

.form-row label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-700);
  margin-bottom: 6px;
}

.form-row .opt {
  font-weight: 400;
  color: #9a978f;
}

.form-control,
.form-select {
  padding: 12px 14px;
  border: 1.5px solid var(--ink-100);
  border-radius: var(--radius-sm);
  font-family: var(--body);
  font-size: 0.95rem;
  background: var(--cream);
  color: var(--ink-900);
}

.form-control:focus,
.form-select:focus {
  border-color: var(--red);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(212, 9, 32, .12);
}

.form-note {
  font-size: 0.78rem;
  color: var(--ink-700);
  text-align: center;
  margin: 14px 0 0;
}

.form-note a {
  color: var(--red);
  font-weight: 600;
  text-decoration: underline;
}

/* =========================================================
   About
   ========================================================= */
.about-media {
  position: relative;
}

.about-art {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.badge-float {
  position: absolute;
  bottom: -22px;
  right: -16px;
  background: var(--ink-900);
  color: #fff;
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-md);
}

.badge-float strong {
  font-family: var(--mono);
  font-size: 1.6rem;
  color: var(--lime);
}

.badge-float span {
  font-size: 0.78rem;
  max-width: 150px;
}

.about-media+.col-lg-7 h2,
.section-head h2 {
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
}

.check-list {
  margin: 22px 0 26px;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--ink-900);
  font-size: 0.94rem;
  margin-bottom: 10px;
}

.check-list svg {
  color: var(--green-wa);
  flex-shrink: 0;
}

/* =========================================================
   Section head
   ========================================================= */
.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 50px;
}

.section-head .eyebrow {
  margin-bottom: 16px;
}

.section-head p {
  margin-top: 10px;
}

/* =========================================================
   Services
   ========================================================= */
.svc-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 28px 24px;
  border: 1px solid var(--ink-100);
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
  height: 100%;
}

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

.svc-ico {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy-light);
  color: var(--navy);
  border-radius: 14px;
  margin-bottom: 16px;
}

.svc-card h3 {
  font-size: 1.12rem;
  margin-bottom: 8px;
  text-align: center;
}

.svc-card p {
  font-size: 0.92rem;
  text-align: center;
  margin-bottom: 18px;
}

.svc-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  /* Horizontal center */
  align-items: center;
  /* Vertical center */
  text-align: center;
}

/* =========================================================
   Why choose us
   ========================================================= */
.why-card {
  background: var(--cream);
  border-radius: var(--radius-md);
  padding: 24px 18px;
  text-align: center;
  border: 1px solid var(--ink-100);
  height: 100%;
}

.why-card .ico {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  background: #fff;
  color: var(--red);
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
}

.why-card h4 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.why-card p {
  font-size: 0.82rem;
  margin: 0;
}

/* =========================================================
   Stats band
   ========================================================= */
.stats-band {
  background: var(--ink-900);
  position: relative;
  padding: 56px 0;
  overflow: hidden;
}

.stats-ecg {
  position: absolute;
  inset: 0;
  opacity: .12;
}

.stats-ecg svg {
  width: 140%;
  height: 100%;
}

.stats-ecg path {
  fill: none;
  stroke: var(--lime);
  stroke-width: 2;
}

.stats-band .row {
  position: relative;
}

.stats-band strong {
  display: block;
  font-family: var(--mono);
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  color: var(--lime);
  margin-bottom: 6px;
}

.stats-band span {
  color: rgba(255, 255, 255, .78);
  font-size: 0.85rem;
  letter-spacing: .02em;
}

/* =========================================================
   Steps
   ========================================================= */
.step {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 26px 20px;
  text-align: center;
  border: 1px solid var(--ink-100);
  height: 100%;
}

.num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-family: var(--mono);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
}

.step h4 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.step p {
  font-size: 0.85rem;
  margin: 0;
}

/* =========================================================
   Areas
   ========================================================= */
.area-card a {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--navy-light);
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  font-weight: 700;
  color: var(--navy);
  transition: background .15s ease, border-color .15s ease;
}

.area-card a:hover {
  background: #fff;
  border-color: var(--navy);
  color: var(--navy);
}

.area-card svg {
  flex-shrink: 0;
  color: var(--red);
}

/* =========================================================
   Testimonials
   ========================================================= */
.test-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 26px;
  border: 1px solid var(--ink-100);
  box-shadow: var(--shadow-sm);
  height: 100%;
  position: relative;
}

.ic-quote {
  color: var(--ink-100);
  margin-bottom: 8px;
}

.stars {
  color: var(--lime-dark);
  display: flex;
  gap: 2px;
  margin-bottom: 12px;
}

.test-card p {
  font-size: 0.94rem;
  font-style: italic;
  color: var(--ink-900);
}

.test-who {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
}

.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-family: var(--display);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.test-who strong {
  display: block;
  font-size: 0.9rem;
}

.test-who span {
  font-size: 0.78rem;
  color: var(--ink-700);
}

/* =========================================================
   FAQ Accordion
   ========================================================= */
.faq-accordion .accordion-item {
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-md) !important;
  margin-bottom: 14px;
  overflow: hidden;
}

.faq-accordion .accordion-button {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--ink-900);
  padding: 18px 22px;
  background: #fff;
}

.faq-accordion .accordion-button:not(.collapsed) {
  color: var(--red-dark);
  background: var(--cream);
  box-shadow: none;
}

.faq-accordion .accordion-button:focus {
  box-shadow: 0 0 0 3px rgba(212, 9, 32, .15);
}

.faq-accordion .accordion-button::after {
  flex-shrink: 0;
}

.faq-accordion .accordion-body {
  color: var(--ink-700);
  padding: 4px 22px 20px;
  font-size: 0.95rem;
}

/* =========================================================
   Final CTA
   ========================================================= */
.cta-band {
  background: linear-gradient(120deg, var(--red) 0%, var(--red-dark) 100%);
  padding: 56px 0;
}

.cta-inner {
  color: #fff;
}

.cta-tag {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  opacity: .85;
}

.cta-inner h2 {
  color: #fff;
  margin: 6px 0;
}

.cta-inner p {
  color: rgba(255, 255, 255, .85);
  margin: 0;
}

.cta-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: flex-start;
}

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
  background: var(--ink-900);
  color: rgba(255, 255, 255, .78);
  padding: 64px 0 0;
}

.footer-grid {
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.footer-brand {
  margin-bottom: 16px;
  color: #fff;
}

.footer-brand .mark {
  color: var(--red);
}

.footer-brand .brand-text {
  font-size: 1.1rem;
}

.site-footer h4 {
  color: #fff;
  font-family: var(--body);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: .03em;
  margin-bottom: 18px;
}

.site-footer p {
  color: rgba(255, 255, 255, .7);
  font-size: 0.9rem;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer ul li {
  margin-bottom: 10px;
}

.site-footer ul li a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, .78);
  transition: color .15s ease;
}

.site-footer ul li a:hover {
  color: var(--lime);
}

.site-footer a[href^="tel:"] {
  color: var(--lime);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.social-row {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.social-row a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s ease;
}

.social-row a:hover {
  background: var(--red);
}

.footer-bottom {
  text-align: center;
  padding: 22px 0;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, .55);
}

/* =========================================================
   Floating buttons
   ========================================================= */
.float-stack {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1040;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.float-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  transition: transform .15s ease;
}

.float-btn:hover {
  transform: scale(1.08);
}

.float-btn.call {
  background: var(--red);
  color: #fff;
}

.float-btn.wa {
  background: var(--green-wa);
  color: #fff;
}

/* =========================================================
   Responsive — Mobile nav (Bootstrap collapse panel re-skinned
   as an off-canvas drawer that slides in from the right)
   ========================================================= */
@media (max-width: 991.98px) {
  .tb-email {
    display: none;
  }

  .tb-badge {
    font-size: 0.78rem;
  }

  .navbar-collapse {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: min(82vw, 340px);
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    padding: 110px 28px 28px;
    transform: translateX(100%);
    transition: transform .3s ease;
    z-index: 1045;
    overflow-y: auto;
    box-shadow: -8px 0 30px rgba(0, 0, 0, .12);
    display: block !important;
  }

  .navbar-collapse.show {
    transform: translateX(0);
  }

  .navbar-collapse.collapsing {
    transform: translateX(100%);
    transition: transform .3s ease;
    height: 100vh !important;
  }

  .navbar-collapse.collapsing.show {
    transform: translateX(0);
  }

  .main-nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    width: 100%;
  }

  .main-nav li {
    width: 100%;
  }

  .main-nav a {
    width: 100%;
    padding: 14px 0;
    border-bottom: 1px solid var(--ink-100);
    font-size: 1.02rem;
  }

  .main-nav a.active::after {
    display: none;
  }

  .main-nav a.active {
    color: var(--red);
  }

  .mobile-cta {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    margin-top: 20px;
  }

  .hero {
    padding: 40px 0 56px;
  }

  .lead {
    max-width: 100%;
  }
}

/* Backdrop behind the off-canvas drawer */
.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(21, 23, 27, 0.45);
  z-index: 1040;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}

.nav-backdrop.show {
  opacity: 1;
  pointer-events: auto;
}

@media (min-width: 992px) {
  .navbar-collapse {
    display: flex !important;
  }
}

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

  .hero h1 {
    font-size: clamp(1.9rem, 8vw, 2.6rem);
  }

  .feature-pills span {
    font-size: 0.78rem;
    padding: 6px 12px;
  }

  .hero-trust {
    gap: 14px;
  }

  .hero-trust strong {
    font-size: 1.1rem;
  }

  .quick-form {
    padding: 22px;
  }

  .badge-float {
    right: 50%;
    transform: translateX(50%);
    bottom: -18px;
    text-align: center;
  }

  .float-btn {
    width: 50px;
    height: 50px;
  }

  .cta-actions {
    justify-content: center;
  }
}

@media (max-width: 420px) {
  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }
}
/* =========================================================
   RESPONSIVE HARDENING  (added by fix)
   Maksad: header/nav ko Bootstrap utility classes pe depend
   na karwana — taaki CDN ya kisi utility ke fail hone par bhi
   desktop & mobile dono pe layout sahi rahe.
   ========================================================= */

/* Horizontal scroll kabhi na aaye */
html, body { overflow-x: hidden; max-width: 100%; }
img { max-width: 100%; height: auto; }

/* ---- DESKTOP (>= 992px) ---- */
@media (min-width: 992px) {
  /* Desktop CTA dikhe */
  .site-header .header-cta { display: flex !important; }
  /* Burger + mobile-only CTA wrapper hide */
  .site-header .header-cta-mobile { display: none !important; }
  /* Drawer ke andar wala call/whatsapp desktop pe hide */
  .navbar-collapse .mobile-cta { display: none !important; }
  /* Nav links normal inline */
  .site-header .navbar-collapse { display: flex !important; }
}

/* ---- MOBILE / TABLET (< 992px) ---- */
@media (max-width: 991.98px) {
  /* Desktop CTA hide */
  .site-header .header-cta { display: none !important; }
  /* Burger wrapper dikhe */
  .site-header .header-cta-mobile { display: flex !important; }
  /* Drawer ke andar wala CTA dikhe */
  .navbar-collapse .mobile-cta { display: flex !important; }
}

/* =========================================================
   Bada desktop screen: content thoda zyada width le —
   khaali side margins kam, topbar ke saath aligned
   ========================================================= */
@media (min-width: 1200px) {
  .container { max-width: 1200px; }
  .tb-inner  { max-width: 1248px; }
}
@media (min-width: 1400px) {
  .container { max-width: 1240px; }
  .tb-inner  { max-width: 1288px; }
}

/* Footer + grid mobile pe neat */
@media (max-width: 575.98px) {
  .nav-wrap { padding-top: 12px; padding-bottom: 12px; }
  .check-list.row > li { flex: 0 0 100%; max-width: 100%; }
}
