/* -------------------------------------- */
/* CONTACT CARDS                          */
/* -------------------------------------- */
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;
}
.contact-card {
  background: #F16629;
  border-radius: 60px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  color: #fff;
  transition: border-radius 0.3s, background 0.3s;
  min-height: 650px; /* or any value you prefer */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.contact-card:hover {
  border-radius: 24px;
  background: #30303096;
}
.contact-card-icon {
  width: 300px;
  height: 300px;
  object-fit: contain;
}
/* Increase header size */
.contact-card h4 {
  font-size: 2.1rem;
  line-height: 1.2;
}
/* Increase phone number size */
.contact-card-phone {
  font-size: 2.3rem;
  font-weight: bold;
  color: #fff;
  text-decoration: underline;
  margin-bottom: 0.7rem;
  transition: color 0.2s;
}
.contact-card-phone:hover,
.contact-card-email:hover {
  color: #222;
  text-decoration: underline;
}
/* Increase email size */
.contact-card-email {
  color: #fff;
  text-decoration: underline;
  font-size: 1.3rem;
  margin-bottom: 0.7rem;
}

/* Increase description size */
.contact-card-desc {
  color: #fff;
  font-size: 1.15rem;
  margin-top: 1.2rem;
}

/* ========== 24/7 card: insurer list ========== */
.assist-sep {
  width: 60%;
  height: 1px;
  border: 0;
  background: rgba(255,255,255,0.25);
  margin: 1rem auto 0.75rem;
}

.assist-list-wrap {
  width: 100%;
  text-align: left;
  margin-top: 0.25rem;
}

.assist-subheading {
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
  margin: 0 0 .5rem 0;
  text-align: center;
}

.assist-list {
  max-height: 300px;           /* stays inside the card */
  overflow: auto;
  padding: 0;
  margin: 0;
}

/* Scrollbar inside the card list (subtle and on-brand) */
.assist-list::-webkit-scrollbar { width: 8px; }
.assist-list::-webkit-scrollbar-track { background: rgba(255,255,255,0.15); border-radius: 8px; }
.assist-list::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.55); border-radius: 8px; }
.assist-list { scrollbar-width: thin; scrollbar-color: rgba(255,255,255,0.55) rgba(255,255,255,0.15); }

.assist-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: .25rem .75rem;
  align-items: center;
  background: rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: .55rem .75rem;
  margin-bottom: .5rem;
}

.assist-insurer {
  color: #fff;
  font-weight: 700;
  letter-spacing: .02em;
}

.assist-phones {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
  justify-self: end;
}

.assist-phone,
.assist-whatsapp {
  color: #fff !important;
  text-decoration: underline !important;
  font-weight: 700;
  white-space: nowrap;
}

.assist-whatsapp::before {
  content: "WA ";
  font-weight: 600;
  opacity: .9;
}

.assist-note {
  color: #ffd9ca;
  text-align: center;
  font-size: .95rem;
  margin-top: .25rem;
}

/* -------------------------------------- */
/* SELF SERVICE OPTIONS SECTION           */
/* -------------------------------------- */
.self-service-section {
  margin-top: 3rem;
  margin-bottom: 3rem;
}
.self-service-header {
  color: #F16629;
}
.self-service-desc {
  color: #444;
  font-size: 1.1rem;
}

