/* ===============================
   OUR SERVICES SECTION
================================ */

.services-section {
  background: #121417;
  padding: 6rem 0;
  color: #ffffff;
}

.services-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* HEADER */
.services-header {
  max-width: 700px;
  margin-bottom: 4rem;
}

.services-header h2 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.2;
}

.services-header h2 span {
  color: var(--accent-main);
}

.services-header p {
  margin-top: 1.2rem;
  color: #cbd5e1;
  line-height: 1.7;
  font-size: 1rem;
}

/* GRID */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

/* CARD */
.service-card {
  position: relative;
  background: #1b1f24;
  border-radius: 14px;
  padding: 2.5rem 2rem;
  text-decoration: none;
  color: #ffffff;

  transition: background 0.4s ease, transform 0.4s ease;
}

.service-card:hover {
  background: var(--accent-main);
  transform: translateY(-6px);
}

/* NUMBER */
.service-number {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 2.5rem;
  font-weight: 700;
  color: rgba(255,255,255,0.15);
}

/* ICON */
.service-card img {
  width: 48px;
  height: 48px;
  margin-bottom: 1.5rem;
}

/* TITLE */
.service-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.4;
}

/* ===============================
   RESPONSIVE
================================ */

@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .services-section {
    padding: 4rem 0;
  }
}
/* ===============================
   SERVICES BACKGROUND PATTERN
================================ */

.services-section {
  position: relative;
  background-color: #121417;
  overflow: hidden;
}

/* Flowing line pattern */
.services-section::before {
  content: "";
  position: absolute;
  inset: 0;

  background-image: url("data:image/svg+xml,%3Csvg width='1200' height='800' viewBox='0 0 1200 800' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23ffffff' stroke-width='1'%3E%3Cpath d='M0 120 C200 80 400 160 600 120 800 80 1000 160 1200 120'/%3E%3Cpath d='M0 200 C220 160 420 240 620 200 820 160 1020 240 1200 200'/%3E%3Cpath d='M0 280 C240 240 440 320 640 280 840 240 1040 320 1200 280'/%3E%3Cpath d='M0 360 C260 320 460 400 660 360 860 320 1060 400 1200 360'/%3E%3Cpath d='M0 440 C280 400 480 480 680 440 880 400 1080 480 1200 440'/%3E%3Cpath d='M0 520 C300 480 500 560 700 520 900 480 1100 560 1200 520'/%3E%3C/g%3E%3C/svg%3E");

  background-repeat: repeat-y;     /* 🔑 important */
  background-size: 1600px auto;    /* 🔑 stable scaling */
  background-position: center top;

  opacity: 0.06;
  pointer-events: none;
  z-index: 0;
}
/* Keep content above pattern */
.services-container {
  position: relative;
  z-index: 1;
}
