/* -------------------------------------- */
/* GLOBAL                                 */
/* -------------------------------------- */
body, html {
  scrollbar-width: auto;      /* Firefox base: auto | thin */
  -ms-overflow-style: auto;   /* Old IE/Edge */
}

/* Reserve space to avoid layout shift when scrollbars appear */
html {
  overflow-y: auto;
  scrollbar-gutter: stable;
}

/* Firefox colors (thumb | track) and thin width */
html {
  scrollbar-width: auto;
  scrollbar-color: #F16629 #FFEAE0;
}

/* Chrome/Edge/Safari */
html::-webkit-scrollbar {
  width: 10px;                /* adjust 8–12px */
}
html::-webkit-scrollbar-track {
  background: #FFEAE0;        /* track color */
}
html::-webkit-scrollbar-thumb {
  background: #F16629;        /* thumb color */
  border-radius: 8px;         /* subtle rounding */
}
/* Optional hover shade (1 extra rule) */
html::-webkit-scrollbar-thumb:hover {
  background: #D4571F;
}
*:focus {
  outline: none !important;
  box-shadow: none !important;
}

/* -------------------------------------- */
/* HERO CONTAINER                         */
/* -------------------------------------- */
.quote-title {
  font-size: 2rem;
  font-weight: 600;
  color: #444;
  padding-top: 0.5rem;
}

/* Fullscreen overlay container (dim backdrop) */
.toast-message-wrap {
  position: fixed;
  top: 6rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 11000;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  padding: 0 1rem;
  pointer-events: none; /* do not block interactions */
}

/* Big centered box */
.toast-message {
  pointer-events: auto;
  max-width: min(92vw, 640px);
  padding: .9rem 1.1rem;
  border-radius: 10px;
  font-size: 1.1rem;   /* bigger text for readability */
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
  border: 1px solid transparent;
  box-shadow: 0 8px 20px rgba(8,16,24,0.08);
  white-space: pre-line; /* preserve \n in error summary */
  opacity: 0;
  transform: translateY(-6px) scale(.99);
  animation: toast-in-out 4.6s cubic-bezier(.2,.9,.3,1) forwards;
}

.toast-message.success {
  background: #eaf7ee;
  border-color: #bbe3c7;
  color: #115e33;
}
.toast-message.error {
  background: #fdecec;
  border-color: #f6bcbc;
  color: #7a2222;
}
.toast-message.info {
  background: #ecf3fe;
  border-color: #c8dcff;
  color: #173e83;
}

/* Animation for the box (toast in/out) */
@keyframes toast-in-out {
  0%   { opacity: 0; transform: translateY(-8px) scale(.985); }
  12%  { opacity: 1; transform: translateY(0)    scale(1);    }
  80%  { opacity: 1; transform: translateY(0)    scale(1);    } /* visible hold */
  100% { opacity: 0; transform: translateY(-8px) scale(.985); }
}

/* Animation for the dim backdrop (sync with box) */
@keyframes toast-backdrop {
  0%   { opacity: 0; }
  12%  { opacity: 1; }
  80%  { opacity: 1; }
  100% { opacity: 0; }
}

