/* ================= RESET ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

/* ================= COLOR SYSTEM ================= */
:root {
  --primary: #6d28d9;
  --secondary: #8b5cf6;
  --accent: #4f46e5;

  --bg-dark: #1a1b2f;
  --bg-light: #f5f6fa;

  --text-dark: #1e293b;
  --text-light: #ffffff;
  --text-muted: #64748b;
}

/* ================= SECTION BACKGROUND ================= */
.service_boxes {
  padding: 80px 40px;

  /* 🔥 THIS IS IMPORTANT */
  max-width: 1200px;
  margin: 60px auto;

  border-radius: 70px;
  overflow: hidden;

  background: linear-gradient(135deg, #4f46e5, #7c3aed);

  box-shadow: 0 30px 80px rgba(79,70,229,0.25);
}

@keyframes gradientFlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ================= TITLE ================= */
.section_title {
  text-align: center;
  margin-bottom: 50px;
}

.service_boxes .section_title {
  color: var(--text-light);
}

.about_text .section_title {
  color: var(--text-dark);
}

/* ================= CAROUSEL ================= */
.slider_container {
  overflow: hidden;
  position: relative;
}

.slider {
  display: flex;
  gap: 30px;
  width: max-content;
  animation: scrollMove 25s linear infinite;
}

@keyframes scrollMove {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ================= CARD ================= */
.service_card {
  min-width: 300px;
  flex-shrink: 0;

  background: rgba(255,255,255,0.9);
  padding: 30px;
  border-radius: 30px;
  backdrop-filter: blur(12px);

  box-shadow: 0 10px 40px rgba(0,0,0,0.1);

  transition: all 0.4s ease;
}

.service_card:hover {
  transform: translateY(-12px) scale(1.03);
  box-shadow: 0 30px 80px rgba(0,0,0,0.25);
}

/* ================= TEXT ================= */
.service_card h2 {
  font-size: 26px;
  margin-bottom: 15px;
  color: var(--text-dark);
}

.service_card p {
  color: #555;
  margin-bottom: 20px;
  line-height: 1.5;
}

.service_card a {
  text-decoration: none;
  font-weight: bold;
  color: var(--primary);
}

/* ================= TAGS ================= */
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 15px;
}

.tags span {
  padding: 6px 12px;
  background: #f1f5f9;
  border-radius: 20px;
  font-size: 12px;
}

/* ================= CLIENT SECTION ================= */
.clients_section {
  background: radial-gradient(circle at top, #2a2b4f, #0f0f1a);
  color: var(--text-light);
  padding: 100px 20px;
}

/* LAYOUT */
.clients_wrapper {
  display: flex;
  align-items: center;
  gap: 60px;
}

/* LEFT TEXT */
.clients_text {
  width: 30%;
}

.clients_text h2 {
  font-size: 34px;
  margin-bottom: 20px;
  position: relative;
}

.clients_text h2::after {
  content: "";
  width: 60px;
  height: 3px;
  background: var(--secondary);
  position: absolute;
  bottom: -10px;
  left: 0;
}

.clients_text p {
  color: #94a3b8;
  margin-bottom: 25px;
  line-height: 1.6;
}

/* BUTTON */
.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 30px;
  text-decoration: none;

  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;

  transition: 0.3s;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(139,92,246,0.4);
}

/* SLIDER */
.clients_slider {
  width: 70%;
  overflow: hidden;
  position: relative;
}

.clients_track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: scrollClients 30s linear infinite;
}

@keyframes scrollClients {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* CLIENT BOX */
.client_box {
  width: 180px;
  height: 180px;

  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);

  border-radius: 20px;
  backdrop-filter: blur(10px);

  display: flex;
  align-items: center;
  justify-content: center;

  transition: all 0.3s ease;

  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.client_box:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(139,92,246,0.3);
}

/* IMAGE */
.client_box img {
  max-width: 75%;
}

/* PAUSE */
.clients_slider:hover .clients_track {
  animation-play-state: paused;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 992px) {
  .clients_wrapper {
    flex-direction: column;
  }

  .clients_text,
  .clients_slider {
    width: 100%;
  }
}

@media (max-width: 576px) {
  .service_card {
    min-width: 250px;
    padding: 20px;
  }

  .client_box {
    width: 140px;
    height: 140px;
  }
}










/* ================= SECTION ================= */
.features_flow {
  padding: 100px 20px;
  background: #ffffff;
}

/* ================= BOX ================= */
.flow_box {
  background: #ffffff;
  border-radius: 30px;
  padding: 60px 40px;
  margin-top: 80px;

  position: relative;
  overflow: hidden;

  box-shadow: 
    0 20px 60px rgba(0,0,0,0.08),
    0 5px 20px rgba(0,0,0,0.05);

  border: 1px solid rgba(0,0,0,0.05);
}

/* TOP GRADIENT LINE */
.flow_box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  
  width: 60%;
  height: 4px;

  background: linear-gradient(90deg, #6d28d9, #8b5cf6);
  border-radius: 10px;
}

/* BACKGROUND GLOW */
.flow_box::after {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;

  background: radial-gradient(circle, rgba(139,92,246,0.15), transparent);
  
  top: -50px;
  right: -50px;

  z-index: 0;
}

/* ================= TITLE ================= */
.section_title h2 {
  font-size: 40px;
  font-weight: 700;

  background: linear-gradient(90deg, #6d28d9, #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.flow_box p {
  color: #1e293b;
}

/* ================= FLOW WRAPPER ================= */
.flow_wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 25px;
  margin-top: 60px;
  position: relative;
  z-index: 1; /* IMPORTANT */
}

/* ================= CARD ================= */
.flow_card {
  width: 230px;
  padding: 25px;
  border-radius: 20px;

  background: linear-gradient(145deg, #ffffff, #f3f0ff);

  box-shadow: 
    0 10px 30px rgba(0,0,0,0.08),
    inset 0 1px 0 rgba(255,255,255,0.6);

  text-align: center;
  position: relative;

  transition: all 0.4s ease;
}

/* STEP BADGE */
.flow_card .step {
  position: absolute;
  top: -12px;
  left: 15px;

  background: linear-gradient(135deg, #6d28d9, #8b5cf6);
  color: #fff;

  font-size: 11px;
  padding: 6px 12px;
  border-radius: 20px;

  box-shadow: 0 5px 15px rgba(139,92,246,0.4);
}

/* IMAGE */
.flow_card img {
  width: 60px;
  margin-bottom: 15px;
  border-radius: 12px;

  padding: 10px;
  background: linear-gradient(135deg, #ede9fe, #ddd6fe);
}

/* TEXT */
.flow_card h4 {
  color: #4c1d95;
  margin-bottom: 8px;
}

.flow_card p {
  color: #64748b;
  font-size: 14px;
}

/* HOVER EFFECT */
.flow_card:hover {
  transform: translateY(-12px) scale(1.05);
  box-shadow: 0 25px 60px rgba(109,40,217,0.2);
}

/* ================= ARROW ================= */
.arrow {
  font-size: 26px;
  color: #8b5cf6;
  position: relative;
}

/* MOVING DOT ANIMATION */
.arrow::after {
  content: "";
  position: absolute;
  width: 6px;
  height: 6px;
  background: #8b5cf6;
  border-radius: 50%;
  top: 50%;
  left: 0;

  animation: moveDot 1.5s linear infinite;
}

@keyframes moveDot {
  0% { left: 0; opacity: 0; }
  50% { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}

/* ================= MOBILE ================= */
@media (max-width: 768px) {
  .flow_wrapper {
    flex-direction: column;
  }

  .arrow {
    transform: rotate(90deg);
  }
}