/* =========================================================
   Just Drive Driving School — stylesheet
   Bootstrap 5.3 is loaded first; this file layers brand
   styling, component tweaks and page-specific rules on top.
   ========================================================= */

:root {
  --dw-navy: #051930;
  --dw-navy-dark: #030f1d;
  --dw-navy-light: #2c4a68;
  --dw-red: #d2070d;
  --dw-red-dark: #9e050a;
  --dw-dark: #0b1220;
  --dw-gray-50: #f6f8fc;
  --dw-gray-100: #eef1f8;
  --dw-gray-600: #5b6478;
  --dw-radius: 0.9rem;
  --dw-shadow: 0 0.5rem 1.5rem rgba(5, 25, 48, 0.1);
  --dw-shadow-lg: 0 1rem 3rem rgba(5, 25, 48, 0.15);
  font-size: 16px;
}

/* -------------------- base -------------------- */
body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #23283a;
  background-color: #fff;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .font-heading {
  font-family: "Poppins", "Inter", sans-serif;
  font-weight: 700;
  color: var(--dw-dark);
}

a {
  text-decoration: none;
}

.section-pad {
  padding-top: 5.5rem;
  padding-bottom: 5.5rem;
}

@media (max-width: 767.98px) {
  .section-pad {
    padding-top: 3.25rem;
    padding-bottom: 3.25rem;
  }
}

.bg-soft {
  background-color: var(--dw-gray-50);
}

.text-navy {
  color: var(--dw-navy) !important;
}

.bg-navy {
  background-color: var(--dw-navy) !important;
}

.bg-navy-dark {
  background-color: var(--dw-dark) !important;
}

.text-accent {
  color: var(--dw-red) !important;
}

/* eyebrow / kicker label above headings */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dw-navy);
  background: rgba(5, 25, 48, 0.08);
  padding: 0.35rem 0.9rem;
  border-radius: 50rem;
  margin-bottom: 1rem;
}

.kicker::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--dw-red);
  display: inline-block;
}

/* -------------------- buttons -------------------- */
.btn {
  font-weight: 600;
  border-radius: 0.6rem;
  padding: 0.65rem 1.5rem;
}

.btn-lg {
  padding: 0.85rem 2rem;
}

.btn-primary {
  background-color: var(--dw-navy);
  border-color: var(--dw-navy);
}
.btn-primary:hover,
.btn-primary:focus {
  background-color: var(--dw-navy-dark);
  border-color: var(--dw-navy-dark);
}

.btn-accent {
  background-color: var(--dw-red);
  border-color: var(--dw-red);
  color: #fff;
}
.btn-accent:hover,
.btn-accent:focus {
  background-color: var(--dw-red-dark);
  border-color: var(--dw-red-dark);
  color: #fff;
}

.btn-outline-light-blue {
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  color: #fff;
}
.btn-outline-light-blue:hover {
  background: #fff;
  color: var(--dw-navy);
}

.btn-outline-primary {
  color: var(--dw-navy);
  border-color: var(--dw-navy);
}
.btn-outline-primary:hover {
  background-color: var(--dw-navy);
  border-color: var(--dw-navy);
}

/* -------------------- top bar -------------------- */
.topbar {
  background: var(--dw-dark);
  color: #cfd6e6;
  font-size: 0.85rem;
}
.topbar a {
  color: #cfd6e6;
}
.topbar a:hover {
  color: var(--dw-red);
}
.topbar .divider {
  width: 1px;
  height: 14px;
  background: rgba(255, 255, 255, 0.2);
  display: inline-block;
}

/* -------------------- navbar -------------------- */
.navbar {
  padding-top: 0.9rem;
  padding-bottom: 0.9rem;
  background-color: #fff;
  transition: box-shadow 0.25s ease, padding 0.25s ease;
}

.navbar.scrolled {
  box-shadow: 0 0.35rem 1rem rgba(13, 20, 40, 0.08);
  padding-top: 0.55rem;
  padding-bottom: 0.55rem;
}

.navbar-brand {
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--dw-dark) !important;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.navbar-brand .logo-navbar-img {
  height: 52px;
  width: auto;
  display: block;
}

@media (max-width: 575.98px) {
  .navbar-brand .logo-navbar-img {
    height: 42px;
  }
}

