* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  background-color: #fff;
  color: #000;
}
/* -------- HERO SECTION -------- */
.hero-section {
  position: relative;
  background: url("https://usawebsite.epayit.com.do/media/pb5lzvro/20251208_bg_solutionspage_website_siius.png") no-repeat
    center center/cover;
  color: #ffffff;
  padding: 0 20px;
}
.hero-text {
  position: relative;
  z-index: 1;
  min-height: 320px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 140px 0 120px; /* push below navbar & add space bottom */
}

/* -------- HERO CONTENT -------- */
.hero-content {
  max-width: 1030px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 42px;
}
.hero-content-text {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero-content h1 {
  color: var(--Capri, #0096d6);
  text-align: center;
  font-family: Lato, Roboto, Arial, sans-serif;
  font-size: 46px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
}

.hero-content p {
  color: var(--Niebla, #eee);
  text-align: center;
  font-family: Lato, Roboto, Arial, sans-serif;
  font-size: 26px;
  font-style: normal;
  font-weight: 300;
  line-height: normal;
}
.hero-btn{
  margin: auto;
}
/* -------- RESPONSIVE HERO STYLES -------- */
@media (max-width: 768px) {
  .hero-text {
    padding: 120px 0 100px;
  }

  .hero-content h1 {
    font-size: 30px;
  }

  .hero-content p {
    font-size: 16px;
  }

  .hero-btn {
    width: 100%;
    max-width: 179px;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .hero-text {
    padding: 110px 0 90px;
  }

  .hero-content h1 {
    font-size: 24px;
  }

  .hero-content p {
    font-size: 14px;
  }
}

/* ===== MODULES SECTION STYLES (NO ROOT VARIABLES) ===== */

.modules-section {
  background: #f6f9fc;
  padding: 6.25rem 1rem;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial;
}

.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 80px;
  align-self: stretch;
}

/* Header */
.modules-text {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 844px;
}

.modules-text h2 {
  margin: auto;
  color: var(--Negro, #000);
  text-align: center;
  font-family: Lato;
  font-size: 42px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

.modules-text .subtitle {
  margin: 0 auto;
  color: var(--Negro, #000);
  text-align: center;
  font-family: Lato;
  font-size: 26px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

/* Grid */
.modules-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  padding: 0 100px;
}

/* Card */
.module-card {
  justify-content: space-between;
  transition: transform 0.12s ease, box-shadow 0.12s ease;

  display: flex;
  padding: 32px 44px;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  align-self: stretch;
  justify-self: stretch;
  border-radius: 24px;
  background: var(--White, #fff);
  box-shadow: 1px 1px 2px 0 rgba(48, 38, 255, 0.12);
}

.card-text {
  width: 56px;
  height: 56px;
  min-width: 56px;
  min-height: 56px;
  flex-shrink: 0;
  align-self: flex-start;
}


/* Left area: icon + text */
.card-left {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  flex: 1 1 auto;
  min-width: 0;
}

.card-heading {
  display: flex;
  flex-direction: row;
  gap: 24px;
  align-items: center;
}

.card-heading img{
  width: 60px;
}


/* Title & desc */
.card-title {
  color: var(--Negro, #000);
  font-family: Lato;
  font-size: 28px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.card-desc {
  margin: 0;
  color: var(--Negro, #000);

  /* Body Text */
  font-family: Lato;
  font-size: 16px;
  font-style: normal;
  font-weight: 300;
  line-height: 130%; /* 20.8px */
}

/* CTA */
.card-cta {
  text-decoration: none;
  align-self: flex-end;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: var(--Capri, #0096d6);
  text-align: center;
  font-family: Lato;
  font-size: 16px;
  font-style: normal;
  font-weight: 300;
  line-height: normal;
}
.card-cta .arrow-icon {
  width: 23px;
}

/* .card-cta .arrow {
  display: inline-block;
  transform: translateX(2px);
} */

/* Responsive */
@media (max-width: 1400px) {
  .modules-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 0;
  }
  .modules-text h2 {
  font-size: 30px;
}
.card-heading h3 {
    font-size: 28px;
  }
}

@media (max-width: 680px) {
  .modules-grid {
    grid-template-columns: 1fr;
    padding: 0;
  }
  .module-card {
    padding: 18px;
  }
  .card-text {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 10px;
  }
  .container {
    padding: 0;
  }
  .modules-text h2 {
  font-size: 24px;
}

.modules-text .subtitle {
  font-size: 16px;
}
.card-heading h3 {
    font-size: 20px;
  }
}

/* accessibility focus */
.module-card:focus-within,
.card-cta:focus {
  outline: 2px solid rgba(14, 165, 255, 0.14);
  outline-offset: 3px;
  border-radius: 12px;
}

/* ==== 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;
}
/* 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: center;

  /* 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;
  }

}

/* 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;
  }
}