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

.POS-section h2 {
  max-width: 580px;
}

.POS-section p {
  max-width: 513px;
  line-height: 26px;
}

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

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

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

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

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

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

/* Payment Opions Section */

.payment-options-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #f8f6f4;
}

.payment-options-content {
  margin-top: 3rem;
  margin-bottom: 3rem;
}

.payment-options {
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.payment-options-cards {
  width: 400px;
  height: 125px;
  background-color: var(--white-color);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1rem 0 1rem;
}

.payment-options-cards p {
  align-self: center;
  color: var(--theme-color);
}

.title {
  align-items: left;
  color: var(--main-btn-color);
  font-size: 14px;
  font-weight: bold;
}

.logos {
  display: flex;
  justify-content: space-evenly;
}

.logos img {
  height: 26px;
}

.payment-options-UPIs {
  width: 500px;
  height: 125px;
  background-color: var(--white-color);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1rem 0 1rem;
}

.payment-options-UPIs p {
  align-self: center;
  color: var(--theme-color);
}

.payment-options-services {
  width: 420px;
  height: 125px;
  background-color: var(--white-color);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1rem 1rem 0 1rem;
}

.po-logos {
  display: flex;
  justify-content: space-between;
}

.payment-options-services p {
  align-self: center;
  color: var(--theme-color);
}

.po-logos p {
  color: #acacac;
}

.po-service {
  display: flex;
  gap: 5px;
  justify-content: center;
}

.po-service p {
  font-size: 12px;
  line-height: 13px;
}

.po-service img {
  height: 30px;
}

.payment-options-content-2 {
  margin-top: 3rem;
  margin-bottom: 3rem;
}

.payment-options-content-2 .section-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.payment-options-content-2 .section-header p {
  max-width: 675px;
}

/* POS Merchants */

.POS-merchants-swiper {
  width: 100%;
  padding: 2rem;
  overflow: hidden;
}

.POS-merchants-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: left;
  border-radius: 20px;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.POS-merchants-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 15px 30px rgba(172, 214, 248, 0.644);
}

/*.POS-merchants-card-content {
    background: rgb(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    height: 150px;
    width: 450px;
    padding: 1rem;
}*/

.POS-merchants-pagination {
  text-align: center;
}
.POS-merchants-card-content {
  background: rgb(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  height: 150px;
  width: 450px;
  padding: 1rem;
  position: absolute;
  backdrop-filter: blur(100px);
  left: 30px;
  bottom: 30px;
}

.POS-merchants-card-content h4 {
  color: var(--theme-color);
}

.POS-merchants-swiper .progress-arrows {
  justify-content: center;
}

/* ===== Top: UNMATCHED SPEED AND SECURITY ===== */
.pos-speed-security-section {
  margin-top: 3rem;
  margin-bottom: 3rem;
}

.pos-ss-grid {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.vertical-line {
  width: 1px;
  height: 220px;
  background-color: #d9d9d9;
}

.pos-ss-left h3 {
  margin-bottom: 10px;
  max-width: 275px;
}

.pos-ss-left p {
  max-width: 260px;
}

.pos-ss-right {
  display: flex;
  gap: 2rem;
  background: transparent;
  justify-content: center;
}

.pos-ss-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 1rem;
}

.pos-ss-item img {
  display: block;
  margin: 0 auto 10px;
  width: 58px;
}

.pos-ss-item p {
  max-width: 250px;
  color: var(--theme-color);
  font-size: 20px;
}

.vertical-line {
  height: 220px;
  width: 1px;
  background-color: #acacac80;
}

/* ===== Big Rounded Panel ===== */
.pos-setup-panel {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  margin-top: 3rem;
  background: #f1f5fa; /* light blue like screenshot */
  border-radius: 14px;
  padding: 4rem;
}

.pos-setup-top {
  display: flex;
  justify-content: space-between;
}

.pos-setup-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
}

.pos-setup-copy h3 {
  margin-bottom: 12px;
  max-width: 230px;
}

.pos-setup-copy p {
  max-width: 456px;
  font-size: 15px;
}