.navbar .nav-link {
  font-weight: 600;
  color: #2b3350;
  padding: 0.5rem 1rem !important;
  position: relative;
}

.navbar .nav-link.active,
.navbar .nav-link:hover {
  color: var(--dw-navy);
}

.navbar .nav-link.active::after {
  content: "";
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 0.1rem;
  height: 3px;
  border-radius: 2px;
  background: var(--dw-red);
}

/* -------------------- hero -------------------- */
.hero {
  position: relative;
  background: linear-gradient(120deg, var(--dw-navy-dark) 0%, var(--dw-navy) 60%, var(--dw-navy-light) 100%);
  color: #fff;
  overflow: hidden;
  padding-top: 6rem;
  padding-bottom: 7rem;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 85% 20%, rgba(210, 7, 13, 0.18), transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(255, 255, 255, 0.08), transparent 40%);
  pointer-events: none;
}

.hero .badge-strip {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50rem;
  padding: 0.4rem 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
}

.hero h1 {
  color: #fff;
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  line-height: 1.15;
}

.hero .lead {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.1rem;
}

.hero-stat {
  border-left: 3px solid var(--dw-red);
  padding-left: 0.9rem;
}

.hero-stat .num {
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  font-size: 1.6rem;
  color: #fff;
  display: block;
}

.hero-stat .label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.75);
}

.hero-media {
  position: relative;
  border-radius: 1.2rem;
  overflow: hidden;
  box-shadow: var(--dw-shadow-lg);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-media .float-card {
  position: absolute;
  bottom: -1.25rem;
  left: -1.25rem;
  background: #fff;
  color: var(--dw-dark);
  border-radius: 1rem;
  padding: 1rem 1.25rem;
  box-shadow: var(--dw-shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  max-width: 250px;
}

@media (max-width: 991.98px) {
  .hero-media .float-card {
    left: 0.75rem;
    bottom: -1rem;
  }
}

.hero-media .float-card .icon {
  width: 46px;
  height: 46px;
  border-radius: 0.7rem;
  background: var(--dw-red);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

/* page header (inner pages) */
.page-header {
  background: linear-gradient(120deg, var(--dw-navy-dark) 0%, var(--dw-navy) 100%);
  color: #fff;
  padding: 3.5rem 0;
  position: relative;
  overflow: hidden;
}

.page-header::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 90% 10%, rgba(210, 7, 13, 0.18), transparent 45%);
}

.page-header h1 {
  color: #fff;
  margin-bottom: 0.5rem;
}

.page-header .breadcrumb {
  --bs-breadcrumb-divider-color: rgba(255, 255, 255, 0.5);
  margin-bottom: 0;
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
  color: rgba(255, 255, 255, 0.75);
}

.page-header .breadcrumb-item.active {
  color: var(--dw-red);
}

/* -------------------- cards / features -------------------- */
.icon-box {
  width: 58px;
  height: 58px;
  border-radius: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  background: rgba(5, 25, 48, 0.08);
  color: var(--dw-navy);
  flex-shrink: 0;
}

.feature-card {
  background: #fff;
  border: 1px solid rgba(13, 20, 40, 0.06);
  border-radius: var(--dw-radius);
  padding: 2rem 1.75rem;
  height: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

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

.feature-card:hover .icon-box {
  background: var(--dw-red);
  color: #fff;
}

.service-card {
  background: #fff;
  border-radius: var(--dw-radius);
  overflow: hidden;
  box-shadow: 0 0.25rem 1rem rgba(13, 20, 40, 0.06);
  height: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.service-card .service-img {
  height: 190px;
  overflow: hidden;
}

.service-card .service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.service-card:hover .service-img img {
  transform: scale(1.08);
}

.service-card .service-body {
  padding: 1.5rem;
}

.service-card .price-tag {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  color: var(--dw-navy);
}

/* -------------------- why choose us / checklist -------------------- */
.check-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  margin-bottom: 0.85rem;
}

.check-list li i {
  color: var(--dw-navy);
  background: rgba(5, 25, 48, 0.1);
  border-radius: 50%;
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  margin-top: 0.1rem;
}

/* -------------------- steps / how it works -------------------- */
.step-card {
  text-align: center;
  padding: 1.5rem;
  position: relative;
}

.step-num {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--dw-navy);
  color: #fff;
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.1rem;
  border: 4px solid var(--dw-red);
}

/* -------------------- pricing -------------------- */
.price-card {
  background: #fff;
  border-radius: var(--dw-radius);
  border: 1px solid rgba(13, 20, 40, 0.08);
  padding: 2.25rem 1.75rem;
  height: 100%;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
}

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

.price-card.featured {
  background: var(--dw-navy);
  color: #fff;
  border-color: var(--dw-navy);
  transform: scale(1.03);
  box-shadow: var(--dw-shadow-lg);
}

.price-card.featured .price-desc,
.price-card.featured .price-period {
  color: rgba(255, 255, 255, 0.75);
}

.price-card .ribbon {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--dw-red);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.3rem 1rem;
  border-radius: 50rem;
  white-space: nowrap;
}

