/* ==== Web Development Services Section ==== */
:root {
  /* Brand (complementary accent hue) */
  --brand: #9B59B6;
  /* Classic Purple */
  --brand-02: rgba(155, 89, 182, 0.02);
  --brand-06: rgba(155, 89, 182, 0.06);
  --brand-10: rgba(155, 89, 182, 0.10);
  --brand-14: rgba(155, 89, 182, 0.14);
  --brand-20: rgba(155, 89, 182, 0.20);
  --brand-30: rgba(155, 89, 182, 0.30);

  /* Neutrals */
  --bg: #F7FAFC;
  /* Very light soft gray background */
  --panel: #FFFFFF;
  /* Clean white panel */
  --text: black;
  /* Medium gray for body text */
  --muted: darkgrey;
  /* Light muted grayish-blue for secondary text */
  --line: #D1D9E1;
  /* Light gray-blue for lines */
  --shadow: 0 10px 30px rgba(155, 89, 182, 0.1);
  /* Soft shadow with purple undertone */

  /* Heading and Subheading */
  --heading: #000000;
  /* Black for headings */
  --subheading: #000000;
  /* Black for subheadings */


  /* Layout */
  --round: 12px;
  --max-width: 1100px;
  --container-pad: clamp(16px, 4vw, 24px);

  /* Typography */
  --font-headings: "General Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --h1: clamp(28px, 4.2vw, 56px);
  --h2: clamp(20px, 2.4vw, 32px);
  --h3: clamp(16px, 1.8vw, 20px);
  --lead: clamp(14px, 1.6vw, 16px);
  --text-sm: clamp(12px, 1.3vw, 14px);
}

.service-section {
  padding: 6rem 1.5rem;
  /* background: linear-gradient(180deg, #ffffff 0%, #f9f7ff 100%); */
}

.service-header {
  /* text-align: ; */
  max-width: 720px;
  /* margin: 0 auto 5rem; */
  margin-bottom: 20px;
}

.service-header h2 {
  font-size: 2.6rem;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.3;
}

.service-header p {
  color: #555;
  margin-top: 1rem;
  font-size: 1.1rem;
  line-height: 1.6;
}

.service-header .btn {
  margin-top: 1.8rem;
}

/* ===== Layout Blocks ===== */
.service-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  margin-bottom: 6rem;
  flex-wrap: wrap;
}

.service-block.reverse {
  flex-direction: row-reverse;
}

.service-text {
  flex: 1 1 450px;
}

.service-text h3 {
  font-size: 1.9rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 1rem;
}

.service-text p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 1.2rem;
}

.service-text ul {
  list-style: none;
  padding: 0;
  margin-bottom: 1.5rem;
}

.service-text ul li {
  position: relative;
  margin-bottom: 0.5rem;
  padding-left: 1.2rem;
  font-size: 1rem;
  color: #333;
}

.service-text ul li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: #8b5cf6;
  font-weight: bold;
}

/* ===== Images ===== */
.service-img {
  flex: 1 1 450px;
}

.service-img img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.service-img img:hover {
  transform: scale(1.03);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

/* ===== Buttons ===== */
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #7c3aed;
  border: 1.5px solid #7c3aed;
  padding: 0.6rem 1.25rem;
  border-radius: 50px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-outline:hover {
  background: #7c3aed;
  color: #fff;
  transform: translateY(-2px);
}

/* ===== Responsiveness ===== */
@media (max-width: 1024px) {

  .service-block,
  .service-block.reverse {
    flex-direction: column;
    text-align: center;
  }

  .service-text {
    flex: 1 1 100%;
    text-align: left;
  }

  .service-img {
    flex: 1 1 100%;
  }

  .service-text ul {
    display: inline-block;
    text-align: left;
  }
}

@media (max-width: 640px) {
  .service-header h2 {
    font-size: 2rem;
  }

  .service-text h3 {
    font-size: 1.5rem;
  }

  .service-text {
    text-align: left;
  }

  .service-section {
    padding: 0px;
  }
}