
.micro-payments-section {
 /* padding: 60px 0; */
  font-family: 'Roboto';
  position: relative;
}

.micro-payments-section .container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 0 20px;
}

/* Left Column */
.hero-left {
  position: relative;
  flex: 1;
}
.hero-image {
  width: 100%;
 /* max-width: 400px; */
  border-radius: 12px;
}

.hero-image-mobile {
    display: none !important;
  }
  
.hero-left-mobile {
    display: none !important;
  }

/* Right Column */
.hero-right {
  flex: 1;
  padding: 60px 0;
}
.hero-right .small-text {
  font-size: 14px;
  color: #294B9E;
  font-weight: 500;
  padding-left: 5px;
  font-family: 'Roboto';
}

.hero-right h1 {
  font-size: 42px;
  font-weight: 700;
  color: #121212;
  margin: 12px 0;
  font-family: 'Roboto';
}
.hero-right p {
  font-size: 16px;
  color: #333;
  line-height: 1.6;
  margin-bottom: 20px;
  font-family: 'Roboto';
}
.app-buttons {
  display: flex;
  gap: 12px;
  margin-top: 10px;
}
.app-buttons img {
  height: 44px;
}

/* Bottom Scrolling Icons */
.scrolling-icons {
  background: #fff;
  overflow: hidden;
  white-space: nowrap;
 /* margin-top: 50px; */
  padding: 15px 0;
}
.scroll-track {
  display: flex;
  gap: 30px;
  animation: scroll-left 20s linear infinite;
}
.scroll-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  border: 1px solid #F3F6FF;
  padding: 10px 18px;
  border-radius: 24px;
  flex-shrink: 0;
  font-family: 'Roboto';
}

@keyframes scroll-left {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.features-section {
  padding: 30px 0;
  text-align: center;
}
.features-section h2 {
  font-size: 34px;
  font-weight: 700;
  color: #121212;
  font-family: 'Roboto';
}
.features-section .highlight {
  color: #2d64f2;
}
.features-section .subtitle {
  font-size: 16px;
  color: #444;
  margin-top: 8px;
  line-height: 1.6;
  font-family: 'Roboto';
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 50px;
  padding: 0 80px;
}
.feature-card {
  background: #F3F6FF;
  padding: 30px;
  border-radius: 12px;
  text-align: left;
  transition: 0.3s ease;
}
.feature-card:nth-child(2) {
  background: #F7F2FF;
}
.feature-card:nth-child(3) {
  background: #F2FDFF;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.06);
}
.icon-box img {
  width: 36px;
  height: 36px;
  margin-bottom: 20px;
}
.feature-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
  color: #121212;
  font-family: 'Roboto';
}
.feature-card p {
  font-size: 15px;
  color: #555;
  line-height: 1.6;
  font-family: 'Roboto';
}

/* MERCHANT SECTION */
.merchant-section {
    background: #F2FDFF;
    padding: 50px 70px;
}

.merchant-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.merchant-text {
  flex: 1;
}
.merchant-text .badge {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  color: #29949E;
  background: #E0F9FE;
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 12px;
  font-family: 'Roboto';
}
.merchant-text h2 {
  font-size: 32px;
  font-weight: 700;
  color: #121212;
  margin-bottom: 16px;
  font-family: 'Roboto';
}
.merchant-text p {
  font-size: 16px;
  color: #444;
  margin-bottom: 20px;
  line-height: 1.6;
  font-family: 'Roboto';
}
.btn-primary {
  display: inline-block;
  background: #2d64f2;
  color: #fff;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s ease;
  font-family: 'Roboto';
}
.btn-primary:hover {
  background: #1b4cd8;
}
.merchant-image {
  flex: 1;
}
.merchant-image img {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
}

.begin {
  font-family: 'Roboto';
  background: #fff;
  color: #222;
  text-align: center;
  padding: 50px;
}

.testimonial-section h2 {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 5px;
  font-family: 'Roboto';
}

.subtitle {
  color: #666;
  font-size: 16px;
  margin-bottom: 30px;
  font-family: 'Roboto';
}

/* Wrapper for arrows + slider */
.testimonial-wrapper {
  position: relative;
  width: 100%;
  max-width: 1100px;
  margin: auto;
}

.top-nav {
  position: absolute;
  top: -50px;
  right: 0;
  display: flex;
  gap: 10px;
}

.nav-arrow {
  background: #fff;
  border: 1px solid #ddd;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.testimonial-container {
  overflow: hidden;
  margin-top: 20px;
}

.testimonial-slider {
  display: flex;
  gap: 20px;
  transition: transform 0.5s ease-in-out;
}

.testimonial-card {
  flex: 0 0 300px; /* Each card width */
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  text-align: left;
  border: 2px solid #DDDFE4;
  font-family: 'Roboto';
}

.testimonial-card p {
  font-size: 16px;
  color: #222;
  margin-bottom: 20px;
  line-height: 1.5;
  font-family: 'Roboto';
}

