:root {
  --primary: #6b46c1;
  --secondary: #553c9a;
  --accent: #8b5cf6;
  --text: #1f2937;
  --white: #ffffff;
}
html {
  scrollbar-gutter: stable;
}

/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  background: #f9fafb;
  color: var(--text);
  padding-top: 90px;
}

/* CONTAINER */
.container {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
}

/* ================= HERO ================= */
.services-hero {
  height: 60vh;
  background: url("/images/services-img.jpg") center/cover no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(107,70,193,0.5),
    rgba(139,92,246,0.5)
  );
}

.hero-content {
  position: relative;
  color: white;
  z-index: 2;
}

.hero-content h1 {
  font-size: 52px;
  font-weight: 800;
  letter-spacing: 1px;
}

.hero-content p {
  margin-top: 10px;
  font-size: 18px;
  color: #e0e7ff;
}

/* ================= PAGE HEADER ================= */
.page-header {
  text-align: center;
  margin: 60px 0 40px;
}

.page-header h1 {
  font-size: 36px;
  font-weight: 700;
}

.page-header span {
  color: var(--primary);
}

.page-header p {
  margin-top: 8px;
  color: #6b7280;
}

/* ================= SERVICES ================= */
.services-page {
  margin-bottom: 60px;
}

.service-category {
  background: white;
  padding: 40px;
  border-radius: 18px;
  margin-bottom: 30px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  transition: 0.4s ease;
}

.service-category:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(107,70,193,0.15);
}

/* HEADER */
.category-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 25px;
}

.category-header i {
  font-size: 28px;
  color: var(--primary);
  background: rgba(107,70,193,0.1);
  padding: 15px;
  border-radius: 50%;
}

.category-header h3 {
  font-size: 22px;
}

/* GRID */
.service-items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

/* ITEM */
.service-item {
  background: #f9fafb;
  padding: 18px;
  border-radius: 12px;
  text-align: center;
  transition: 0.3s ease;
  border: 1px solid #eee;
}

.service-item i {
  font-size: 20px;
  color: var(--primary);
  margin-bottom: 8px;
}

.service-item h4 {
  font-size: 14px;
  font-weight: 500;
}

/* 🔥 HOVER */
.service-item:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-4px);
}

.service-item:hover i {
  color: white;
}

/* ================= PROCESS ================= */
.working-process {
  margin-bottom: 80px;
}

.process-wrapper {
  background: linear-gradient(135deg, #3a1b4f, #4B2364);
  padding: 80px 50px;
  border-radius: 28px;
  color: white;
  position: relative;
  overflow: hidden;
}

/* glow */
.process-wrapper::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,0.15), transparent);
}

/* HEADER */
.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-title {
  font-size: 32px;
  font-weight: 800;
}

.section-sub {
  color: rgba(255,255,255,0.8);
}

/* GRID */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

/* CARD */
.process-step {
  background: rgba(255,255,255,0.08);
  border-radius: 18px;
  padding: 30px 20px;
  text-align: center;
  backdrop-filter: blur(10px);
  transition: 0.4s ease;
  position: relative;
}

/* HOVER */
.process-step:hover {
  transform: translateY(-10px) scale(1.03);
  background: rgba(255,255,255,0.15);
}

/* NUMBER */
.step-number {
  position: absolute;
  top: 10px;
  left: 15px;
  font-size: 40px;
  color: rgba(255,255,255,0.08);
  font-weight: 800;
}

/* ICON */
.step-icon {
  font-size: 28px;
  margin-bottom: 10px;
}

/* TEXT */
.process-step h4 {
  font-size: 16px;
  font-weight: 600;
}

.process-step p {
  font-size: 13px;
  color: rgba(255,255,255,0.75);
}

/* ================= RESPONSIVE ================= */
@media(max-width: 992px){
  .service-items {
    grid-template-columns: repeat(2,1fr);
  }

  .process-grid {
    grid-template-columns: repeat(2,1fr);
  }
}

@media(max-width: 600px){
  .service-items {
    grid-template-columns: 1fr;
  }

  .process-grid {
    grid-template-columns: 1fr;
  }

  .hero-content h1 {
    font-size: 32px;
  }
}