.pos-setup-hero {
  overflow: hidden; /* Keeps image inside the box */
  border-radius: 20px;
  transition: transform 0.4s ease;
}

.pos-setup-hero:hover {
  transform: scale(1.02);
}

.pos-setup-image-container img {
  max-width: 580px;
  border-radius: 20px;
}

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

.pos-setup-hero:hover .pos-setup-image-container {
  transform: scale(1.03);
}

/* ===== Steps Row ===== */
.pos-setup-steps {
  margin-top: 2rem;
  display: flex;
  justify-content: space-between;
}

.pos-step {
  background: var(--white-color);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.06);
  text-align: center;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

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

.pos-step-img {
  width: 210px;
  height: 165px;
  overflow: hidden;
}

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

.pos-step-label {
  padding: 1rem;
  color: var(--theme-color);
  font-size: 20px;
  line-height: 22px;
}

/* Flexible Payments Section */

.flexible-payments-section {
  margin-top: 3rem;
  margin-bottom: 3rem;
  background-color: #f8f6f4;
  padding: 3rem;
}

.flexible-payments-section .section-header h3 {
  color: var(--theme-color);
}

.fp-card {
  display: flex;
  justify-content: space-between;
  background-color: var(--theme-color);
  padding: 1.5rem;
  border-radius: 20px;
  height: 185px;
  width: 390px;
}

.fp-card-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 250px;
}

.fp-card-content p {
  color: var(--white-color);
}

.fp-card-content h4 {
  color: var(--white-color);
}

/* Integrations Section */

.integrations-section {
  margin-top: 3rem;
  margin-bottom: 4rem;
}

.integrations-section .container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.integrations-card {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem;
  height: 155px;
  width: 390px;
  border-radius: 20px;
  border: solid 1px #d9d9d9;
}

