/* Acepay Bootstrap 5 theme.
   Brand colors + custom components layered on top of Bootstrap 5.3. */

:root {
  --bs-primary: #00a8e6;
  --bs-primary-rgb: 0, 168, 230;
  --bs-link-color: #00a8e6;
  --bs-link-color-rgb: 0, 168, 230;
  --bs-link-hover-color: #008fca;
  --bs-link-hover-color-rgb: 0, 143, 202;
  --bs-body-color: #5e6f80;
  --bs-body-color-rgb: 94, 111, 128;
  --bs-body-bg: #fff;
  --bs-body-font-family: "Open Sans", Arial, Helvetica, sans-serif;
  --bs-body-font-size: 1rem;
  --bs-body-font-weight: 400;
  --bs-body-line-height: 1.6;
  --bs-heading-color: #263f59;
  --bs-border-color: #e3e8ee;
  --bs-focus-ring-color: rgba(0, 168, 230, 0.25);
  --brand-dark: #0b1f3a;
  --brand-navy: #263f59;
  --brand-teal: #0c6f9e;
}

/* Links: no underline */
a {
  text-decoration: none;
}

/* Accessibility */
.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 2000;
  padding: 0.75rem 1rem;
  color: #fff;
  background: #0b1f3a;
  transform: translateY(-200%);
}

.skip-link:focus {
  transform: translateY(0);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: #fff;
  box-shadow: 0 1px 0 rgba(11, 31, 58, 0.08);
}

.navbar-utility {
  background: #00b0ff;
  color: #fff;
  font-size: 0.75rem;
  overflow: hidden;
  max-height: 39px;
  transition: max-height 0.3s ease;
}

.site-header--compact .navbar-utility {
  max-height: 0;
}

.navbar-utility__inner {
  min-height: 39px;
}

.navbar-utility a {
  color: #fff;
  opacity: 0.9;
  transition: opacity 0.15s ease;
}

.navbar-utility a:hover {
  opacity: 1;
}

.site-header .navbar {
  padding-top: 6px;
  padding-bottom: 6px;
}

.site-brand img {
  width: auto;
  max-height: 50px;
}

.site-brand__partner {
  display: inline-flex;
  align-items: center;
  padding-left: 1.3rem;
  border-left: 1px solid #e3e8ee;
}

#primary-navigation .nav-link {
  padding: 10px 20px;
  color: #0088cc;
  border-radius: 5px;
  font-size: 0.95rem;
  font-weight: 600;
}

#primary-navigation .nav-link:hover {
  background: #0088cc;
  color: #fff;
}


#primary-navigation .dropdown-menu .dropdown-item:hover {
    background: #0088cc;
    color: #fff;
}

#primary-navigation .dropdown-menu .dropdown-item.active {
    background: #0088cc;
    color: #fff;
    font-weight: 600;
}

@media (min-width: 992px) {
  #primary-navigation .nav-item.dropdown:hover > .dropdown-menu,
  #primary-navigation .nav-item.dropdown:focus-within > .dropdown-menu {
    display: block;
  }
}

.site-nav .dropdown-toggle::after {
  display: none;
}

/* Hero */
.hero {
  position: relative;
  display: grid;
  min-height: 620px;
  place-items: center;
  overflow: hidden;
  color: #fff;
}

.hero__background {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(8, 31, 56, 0.18);
}

.hero__content {
  width: min(100% - 2rem, 1170px);
  padding: 5rem 1rem 8rem;
  text-align: center;
  animation: hero-entrance 0.7s ease-out both;
}

.hero__eyebrow {
  color: #fff;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.hero__description {
  color: #fff;
  font-size: clamp(1rem, 1.8vw, 1.42rem);
  line-height: 1.45;
}

.hero__clients {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 1.1rem 0;
  background: rgba(8, 31, 56, 0.38);
}

.hero__clients img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.hero__desktop-break {
  display: none;
}

/* Section helpers */
.section-spacing {
  padding: 5.5rem 0;
}

.section-heading {
  max-width: 1000px;
  margin: 0 auto 3.6rem;
  text-align: center;
}

