:root {
    --primary: #5c6bc0;
    /* Tanzania Blue */
    --primary-dark: #3949AB;
    --primary-light: #93C5FD;
    --primary-bg: #F0F4FF;
    --text: #1F2937;
    --text-light: #6B7280;
    --white: #FFFFFF;
    --gray: #EDF2F7;
    --yellow: #F59E0B;
    /* Tanzania Yellow */
    --green: #10B981;
    /* Tanzania Green */
    --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px rgba(0, 0, 0, 0.15);
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--dark);
    background-color: var(--light);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 100px 0;
    position: relative;
}

h1,
h2,
h3,
h4 {
    margin-bottom: 1.5rem;
    line-height: 1.2;
    font-weight: 700;
}


p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.7;
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}



/* Buttons */
@media (max-width: 768px) {
    .btn {
        padding: 10px 20px;
    }

    .btn i {
        margin-right: 6px;
        /* Slightly less space on mobile */
    }
}


/* Button icon spacing */
.btn i {
    margin-right: 8px;
    /* Space between icon and text */
    font-size: 1em;
    /* Match icon size to button text */
    transition: var(--transition);
    /* Optional: if you want smooth hover effects */
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 32px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    font-size: 1rem;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(30, 64, 175, 0.3);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(30, 64, 175, 0.4);
}



.btn-green {
    background: var(--green);
    color: var(--white);
}

.btn-green:hover {
    background: #0E9F6E;
    color: var(--white);
}


/* Hero Section */
.merchant-hero {
    background: linear-gradient(135deg, var(--primary-bg) 0%, rgba(240, 244, 255, 0) 100%);
    padding: 120px 0 80px;
    text-align: center;
}

.merchant-hero h1 {
    font-size: 2.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    background: linear-gradient(to right, var(--primary), var(--primary-dark));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.merchant-hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 40px;
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

/* Features Section */
.merchant-features {
    background: var(--white);
}

.section-title {
    text-align: center;
    margin-bottom: 10px;
}

.section-title h2 {
    position: relative;
    display: inline-block;
    font-size: 1.6rem;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
}


  /* ===== Merchant Features Section ===== */


  /* Horizontal Scrolling Container */
  .features-grid {
    display: flex;
    gap: 30px;
    padding: 0px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    mask-image: linear-gradient(to right,
        transparent 0%,
        black 20px,
        black calc(100% - 20px),
        transparent 100%);
  }

  /* Hide scrollbar */
  .features-grid::-webkit-scrollbar {
    display: none;
  }

  .features-grid {
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  /* Feature Cards */

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: var(--primary);
    font-size: 1.5rem;
    transition: var(--transition);
}

  .feature-card {
    flex: 0 0 300px;
    scroll-snap-align: start;
    text-align: center;
    background: var(--gray);
    border-radius: 12px;
    padding: 30px 20px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0;
    transform: translateY(30px);
  }
/* Adjust heading sizes for better hierarchy */
.feature-card h3 {
    color: var(--primary);
    font-size: 1.1rem; /* Slightly smaller than before */
    margin-bottom: 12px;
   
  }

  .feature-card.animated {
    opacity: 1;
    transform: translateY(0);
  }

  .feature-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 30px rgba(58, 91, 255, 0.1);
  }

  .feature-card:hover .feature-icon {
    background: var(--primary);
    color: var(--white);
    transform: rotate(15deg) scale(1.1);
}

  /* Right spacing for last card */
  .features-grid::after {
    content: "";
    flex: 0 0 20px;
  }

  /* Responsive Adjustments */
  @media (max-width: 768px) {
    .feature-card {
      flex: 0 0 280px;
      padding: 30px 25px;
    }

    .feature-icon {
      width: 50px;
      height: 50px;
      font-size: 1.3rem;
    }
  }