.integrations-card-image1 {
  height: 120px;
  width: 150px;
  overflow: hidden;
  border-radius: 20px;
  background-image: url(../images/POS/integrations-card-image1.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.integrations-card-image2 {
  height: 120px;
  width: 230px;
  overflow: hidden;
  border-radius: 20px;
  background-image: url(../images/POS/integrations-card-image2.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.integrations-card-image3 {
  height: 120px;
  width: 200px;
  overflow: hidden;
  border-radius: 20px;
  background-image: url(../images/POS/integrations-card-image3.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.integrations-card-content h4 {
  color: var(--theme-color);
}

/* Start Free Trial Section */

.free-trial-section {
  margin-top: 4rem;
  margin-bottom: 3rem;
}

.free-trial-background {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: 6rem;
  height: 500px;
  background-image: url(../images/POS/free-trial-section-image.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.free-trial-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.free-trial-content h3 {
  color: var(--white-color);
  max-width: 480px;
}

.free-trial-content .action-buttons .alt-btn {
  color: var(--white-color);
  border: 2px solid var(--white-color);
}

.free-trial-content .action-buttons .alt-btn:hover {
  background: var(--white-color);
  color: var(--theme-color);
}

.free-trial-content a.main-btn.transperent {
  color: var(--white-color);
  background: transparent;
  border: 1px solid var(--white-color);
  box-sizing: border-box;
}

.free-trial-content a.main-btn.transperent:hover {
  background: transparent;
  border-color: transparent;
}

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

/* =====================================================
   POS.css — RESPONSIVE ADDITIONS
   Breakpoints: 1199px | 991px | 767px | 575px
===================================================== */

/* ─────────────────────────────────────────────────
   1199px – Large tablets / small laptops
───────────────────────────────────────────────── */
@media (max-width: 1199px) {
  /* ── Hero ── */
  .POS-section-content {
    gap: 2rem;
    padding: 0 1rem;
  }

  .POS-section-image-container img {
    max-width: 420px;
    width: 100%;
  }

  /* ── Payment Options ── */
  /* Let the row wrap before it overflows */
  .payment-options {
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
  }

  .payment-options-UPIs {
    width: 100%;
    max-width: 480px;
  }

  .payment-options-services {
    width: 100%;
    max-width: 380px;
  }

  /* ── Speed & Security ── */
  .pos-ss-grid {
    gap: 1.5rem;
  }

  .pos-ss-right {
    gap: 1.5rem;
  }

  /* ── Setup Panel ── */
  .pos-setup-panel {
    padding: 2.5rem;
  }

  .pos-setup-hero img {
    max-width: 420px;
  }

  .pos-setup-steps {
    gap: 1rem;
  }

  .pos-step-img {
    width: 170px;
    height: 135px;
  }

  /* ── Flexible Payments ── */
  .fp-cards {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }

  .fp-card {
    width: 340px;
  }

  /* ── Integrations ── */
  .integrations-cards {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }

  .integrations-card {
    width: 340px;
  }

  /* ── Merchant Swiper Cards ── */
  .POS-merchants-card1,
  .POS-merchants-card2,
  .POS-merchants-card3,
  .POS-merchants-card4,
  .POS-merchants-card5,
  .POS-merchants-card6 {
    width: 460px;
    height: 380px;
  }

  .POS-merchants-card-content {
    width: auto;
  }
}

/* ─────────────────────────────────────────────────
   991px – Tablets portrait
───────────────────────────────────────────────── */
@media (max-width: 991px) {
  /* ── Hero ── */
  /* Stack text and image vertically */
  .POS-section-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
  }

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

  .POS-section-content .secure-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .POS-section-content-right {
    max-width: 100%;
    width: 100%;
    max-height: none;
    border-radius: 14px;
  }

  .POS-section-image-container img {
    width: 100%;
    max-width: 100%;
  }

  /* ── Action Buttons ── */
  .action-buttons {
    flex-wrap: wrap;
    gap: 1rem;
  }

  /* ── Payment Options ── */
  .payment-options {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .payment-options-cards,
  .payment-options-UPIs,
  .payment-options-services {
    width: 100%;
    max-width: 100%;
    height: auto;
    padding-bottom: 1rem;
  }

  /* ── Speed & Security ── */
  /* Stack left text above right icons */
  .pos-ss-grid {
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
  }

  /* Vertical divider makes no sense when stacked */
  .vertical-line {
    display: none;
  }

  .pos-ss-left h3,
  .pos-ss-left p {
    max-width: 100%;
    text-align: center;
  }

  /* Keep icons in a 2-column grid */
  .pos-ss-right {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    width: 100%;
  }

  /* ── Setup Panel ── */
  /* Stack copy + image, and wrap the step cards */

  .pos-setup-copy h3,
  .pos-setup-copy p {
    max-width: 100%;
    text-align: center;
  }

  .pos-setup-hero {
    max-width: 100%;
    max-height: none;
    justify-content: center;
  }

  .pos-setup-image-container img {
    max-width: 100%;
    width: 100%;
  }

  .pos-setup-steps {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
  }

  .pos-step {
    flex: 0 0 calc(50% - 0.75rem); /* 2-column step grid on tablet */
    max-width: calc(50% - 0.75rem);
  }

  .pos-step-img {
    width: 100%;
    height: 150px;
  }

  /* ── Flexible Payments ── */
  .fp-cards {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
  }

  .fp-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 100%;
    height: auto;
    padding: 1.5rem;
  }

  .fp-card h4,
  .fp-card p {
    text-align: center;
  }

  /* ── Integrations ── */
  .integrations-cards {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
  }

  .integrations-card {
    width: 100%;
    max-width: 480px;
    height: auto;
    margin: 0 auto;
  }
  .po-service p {
    margin: 0;
  }
  .po-logos {
    margin: 10px 0 20px;
  }

  /* ── Free Trial ── */
  .free-trial-background {
    padding: 4rem 2rem;
    height: auto;
    min-height: 380px;
  }

  .free-trial-content h3 {
    text-align: left;
  }

  .free-trial-content .action-buttons {
    align-items: flex-start;
  }

  /* ── Merchant Swiper Cards ── */
  .POS-merchants-card1,
  .POS-merchants-card2,
  .POS-merchants-card3,
  .POS-merchants-card4,
  .POS-merchants-card5,
  .POS-merchants-card6 {
    width: 370px;
    height: 420px;
    padding: 1.5rem;
  }

  .POS-merchants-card-content {
    width: auto;
    height: auto;
    left: 0;
  }
}

/* ─────────────────────────────────────────────────
   767px – Mobile landscape
───────────────────────────────────────────────── */
@media (max-width: 767px) {
  /* ── General Section Spacing ── */
  .POS-section,
  .payment-options-content,
  .payment-options-content-2,
  .pos-speed-security-section,
  .flexible-payments-section,
  .integrations-section,
  .free-trial-section {
    margin-top: 2rem;
    margin-bottom: 2rem;
  }

  /* ── Speed & Security ── */
  /* Drop to single-column icon list on narrow screens */
  .pos-ss-right {
    grid-template-columns: 1fr;
  }

  /* ── Setup Steps — single column ── */
  .pos-step {
    flex: 0 0 100%;
    max-width: 420px;
    margin: 0 auto;
  }

  /* ── Flexible Payments Card — stack icon below text ── */
  .fp-card {
    flex-direction: column;
    gap: 1rem;
    height: auto;
  }

  .fp-card-content {
    max-width: 100%;
  }

  /* ── Setup Panel ── */
  .pos-setup-panel {
    padding: 2rem 1.5rem;
    gap: 2rem;
  }

  /* ── Free Trial ── */
  .free-trial-background {
    padding: 3rem 1.5rem;
    min-height: auto;
    background-position: right center;
  }

  /* ── Merchant Swiper Cards ── */
  .POS-merchants-card1,
  .POS-merchants-card2,
  .POS-merchants-card3,
  .POS-merchants-card4,
  .POS-merchants-card5,
  .POS-merchants-card6 {
    width: 300px;
    height: 300px;
    padding: 1rem;
  }

  /* ── FAQ ── */
  #faq .accordion-button {
    font-size: 17px;
    line-height: 25px;
    padding: 14px 18px;
  }
}

/* ─────────────────────────────────────────────────
   575px – Mobile portrait
───────────────────────────────────────────────── */
@media (max-width: 575px) {
  /* ── Payment Options ── */
  /* Logo rows wrap naturally at this width */
  .logos {
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
  }

  .po-logos {
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    gap: 30px;
  }

  .po-service br {
    display: block;
  }

  /* ── Merchant Cards ── */
  .POS-merchants-card1,
  .POS-merchants-card2,
  .POS-merchants-card3,
  .POS-merchants-card4,
  .POS-merchants-card5,
  .POS-merchants-card6 {
    width: 300px;
    height: 450px;
  }

  .POS-merchants-card-content {
    padding: 0.75rem;
  }

  /* ── Integrations — stack image + text vertically ── */
  .integrations-card {
    flex-direction: column;
    height: auto;
    padding: 1.25rem;
    align-items: flex-start;
  }

  .integrations-card-image1,
  .integrations-card-image2,
  .integrations-card-image3 {
    width: 100%;
    height: 140px;
  }

  /* ── Free Trial ── */
  .free-trial-background {
    padding: 2.5rem 1rem;
    background-position: 70% center;
  }

  .free-trial-content h3 {
    margin-top: 150px;
    text-align: center;
  }

  .free-trial-content .action-buttons {
    justify-content: center;
    align-items: center;
  }

  /* ── Flexible Payments Section padding ── */
  .flexible-payments-section {
    padding: 2rem 1rem;
  }

  /* ── FAQ ── */
  #faq .accordion-button {
    font-size: 15px;
    line-height: 22px;
    padding: 12px 16px;
  }

  #faq .accordion-body {
    padding: 10px 16px 16px;
  }
}

@media (max-width: 767px) {
  .POS-merchants-swiper {
    padding: 10px;
  }
  .POS-merchants-card-content {
    position: relative;
    bottom: 0;
    left: 0;
    background: none;
    backdrop-filter: blur(0);
  }
}
