
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  background-color: #fff;
  color: #000;
}

/* ===== HERO / BILL PAYMENT STYLES ===== */

/* ------- HERO SECTION ------- */
.hero-section {
  background: var(
    --Background,
    linear-gradient(
      180deg,
      #000 0%,
      #000812 24.59%,
      #000d1d 50.19%,
      #00142c 74.98%,
      #002d61 100%
    )
  );
  color: #ffffff;
  padding: 80px 0;
  text-align: center;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

/* ------- HERO TEXT ------- */
.hero-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding-top: 60px;
  padding-bottom: 60px;
}

/* ------- CONTENT WIDTH ------- */
.hero-content {
  max-width: 980px;
  margin: auto;
  display: flex;
  padding: 0 80px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 16px;
  align-self: stretch;
}

/* ------- TITLE ------- */
.hero-title {
  margin: 0;
  color: var(--White, #fff);
  text-align: center;
  font-family: Lato;
  font-size: 46px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
}

/* ------- SUBTITLE ------- */
.hero-subtitle {
  margin: 0;
  color: var(--White, #fff);
  text-align: center;
  font-family: Lato;
  font-size: 26px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

/* ------- CTA BUTTONS ------- */
.hero-ctas {
  display: inline-flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 10px;
}



/* ------- Responsive Rules ------- */

/* Tablets */
@media (max-width: 992px) {
  .hero-section {
    padding: 100px 24px;
    min-height: 520px;
  }

  .hero-title {
    font-size: 40px;
  }

  .hero-subtitle {
    font-size: 18px;
  }
}

/* Mobile */
@media (max-width: 480px) {
  .hero-section {
    padding: 80px 18px 120px 18px;
    min-height: auto;
  }

  .hero-title {
    font-size: 28px !important;
    line-height: 1.12;
  }

  .hero-subtitle {
    font-size: 16px !important;
  }

  .btn {
    width: auto;
    max-width: 320px;
    font-size: 15px;
  }
}

/* ---------- STATS ---------- */
.stats {
  background: #ffffff;
  padding: 5% 80px;
}

.stats-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}
.stats-grid {
  text-align: center;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  row-gap: 70px;
  column-gap: 44px;
  flex: 1 0 0;
  align-self: stretch;
}

.stat-item {
  padding: 8px 6px;
}
/* image container above stat */
.stat-image {
  width: 100px;
  height: 65px;
  margin: autO;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-image img {
  /* width: 100%;
  height: 100%; */
  width: 120px;
  object-fit: contain;
  margin-bottom: 10px;
}

.stat-value {
  color: var(--Capri, #0096d6);
  text-align: center;

  /* H1 */
  font-family: Lato, Roboto, Arial, sans-serif;
  font-size: 42px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}

.stat-label {
  color: var(--Negro, #000);
  text-align: center;

  /* H3 */
  font-family: Lato, Roboto, Arial, sans-serif;
  font-size: 22px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}
/* Show divider on desktop */
.divider {
  display: block;
  width: 2px;
  height: 100px;
  background: rgba(0, 0, 0, 0.2); /* subtle dark */
  margin: auto;
}
@media (max-width: 1200px) {
  .stats {
    padding: 28px 16px;
  }

  .stats-grid {
    grid-template-columns: 1fr auto 1fr auto 1fr;
    column-gap: 24px;
    row-gap: 20px;
    justify-items: center;
    /* align-items: center; */
    text-align: center;
  }

  .stats .divider {
    display: block;
    width: 1px;
    height: 74px;
    background: rgba(30, 50, 70, 0.08);
    justify-self: center;
  }

  .stats .stat-value {
    font-size: 32px;
  }

  .stats .stat-label {
    font-size: 16px;
  }
}
@media (min-width: 481px) and (max-width: 767px) {
  .stats {
    padding: 24px 14px;
  }
  .stats-grid {
    grid-template-columns: 1fr auto;
    column-gap: 18px;
  }
  .stats .divider {
    display: block;
    height: 64px;
  }
    .stat-image {
    width: 70px;
    height: 70px;
    margin-bottom: 12px;
  }

  .stats .stat-value {
    font-size: 36px;
  }
  .stats .stat-label {
    font-size: 15px;
  }
}
@media (max-width: 480px) {
  .stats {
    padding: 20px 12px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    row-gap: 18px;
    text-align: left;
  }

  .stats .divider {
    display: none;
  }
  .stats .stat-value {
    font-size: 28px;
    white-space: nowrap;
  }
  .stats .stat-label {
    font-size: 14px;
  }
}
@media (max-width: 360px) {
  .stats .stat-value {
    font-size: 24px;
  }
  .stats .stat-label {
    font-size: 13px;
  }
}

/* ---------- FEATURES ---------- */
.features {
  background: #ffffff;
  padding: 46px 16px 80px;
}

.features-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 52px;
}
.features-inner-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  align-self: stretch;
}

/* title and description */
.features-title {
  color: var(--Aguamarina, #2d50a0);
  text-align: center;
  font-family: Lato;
  font-size: 46px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.features-desc {
  color: var(--texto, #000);
  text-align: center;
  font-family: Lato;
  font-size: 26px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

/* Feature cards container - stacked on mobile */
.feature-cards {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 48px;
  flex-wrap: wrap;
  max-width: 1100px;
  margin: 0 auto;
}


/* Individual card styling */
.feature-card {
  padding: 22px;
  text-align: left;
  display: flex;
  flex-direction: column;
  border-radius: 37px;
  background: rgba(201, 230, 255, 0.2);
    flex: 1;
  max-width: 320px;
  min-height: 420px;

}

/* visual area (image) */
.feature-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  height: auto;
  padding: 10px 0 18px;
}
/* When card has NO image */
.feature-card.no-image {
  padding-top: 30px;
  min-height: 100%;
  min-width: 21%;

}

.feature-card.no-image .feature-visual {
  display: none;
}
.feature-visual img {
  max-width: 80%;
  height: auto;
  display: block;
}

/* card title + text */
.feature-card-title {
  margin: 0;
  color: var(--Negro, #000);

  /* H3 */
  font-family: Lato;
  font-size: 24px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

.feature-card-text {
  color: var(--Negro, #000);
  font-family: Lato;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}
.feature-card-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
@media (max-width: 1100px) {
  .features {
    padding: 40px 16px 56px;
  }

  .feature-cards {
    gap: 28px;
    justify-content: center;
  }

  .feature-card {
    flex: 1 1 calc(50% - 28px);
    max-width: calc(50% - 28px);
    min-height: 320px;
  }

  .feature-visual {
    height: 220px;
  }
  .feature-visual img {
    max-width: 80%;
  }
}

/* Tablet: refine two-up layout and shrink images */
@media (max-width: 768px) {
  .features {
    padding: 32px 14px 40px;
  }

  .feature-card {
    flex: 1 1 calc(50% - 18px);
    max-width: calc(50% - 18px);
    min-height: 260px;
    padding: 22px;
  }

  .feature-visual {
    height: 180px;
    padding-bottom: 12px;
  }

  .feature-visual img {
    max-width: 70%;
  }
  .features .features-title {
    font-size: 28px;
  }
  .features .features-desc {
    font-size: 16px;
  }
}

/* Mobile: single column, full-width cards */
@media (max-width: 480px) {
  .features {
    padding: 24px 12px 32px;
  }

  .feature-cards {
    flex-direction: column;
    gap: 16px;
  }

  .feature-card {
    flex: 1 1 100%;
    max-width: 100%;
    min-height: auto;
    padding: 16px;
    border-radius: 12px;
    text-align: left;
  }

  .feature-visual {
    height: 150px;
    padding-bottom: 8px;
  }
  .feature-visual img {
    max-width: 70%;
  }
  .feature-card-title {
    font-size: 18px;
  }
  .feature-card-text {
    font-size: 14px;
  }
  .features .features-title {
    font-size: 22px;
  }
  .features .features-desc {
    font-size: 14px;
  }
}

/* Extra small phones */
@media (max-width: 360px) {
  .feature-visual {
    height: 120px;
  }
  .feature-card-title {
    font-size: 16px;
  }
  .feature-card-text {
    font-size: 13px;
  }
}
/* smartbanking */

.smartbanking {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  padding: 100px 80px;
}

#SB_devices img{
  width: 100%;
  max-width: 530px;
}

/* === Illustration === */
.illustration {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.tablet {
  width: 515px;
  height: 384px;
  border-radius: 29px;
  border: 1px solid #000;
  display: flex;
  justify-content: center;
  align-items: center;
}

.tablet-icon {
  width: 98px;
  height: 111px;
  position: absolute;
  top: 100px;
  left: 180px;
  border-radius: 29px;
  border: 1px solid #000;
  background: var(--Aguamarina, #2d50a0);
}

.mobile {
  position: absolute;
  left: -70px;
  top: 30px;
  width: 223px;
  height: 404px;
  flex-shrink: 0;
  background: #03225c;
  border-radius: 20px;
}

/* === Content === */
.content {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 420px;
}

.content .content-text {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.content h2 {
  color: var(--Negro, #000);
  font-family: Lato, Roboto, Arial, sans-serif;
  font-size: 46px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.content p {
  color: var(--Negro, #000);
  font-family: Lato, Roboto, Arial, sans-serif;
  font-size: 26px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.icons {
  display: flex;
  align-items: center;
  gap: 25px;
}

/* === Responsive === */
@media (max-width: 900px) {
  .smartbanking {
    flex-direction: column;
    padding: 60px 40px;
    text-align: center;
  }

  .illustration {
    margin-bottom: 40px;
  }

  .mobile {
    position: absolute;
    left: -40px;
    top: 40px;
  }
}

@media (max-width: 500px) {
  .tablet {
    width: 260px;
    height: 160px;
  }

  .tablet-icon {
    width: 50px;
    height: 55px;
    top: 78px;
    left: 85px;
    border-radius: 16px;
  }

  .mobile {
    width: 100px;
    height: 200px;
    left: -30px;
  }

  .content h2 {
    font-size: 1.6rem;
  }

  .content p {
    font-size: 0.9rem;
  }

  .icons {
    gap: 14px;
    justify-content: center;
  }
}

/* ==== CTA BLUE SECTION ==== */
.cta-section {
  background: var(--Capri, #0096d6);
  padding: 120px 20px;
  color: #fff;
  width: 100%;
}

.cta-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}

.cta-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 10px;
  width: 70%;
}
/* Left content */
.cta-text h2 {
  color: #fff;
  text-align: center;
  font-family: Lato;
  font-size: 40px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  white-space: nowrap; 
}

.cta-text p {
  color: #fff;
  text-align: start;

  /* H3 */
  font-family: Lato;
  font-size: 24px;
  font-style: normal;
  font-weight: 300;
  line-height: normal;
}


/* Tablet and below */
@media (max-width: 1200px) {
  .cta-container {
    flex-direction: column;     /* Button goes below */
    align-items: center;
    text-align: center;
  }

  .cta-text {
    align-items: center;
  }

  .cta-text h2 {
    white-space: normal;
    font-size: 32px;
  }

  .cta-text p {
    font-size: 18px;
    text-align: center;
  }

}

/* Mobile */
@media (max-width: 600px) {
  .cta-text h2 {
    font-size: 26px;
  }

  .cta-text p {
    font-size: 16px;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .cta-container {
    flex-direction: column;
    text-align: center;
  }

  .cta-text h2 {
    font-size: 26px;
  }

  .cta-text p {
    font-size: 16px;
  }
}