.feature-card {
      border-radius: 12px;
      padding: 20px;
      color: #333;
      height: 100%;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }
.feature-card {
  box-shadow: 0 4px 8px rgba(0,0,0,0.1); /* Add for subtle elevation */
}
.feature-card:hover {
  transform: translateY(-4px);
  transition: transform 0.3s ease;
}

    .feature-icon {
      font-size: 2rem;
      margin-top: 10px;
      opacity: 0.3;
      align-self: flex-end;
    }


    .bg-peach { background-color: #fde6de; }
    .bg-light-purple { background-color: #e1dcf6; }
    .bg-dark-purple { background-color: #cfc1f7; }
    .bg-orange { background-color: #fce8d4; }
    .bg-light-gray { background-color: #eaeaea; }

    .footer-text {
      font-size: 0.8rem;
      color: #555;
    }


        .cta-section {
      background-color: #12007c;
      color: #fff;
      padding: 60px 20px;
      border-radius: 15px;
      text-align: center;
      margin-bottom: 40px;
    }

    .cta-button {
      background-color: #ff6b2c;
      color: #fff;
      border: none;
      padding: 10px 30px;
      border-radius: 25px;
      font-weight: 500;
      margin-top: 20px;
    }

.features-section {
  overflow-x: hidden;
}

.features-scroll {
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 1rem;
}

.feature-card {
  flex: 0 0 300px;
  min-width: 280px;
  max-width: 300px;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  scroll-snap-align: start;
  transition: transform 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
}

.feature-icon {
  font-size: 2.5rem;
  margin-top: 15px;
  opacity: 0.2;
  align-self: flex-end;
}

.text-orange {
  color: #ff6b2c;
}

.features-section .container {
  max-width: 1180px; /* Limit width for 4-card visible layout */
  overflow: hidden;
  position: relative;
}

.feature-scroll-wrapper {
  overflow-x: auto;
  padding-bottom: 1rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.feature-cards-grid {
  display: grid;
  grid-auto-flow: column;
  grid-template-rows: repeat(2, auto);  /* maintain two rows */
  gap: 1rem;
  width: max-content;
  scroll-snap-align: start;
  min-width: 100%;                      /* ensure scroll doesn't collapse */
}

.feature-card {
  width: 670px;
  padding: 20px;
  border-radius: 12px;
  position: relative;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}


/* Mobile responsiveness */
@media (max-width: 768px) {
  .features-section .container {
    max-width: 100vw;
    padding: 0;
  }

  .feature-card {
    width: 260px; /* slightly narrower for smaller viewports */
  }

  .feature-scroll-wrapper {
    padding-left: 1rem;
  }
}

.feature-card:hover {
  transform: translateY(-4px);
}

.feature-icon {
  font-size: 2rem;
  opacity: 0.3;
  position: absolute;
  bottom: 15px;
  right: 15px;
}

/* Reuse existing colors */
.bg-peach { background-color: #fde6de; }
.bg-light-purple { background-color: #e1dcf6; }
.bg-orange { background-color: #fce8d4; }
.bg-light-gray { background-color: #eaeaea; }
.text-orange { color: #ff6b2c; }
