/* Omnichannel Section */

.omnichannel-section {
    margin-top: 1rem;
    margin-bottom: 3rem;
}

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

.omnichannel-section p {
    max-width: 440px;
    line-height: 26px;
}

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

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

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

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

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

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

/* One Platform Section */

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

.one-platform-cards {
    display: flex;
    justify-content: space-evenly;
    gap: 2rem;
    margin-top: 2rem;
}

.one-platform-card {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 100%;
    background-color: #F1F5FA;
    border-radius: 20px;
    padding: 40px 20px 30px 20px;
    gap: 10px;
    transition: all ease 0.7s;
    border: 1px solid #F1F5FA;
}
.one-platform-card .card-top {
    height: 56px;
    align-items: center;
}
.one-platform-card .card-top img {
    height: 34px;
}
.one-platform-card .card-top h4 {
    color: var(--theme-color);
    margin: 0;
}

.one-platform-card hr {
  position: center;
}

.one-platform-card:hover {
  box-shadow: 0 15px 30px rgba(172, 214, 248, 0.644);
  border: 1px solid var(--main-btn-color);
}

@media (max-width: 1300px) and (min-width: 992px) {
  .one-platform-card {
    flex: 40%;
  }
}

.one-platform-card p {
  width: 240px;
}

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

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

.card-bottom p {
    color: var(--text-muted);
}

/* Features Section */
.features-section {
    margin-top: 6rem;
    margin-bottom: 3rem;
}

.feature-cards {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.feature-title {
    width: 420px;
    flex: 0 0 calc(33.333% - 20px);
}

.feature-card {
    flex: 0 0 calc(33.333% - 20px);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    width: 420px;
    height: 110px;
    border-radius: 20px;
    background-color: #F8F6F4;
    transition: transform ease 0.3s box-shadow ease 0.3s border ease 0.3s;
}

.feature-card:hover {
    transform: translateY(-8px) scale(1.03) !important;
    box-shadow: 0 15px 30px rgba(172, 214, 248, 0.644);
    border: 1px solid var(--main-btn-color);
}

.feature-card p {
    color: var(--theme-color);
    max-width: 240px;
    padding-top: 20px;
}

.feature-card img {
    width: 65px;
}

/* Dashboard Section */

.dashboard-section {
    margin-top: 5rem;
    margin-bottom: 3rem;
}

.dashboard-background {
    position: relative;
    background-image: url(../images/omnichannel/dashboard-background.svg);
    height: 570px;
    border-radius: 20px;
}

.dashboard-content {
    position: absolute;
    left: 50%;
    top: 20%;
}

@media (max-width: 1300px) and (min-width: 992px) {
  .dashboard-content {
    left: 45%;
  }
}

.dashboard-header h3 {
    max-width: 528px;
    margin-bottom: 1rem;
}

.dashboard-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.dashboard-card {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;
    background-color: var(--white-color);
    width: 260px;
    height: 120px;
    border-radius: 20px;
    padding: 20px 30px 0px 30px;
}

.dashboard-card img {
    width: 25px;
}

/* Business Needs Section */

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

.business-needs-swiper {
    margin-top: 2rem;
    width: 100%;
    padding: 2rem;
    overflow: hidden;
}

.business-needs-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 15px 30px rgba(172, 214, 248, 0.644);
    z-index: 10;
}
.business-needs-card{
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 20px;
}
.business-needs-card-content {
    background: #FFFFFFB2;
    position: absolute;
    bottom: 20px;
    backdrop-filter: blur(10px);
    border-radius: 20px;
    height: 177px;
    width: 360px;
    padding: 1rem;
    left: 30px;
}