.section-heading h2 {
  margin: 0;
  color: #263f59;
  font-size: clamp(1.7rem, 2.8vw, 2.2rem);
  font-weight: 600;
  line-height: 1.3;
}

.section-heading p {
  margin: 0.7rem 0 0;
  color: #5e6f80;
  font-size: 1rem;
  line-height: 1.6;
}

.section-heading--light h2 {
  color: #fff;
}

.section-heading--light p {
  color: hsla(0, 0%, 100%, 0.85);
}

/* Homepage solution cards */
.solution-card {
  text-align: center;
}

.solution-card img {
  width: 90px;
  height: 90px;
  margin-bottom: 1rem;
  object-fit: contain;
}

.solution-card h3 {
  margin: 0;
  color: #263f59;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.4;
}

.solution-card p {
  margin: 1rem 0;
  color: #617384;
  font-size: 0.9rem;
  line-height: 1.7;
}

.solution-card a {
  color: #00a8e6;
  font-size: 0.9rem;
  font-weight: 700;
}

.solution-card a:hover {
  color: #007eb3;
}

/* Homepage benefit cards (dark pattern section) */
.benefits {
  background-color: #1685af;
  background-image: url(../images/features/bg-pattern-1.jpg);
  background-position: 50%;
  background-size: cover;
}

.benefit-card {
  text-align: center;
}

.benefit-card img {
  width: 110px;
  height: 110px;
  margin-bottom: 0.9rem;
  object-fit: contain;
}

.benefit-card h3 {
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
}

.benefit-card p {
  color: hsla(0, 0%, 100%, 0.85);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* Integration resources */
.resources {
  padding-bottom: 4rem;
}

.resource-card {
  position: relative;
  min-height: 200px;
  padding: 2.4rem 1rem 1.4rem;
  text-align: center;
  border: 1px solid #dfe7ed;
  border-top: 3px solid #00a8e6;
  box-shadow: 0 5px 16px rgba(20, 54, 86, 0.06);
}

.resource-card__icon {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  display: inline-grid;
  width: 68px;
  height: 68px;
  color: #00a8e6;
  border-radius: 50%;
  border: 3px solid #00a8e6;
  background: #fff;
  font-size: 1.45rem;
  place-items: center;
}

.resource-card p {
  min-height: 50px;
  margin: 0.9rem 0;
  color: #445970;
  font-size: 0.9rem;
  line-height: 1.45;
}

.resource-card a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0.5rem 1rem;
  color: #fff;
  border-radius: 3px;
  background: #00a8e6;
  font-size: 0.85rem;
  font-weight: 700;
  transition: background 0.18s ease, transform 0.18s ease;
}

.resource-card a:hover {
  background: #008fca;
  transform: translateY(-2px);
}

/* Supported banks */
.supported-banks {
  padding-top: 2rem;
  background: #f7fafc;
}

/* Carousel logo slider: shows a fixed number of logos per view and auto-advances */
.logo-slider {
  overflow: hidden;
  position: relative;
}

.logo-slider__track {
  display: flex;
  width: max-content;
  transition: transform 0.6s ease;
}

.logo-slider__group {
  display: flex;
  align-items: stretch;
}

.logo-slider .bank-logo {
  width: 190px;
}

.logo-slider .one-click-customers__logo {
  width: 240px;
}

.logo-slider__dots {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 1.75rem;
}

.logo-slider__dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 1px solid #dce4ea;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.logo-slider__dot:hover {
  border-color: #008fca;
}

.logo-slider__dot.is-active {
  background: #008fca;
  border-color: #008fca;
}

.bank-logo-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  background: #e1e8ed;
  border: 1px solid #e1e8ed;
}

.bank-logo {
  display: grid;
  min-height: 90px;
  padding: 1rem;
  background: #fff;
  place-items: center;
}

.bank-logo img {
  max-width: 100%;
  max-height: 46px;
  object-fit: contain;
}

/* Conversion CTA */
.integration-cta {
  color: #fff;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.integration-cta__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  text-align: center;
}

