.soundbox-section {
  margin-top: 0;
  margin-bottom: 3rem;
}

.soundbox-section h2 {
  max-width: 464px;
}

.soundbox-section p {
  max-width: 480px;
  line-height: 26px;
}

.soundbox-section-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.soundbox-section-content-left {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.soundbox-section-image-container {
  object-fit: cover;
  transition: transform 0.7s ease;
}

.soundbox-section-content-right {
  max-width: 681px; /* Match image or set fixed size */
  max-height: 525px;
  overflow: hidden; /* Keeps image inside the box */
  border-radius: 20px;
}

.soundbox-section-content-right:hover .soundbox-section-image-container {
  transform: scale(1.03);
}

.action-buttons {
  display: flex;
  gap: 1rem;
}

/* Helps your ops section */

.helps-your-ops-section {
  margin-bottom: 4rem;
}

.helps-your-ops-section h3 {
  color: var(--white-color);
}

.helps-your-ops-background {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: var(--theme-color);
  border-radius: 20px;
  height: 668px;
  padding: 3rem;
}

.payment-notification-with-triangle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-items: center;
  padding-top: 1rem;
}

.payment-notification {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: var(--main-btn-color);
  height: 140px;
  width: 230px;
  border-radius: 20px;
}

.payment-notification p {
  text-align: center;
  color: var(--white-color);
}

.payment-notification-with-triangle .notification-representation {
  padding-top: 20px;
}

.total-help-boxes {
  position: absolute;
  top: 250px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.top-two-help-boxes {
  display: flex;
  gap: 320px;
}

.help-box {
  display: flex;
  gap: 30px;
  justify-content: center;
  background-color: var(--white-color);
  border-radius: 15px;
  padding: 20px;
}

.help-box h4 {
  width: 245px;
  text-align: right;
  color: var(--theme-color);
}

.left-al h4 {
  text-align: left;
}

.help-box img {
  width: 55px;
}

.bottom-two-help-boxes {
  padding-top: 2rem;
  display: flex;
  gap: 400px;
}

.soundbox-device-image {
  position: absolute;
  bottom: 0;
}

/* Plug and Play Section */

.plug-and-play-section {
  margin-top: 4rem;
  margin-bottom: 4rem;
}

.plug-and-play-section .container {
  display: flex;
  justify-content: space-between;
}

.compatibility {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.compatibility .compatibility-text {
  color: var(--theme-color);
}

.compatibility .compatibility-logos {
  display: flex;
  justify-content: center;
  gap: 30px;
}

.compatibility .compatibility-logos img {
  height: 22px;
}

.plug-and-play-right {
  display: flex;
  justify-content: space-evenly;
  gap: 0.5rem;
}

.plug-and-play-right h3 {
  font-size: 24px;
  line-height: 25px;
  height: 85px;
}

.plug-and-play-right p {
  color: var(--main-btn-color);
}

.plug-and-play-step {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Always Section */

.always-section {
  margin-top: 4rem;
}

.always-section .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1.75rem;
}

.always-section .section-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 820px;
}

.always-section-cards {
  display: flex;
  justify-content: space-evenly;
  gap: 1rem;
}

.always-section-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  align-items: center;
  background-color: #f1f5fa;
  width: 240px;
  height: 250px;
  padding: 20px;
  border-radius: 20px;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.always-section-card:hover {
  transform: translateY(-8px) scale(1.03) !important;
  box-shadow: 0 15px 30px rgba(172, 214, 248, 0.644);
  z-index: 10;
}

.always-section-card h4 {
  color: var(--text-muted);
  text-align: center;
}

.always-section-card img {
  width: 42px;
}

/* =====================================================
   FAQ ACCORDION 
===================================================== */
#faq {
  padding: 50px 0;
}

.faq-title h3 {
  padding-bottom: 30px;
}

#faq .accordion-button {
  font-family: var(--font-heading);
  color: var(--text-muted);
  font-weight: 400;
  font-size: 20px;
  line-height: 29px;
  background: transparent;
}

/* Active title */
#faq .accordion-button:not(.collapsed) {
  color: var(--main-btn-color);
}

/* Body text */
#faq .accordion-body {
  font-family: var(--font-heading);
  color: var(--text-muted);
  font-weight: 500;
  font-size: 14px;
  line-height: 23px;
}

/* Remove default accordion border */
#faq .accordion {
  border: none;
  --bs-accordion-border-width: 0;
}

/* Remove focus glow */
#faq .accordion-button:focus {
  outline: 0;
  box-shadow: none;
}

/* DEFAULT item = transparent */
/* Accordion item spacing control */
#faq .accordion-item {
  background-color: transparent;
  border: none;
  border-radius: 10px;
  margin-bottom: 0px;
  padding: 0;
}

/* Inner padding on header + body */
#faq .accordion-button {
  padding: 18px 24px;
}

#faq .accordion-body {
  padding: 12px 24px 20px;
}

/* ACTIVE background only */
#faq .accordion-item:has(.accordion-collapse.show) {
  background-color: #f8f6f4;
  border-radius: 10px;
  margin-bottom: 0;
}

