/* =========================================================
   Service pages – left alignment with the header logo
   Scoped to <body class="sv-page"> so home/blog/etc. stay untouched.
   Header gutter is 3vw (see nav-dropdown.css), so content uses the same.
   ========================================================= */

body.sv-page {
  --sv-gutter: 3vw;
  --sv-red: #ec2327;
  --sv-text: #4a4a4a;
  --sv-measure: 1080px; /* comfortable line length for paragraphs */
}

/* ---------- 1. Full-width containers, same left edge as the logo ---------- */
@media (min-width: 992px) {
  body.sv-page .seo-optimized-block > .container,
  body.sv-page .marketing_area > .container,
  body.sv-page .marketing_list_area > .container,
  body.sv-page section.process_area > .container,
  body.sv-page section.feature > .container,
  body.sv-page section.service_home_two > .container,
  body.sv-page div.service_home_two > .container,
  body.sv-page section:not([class]) > .container {
    width: 100%;
    max-width: 100%;
    padding-left: var(--sv-gutter);
    padding-right: var(--sv-gutter);
  }

  /* card rows that sit outside a .container (service-page.php) */
  body.sv-page section.process_area > .row,
  body.sv-page section.feature > .row,
  body.sv-page .service_home_two > .row {
    margin-left: 0;
    margin-right: 0;
    padding-left: calc(var(--sv-gutter) - 15px);
    padding-right: calc(var(--sv-gutter) - 15px);
  }
}

/* ---------- 2. Headings + intro text: left aligned, no centering ---------- */
body.sv-page .section-title,
body.sv-page .section-title.text-center,
body.sv-page .section-title.text-left {
  text-align: left !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

body.sv-page .section-title h2 {
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.25;
  margin: 0 0 6px;
  text-align: left;
}

/* the little red underline sits under the heading's left edge */
body.sv-page .section-title h2::after {
  margin-left: 0;
  margin-right: auto;
  margin-top: 16px;
  margin-bottom: 22px;
}

body.sv-page .section-title p {
  width: 100%;
  max-width: var(--sv-measure);
  margin: 0 0 16px;
  text-align: left;
  color: var(--sv-text);
  line-height: 1.8;
}

body.sv-page .section-title .mp-section-tag {
  display: inline-block;
  margin-bottom: 12px;
}

/* ---------- 3. Rich SEO block (h3, lists, paragraphs) ---------- */
body.sv-page .seo-optimized-block .section-title > h3 {
  font-family: "Poppins", sans-serif;
  font-size: clamp(20px, 2vw, 25px);
  font-weight: 600;
  color: #1d1d1d;
  line-height: 1.35;
  margin: 34px 0 14px;
  padding-left: 14px;
  border-left: 4px solid var(--sv-red);
  text-align: left;
}

body.sv-page .seo-optimized-block .section-title > ul {
  list-style: none;
  padding: 0;
  margin: 0 0 8px;
  max-width: var(--sv-measure);
}

body.sv-page .seo-optimized-block .section-title > ul > li {
  position: relative;
  padding: 0 0 0 30px;
  margin: 0 0 11px;
  color: var(--sv-text);
  line-height: 1.7;
  text-align: left;
}

body.sv-page .seo-optimized-block .section-title > ul > li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 1px;
  width: 20px;
  height: 20px;
  line-height: 20px;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: var(--sv-red);
  border-radius: 50%;
}

body.sv-page .seo-optimized-block .section-title > p a {
  color: var(--sv-red);
  font-weight: 600;
}

/* ---------- 4. Text + image block ---------- */
body.sv-page .marketing_area .row {
  align-items: center;
}

body.sv-page .marketing_text,
body.sv-page .marketing_text p {
  text-align: left;
  color: var(--sv-text);
  line-height: 1.8;
}

body.sv-page .marketing_content img {
  max-width: 100%;
  height: auto;
}

/* ---------- 5. Feature / info cards ---------- */
body.sv-page .ft-card {
  margin: 10px 0;
  text-align: left;
  height: calc(100% - 20px);
}

body.sv-page .ft-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
}

body.sv-page .about_single {
  text-align: left;
}

/* process cards: line up with the heading edge */
body.sv-page .ag-courses_box {
  margin-left: -15px;
  margin-right: -15px;
}

/* ---------- 6. Numbered "Why Webvyapar" list: start at the left edge ---------- */
body.sv-page ol.pt-5,
body.sv-page ol.sp-numbered {
  margin-left: 0 !important;
  margin-right: auto !important;
  max-width: 62rem !important;
  width: 100% !important;
}

/* ---------- 7. Mobile: just keep things left aligned and tidy ---------- */
@media (max-width: 991px) {
  body.sv-page .section-title p,
  body.sv-page .seo-optimized-block .section-title > ul {
    max-width: 100%;
  }
  body.sv-page .section-title h2 {
    font-size: 26px;
  }
}