.integration-cta h2 {
  margin: 0;
  font-size: clamp(1.45rem, 2.5vw, 2rem);
  font-weight: 600;
  text-align: center;
}

/* CTA button styling */
.integration-cta__button {
  display: inline-block;
  padding: 0.65rem 1.6rem;
  color: #fff !important;
  background: #0088cc;
  border: 1px solid #0079b0;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1;
  box-shadow: 0 6px 20px rgba(3, 80, 120, 0.12);
  transition: transform 0.12s ease, background 0.12s ease;
  text-decoration: none;
}

.integration-cta__button i {
  display: inline-block;
}

.integration-cta__button:hover {
  background: #0073ad;
  transform: translateY(-2px);
}

/* Fallback for any existing btn anchors inside CTA */
.integration-cta a:not(.btn),
.integration-cta .btn:not(.btn-primary) {
  flex: 0 0 auto;
  color: #fff;
  background: transparent;
  border-color: transparent;
}

.integration-cta a:not(.btn):hover,
.integration-cta .btn:not(.btn-primary):hover {
  background: transparent;
  border-color: transparent;
}

.btn-primary {
  --bs-btn-bg: #00b0ff;
  --bs-btn-border-color: #00b0ff;
  --bs-btn-hover-bg: #0094e0;
  --bs-btn-hover-border-color: #008cd1;
  --bs-btn-active-bg: #008cd1;
  --bs-btn-active-border-color: #0082c4;
  --bs-btn-disabled-bg: #00b0ff;
  --bs-btn-disabled-border-color: #00b0ff;
  background-color: #00b0ff;
  border-color: #00b0ff;
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: #0094e0;
  border-color: #008cd1;
}

.btn-primary:active,
.btn-primary.active {
  background-color: #008cd1;
  border-color: #0082c4;
}

.btn-check:checked + .btn-primary {
  background-color: #00b0ff;
  border-color: #00b0ff;
}

.btn-primary:disabled,
.btn-primary.disabled {
  background-color: #00b0ff;
  border-color: #00b0ff;
}

.btn-outline-primary {
  --bs-btn-color: #00b0ff;
  --bs-btn-border-color: #00b0ff;
  --bs-btn-hover-bg: #00b0ff;
  --bs-btn-hover-border-color: #00b0ff;
  --bs-btn-active-bg: #00b0ff;
  --bs-btn-active-border-color: #00b0ff;
  --bs-btn-disabled-color: #00b0ff;
  --bs-btn-disabled-border-color: #00b0ff;
  color: #00b0ff;
  border-color: #00b0ff;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
  color: #fff;
  background-color: #00b0ff;
  border-color: #00b0ff;
}

.btn-outline-primary:active,
.btn-outline-primary.active {
  color: #fff;
  background-color: #00b0ff;
  border-color: #00b0ff;
}

.resource-row {
    display: relative;
    /* flex-wrap: nowrap;
    gap: 20px; */
}

.resource-card {
    /* flex: 1 1 0; */
    min-width: 0;
    border-radius: 10px;
    padding: 20px;
}



.resource-card:hover .resource-card__icon {
    background-color: #00a8e6;
    color: #fff;
}


/* Detail CTA box (same style as the installment page final CTA) */
.box-detail {
  padding: 34px 0;
}

.box-detail .box-titles h3 {
  margin: 0 0 30px 0;
  color: #fff;
  font-size: 24px;
  font-weight: lighter;
}

.box-detail .box-text button,
.box-detail .box-text a {
  color: #fff;
  text-transform: uppercase;
  font-size: 14px;
  text-decoration: none;
  outline: none;
  padding: 8px 25px;
  background: #ee9618;
  border-radius: 5px;
  border: 1px solid #ee9618;
  font-weight: bold;
  box-shadow: 0px 2px 1px rgba(0, 0, 0, 0.3);
}

.bg-img1 {
  background: #15c1f8 url(../images/landing/banner_4.png) no-repeat center bottom;
  padding: 50px 0px;
}