/* Self Service Card Styles */
.self-service-card {
  background: #F16629;
  border-radius: 36px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  color: #fff;
  transition: border-radius 0.3s, background 0.3s;
  min-height: 350px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.self-service-card:hover {
  border-radius: 16px;
  background: #A9A9A9;
}
.self-service-icon {
  width: 250px;
  height: 250px;
  object-fit: contain;
}
.self-service-text {
  color: #fff;
  font-size: 1.05rem;
  margin-bottom: 1.2rem;
}
.self-service-btn {
  background: #fff;
  color: #F16629;
  border-radius: 999px;
  padding: 0.5rem 2rem;
  font-size: 1.1rem;
  font-weight: 500;
  box-shadow: 0 4px 8px rgba(0,0,0,0.08);
  border: none;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
  display: inline-block;
}
.self-service-btn:hover {
  background: #eee;
  color: #F16629;
  text-decoration: none;
}

.self-service-card.is-soon {
  position: relative;
}

/* Subtle ribbon on the card */
.self-service-card.is-soon::before {
  content: "Coming soon";
  position: absolute;
  top: 12px;
  right: -28px;
  transform: rotate(35deg);
  background: #303030;          /* dark neutral to contrast orange */
  color: #fff;
  padding: 6px 28px;
  font-weight: 700;
  letter-spacing: .02em;
  border-radius: 2px;
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
  opacity: 0.92;
  z-index: 1;
}

/* Disable the button accessibly */
.self-service-card.is-soon .self-service-btn[aria-disabled="true"] {
  pointer-events: none;          /* no clicks */
  cursor: not-allowed;
  opacity: 0.7;
  filter: grayscale(15%);
}


/* -------------------------------------- */
/* OUR OFFICE SECTION                     */
/* -------------------------------------- */

.office-header {
  color: #F16629;
}

.office-desc {
  color: #444;
  font-size: 1.1rem;
}

.office-address {
  font-size: 2rem;
  font-weight: 600;
  color: #666;
  margin-bottom: 1.5rem;
}

.office-address-link {
  color: #666;
  text-decoration: underline;
  transition: color 0.2s;
}
.office-address-link:hover {
  color: #F16629;
  text-decoration: underline;
}

.office-info {
  color: #666;
  font-size: 1.1rem;
}

.office-btn-primary {
  background: #F16629;
  color: #fff;
  border-radius: 999px;
  padding: 0.7rem 2.2rem;
  font-size: 1.1rem;
  font-weight: 500;
  border: none;
  box-shadow: 0 4px 8px rgba(0,0,0,0.08);
  transition: background 0.2s, color 0.2s;
}
.office-btn-primary:hover {
  background: #A9A9A9;
  color: #fff;
}

.office-btn-outline {
  background: #fff;
  color: #F16629;
  border: 2px solid #F16629;
  border-radius: 999px;
  padding: 0.7rem 2.2rem;
  font-size: 1.1rem;
  font-weight: 500;
  transition: background 0.2s, color 0.2s;
}
.office-btn-outline:hover {
  background: #F16629;
  color: #fff;
}

.office-img-main {
  max-width: 100%;
  border-radius: 24px;
}

/* -------------------------------------- */
/* OFFICE MAP SECTION                     */
/* -------------------------------------- */
.office-map-embed {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}

/* -------------------------------------- */
/* 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;
}

.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;
}

/* Responsive: show fewer cards on small screens */
@media (max-width: 1200px) {
  .faq-card.video-card { min-width: 270px; max-width: 270px; height: 240px; }
  .faq-card.info-card { min-width: 180px; max-width: 180px; height: 160px; }
}
@media (max-width: 767px) {
  .faq-card.video-card, .faq-card.info-card { min-width: 80vw; max-width: 90vw; }
  .faq-carousel-wrapper { max-width: 100vw; }
}

/* -------------------------------------- */
/* ENTRANCE ANIMTIONS                     */
/* -------------------------------------- */
@keyframes fadeInDown {
  0% {
    opacity: 0;
    transform: translateY(-80px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
.fade-in-down {
  /* duration: 0.8s is a bit more graceful */
  animation: fadeInDown 1.2s cubic-bezier(.25,.8,.25,1) both;
}

/* Bounce in from left (unchanged) */
@keyframes bounceInFromLeft {
  0% {
    opacity: 0;
    transform: translateX(-100vw);
  }
  60% {
    opacity: 1;
    transform: translateX(20px);
  }
  80% {
    transform: translateX(-10px);
  }
  100% {
    transform: translateX(0);
  }
}
.bounce-in-left {
  animation: bounceInFromLeft 1s both;
}

/* Bounce in from right (unchanged) */
@keyframes bounceInFromRight {
  0% {
    opacity: 0;
    transform: translateX(100vw);
  }
  60% {
    opacity: 1;
    transform: translateX(-20px);
  }
  80% {
    transform: translateX(10px);
  }
  100% {
    transform: translateX(0);
  }
}
.bounce-in-right {
  animation: bounceInFromRight 1s both;
}

/* ------------------------------------ */
/*      HIDDEN                          */
/* ------------------------------------ */
.faq-list-wrapper {
  display: none;
}

/* -------------------------------------- */
/*   MOBILE ADJUSTMENTS                   */
/* -------------------------------------- */
@media (max-width: 430px) and (orientation: portrait) {
  body, html {
    scrollbar-width: none;      /* Firefox */
    -ms-overflow-style: none;   /* Old IE/Edge */
  }
  .contact-main-section {
    margin-top: -2rem !important; /* reduce space above first block */
  }
  .contact-main-section .contact-card {
    min-height: 10rem;
    padding: 1rem 1rem; /* reduce vertical padding */
  }
  .contact-header {
    margin-bottom: 1rem !important; /* reduce space below header */
  }
  .contact-card-icon {
    margin-top: -2rem !important;  /* reduce space above icon */
    margin-bottom: 0.7rem;
    width: 50vw;
    height: 50vw;
  }
  .contact-header small {
    font-size: 0.8rem !important;
  }
  .contact-header p {
    font-size: 0.8rem !important;
    margin-bottom: 1.5rem;
  }
  .contact-card h4 {
    font-size: 1.2rem;         /* smaller heading */
    margin-bottom: 0.5rem;
  }
  .contact-card-phone {
    font-size: 1.5rem;         /* smaller phone text */
    margin-bottom: 0.3rem;
  }
  .contact-card-email {
    font-size: 0.95rem;        /* smaller email text */
    margin-bottom: 0.3rem;
  }
  .contact-card-desc {
    font-size: 0.8rem;         /* smaller description */
    margin-top: 0.5rem;
  }
  .assist-list { max-height: 40vh; }   /* give more room on phones */
  .assist-item { grid-template-columns: 1fr; }
  .assist-phones { justify-self: start; }
  .assist-subheading { font-size: 1rem; }

  .self-service-card {
    min-height: 18rem;       /* instead of 250px */
    padding: 1.5rem 1rem;
  }
  .self-service-icon {
    width: 36vw;             /* 36% of viewport width */
    height: 36vw;
    margin-bottom: 1rem;
  }
  .self-service-card h4 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
  }
  .self-service-text {
    font-size: 1rem;
    margin-bottom: 1rem;
  }
  .self-service-btn {
    display: block;
    width: 80vw;             /* fills 80% of viewport width */
    max-width: 16rem;
    margin: 0.5rem auto;
    padding: 0.75rem 1.5rem;
    font-size: 1.1rem;
  }

  /* Center all content in the Office & Map sections */
  .office-section .row.align-items-center {
    text-align: center;
  }
  .office-section .row.align-items-center > .col-lg-6 {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .office-section .d-flex {
    justify-content: center;
  }
  .office-map-section .office-map-embed,
  .office-section .office-img-main {
    margin-left: auto;
    margin-right: auto;
  }
  .office-section .office-header,
  .office-section .office-desc,
  .office-map-section h3 {
    margin-left: auto;
    margin-right: auto;
    max-width: 90%;
  }

    /* ======= 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 */
  }
}