/* ---------- SLIDER STYLES ---------- */
.features-slider {
    position: relative;
    overflow: hidden;
    margin: 20px auto 40px;
    max-width: 800px;
    height: 350px; /* Explicit height for slides */
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    transform-style: preserve-3d;
    perspective: 1000px;
  }
  .features-slider .slide {
    position: absolute;
    top: 0; 
    left: 0;
    width: 100%; 
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease, transform 1s ease;
    transform: translateZ(0);
  }
  .features-slider .slide.active {
    opacity: 1;
    transform: translateZ(50px) scale(1.05);
  }
  .features-slider img {
    width: 100%;
    display: block;
    border-radius: 10px;
  }
  
  /* ---------- Section Header Styles ---------- */
  .section-header {
    text-align: center;
    margin-top: 10px;
    margin-bottom: 40px;
    color: #333;
  }
  .section-header i {
    font-size: 2.5em;
    margin-bottom: 10px;
    color: #4ca1af;
    display: block;
  }
  .section-header h2 {
    font-size: 2em;
    margin: 10px 0;
  }
  
  /* ---------- FEATURES GRID (Text-Only Cards) ---------- */
  .features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
  }
  .feature-card {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
  }
  .feature-card:hover {
    transform: translateY(-5px) rotateX(3deg) rotateY(-2deg);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  }
  .feature-card h3 {
    margin-bottom: 10px;
    font-size: 1.2em;
    color: #212121;
  }
  .feature-card p {
    font-size: 0.95em;
    color: #555;
    line-height: 1.5;
  }
  
  /* ---------- Payment Gateways Section ---------- */
  .payment-gateways {
    background: #fafafa;
    padding: 60px 0;
  }
  .gateways-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 30px;
  }
  .gateway-card {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  .gateway-card:hover {
    transform: translateY(-5px) rotateX(3deg) rotateY(-2deg);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  }
  .gateway-card h3 {
    font-size: 1.2em;
    margin-bottom: 10px;
    color: #212121;
  }
  .gateway-card p {
    font-size: 0.95em;
    color: #555;
    line-height: 1.5;
  }
  
  /* ---------- CTA Section ---------- */
  .cta-section {
    background: linear-gradient(135deg, #4ca1af, #2c3e50);
    color: #fff;
    text-align: center;
    padding: 60px 20px;
  }
  .cta-section h2 {
    font-size: 2.5em;
    margin-bottom: 10px;
  }
  .cta-section p {
    font-size: 1.2em;
    margin-bottom: 30px;
  }
  .btn-cta {
    display: inline-block;
    padding: 12px 30px;
    background: #fff;
    color: #2c3e50;
    border-radius: 8px;
    text-decoration: none;
    font-size: 1em;
    font-weight: bold;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  .btn-cta:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 12px rgba(0,0,0,0.2);
  }
  
  /* ---------- Section Specific Backgrounds ---------- */
  .users-features {
    background: #fafafa;
  }
  .admin-features {
    background: #f5f5f5;
  }
  
  /* ---------- Responsive Adjustments ---------- */
  @media (max-width: 768px) {
    .features-slider {
      margin-bottom: 30px;
    }
    .section-header h2 {
      font-size: 1.8em;
    }
    .features-grid {
      grid-template-columns: 1fr;
      gap: 20px;
    }
    .feature-card {
      padding: 15px;
    }
    .gateways-grid {
      grid-template-columns: 1fr;
      gap: 20px;
    }
    .gateway-card {
      padding: 15px;
    }
  }
  