.business-needs-card-content {
    background: rgb(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    height: 177px;
    width: 360px;
    padding: 1rem;
}

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

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

/* =============================================================
   OMNICHANNEL PAGE — RESPONSIVE STYLES
   Breakpoints:
     xs  : < 480px
     sm  : 480px – 767px
     md  : 768px – 991px
     lg  : 992px – 1199px
   All desktop (≥ 1200px) styles live in omnichannel.css
============================================================= */

/* ─────────────────────────────────────────────
   GLOBAL / SHARED
───────────────────────────────────────────── */

/* Prevent fixed-width elements from causing horizontal scroll */
img {
  max-width: 100%;
  height: auto;
}

/* ─────────────────────────────────────────────
   LARGE (992px – 1199px)
───────────────────────────────────────────── */
@media (max-width: 1199px) {
  /* Hero */
  .omnichannel-section-content {
    gap: 2rem;
  }

  .omnichannel-section-content-right {
    max-width: 500px;
  }

  /* One-platform cards */
  .one-platform-cards {
    flex-wrap: wrap;
    justify-content: center;
  }

  .one-platform-card {
    width: 280px;
  }

  /* Feature cards */
  .feature-card,
  .feature-title {
    flex: 0 0 calc(50% - 10px);
    width: auto;
  }

  /* Dashboard */
  .dashboard-content {
    left: 40%;
  }

  /* Business needs cards */
  .business-needs-card-1,
  .business-needs-card-2,
  .business-needs-card-3,
  .business-needs-card-4,
  .business-needs-card-5,
  .business-needs-card-6 {
    width: 460px;
  }
}

/* ─────────────────────────────────────────────
   MEDIUM (768px – 991px)
───────────────────────────────────────────── */
@media (max-width: 991px) {
  /* Page wrapper top margin (nav is shorter) */
  #main-page-wrapper {
    margin-top: 6rem;
  }

  /* ── Hero ── */
  .omnichannel-section {
    margin-top: 0;
    margin-bottom: 2rem;
  }

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

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

  .omnichannel-section-image-container img {
    width: 100%;
    display: block;
    border-radius: 16px;
  }

  /* ── One Platform ── */
  .one-platform-section {
    margin-top: 2rem;
  }

  .one-platform-cards {
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
  }

  .one-platform-card {
        height: auto;
        padding: 30px 16px 20px;
        width: 100%;
    }

  /* Make sure pagination has breathing room */
  .one-platform-swiper {
    padding-bottom: 8px;
  }

  /* ── Features ── */
  .features-section {
    margin-top: 2rem;
  }

  .feature-cards {
    gap: 0.75rem;
  }

  .feature-title {
    flex: 0 0 calc(50% - 10px);
    width: auto;
  }

  .feature-card {
    flex: 0 0 calc(50% - 0.375rem);
    width: auto;
    height: auto;
    min-height: 90px;
    padding: 1rem;
  }

  .feature-card img {
    width: 50px;
  }

  /* ── Dashboard ── */
  .dashboard-section {
    margin-top: 2rem;
  }

  .dashboard-background {
    height: auto;
    padding: 2rem 1.5rem;
  }

  .dashboard-content {
    position: static;
    left: auto;
    top: auto;
  }

  .dashboard-header h3 {
    max-width: 100%;
  }

  .dashboard-cards {
    flex-wrap: wrap;
    gap: 0.75rem;
  }

  .dashboard-card {
    width: calc(50% - 0.375rem);
    height: auto;
    min-height: 90px;
    padding: 16px 20px;
  }

  /* ── Business Needs ── */
  .business-needs-section {
    margin-top: 2rem;
  }

  .business-needs-card-1,
  .business-needs-card-2,
  .business-needs-card-3,
  .business-needs-card-4,
  .business-needs-card-5,
  .business-needs-card-6 {
    width: 420px;
    height: 380px;
  }

  .business-needs-card-content {
        width: 100%;
        left: 0;
    }

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

/* ─────────────────────────────────────────────
   SMALL (480px – 767px)
───────────────────────────────────────────── */
@media (max-width: 767px) {
  /* Page wrapper */
  #main-page-wrapper {
    margin-top: 5rem;
  }

  /* Global heading sizes */
  h2 {
    font-size: 40px;
    line-height: 48px;
  }

  h3 {
    font-size: 28px;
    line-height: 36px;
  }

  /* ── Hero ── */
  .omnichannel-section h2 {
    font-size: 36px;
    line-height: 44px;
  }

  .action-buttons {
    flex-direction: column;
    gap: 0.75rem;
  }

  /* ── One Platform ── */
  .one-platform-card {
    width: 100%;
  }

  .one-platform-swiper {
    margin-top: 2rem;
  }

  /* ── Features ── */
  .feature-card {
    flex: 0 0 100%;
    width: 100%;
    justify-content: flex-start;
    padding: 1rem 1.25rem;
    gap: 0.75rem;
  }

  .feature-card p {
    max-width: 100%;
  }

  .feature-title {
    text-align: center;
    width: 100%;
    flex: 0 0 100%;
  }

  /* ── Dashboard ── */
  .dashboard-background {
    border-radius: 14px;
    padding: 1.5rem 1rem;
    background-size: cover;
    background-position: left;
    background-repeat: no-repeat;
  }

  .dashboard-card {
    width: 100%;
  }

  /* ── Business Needs ── */
  .business-needs-swiper {
    padding: 1rem 0.5rem;
  }

  .business-needs-card-1,
  .business-needs-card-2,
  .business-needs-card-3,
  .business-needs-card-4,
  .business-needs-card-5,
  .business-needs-card-6 {
    max-width: 420px;
    height: 360px;
  }

  .business-needs-card-content {
    height: auto;
    width: 100%;
  }

  /* ── FAQ ── */
  #faq {
    padding: 30px 0;
  }

  #faq .accordion-button {
    font-size: 15px;
    line-height: 24px;
    padding: 14px 16px;
  }

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

  /* ── Footer ── */
  .footer-logos {
    margin-top: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
}

/* ─────────────────────────────────────────────
   EXTRA SMALL (< 480px)
───────────────────────────────────────────── */
@media (max-width: 479px) {
  #main-page-wrapper {
    margin-top: 4.5rem;
  }

  /* Hero */
  .omnichannel-section h2 {
    font-size: 30px;
    line-height: 38px;
  }

  .secure-buttons {
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
  }

  /* One Platform */
  .one-platform-cards {
    gap: 0.75rem;
  }

  .one-platform-card {
    padding: 24px 14px 16px;
  }

  /* Features */
  .feature-card img {
    width: 42px;
    flex-shrink: 0;
  }

  /* Dashboard */
  .dashboard-header h3 {
    font-size: 22px;
    line-height: 30px;
  }

  .dashboard-card {
    padding: 14px 16px;
    gap: 12px;
  }

  /* Business needs */
  .business-needs-card-1,
  .business-needs-card-2,
  .business-needs-card-3,
  .business-needs-card-4,
  .business-needs-card-5,
  .business-needs-card-6 {
    max-width: 390px;
    height: 360px;
  }

  /* FAQ */
  #faq .accordion-button {
    font-size: 14px;
    padding: 12px 14px;
  }
}

/* Only remove hover effects on touch devices */
@media (max-width: 992px) {
  .one-platform-card:hover {
    transform: none !important;
    box-shadow: none !important;
    border: none !important;
  }
}