.price-card .price-amount {
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  font-size: 2.6rem;
  margin: 0.5rem 0 0;
}

.price-card .price-period {
  font-size: 0.85rem;
  color: var(--dw-gray-600);
  margin-bottom: 1.25rem;
}

.price-card ul {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
  text-align: left;
}

.price-card ul li {
  padding: 0.5rem 0;
  border-bottom: 1px dashed rgba(13, 20, 40, 0.08);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.price-card.featured ul li {
  border-bottom-color: rgba(255, 255, 255, 0.18);
}

.price-card ul li i {
  color: var(--dw-navy);
}

.price-card.featured ul li i {
  color: var(--dw-red);
}

/* -------------------- testimonials -------------------- */
.testimonial-card {
  background: #fff;
  border-radius: var(--dw-radius);
  padding: 2rem;
  box-shadow: 0 0.25rem 1rem rgba(13, 20, 40, 0.06);
  height: 100%;
}

.testimonial-card .stars i {
  color: var(--dw-red);
  font-size: 0.9rem;
}

.testimonial-card .avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-card .quote-icon {
  font-size: 1.8rem;
  color: rgba(5, 25, 48, 0.15);
}

/* -------------------- instructors / team -------------------- */
.team-card {
  border-radius: var(--dw-radius);
  overflow: hidden;
  background: #fff;
  box-shadow: 0 0.25rem 1rem rgba(13, 20, 40, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.team-card .team-img {
  height: 260px;
  overflow: hidden;
}

.team-card .team-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card .team-social {
  display: flex;
  gap: 0.5rem;
}

.team-card .team-social a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--dw-gray-100);
  color: var(--dw-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, color 0.2s ease;
}

.team-card .team-social a:hover {
  background: var(--dw-navy);
  color: #fff;
}

/* -------------------- blog -------------------- */
.blog-card {
  background: #fff;
  border-radius: var(--dw-radius);
  overflow: hidden;
  box-shadow: 0 0.25rem 1rem rgba(13, 20, 40, 0.06);
  height: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.blog-card .blog-img {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.blog-card .blog-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.blog-card:hover .blog-img img {
  transform: scale(1.08);
}

.blog-card .blog-cat {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--dw-red);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.8rem;
  border-radius: 50rem;
  text-transform: uppercase;
}

.blog-card .blog-body {
  padding: 1.5rem;
}

.blog-meta {
  font-size: 0.82rem;
  color: var(--dw-gray-600);
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.blog-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.sidebar-widget {
  background: #fff;
  border-radius: var(--dw-radius);
  padding: 1.5rem;
  box-shadow: 0 0.25rem 1rem rgba(13, 20, 40, 0.06);
}

.sidebar-widget + .sidebar-widget {
  margin-top: 1.5rem;
}

.sidebar-widget h5 {
  margin-bottom: 1.1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--dw-gray-100);
}

.post-list-item {
  display: flex;
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.post-list-item img {
  width: 68px;
  height: 68px;
  border-radius: 0.6rem;
  object-fit: cover;
  flex-shrink: 0;
}

.post-list-item h6 {
  margin-bottom: 0.25rem;
  font-size: 0.92rem;
  line-height: 1.35;
}

.tag-cloud a {
  display: inline-block;
  background: var(--dw-gray-100);
  color: var(--dw-dark);
  font-size: 0.8rem;
  padding: 0.35rem 0.9rem;
  border-radius: 50rem;
  margin: 0 0.4rem 0.4rem 0;
  font-weight: 600;
}

.tag-cloud a:hover {
  background: var(--dw-navy);
  color: #fff;
}

/* -------------------- locations -------------------- */
.location-card {
  background: #fff;
  border-radius: var(--dw-radius);
  padding: 1.5rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  box-shadow: 0 0.25rem 1rem rgba(13, 20, 40, 0.06);
  height: 100%;
}

.map-frame {
  border-radius: var(--dw-radius);
  overflow: hidden;
  box-shadow: var(--dw-shadow);
  line-height: 0;
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 380px;
  border: 0;
}

/* -------------------- FAQ / accordion -------------------- */
.accordion-item {
  border: 1px solid rgba(13, 20, 40, 0.08);
  border-radius: 0.7rem !important;
  overflow: hidden;
  margin-bottom: 0.85rem;
}

.accordion-button {
  font-weight: 700;
  font-family: "Poppins", sans-serif;
  color: var(--dw-dark);
}

.accordion-button:not(.collapsed) {
  background-color: rgba(5, 25, 48, 0.06);
  color: var(--dw-navy);
  box-shadow: none;
}

.accordion-button:focus {
  box-shadow: none;
  border-color: rgba(13, 20, 40, 0.08);
}

/* -------------------- CTA -------------------- */
.cta-banner {
  background: linear-gradient(120deg, var(--dw-navy-dark), var(--dw-navy));
  border-radius: 1.2rem;
  color: #fff;
  padding: 3rem;
  position: relative;
  overflow: hidden;
}

.cta-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 90% 20%, rgba(210, 7, 13, 0.22), transparent 45%);
}

.cta-banner * {
  position: relative;
}

/* -------------------- forms -------------------- */
.form-control,
.form-select {
  padding: 0.7rem 0.9rem;
  border-radius: 0.6rem;
  border: 1px solid rgba(13, 20, 40, 0.15);
}

.form-control:focus,
.form-select:focus {
  border-color: var(--dw-navy);
  box-shadow: 0 0 0 0.2rem rgba(5, 25, 48, 0.15);
}

.form-label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--dw-dark);
}

