/* ================================
   SECTION 4 — Distributor Program
   "Turn Your Passion Into Profit"
   ================================ */

.distributor-section {
  padding: 90px 0;
  text-align: center;
  background-color: var(--distributor-bg, #fdf7fb);
  overflow: hidden;
}

.distributor-section .container {
  max-width: 100%;
  max-height: 100%;
  margin: 0 auto;
  padding: 0 16px;
} 

/* Title + Description */
.distributor-title {
  font-size: 2rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 12px;
}

.distributor-description {
  color: #555;
  font-size: 1.1rem;
  margin-bottom: 50px;
  line-height: 1.5;
}

/* Boxes container — 1 LINE ONLY */
.distributor-boxes {
  display: flex;
  flex-wrap: nowrap;          /* 👈 Keeps all boxes on one line */
  justify-content: center;
  gap: 1.5rem;
  overflow-x: auto;           /* 👈 Enables scroll on smaller screens */
  scroll-behavior: smooth;
  padding-bottom: 10px;
  scrollbar-width: none;      /* Hide scrollbar (Firefox) */
}

.distributor-boxes::-webkit-scrollbar {
  display: none;              /* Hide scrollbar (Chrome/Safari) */
}

/* Box */
.distributor-box {
  flex: 0 0 260px;            /* fixed width box */
  background: #fff;
  border-radius: 16px;
  padding: 28px 20px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.distributor-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 14px 36px rgba(0,0,0,0.1);
}

/* Icon */
.distributor-icon {
  font-size: 2rem;
  color: #7a3cff;
  margin-bottom: 12px;
}

/* Box Text */
.distributor-box p {
  font-size: 1rem;
  font-weight: 500;
  color: #333;
  margin: 0;
}

/* CTA Button */
.distributor-cta {
  margin-top: 50px;
}

.distributor-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(45deg, #7a3cff, #9b5eff);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  padding: 14px 34px;
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(122,60,255,0.12);
  transition: all 0.3s ease;
}

.distributor-button:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(122,60,255,0.25);
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
  .distributor-box {
    flex: 0 0 230px;
  }
}

@media (max-width: 768px) {
  .distributor-section {
    padding: 70px 0;
  }
  .distributor-title {
    font-size: 1.8rem;
  }
  .distributor-box {
    flex: 0 0 200px;
  }
}

@media (max-width: 480px) {
  .distributor-box {
    flex: 0 0 180px;
    padding: 20px 14px;
  }
  .distributor-box p {
    font-size: 0.9rem;
  }
}