/* Press */
#press-title-container {
  height: auto;
  background-image: url('../images/landing/map-2.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
    padding: 129px 0 0 0;
    border: 0;
}
.press-slider {
  position: relative;
}

.press-slider__viewport {
  overflow: hidden;
  scroll-snap-type: x mandatory;
}

.press-slider__track {
  display: flex;
  margin: 0 -0.75rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.press-slider__track::-webkit-scrollbar {
  display: none;
}

.press-card {
  flex: 0 0 25%;
  min-width: 0;
  padding: 0 0.75rem;
  scroll-snap-align: start;
}

.press-slider__controls {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2rem;
}

.press-slider__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid #dce4ea;
  border-radius: 50%;
  color: #187aa5;
  background: #fff;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.press-slider__btn:hover:not(:disabled) {
  color: #fff;
  border-color: #008fca;
  background: #008fca;
}

.press-slider__btn:disabled {
  opacity: 0.4;
  cursor: default;
}

@media (max-width: 1399.98px) {
  .press-card {
    flex-basis: 50%;
  }
}

@media (max-width: 991.98px) {
  .press-card {
    flex-basis: 100%;
  }

  .press-slider__btn {
    width: 38px;
    height: 38px;
  }
}

.press-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1.7;
  object-fit: cover;
  border: 1px solid #dce4ea;
}

.press-card h3 {
  margin: 0.8rem 0 0.35rem;
  color: #187aa5;
  font-size: 0.9rem;
  line-height: 1.45;
}

.press-card h3 a {
  color: inherit;
}

.press-card h3 a:hover {
  color: #008fca;
}

.press-card p {
  margin: 0;
  color: #84919e;
  font-size: 0.77rem;
}

/* Footer */
.site-footer {
  padding-top: 70px;
  color: #c0c0c0;
  background: #383f48;
}

.site-footer h2 {
  margin: 0 0 1.1rem;
  color: #c0c0c0;
  font-size: 1rem;
  font-weight: 700;
}

.site-footer address {
  font-style: normal;
  font-size: 0.9rem;
  line-height: 1.7;
}

.site-footer address p {
  margin-bottom: 0.6rem;
}

.site-footer a {
  color: #c0c0c0;
  transition: color 0.15s ease;
}

.site-footer a:hover {
  color: #ccc;
}

.site-footer__links li {
  margin-bottom: 0.6rem;
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.footer-socials a {
  display: grid;
  width: 36px;
  height: 36px;
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  font-size: 0.95rem;
  place-items: center;
  text-decoration: none;
}

.footer-socials a:hover {
  background: #00a8e6;
  color: #fff;
}

.footer-partner-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.25rem;
}

.footer-partner-grid img {
  width: 100%;
  height: 25px;
  padding: 0.2rem;
  border-radius: 2px;
  background: #fff;
  object-fit: contain;
}

.footer-connect-icons {
  margin-bottom: 1.6rem;
}

.footer-qr {
  border-radius: 6px;
}

.site-footer__copyright {
  margin-top: 40px;
  padding: 30px 0 10px;
  text-align: center;
  border-top: 1px solid #adadad;
}

.site-footer__copyright p {
  margin: 0;
  font-size: 0.85rem;
}

/* Animations */
@keyframes hero-entrance {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 991.98px) {
  .section-spacing {
    padding: 4rem 0;
  }
}

@media (max-width: 800px) {
  .hero {
    min-height: 540px;
  }

  .hero__content {
    padding: 3.5rem 0 7.5rem;
  }

  .hero__eyebrow {
    font-size: 0.9rem;
    line-height: 1.4;
  }

  .hero__desktop-break {
    display: block;
  }

  .hero__clients {
    padding: 0.8rem 0;
  }
}

@media (max-width: 1199.98px) {
  .bank-logo-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 575.98px) {
  .site-brand__partner {
    display: none;
  }

  .navbar-utility__inner {
    justify-content: center;
  }

  .navbar-utility .utility-links-extra {
    display: none;
  }

  .bank-logo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__content,
  .hero__cta {
    animation: none;
    transition: none;
  }
}