.form-card {
  background: #fff;
  border-radius: var(--dw-radius);
  box-shadow: var(--dw-shadow-lg);
  padding: 2.25rem;
}

.form-floating > label {
  color: var(--dw-gray-600);
}

.btn-check:checked + .btn-outline-primary,
.btn-check:active + .btn-outline-primary {
  background-color: var(--dw-navy);
  color: #fff;
}

/* step progress for booking */
.booking-steps {
  display: flex;
  justify-content: space-between;
  margin-bottom: 2.5rem;
  counter-reset: step;
}

.booking-steps .b-step {
  flex: 1;
  text-align: center;
  position: relative;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--dw-gray-600);
}

.booking-steps .b-step::before {
  counter-increment: step;
  content: counter(step);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--dw-gray-100);
  color: var(--dw-gray-600);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.5rem;
  font-family: "Poppins", sans-serif;
}

.booking-steps .b-step.active::before {
  background: var(--dw-navy);
  color: #fff;
}

.booking-steps .b-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 17px;
  left: 55%;
  width: 90%;
  height: 2px;
  background: var(--dw-gray-100);
  z-index: -1;
}

/* -------------------- contact -------------------- */
.contact-info-card {
  background: #fff;
  border-radius: var(--dw-radius);
  padding: 1.75rem;
  height: 100%;
  box-shadow: 0 0.25rem 1rem rgba(13, 20, 40, 0.06);
  text-align: center;
}

/* -------------------- footer -------------------- */
.site-footer {
  background: var(--dw-dark);
  color: rgba(255, 255, 255, 0.65);
  padding-top: 4.5rem;
}

.site-footer h5,
.site-footer h6 {
  color: #fff;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.65);
}

.site-footer a:hover {
  color: var(--dw-red);
}

.site-footer .footer-logo-badge {
  background: #fff;
  border-radius: 0.9rem;
  padding: 0.85rem 1.1rem;
  line-height: 0;
}