.testimonial-footer {
  display: flex;
  align-items: center;
  gap: 10px;
}

.profile-pic {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.name {
  font-weight: bold;
  display: block;
  font-size: 14px;
  color: #333;
}

.stars img {
  width: 40%;
  height: auto;
}

.dots {
  position: relative;
  display: inline-flex;
  gap: 8px;
  margin-top: 20px;
}

.dot {
  width: 10px;
  height: 10px;
  background: #ccc;
  border-radius: 50%;
  position: relative;
}

.active-indicator {
  position: absolute;
  top: 0;
  left: 0;
  width: 10px;
  height: 10px;
  background: #2b63f3; /* Active color */
  border-radius: 50%;
  transition: transform 0.4s ease; /* Smooth slide */
}

.resource-section {
  background-color: #f8f6ff;
  padding: 2rem 1rem;
  font-family: 'Roboto';
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.resource-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.section-title {
  font-size: 2rem;
  font-weight: bold;
  color: #111;
  margin: 0;
  font-family: 'Roboto';
}

.section-subtitle {
  color: #555;
  font-size: 1rem;
  margin-top: 0.5rem;
  font-family: 'Roboto';
}

.btn-see-more {
  display: inline-block;
  padding: 0.5rem 1.2rem;
  border: 1px solid #294B9E;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.9rem;
  color: #294B9E;
  transition: 0.3s ease;
}

.btn-see-more:hover {
  background-color: #294B9E;
  color: #fff;
}

.resource-posts {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.resource-card {
  width: 100%;
  max-width: 500px;
  border-radius: 12px;
  overflow: hidden;
  background: transparent;
}

.resource-image {
  width: 100%;
  height: 250px; /* Set the desired uniform height */
  overflow: hidden;
  border-radius: 12px;
}

.resource-image img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* ensures image fills and crops properly */
  display: block;
  border-radius: 12px;
}

.resource-meta {
  font-size: 0.85rem;
  color: #294B9E;
  margin: 0.8rem 0 0.3rem;
  font-family: 'Roboto';
}

a {
    text-decoration: none;
}

.resource-meta span {
  margin-right: 0.4rem;
}

.resource-title {
  font-size: 1.2rem;
  font-weight: bold;
  color: #111;
  margin: 0.3rem 0;
  font-family: 'Roboto';
  margin-top: 15px;
}

.resource-title a {
  text-decoration: none;
  color: inherit;
}

.resource-excerpt {
  font-size: 0.95rem;
  color: #444;
  font-family: 'Roboto';
}



/* Tablet - slightly narrower cards */
@media (max-width: 992px) {
  .testimonial-card {
    flex: 0 0 260px;
  }
}

/* Mobile - even narrower cards */
@media (max-width: 600px) {
  .testimonial-card {
    flex: 0 0 220px;
  }
}

/* Hide arrows on mobile */
@media (max-width: 600px) {
  .top-nav {
    display: none;
  }
}


@media (max-width: 768px) {
  .hero-image {
    display: none;
  }
  
  .hero-left-mobile {
  position: relative;
  flex: 1;
  display: block !important;
}
  
  .hero-image-mobile {
  width: 100%;
 /* max-width: 400px; */
  border-radius: 12px;
  display: block !important;
}
  
  .hero-right{
      padding: 20px 0;
  }
  
  .hero-right p {
    font-size: 15px;
    font-family: 'Roboto';
  }
  
  .features-section h2 {
    font-size: 21px;
    font-family: 'Roboto';
}
  
  .micro-payments-section .container {
      gap:0px;
  }
  
  .app-buttons {
    display: block;
  }
  
  .hero-right h1 {
    font-size: 25px;
    font-family: 'Roboto';
  }
  
  .micro-payments-section .container {
      padding: 0 10px;
      gap: 10px;
  }
  
  .features-section {
    padding: 0px 0;
  }
  
  .features-grid {
    padding: 0 10px;
    margin-bottom: 25px;
  }
  
  .begin {
    padding: 10px;
}

.testimonial-section h2 {
    font-size: 20px;
    font-family: 'Roboto';
}

.merchant-section {
    padding: 20px 10px;
}

.merchant-text h2 {
    font-size: 24px;
    font-family: 'Roboto';
}

.section-title {
    font-size: 1.3rem;
    font-family: 'Roboto';
 }
 
 .resource-section {
    padding: 2rem 1rem;
 }
}

@media (max-width: 900px) {
  .merchant-container {
    flex-direction: column;
    text-align: center;
  }
  
  .merchant-text p {
    font-size: 17px;
    font-family: 'Roboto';
}
}


@media (max-width: 900px) {
  .micro-payments-section .container {
    flex-direction: column;
    text-align: center;
  }
  .testimonial-card.top, .testimonial-card.bottom {
    position: static;
    margin: 10px auto;
  }
}