#faq .accordion-item .accordion-collapse.show {
  background: transparent;
}

/* Default (closed) arrow down */
#faq .accordion-button::after {
  background-image: url("../images/accordion-down-arrow.svg");
  transition:
    transform 0.3s ease,
    filter 0.3s ease;
}

/* Active (open) = arrow UP + orange */
#faq .accordion-button:not(.collapsed)::after {
  background-image: url("../images/accordion-up-arrow.svg");
  /* up arrow */
  transform: rotate(0deg);
  filter: brightness(0) saturate(100%) invert(62%) sepia(94%) saturate(470%)
    hue-rotate(356deg);
}

/* =====================================================
   SOUNDBOX PAGE — RESPONSIVE STYLES
   Breakpoints mirror responsive.css conventions:
   ≤1199px  Large Tablets / Landscape
   ≤991px   Tablets Portrait  (main mobile breakpoint)
   ≤767px   Mobile Landscape
   ≤575px   Mobile Portrait
   ≤360px   Small Phones
===================================================== */

/* ── Large Tablets / Landscape (≤1199px) ── */
@media (max-width: 1199px) {
  /* Soundbox Hero */
  .soundbox-section-content {
    gap: 2rem;
  }

  .soundbox-section-content-right {
    max-width: 520px;
  }

  /* Helps Your Ops */
  .helps-your-ops-background {
    padding: 2.5rem 2rem 0;
  }

  /* Plug and Play */
  .plug-and-play-right {
    gap: 2rem;
  }

  /* Always Section */
  .always-section-cards {
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* ── Tablets Portrait (≤991px) ── */
@media (max-width: 991px) {
  .pbl-content {
    text-align: center;
  }
  /* ---- Soundbox Hero ---- */
  .soundbox-section {
    margin-bottom: 2rem;
  }

  .soundbox-section-content {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }

  .soundbox-section-content-left {
    align-items: center;
    text-align: center;
  }

  .soundbox-section h2,
  .soundbox-section p {
    max-width: 100%;
    text-align: center;
  }

  .action-buttons {
    justify-content: center;
  }

  .soundbox-section-content-right {
    max-width: 100%;
    width: 100%;
    border-radius: 16px;
  }

  .soundbox-section-content-right img {
    width: 100%;
    height: auto;
    display: block;
  }

  /* ---- Helps Your Ops ---- */
  .helps-your-ops-section-mobile {
    margin-top: 2rem;
    margin-bottom: 2rem;
  }

  .helps-your-ops-background {
    height: auto;
    padding: 2rem 1.5rem 2rem;
    align-items: center;
  }

  .helps-your-ops-background h3 {
    color: var(--white-color);
    text-align: center;
  }

  .help-boxes-mobile {
    display: flex;
    margin-top: 1.5rem;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }

  .payment-notification {
    padding-top: 10px;
  }

  .payment-notification-with-triangle br {
    display: block;
  }

  .notification-representation img {
    max-width: 80px;
  }

  .help-box {
    max-width: 420px;
    max-height: 100px;
    justify-content: space-between;
  }

  .help-box h4 {
    font-size: 16px;
    text-align: left;
    width: auto;
    flex: 1;
  }

  .soundbox-device-image {
    position: static;
    margin-top: 2rem;
    text-align: center;
  }

  .soundbox-device-image img {
    max-width: 320px;
    width: 60%;
  }

  /* ---- Plug and Play ---- */
  .plug-and-play-section {
    margin-top: 2rem;
    margin-bottom: 2rem;
  }

  .plug-and-play-section .container {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }

  .plug-and-play-left h3,
  .plug-and-play-left p {
    text-align: center;
  }

  .compatibility {
    align-items: center;
  }

  .compatibility .compatibility-logos {
    justify-content: center;
    flex-wrap: wrap;
    gap: 50px;
    padding-bottom: 15px;
  }

  /* --- Plug & Play Swiper (mobile) --- */
  .plug-and-play-swiper {
    width: 100%;
    padding-bottom: 28px; /* room for pagination dots */
  }

  .plug-and-play-swiper .swiper-wrapper {
    align-items: stretch;
  }

  .plug-and-play-swiper .swiper-slide {
    display: flex;
  }

  .plug-and-play-swiper .swiper-slide h3 {
    font-size: 24px;
    line-height: 25px;
  }

  .plug-and-play-swiper .swiper-slide p {
    color: var(--main-btn-color);
  }

  .plug-and-play-step {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 0;
    border-radius: 100px;
    background: #fff;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  }

  /* ---- Always Section ---- */
  .always-section {
    margin-top: 2rem;
  }

  .always-section p {
    text-align: center;
  }

  .always-section .section-header {
    text-align: center;
    max-width: 100%;
  }

  .always-connected-cards-swiper {
    width: 100%;
    padding-bottom: 28px;
  }

  .always-conected-cards-swiper .swiper-wrapper {
    align-items: stretch;
  }

  .always-connected-cards-swiper .swiper-slide {
    display: flex;
    width: 80%;
    height: auto;
  }

  .always-section-card {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 14px;
    padding: 16px;
    border-radius: 20px; /* change if needed */
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  }

  .always-connected-cards-swiper
    .swiper-pagination.swiper-pagination-bullets-dynamic {
    overflow: hidden; /* required for the “window” effect */
    width: fit-content;
  }

  .always-connected-cards-swiper .swiper-pagination-bullet {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    margin: 0 4px !important; /* use margin, not gap */
    opacity: 0.35;
    transform: scale(0.8);
    transition:
      transform 0.25s ease,
      opacity 0.25s ease;
  }

  .always-connected-cards-swiper .swiper-pagination-bullet-active {
    width: 8px !important;
    height: 8px !important;
    border-radius: 999px !important;
    opacity: 1;
    transform: scale(1.15);
  }

  /* These show up when dynamicBullets is enabled */
  .always-connected-cards-swiper .swiper-pagination-bullet-active-prev-prev,
  .always-connected-cards-swiper .swiper-pagination-bullet-active-next-next {
    opacity: 0.45;
    transform: scale(0.85);
  }

  /* ---- FAQ ---- */
  #faq .accordion-button {
    font-size: 17px;
    line-height: 24px;
  }
}

/* ── Mobile Landscape (≤767px) ── */
@media (max-width: 767px) {
  .helps-your-ops-background {
    border-radius: 14px;
    padding: 1.75rem 1.25rem 2rem;
  }

  .payment-notification {
    width: 200px;
    height: 120px;
  }

  .payment-notification p {
    font-size: 13px;
  }

  .plug-and-play-step {
    width: calc(50% - 1rem);
  }

  .always-section-card {
    width: calc(50% - 0.5rem);
  }
}

/* ── Mobile Portrait (≤575px) ── */
@media (max-width: 575px) {
  /* Hero */
  .soundbox-section-content-right {
    border-radius: 12px;
  }

  /* Helps Your Ops */
  .help-box {
    max-width: 100%;
    border-radius: 12px;
    padding: 14px;
  }

  .help-box img {
    width: 44px;
  }

  .payment-notification {
    width: 180px;
    height: 110px;
    border-radius: 14px;
  }

  /* Plug and Play */
  .plug-and-play-step {
    width: 100%;
  }

  .plug-and-play-right {
    flex-direction: column;
    align-items: center;
  }

  /* Always Section */
  .always-section-cards {
    flex-direction: column;
    align-items: center;
  }

  .always-section-card {
    width: 100%;
    height: auto;
  }
  .plug-and-play-swiper .swiper-wrapper {
    padding-bottom: 0;
  }
  .swiper.plug-and-play-swiper {
    padding-bottom: 0;
  }
  .swiper.plug-and-play-swiper .swiper-pagination,
  .always-connected-cards-swiper .swiper-pagination {
    margin-bottom: 0;
  }
  .always-connected-cards-swiper .swiper-wrapper {
    padding-bottom: 20px;
  }
  .always-connected-cards-swiper {
    padding-bottom: 0;
  }
}

/* ── Small Phones (≤360px) ── */
@media (max-width: 360px) {
  .soundbox-section h2 {
    font-size: 1.5rem;
  }

  .helps-your-ops-background {
    padding: 1.25rem 1rem 1.5rem;
  }

  .payment-notification {
    width: 160px;
  }

  .help-box {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .help-box h4 {
    text-align: center;
    width: 100%;
  }

  .always-section-card {
    max-width: 100%;
  }
}

/* =====================================================
   Helps Your Ops — scale down between 1200px and 1300px
   (because container shrinks to 1080px under 1300px)
===================================================== */
@media (max-width: 1300px) and (min-width: 992px) {
  /* tweak this one value if you want slightly more/less shrink */
  .helps-your-ops-background {
    --ops-scale: 0.86;

    /* scale the container itself so padding/height don't feel oversized */
    height: calc(668px * var(--ops-scale));
    padding: calc(3rem * var(--ops-scale));
    border-radius: calc(20px * var(--ops-scale));
  }

  /* scale *everything inside* the background */
  .helps-your-ops-background > h3,
  .helps-your-ops-background .payment-notification-with-triangle,
  .helps-your-ops-background .total-help-boxes,
  .helps-your-ops-background .soundbox-device-image {
    transform: scale(var(--ops-scale));
  }

  .helps-your-ops-background > h3 {
    transform-origin: top center;
  }

  .helps-your-ops-background .payment-notification-with-triangle {
    transform-origin: top center;
    padding-top: calc(1rem * var(--ops-scale));
  }

  .helps-your-ops-background .total-help-boxes {
    transform-origin: top center;
    top: calc(250px * var(--ops-scale)); /* was 250px */
  }

  .helps-your-ops-background .top-two-help-boxes {
    gap: calc(320px * var(--ops-scale)); /* was 320px */
  }

  .helps-your-ops-background .bottom-two-help-boxes {
    padding-top: calc(2rem * var(--ops-scale));
    gap: calc(460px * var(--ops-scale)); /* was 400px */
  }

  .helps-your-ops-background .soundbox-device-image {
    transform-origin: bottom center;
  }

  .plug-and-play-section .container {
    gap: 2rem;
  }

  .plug-and-play-right {
    gap: 1rem;
  }
}