.site-footer .footer-logo-img {
  height: 64px;
  width: auto;
  display: block;
}

.site-footer .footer-links li {
  margin-bottom: 0.6rem;
}

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

.site-footer .social-icons a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.site-footer .social-icons a:hover {
  background: var(--dw-red);
  color: #fff;
}

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

.footer-bottom a {
  color: rgba(255, 255, 255, 0.65);
}

.footer-contact li {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
  align-items: flex-start;
}

.footer-contact li i {
  color: var(--dw-red);
  margin-top: 0.2rem;
}

.footer-newsletter .form-control {
  border-radius: 0.6rem 0 0 0.6rem;
  border-color: transparent;
}

.footer-newsletter .btn {
  border-radius: 0 0.6rem 0.6rem 0;
}

/* -------------------- back to top -------------------- */
.back-to-top {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--dw-navy);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--dw-shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s ease;
  z-index: 1050;
  border: none;
}

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

.back-to-top:hover {
  background: var(--dw-navy-dark);
  color: #fff;
}

/* -------------------- floating call button (mobile) -------------------- */
.floating-call {
  position: fixed;
  left: 1.25rem;
  bottom: 1.25rem;
  z-index: 1050;
  background: var(--dw-red);
  color: #fff;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  box-shadow: var(--dw-shadow-lg);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(210, 7, 13, 0.55); }
  70% { box-shadow: 0 0 0 12px rgba(210, 7, 13, 0); }
  100% { box-shadow: 0 0 0 0 rgba(210, 7, 13, 0); }
}

/* -------------------- reveal on scroll -------------------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* -------------------- misc -------------------- */
.divider-yellow {
  width: 70px;
  height: 4px;
  background: var(--dw-red);
  border-radius: 2px;
}

.rating-badge {
  background: #fff;
  border-radius: 50rem;
  padding: 0.5rem 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: var(--dw-shadow);
  font-weight: 700;
  font-size: 0.85rem;
}

.stat-strip {
  background: var(--dw-navy);
  color: #fff;
  border-radius: var(--dw-radius);
}

.stat-strip .stat-item {
  text-align: center;
  padding: 2rem 1rem;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.stat-strip .stat-item:last-child {
  border-right: none;
}

.stat-strip .stat-item .num {
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  font-size: 2.2rem;
  display: block;
}

@media (max-width: 767.98px) {
  .stat-strip .stat-item {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  }
  .stat-strip .stat-item:last-child {
    border-bottom: none;
  }
}

.card-hover-line {
  height: 4px;
  width: 0;
  background: var(--dw-red);
  transition: width 0.3s ease;
}

.feature-card:hover .card-hover-line {
  width: 100%;
}

::selection {
  background: var(--dw-red);
  color: #fff;
}

/* -------------------- rich blog post content -------------------- */
.blog-content h4 {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.blog-content p {
  margin-bottom: 1rem;
}

.blog-content blockquote {
  border-left: 4px solid var(--dw-red);
  padding: 0.5rem 0 0.5rem 1.5rem;
  margin: 1.5rem 0;
}

.blog-content blockquote p {
  margin-bottom: 0;
  font-style: italic;
  color: var(--dw-gray-600);
}

/* -------------------- cookie consent banner -------------------- */
.cookie-consent {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1080;
  background: var(--dw-navy);
  color: rgba(255, 255, 255, 0.85);
  box-shadow: 0 -0.5rem 1.5rem rgba(5, 25, 48, 0.25);
  padding: 1.1rem 0;
  transform: translateY(100%);
  transition: transform 0.35s ease;
}

.cookie-consent.show {
  transform: translateY(0);
}

.cookie-consent-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cookie-consent-text {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  flex: 1 1 320px;
  font-size: 0.9rem;
}

.cookie-consent-text i {
  font-size: 1.3rem;
  color: var(--dw-red);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.cookie-consent-text a {
  color: #fff;
  text-decoration: underline;
}

.cookie-consent-actions {
  display: flex;
  gap: 0.6rem;
  flex-shrink: 0;
}

@media (max-width: 575.98px) {
  .cookie-consent-actions {
    width: 100%;
  }
  .cookie-consent-actions .btn {
    flex: 1;
  }
}