/* ===== Process Flow Section ===== */
.process-flow {
    padding: 80px 0;
    background: var(--gray);
  }
  
  /* Mobile Scrolling */
  .flow-scroller {
    overflow-x: auto;
    padding: 30px 10px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin: 0 -10px;
  }
  
  .flow-scroller::-webkit-scrollbar {
    display: none;
  }
  
  .flow-items {
    display: inline-flex;
    gap: 20px;
    padding: 0 calc(50% - 160px); /* Center first step */
    scroll-padding: 0 calc(50% - 160px);
  }
  
  /* Flow Cards */
  .flow-card {
    scroll-snap-align: center;
    flex: 0 0 300px;
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
    border-top: 3px solid #5c6bc0; /* Using your primary color */
  }
  
  .flow-marker {
    width: 40px;
    height: 40px;
    background: #5c6bc0;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-bottom: 20px;
    font-size: 1.1rem;
  }
  
  .flow-card h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #333;
  }
  
  .flow-card p {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #666;
  }
  
  /* Connecting Arrows */
  .flow-arrow {
    position: absolute;
    top: 50%;
    right: -18px;
    width: 36px;
    height: 36px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 4px #f8f9fa;
    z-index: 2;
  }
  
  .flow-arrow:after {
    content: "→";
    color: #5c6bc0;
    font-size: 1.2rem;
  }
  
  /* Color Variations */
  .step-1 { border-top-color: #5c6bc0; }
  .step-2 { border-top-color: #4caf50; }
  .step-3 { border-top-color: #ff9800; }
  
  .step-1 .flow-marker { background: #5c6bc0; }
  .step-2 .flow-marker { background: #4caf50; }
  .step-3 .flow-marker { background: #ff9800; }
  
  /* Desktop Layout */
  @media (min-width: 992px) {
    .flow-scroller {
      overflow: visible;
      padding: 0;
      margin: 0;
    }
    
    .flow-items {
      display: flex;
      justify-content: center;
      gap: 40px;
      padding: 0;
      width: 100%;
    }
    
    .flow-card {
      flex: 1;
      min-width: 240px;
      max-width: 300px;
    }
    
    /* Adjust arrows for desktop */
    .flow-arrow {
      right: -28px;
    }
  }
  
  /* Mobile Arrow Adjustment */
  @media (max-width: 480px) {
    .flow-arrow {
      right: -15px;
      width: 30px;
      height: 30px;
    }
    
    .flow-card {
      flex: 0 0 280px;
      padding: 25px;
    }
  }



/* ===== Pricing Section ===== */
:root {
    --primary: #5c6bc0;
    --primary-light: rgba(92, 107, 192, 0.1);
  }
  
  .pricing {
    padding: 80px 0;
    background: #f8f9fa;
  }
  
  /* Scrolling Container */
  .pricing-scroller {
    overflow-x: auto;
    padding: 30px 0;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  
  .pricing-scroller::-webkit-scrollbar {
    display: none;
  }
  
  /* Cards Container */
  .pricing-cards {
    display: inline-flex;
    gap: 30px;
    padding: 0 calc(50% - 180px); /* Centers featured card by default */
    scroll-snap-type: x mandatory;
  }
  
  /* Individual Cards */
  .pricing-card {
    scroll-snap-align: center;
    flex: 0 0 340px;
    background: white;
    border-radius: 12px;
    padding: 40px 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid #eee;
  }
  
  /* Featured Card */
  .pricing-card.featured {
    border: 2px solid var(--primary);
    transform: translateY(-10px);
  }
  
  .pricing-card h3 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 15px;
    text-align: center;
  }
  
  .price {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary);
    text-align: center;
    margin-bottom: 25px;
  }
  
  .price span {
    font-size: 1rem;
    font-weight: normal;
    color: #666;
  }
  
  .pricing-features {
    margin: 30px 0;
    padding: 0;
    list-style: none;
  }
  
  .pricing-features li {
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    color: #555;
    position: relative;
    padding-left: 25px;
  }
  
  .pricing-features li:before {
    content: "✓";
    color: var(--primary);
    position: absolute;
    left: 0;
  }
  
  /* Buttons */
  .btn {
    display: block;
    text-align: center;
    margin-top: 30px;
    padding: 12px 20px;
    border-radius: 12px;
    font-weight: 500;
    transition: all 0.3s;
  }
  
  .btn-primary {
    background: var(--primary);
    color: white;
    border: none;
  }
  
  .btn-outline {
    background: white;
    color: var(--primary);
    border: 1px solid var(--primary);
  }
  
  .btn-primary:hover {
    background: #4a58a8;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(92, 107, 192, 0.3);
  }
  
  .btn-outline:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
  }
  
  /* Popular Ribbon */
  .pricing-card.featured:before {
    content: "Most Popular";
    position: absolute;
    top: 15px;
    right: -8px;
    background: var(--primary);
    color: white;
    padding: 5px 15px;
    font-size: 0.8rem;
    font-weight: bold;
    border-radius: 4px;
    transform: rotate(15deg);
    box-shadow: 0 3px 10px rgba(92, 107, 192, 0.3);
  }
  
  /* Desktop Layout */
  @media (min-width: 992px) {
    .pricing-scroller {
      overflow-x: visible;
      padding: 0;
    }
    
    .pricing-cards {
      display: flex;
      justify-content: center;
      flex-wrap: wrap;
      padding: 0;
      width: 100%;
    }
    
    .pricing-card {
      flex: 1;
      min-width: 280px;
      max-width: 340px;
    }
  }

  /* Mobile-first horizontal scrolling */
.pricing-scroller {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 30px 10px;
    margin: 0 -10px; /* Allow edge-to-edge scrolling */
  }
  
  .pricing-scroller::-webkit-scrollbar {
    display: none;
  }
  
  .pricing-cards {
    display: inline-flex;
    gap: 20px;
    padding: 0 calc(50% - 170px); /* Center the featured card initially */
    scroll-padding: 0 calc(50% - 170px); /* Ensure snap alignment respects padding */
  }
  
  .pricing-card {
    scroll-snap-align: center;
    flex: 0 0 340px;
    /* Rest of your card styles */
  }
  
  /* Ensure featured card stands out */
  .pricing-card.featured {
    border: 2px solid #5c6bc0;
    transform: scale(1.02);
    z-index: 1;
  }
  
  /* Desktop layout */
  @media (min-width: 992px) {
    .pricing-scroller {
      overflow: visible;
      padding: 0;
      margin: 0;
    }
    
    .pricing-cards {
      display: flex;
      justify-content: center;
      flex-wrap: wrap;
      padding: 0;
      width: 100%;
    }
    
    .pricing-card {
      flex: 1;
      min-width: 280px;
      max-width: 340px;
    }
  }

/* Testimonials */
.testimonials {
    background: var(--primary-bg);
}
/* ===== Testimonials Section ===== */
.testimonials {

    background: var(--primary-bg);
  }
  
  /* Scrolling Container */
  .testimonial-scroller {
    overflow-x: auto;
    padding: 30px 10px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin: 0 -10px;
  }
  
  .testimonial-scroller::-webkit-scrollbar {
    display: none;
  }
  
  /* Testimonial Grid */
  .testimonial-grid {
    display: inline-flex;
    gap: 25px;
    padding: 0 calc(50% - 175px); /* Center first card */
    scroll-padding: 0 calc(50% - 175px);
  }
  
  /* Testimonial Cards */
  .testimonial-card {
    scroll-snap-align: center;
    flex: 0 0 340px;
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
  }
  
  /* Star Ratings */
  .stars {
    color: #FFC107;
    margin-bottom: 15px;
    font-size: 1.1rem;
  }
  
  .stars .fa-star-half-alt {
    color: #FFC107;
  }
  
  .testimonial-content {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 20px;
    font-style: italic;
    position: relative;
  }
  
  .testimonial-content:before,
  .testimonial-content:after {
    color: #5c6bc0;
    font-size: 1.5rem;
    opacity: 0.2;
    position: absolute;
  }
  
  .testimonial-content:before {
    content: '"';
    top: -10px;
    left: -5px;
  }
  
  .testimonial-content:after {
    content: '"';
    bottom: -20px;
    right: -5px;
  }
  
  /* Author Info */
  .testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
  }
  
  .author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #5c6bc0;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
  }
  
  .author-info h4 {
    font-size: 1rem;
    margin-bottom: 3px;
    color: #333;
  }
  
  .author-info p {
    font-size: 0.85rem;
    color: #666;
  }
  
  /* Hover Effects */
  .testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(92, 107, 192, 0.1);
  }
  
  /* Desktop Layout */
  @media (min-width: 992px) {
    .testimonial-scroller {
      overflow: visible;
      padding: 0;
      margin: 0;
    }
    
    .testimonial-grid {
      display: flex;
      justify-content: center;
      flex-wrap: wrap;
      padding: 0;
      width: 100%;
    }
    
    .testimonial-card {
      flex: 1;
      min-width: 300px;
      max-width: 360px;
    }
  }




/* CTA Section */
.merchant-cta {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: var(--white);
    text-align: center;
    padding: 60px 0;
}

.merchant-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.merchant-cta p {
    max-width: 700px;
    margin: 0 auto 40px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
}



.btn-indigo {
    border: 2px solid white; /* White border */
    background: transparent; /* Transparent background */
    color: white; /* White text */
    padding: 10px 20px;
    font-size: 15px;
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
    border-radius: 10px;
    transition: all 0.3s ease;
  }
  
  .btn-indigo:hover {
    background: white; /* White background on hover */
    color: #5c6bc0; /* Indigo[400] text on hover */
  }

  .btn-white {
    border: 2px solid white; /* White border */
    background: white; /* Transparent background */
    color: #5c6bc0; /* White text */
    padding: 10px 20px;
    font-size: 15px;
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
    border-radius: 10px;
    transition: all 0.3s ease;
  }
  
  .btn-white:hover {
    background: white; /* White background on hover */
    color: #5c6bc0; /* Indigo[400] text on hover */
  }

/* Mobile-specific heading sizes */
@media (max-width: 576px) {
    h1 {
      font-size: 2rem !important; /* Reduced from 3rem */
    }
    
    h2 {
      font-size: 1.2rem !important; /* Reduced from 2.5rem */
    }
    
    h3 {
      font-size: 1rem !important; /* Reduced from 2rem */
    }
    
  
    /* Specific hero heading adjustments */
    .hero-text h1,
    .about-hero h1,
    .contact-hero h1,
    .features-hero h1,
    .how-it-works-hero h1 {
      font-size: 1.2rem !important;
    }
    
    /* Section title adjustments */
    .section-title h2 {
      font-size: 1.2rem !important;
    }
    
    /* Reduce paragraph font size slightly */
    p {
      font-size: 1rem !important;
    }
    
    /* Adjust hero padding */
    .hero,
    .about-hero,
    .contact-hero,
    .features-hero,
    .how-it-works-hero {
      padding: 60px 0 40px !important;
    }
    
    /* Reduce section padding */
    section {
      padding: 60px 0 !important;
    }
  }

  /* For all screen sizes */
.hero-cta {
    display: flex;
    gap: 15px; /* Space between buttons */
    flex-wrap: wrap; /* Allow buttons to wrap on very small screens */
  }
  .hero-cta a,  .cta-buttons a 
  
  {
    font-size: 1rem; /* Reduce button font size */
    padding: 6px 10px; /* Shrink padding for smaller buttons */
    border-radius: 10px;
  }
  /* Center buttons on small screens */
  @media (max-width: 768px) {
    .hero-cta {
      flex-direction: row;
      justify-content: center; 
      margin-top: 20px; 
    }
    .hero-cta a,
    .cta-buttons a 
    
    {
      font-size: 0.8rem; 
      padding: 6px 8px; 
      border-radius: 10px;
    }
    
    /* Optional: Make buttons full width on very small screens */
    @media (max-width: 480px) {
      .hero-cta {
        flex-direction: row;
      }
  
  
      .hero-cta a {
        width: 100%;
        text-align: center;
      }
    }
  }
  .container h2 {
    font-size: 1.8rem;
  }