/* Smoother fade-in with blur and custom easing */
@keyframes fadeInUpSmooth {
  from {
    opacity: 0;
    transform: translateY(40px);
    filter: blur(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

/* Apply to hero title */
.quote-title.fade-in {
  opacity: 0;
  animation: fadeInUpSmooth 0.55s cubic-bezier(.4,0,.2,1) 0.02s forwards;
}

/* Apply to the image box (quote-square) */
.quote-square.fade-in {
  opacity: 0;
  animation: fadeInUpSmooth 0.7s cubic-bezier(.4,0,.2,1) 0.08s forwards;
}

/* -------------------------------------- */
/*   ABOUT US FLOATING BUTTON             */
/* -------------------------------------- */
@keyframes aboutBtnSlideInRight {
  0% {
    opacity: 0;
    transform: translateX(100vw);
  }
  80% {
    opacity: 1;
    transform: translateX(-1rem);
  }
  100% {
    opacity: 0.97;
    transform: translateX(0); /* End at 0, no Y or scale */
  }
}
@keyframes aboutBtnSlideOutRight {
  0% {
    opacity: 0.97;
    transform: translateX(0); /* Start at 0 */
  }
  100% {
    opacity: 0;
    transform: translateX(100vw);
  }
}
.floating-about-btn {
  position: fixed;
  left: 1rem;
  top: 12%;
  z-index: 9999;
  background: linear-gradient(90deg, #F16629 70%, #ffb86c 100%);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;                /* reduced from 1.15rem */
  padding: 0.55em 1.2em 0.55em 1em; /* reduced padding */
  border-radius: 2.4em;
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.9em;
  opacity: 0.97;
  box-shadow: 0 2px 12px rgba(241,102,41,0.10);
  will-change: opacity, box-shadow, transform;
  transition:
    background 0.2s,
    color 0.2s,
    box-shadow 0.2s,
    opacity 0.35s,
    transform 0.35s;
  overflow: hidden;
}
.floating-about-btn::before {
  content: "";
  position: absolute;
  left: -60%;
  top: 0;
  width: 60%;
  height: 100%;
  background: linear-gradient(120deg, transparent 0%, #fff7 50%, transparent 100%);
  transform: skewX(-25deg);
  animation: btnShimmer 2.2s linear infinite;
  pointer-events: none;
  z-index: 1;
}
@keyframes btnShimmer {
  0% { left: -60%; }
  100% { left: 120%; }
}
.floating-about-btn .about-btn-text,
.floating-about-btn .about-btn-icon {
  position: relative;
  z-index: 2;
}
.floating-about-btn .about-btn-text {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-right: 0.2em;
}
.floating-about-btn .about-btn-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 0.3em;
  animation: aboutIconSimpleBounce 1.7s infinite cubic-bezier(.4,0,.2,1);
}
@keyframes aboutIconSimpleBounce {
  0%,100% { transform: translateY(0);}
  50% { transform: translateY(-4px);}
}
.floating-about-btn.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateX(-80px);
  transition: opacity 0.35s, transform 0.35s;
}
.floating-about-btn.showing {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
  transition: opacity 0.35s, transform 0.45s;
}
.floating-about-btn.entrance {
  animation: aboutBtnSlideInRight 1.1s cubic-bezier(.4,0,.2,1) both;
}
.floating-about-btn.slideout {
  animation: aboutBtnSlideOutRight 0.8s cubic-bezier(.4,0,.2,1) both;
}
.floating-about-btn:hover,
.floating-about-btn:focus {
  background: linear-gradient(90deg, #ffb86c 0%, #F16629 100%);
  color: #fff;
  box-shadow: 0 0 0 6px #ffb86c44, 0 4px 16px rgba(241,102,41,0.18); /* Smaller glow */
  text-decoration: none;
}
/* -------------------------------------- */
/* OUTER SQUARE CONTAINER                 */
/* -------------------------------------- */
.quote-square {
  position: relative;
  width: 75rem;           /* 400px */
  height: 45rem;          /* square */
  border-radius: 1.25rem; /* 20px */
  overflow: hidden;
  margin-top: 2rem;
}

/* Background image (you’ll replace URL) */
.quote-bg-image {
  position: absolute;
  inset: 0;
  background: url("/pcap_consult/static/images/homepage1.jpg") center/cover no-repeat;
  filter: brightness(1);
}

/* -------------------------------------- */
/* NARROW WHITE FORM OVERLAY              */
/* -------------------------------------- */
.form-overlay {
  position: absolute;
  top: 50%;
  left: 2rem;            /* small gap from left edge */
  transform: translateY(-50%);
  width: 25rem;          /* 192px—thin box */
  background: rgba(255,255,255,0.95);
  border-radius: 1rem;   /* 16px */
  box-shadow: 0 0.125rem 0.5rem rgba(0,0,0,0.15);
  padding: 1rem 1rem;
  min-height: 30rem;
}

/* Headings */
.form-heading {
  font-size: 1.7rem;
  font-weight: 600;
  color: #444;
}
.form-subtitle {
  font-size: 0.875rem;
  color: #666;
}

/* Inputs */
.form-overlay .form-control {
  border: none;
  border-bottom: 1px solid #ccc;
  border-radius: 0;
  background: transparent;
  padding-left: 0;
}
.form-overlay .form-control:focus {
  box-shadow: none;
  border-color: #F16629;
}

/* Checkboxes */
.form-overlay .form-check-label {
  color: #444;
  font-size: 0.875rem;
}

/* Terms link */
.form-overlay a {
  color: #F16629;
  text-decoration: underline;
}

/* Submit button */
.form-overlay .btn-quote {
  background-color: #F16629;
  color: #fff;
  font-weight: 500;
  border-radius: 20px;
  width: 10rem;
  height: 3rem;
  transition: all 0.3s ease; /* smooth hover animation */
}

.form-overlay .btn-quote:hover {
  background-color: #d94e2a;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}
.quote-bg-image .partner-badge {
  display: block;
  position: absolute;
  top: 1.1rem;
  right: 0.3rem;                  /* moved further right */
  left: auto;
  font-size: 1rem;                /* decreased font size */
  font-family: 'Montserrat', 'Arial', sans-serif;
  font-style: italic;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.22em;         /* keep increased spacing */
  z-index: 3;
  pointer-events: none;
  background: none !important;
  width: auto;
  max-width: 80vw;
  margin: 0;
  padding: 0.1em 0.9em;
  border-radius: 1em;
  box-shadow: none;
  text-shadow:
    0 2px 8px rgba(0,0,0,0.22),
    0 0 2px #F16629;
  transform: translateX(100vw); /* Start off-screen right */
  animation: partnerSlideInDesktop 1s cubic-bezier(.4,0,.2,1) 0.1s forwards;
}
@keyframes partnerSlideInDesktop {
  from {
    opacity: 0;
    transform: translateX(100vw);
  }
  to {
    opacity: 0.99;
    transform: translateX(0);
  }
}

/* -------------------------------------- */
/* TIGHTEN UP CHECKBOX + LABEL GAP       */
/* -------------------------------------- */
.existing-client-check {
  display: flex;           /* side‑by‑side */
  align-items: center;     /* vertical center */
  gap: 0.25rem;            /* ~4px gap between box & text */
  margin-left: 0;          /* ensure it’s flush left */
  padding-left: 0;         /* remove any indent */
}

/* ensure the input itself has no extra margins */
.existing-client-check .form-check-input {
  margin: 0;
}

/* -------------------------------------- */
/* DISCLAIMER TEXT (smaller & tighter)    */
/* -------------------------------------- */
.form-overlay p.small {
  font-size: 0.75rem;    /* 75% of root font size (≈12px) */
  margin-bottom: 0.5rem; /* tighter bottom gap */
  line-height: 1.2;      /* slightly denser line spacing */
}
.form-overlay p.small a {
  font-size: 0.75rem;    /* ensure link matches size */
}

/* -------------------------------------- */
/* INFO CARDS SECTION (orange squares)    */
/* -------------------------------------- */
.info-cards-section {
  margin-top: 2rem;
}

.info-card {
  background-color: #F16629;
  padding: 2rem 1.5rem;
  border-radius: 1rem;
  color: white;
  transition: all 0.3s ease;
  height: 100%;
}

.info-card:hover {
  background-color: #B0B0B0; /* Bootstrap gray */
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
  color: white;
}

.info-icon {
  width: 150px;
  height: 150px;
  object-fit: contain;
}

.info-title {
  font-size: 1.5rem;
  font-weight: 600;
}

.info-desc {
  font-size: 0.95rem;
  margin-top: 0.5rem;
  color: white;
}

/* -------------------------------------- */
/* OUTLINE BUTTOM 2 COLLUMNS              */
/* -------------------------------------- */
.btn-outline-quote {
  color: #F16629;
  background: #fff;
  border-radius: 20px;
  font-weight: 500;
  transition: all 0.2s;
}
.btn-outline-quote:hover {
  background: #F16629;
  color: #fff;
}

/* -------------------------------------- */
/* COVER CARDS                            */
/* -------------------------------------- */
@keyframes subtle-jiggle {
  0%   { transform: translateY(0); }
  20%  { transform: translateY(-3px) rotate(-0.5deg); }
  40%  { transform: translateY(2px) rotate(0.5deg); }
  60%  { transform: translateY(-2px) rotate(-0.5deg); }
  80%  { transform: translateY(1px) rotate(0.5deg); }
  100% { transform: translateY(0); }
}

.cover-types-section {
  background: transparent;
}

.cover-types-section .row {
  --bs-gutter-x: 3rem !important;
}

.cover-type-card {
  background: #fff;
  border-radius: 2rem;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  transition: box-shadow 0.3s;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 370px;
  justify-content: flex-start;
  max-width: none;   /* Add this line: decrease as needed */
  width: 100%;        /* Optional: ensures it fills the column */
  margin-left: 0;  /* Center in column */
  margin-right: 0; /* Center in column */
  cursor: pointer;
}

.cover-type-card:hover {
  box-shadow: 0 8px 32px rgba(241,102,41,0.12);
  animation: subtle-jiggle 0.5s;
}

.cover-type-icon {
  width: 250px;
  height: 250px;
  object-fit: contain;
  margin-bottom: 1rem;
}

.cover-type-desc {
  font-size: 1rem;
  letter-spacing: 0.02em;
  margin-top: 0.5rem;
}

/* -------------------------------------- */
/* FREQUENTLY ASKED QUESTIONS             */
/* -------------------------------------- */
.faq-bg-wide {
  width: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: #A9A9A9; /* even darker grey for more contrast */
  border-radius: 32px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  padding: 0 0 3rem 0;
  min-height: 600px;
  position: relative;
  overflow-x: visible;
  margin-bottom: 80px; /* Increase this value for more space */
}

.faq-carousel-wrapper {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

.faq-carousel {
  display: flex;
  gap: 2.2rem;
  overflow-x: hidden; /* <-- hide scrollbar and prevent user scroll */
  scroll-behavior: smooth;
  padding: 0 0 1rem 0;
  margin-left: 0;
  cursor: grab;
  width: max-content;
  min-width: 100%;
}

.faq-carousel::-webkit-scrollbar { display: none; }
.faq-carousel { -ms-overflow-style: none; scrollbar-width: none; }

/* Minimalist Video Card: just video and white overlay title */
.faq-card.video-card {
  background: none;
  min-width: 260px;
  max-width: 260px;
  height: 400px;
  border-radius: 18px;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  position: relative;
  overflow: hidden;
  box-shadow: none;
  padding: 0;
}

.faq-card .faq-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 18px;
  margin: 0;
  display: block;
}

.faq-card .faq-video-title {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  color: #fff;
  background: none; /* NO background */
  font-size: 1.15rem;
  font-weight: 700;
  padding: 0.7rem 1.2rem 0.5rem 1.2rem;
  z-index: 2;
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
  pointer-events: none;
  text-shadow: 0 2px 8px rgba(0,0,0,0.45); /* Optional: helps white text stand out */
}

/* Info Card: slightly smaller */
.faq-card.info-card {
  background: #F16629;
  color: #fff;
  min-width: 320px;
  max-width: 320px;
  height: 300px;
  border-radius: 22px;
  padding: 2rem 1.2rem;
  font-size: 1.08rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
}
.faq-card.info-card h5 {
  font-size: 1.18rem;
}
/* ------------------------------------ */
/*      HIDDEN                          */
/* ------------------------------------ */
.cashback-badge {
  display: none;
}
.faq-list-wrapper {
  display: none;
}

/* ------------------------------------ */
/* MOBILE PORTRAIT (360px–430px)       */
/* ------------------------------------ */
@media (max-width: 430px) and (orientation: portrait) {
  /* ======= GLOBAL ======= */
  html, body {
    overflow-x: hidden;
    scrollbar-width: none;      /* Firefox */
    -ms-overflow-style: none;   /* Old IE/Edge */
  }

  .toast-message-wrap {
    top: clamp(5rem, 12vw, 5.5rem);
    padding-left: 0;            /* remove side padding so we can use full width */
    padding-right: 0;
    width: 100vw;               /* ensure container spans viewport */
  }

  .toast-message {
    max-width: none;            /* don't limit width */
    width: calc(100vw - 1.5rem);/* near-full width with small gutters */
    margin: 0 0.75rem;          /* side gutters */
    padding: 0.9rem 1rem;
    border-radius: 0.6rem;
    font-size: clamp(1.05rem, 3.8vw, 1.15rem);
    line-height: 1.45;
    word-break: break-word;     /* avoid overflow from long tokens */
    hyphens: auto;
  }

  /* ======= Home‑Hero & Quote Form ======= */
  .getquote-hero {
    padding-bottom: 0; /* tighter spacing under image */
  }

  /* hide desktop‑only info cards */
  .info-cards-section {
    display: none !important;
  }
  
  .floating-about-btn {
    display: flex !important;
    left: 0.7rem;
    top: 12%;
    padding: 0.32em 0.85em 0.32em 0.7em; /* smaller padding */
    font-size: 0.89rem;                  /* smaller font */
    border-radius: 1.3em;
    min-width: unset;
    max-width: 70vw;                     /* less wide */
    box-shadow: 0 1px 4px rgba(241,102,41,0.13);
    z-index: 9999;
    height: 2.1em;
  }
  .floating-about-btn .about-btn-text {
    font-size: 0.89rem;
    margin-right: 0.12em;
  }
  .floating-about-btn .about-btn-icon {
    margin-left: 0.13em;
    width: 1.1em;
    height: 1.1em;
  }
  .floating-about-btn::before {
    width: 60%;
    left: -60%;
  }

  /* Outer image container */
  .quote-square {
    width: 90vw !important;
    height: auto !important;
    max-width: 100%;
    margin: 0 auto 1.5rem !important;
    position: relative !important;
  }

  /* — SHOW the badge and position it — */
  .quote-square .cashback-badge {
    display: flex;              /* now visible */
    position: absolute;
    bottom: 0.5rem;          
    left: 0.5rem;
    width: 25vw;             /* slightly narrower */
    max-width: 100px; 
    aspect-ratio: 1 / 1;
    background: #F16629;
    color: #fff;
    text-align: center;
    border-radius: 1rem;
    z-index: 2;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    row-gap: 0.2rem;
    transform: translateX(100vw);
    animation: badgeSlideIn 1.3s cubic-bezier(.4,0,.2,1) 0.1s forwards;
  }
  .quote-square .cashback-badge .cb-small {
    font-size: 3vw;
    font-weight: 600;
    line-height: 1.2;
    color: #fff;
    letter-spacing: 0.09em;
    font-family: 'Montserrat', 'Arial', sans-serif;
    text-transform: uppercase;
    opacity: 0.96;
    text-shadow:
      0 2px 8px rgba(0,0,0,0.18),
      0 1px 0 #F16629;
  }
  .quote-square .cashback-badge .cb-big {
    font-size: 3.5vw;
    font-weight: 600;
    line-height: 1.1;
    color: #fff;
    letter-spacing: 0.13em;
    font-family: 'Montserrat', 'Arial', sans-serif;
    text-transform: uppercase;
    opacity: 0.99;
    padding: 0.08em 0.4em;
    background: none;
    font-style: normal;
    border-bottom: 2px solid #fff3;
    text-shadow:
      0 3px 10px rgba(0,0,0,0.18),
      0 1px 0 #F16629,
      0 0 2px #fff;
  }
  .partner-badge {
    display: block !important;
    position: absolute !important;
    top: 1.1rem !important;
    left: 0.3rem !important;
    right: auto !important;      /* <-- force right to auto on mobile */
    font-size: 1rem !important;
    font-family: 'Montserrat', 'Arial', sans-serif !important;
    font-style: italic !important;
    font-weight: 600 !important;
    color: #fff !important;
    opacity: 0.99 !important;
    letter-spacing: 0.06em !important;
    z-index: 3 !important;
    pointer-events: none !important;
    background: none !important;
    width: auto !important;
    max-width: 80vw !important;
    margin: 0 !important;
    padding: 0.1em 0.7em !important;
    border-radius: 1em !important;
    box-shadow: none !important;
    text-shadow:
      0 2px 8px rgba(0,0,0,0.22),
      0 0 2px #F16629 !important;
    transform: translateX(-100vw);
    animation: partnerSlideIn 1.3s cubic-bezier(.4,0,.2,1) 0.1s forwards;
    filter: none !important;
    transition: opacity 0.3s !important;
    border-bottom: none !important;
  }

  @keyframes badgeSlideIn {
    from {
      opacity: 0;
      transform: translateX(100vw);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }

  @keyframes partnerSlideIn {
    from {
      opacity: 0;
      transform: translateX(-100vw);
    }
    to {
      opacity: 0.95;
      transform: translateX(0);
    }
  }

  /* Background image now behaves like a block */
  .quote-bg-image {
    position: relative !important;
    width: 100%;
    height: auto;
    min-height: 80vw;         /* preserves some height */
    border-radius: 1rem;
    margin-bottom: 1rem;
  }

  /* Form stacked below image */
  .form-overlay {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    width: 90vw !important;
    max-width: 95vw;
    margin: 0 auto 1rem !important;
    padding: 1.5rem 1rem;
    border-radius: 1rem;
    background: rgba(255,255,255,0.97);
    box-shadow: 0 0.125rem 0.5rem rgba(0,0,0,0.1);
    z-index: 1;
  }

  /* Quote form title */
  .quote-title {
    font-size: 1.5rem !important;
    line-height: 1.2;
    text-align: center;
  }

  /* Full‑width submit button */
  .form-overlay .btn-quote {
    width: 80% !important;    /* narrower button */
    max-width: 240px;
    font-size: 1.1rem;         /* a bit larger text */
    margin: 0 auto;            /* center it */
  }

  .mb-4 .form-check-row {
    display: flex;
    justify-content: center;
    gap: 0.1rem;
    width: 100%;
    margin-bottom: 0.75rem;
  }
  .mb-4 .form-check-inline {
    display: flex !important;
    align-items: center;
    gap: 0.4rem;
    white-space: nowrap;
  }
  .mb-4 .form-check-last {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
  }
  .mb-4 .form-check-input {
    width: 1rem;
    height: 1rem;
  }

  .form-overlay .btn-quote,
  .about-highlight .btn-quote {
    display: block !important;
    width: 80% !important;
    max-width: 240px !important;
    margin: 0.75rem auto !important;
    padding: 0.75rem 1rem !important;
    font-size: 1.2rem !important;  
    font-weight: 500 !important;
    line-height: 1.2 !important;
    text-align: center !important;
    border-radius: 20px !important; /* consistent with desktop */
  }

  /* ensure the Learn More outline button in About Highlight also matches */
  .about-highlight .btn-outline-quote {
    display: block !important;
    width: 80% !important;
    max-width: 240px !important;
    margin: 0.75rem auto !important;
  }

  /* ======= About Highlight Section ======= */
  .about-highlight {
    margin-top: 0.5rem !important;   /* pull up toward form */
  } 
  .about-highlight .row {
    display: flex;
    flex-direction: column; /* stack columns */
    align-items: center;    /* center everything */
    text-align: center;
    gap: 1rem;            /* space between blocks */
  }

  .about-highlight .col-md-6 {
    width: 100%;            /* full width */
    max-width: 95vw;        /* padding from edges */
  }

  /* ensure image comes first */
  .about-highlight .col-md-6.text-center {
    order: 1;
  }
  /* then the text/buttons */
  .about-highlight .col-md-6:first-child {
    order: 2;
  }

  /* smaller, mobile‑friendly heading */
  .about-highlight h2 {
    font-size: 1.75rem !important;
    line-height: 1.2;
  }

  /* stack action buttons vertically */
  .about-highlight .d-flex.gap-3 {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.75rem !important;
    width: 100%;
    margin-top: 1rem;
  }
  .about-highlight .d-flex.gap-3 .btn {
    width: 80%;
    max-width: 240px;
    font-size: 1.3rem;
    margin: 0 auto;
  }

  /* ======= COVER CARD TYPES ======= */
  .cover-types-section .cover-type-card {
    position: relative;             /* for the shimmer pseudo */
    overflow: hidden;
    max-width: 300px !important;
    min-height: 360px !important;
    margin: 0 auto 1rem !important;
    border-radius: 2rem !important;
    box-shadow: 0 6px 24px rgba(0,0,0,0.2) !important;
  }

  /* the shimmer pseudo‑element */
  .cover-types-section .cover-type-card::before {
    content: "";
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(
      120deg,
      transparent 0%,
      rgba(255,255,255,0.4) 50%,
      transparent 100%
    );
    transform: skewX(-25deg);
    animation: shimmer 2s infinite;
    pointer-events: none;
  }

  @keyframes shimmer {
    0%   { left: -100%; }
    100% { left: 100%; }
  }

  .cover-types-section .cover-type-card::after {
    content: "Tap to explore";
    position: absolute;
    top: 1rem;
    left: 0.5rem;
    transform-origin: left top;
    background: rgba(241,102,41,0.9);
    color: #fff;
    font-size: 0.9rem;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    opacity: 0;
    animation: hintOnceThenLoop 6s infinite both;
    pointer-events: none;
  }

  @keyframes hintOnceThenLoop {
    /* 0–0.07s: pop in */
    0% {
      opacity: 0;
      transform: translate(-20px, -20px) scale(0.5);
    }
    2% {
      opacity: 1;
      transform: translate(0, 0) scale(1);
    }
    /* 0.07s–5.07s (1%–72%): stay visible */
    72% {
      opacity: 1;
      transform: translate(0, 0) scale(1);
    }
    /* 5.07s–6.07s (72%–86%): fade out */
    86% {
      opacity: 0;
    }
    /* 6.07s–7s (86%–100%): remain hidden */
    100% {
      opacity: 0;
    }
  }
  .cover-types-section .row.justify-content-center {
    row-gap: 1rem !important;       /* more space between rows */
  }

  .cover-types-section .cover-type-icon {
    width: 250px !important;
    height: 300px !important;
  }

  .cover-types-section .row.justify-content-center {
    row-gap: 3rem; /* vertical gap between rows */
  }
  .cover-types-section .col-md-4 {
    padding-bottom: 0 !important; /* remove default gutter bottom */
  }

  .cover-types-section h4 {
    font-size: 1.6rem !important;
    margin-bottom: 1rem !important;
  }
  .cover-type-desc {
    font-size: 1rem !important;
    color: #555 !important;
  }

  /* ======= FREAKQUENTLY ASKED QUESTIONS ======= */
  .faq-bg-wide {
    width: 100vw;
    max-width: 100vw;
    left: 0;
    transform: none;
    margin: 0;
    border-radius: 2em;
    background: #A9A9A9;
  }
  .faq-carousel-wrapper { display: none; }
  .faq-list-wrapper { display: block; }
  .faq-list {
    display: flex;
    flex-direction: column;
    gap: 1.1em;
  }
  .faq-card-mobile {
    background: #F16629;
    color: #fff;
    border-radius: 1.2em;
    padding: 1.2em 1em;
    font-size: 1.1em;
    box-shadow: 0 0.25em 1em rgba(0,0,0,0.10);
    cursor: pointer;
    position: relative;
    margin-bottom: 0.5em;
    transition: box-shadow 0.2s;
    max-width: 85vw;         /* Make orange card narrower */
    margin-left: auto;       /* Center horizontally */
    margin-right: auto;
  }
  .faq-card-mobile .faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between; /* Arrow always on right */
    font-weight: 600;
    font-size: 1.1em;
    position: relative;
    width: 100%;
  }
  .faq-card-mobile .faq-arrow {
    font-size: 1.5em;
    margin-left: 0.5em;
    transition: transform 0.2s;
    flex-shrink: 0;
  }
  .faq-card-mobile.active .faq-arrow {
    transform: rotate(180deg);
  }
  .faq-card-mobile .faq-avatar {
    width: 2.5em;
    height: 2.5em;
    border-radius: 0.7em;
    object-fit: cover;
    margin-left: 0.7em;
    box-shadow: 0 0.125em 0.5em rgba(0,0,0,0.10);
  }
  .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s, padding 0.3s;
    background: #F16629;
    color: #ffffff;
    border-radius: 0 0 1.2em 1.2em;
    padding: 0 1em;
    font-size: 1em;
    margin-top: 0.5em;
  }
  .faq-card-mobile.active .faq-answer {
    max-height: 25em;
    padding: 1em;
  }
  .faq-card-mobile.video-card-mobile .faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between; /* arrow always on right */
    font-weight: 600;
    font-size: 1.1em;
    width: 100%;
  }
  .faq-video-mobile {
    width: 100%;
    border-radius: 1em;
    margin-top: 0.7em;
    background: #fff;
  }
  .faq-card-mobile.video-card-mobile .faq-arrow {
    display: inline; /* show arrow for video cards */
  }
}