/* ============================================================
   SERVICE DETAIL PAGE  —  service-detail.css
   All classes are prefixed .sd-* to avoid any collisions
   ============================================================ */

/* ── Design tokens ── */
:root {
  --sd-cyan: #009ab5;
  --sd-text: #222222;
  --sd-white: #ffffff;
}

/* ============================================================
   1. HERO SECTION
   ============================================================ */
.sd-hero {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 100px 0 120px;
  overflow: hidden;
  /* min-height: 350px; */
  display: flex;
  align-items: center;
}

.sd-hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.28);
  z-index: 0;
}

.sd-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}

.sd-hero__inner h1 {
  color: #ffffff;
  font-size: 42px;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 18px;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
  margin-top: 20px;
}

.sd-hero__inner p {
  color: #ffffff;
  font-size: 18px;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
  max-width: 60%;
  word-spacing: 2px;
  line-height: 1.5;
}

.sd-hero__inner span {
  color: #ffffff;
  margin-bottom: 20px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Mobile / Tablet (≤ 990px) */
@media (max-width: 990px) {

  .sd-hero__inner h1 {
    font-size: 28px;
  }

  .sd-hero {
    padding: 70px 0 80px;
    min-height: 380px;
  }

  .sd-hero__inner p {
    max-width: 100% !important;
  }
}

/* Small Mobile (≤ 650px) */
@media (max-width: 650px) {
  .sd-hero {
    min-height: 150px;
  }
}

/* =========================================
   FAQ SECTION
   ========================================= */
.sd-faq-section {
  background-color: #fff;
  padding: 60px 0;
}

.sd-faq-section>.container-1200>p:first-child {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: #6530AD;
  letter-spacing: 1px;
  margin: 0 0 14px;
  text-transform: uppercase;
}

.sd-faq-section>.container-1200>p:first-child::before {
  content: "";
  display: inline-block;
  width: 34px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(to right,
      #CD1E2D 0 20px,
      transparent 20px 24px,
      #CD1E2D 24px 34px);
}


.sd-faq-section h2 {
  font-size: 32px;
  font-weight: 700;
  color: #000;
  margin: 0 0 28px;
  line-height: 1.3;
}

.sd-faq-layout {
  max-width: 800px;
}

.sd-faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.sd-faq-item {
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  background: #ffffff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.sd-faq-item.active {
  border-color: #6530AD;
  box-shadow: 0 4px 16px rgba(101, 48, 173, 0.12);
}

.sd-faq-btn {
  width: 100%;
  background: transparent;
  border: none;
  padding: 18px 20px;
  text-align: left;
  font-size: 18px;
  font-weight: 600;
  color: #000;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.sd-faq-icon {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease;
}

.sd-faq-item.active .sd-faq-icon {
  transform: rotate(180deg);
}

.sd-faq-icon svg {
  width: 100%;
  height: 100%;
}

.sd-faq-content {
  padding: 0 20px 18px 20px;
}

.sd-faq-content p {
  font-size: 16px;
  line-height: 1.65;
  color: #000;
  margin: 0 0 0 13px;
}

@media (max-width: 767px) {
  .sd-faq-section {
    padding: 40px 0;
  }

  .sd-faq-section h2 {
    font-size: 24px;
  }

  .sd-faq-btn {
    font-size: 14px;
    padding: 14px 16px;
  }

  .sd-faq-content {
    padding: 0 16px 14px 16px;
  }
}

/* Third Content Section - Steps */
.third-content-section {
  padding: 40px 0;
  background: white;
}

.third-content-section h2 {
  font-size: 32px;
  font-weight: 700;
  color: #000;
  margin-bottom: 20px;
  margin-top: 20px;
}

.third-content-section h2 span {
  color: #292660;
}

.third-content-section p {
  font-size: 18px;
  line-height: 1.8;
  color: #000000;
}

@media (max-width: 768px) {
  .third-content-section h2 {
    font-size: 26px;
  }
}

@media (max-width: 480px) {
  .third-content-section {
    padding: 30px 0;
  }
}

/* First Content Section - Working Process Design */
.container-1200 .dummmy {
  padding: 40px 0;
  background: white;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.first-content-section>p:first-of-type {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: #6530AD;
  letter-spacing: 1.5px;
  margin: 0 0 0px;
  text-transform: uppercase;
}

.first-content-section>p:first-of-type::before {
  content: "";
  display: inline-block;
  width: 34px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(to right,
      #CD1E2D 0 20px,
      transparent 20px 24px,
      #CD1E2D 24px 34px);
}

.first-content-section>h2 {
  font-size: 32px;
  font-weight: 700;
  color: #000;
  margin-bottom: 15px;
  margin-top: 10px;
}

.first-content-section>p:nth-of-type(2) {
  font-size: 18px;
  line-height: 1.7;
  color: #000000;
  margin-bottom: 30px;
}

.first-content-section>ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
  counter-reset: process-step;
}

.first-content-section>ul>li {
  display: grid;
  grid-template-columns: 38px 1fr;
  grid-template-rows: auto auto;
  column-gap: 15px;
  row-gap: 4px;
  align-items: start;
  padding: 18px 20px;
  border-radius: 12px;
  border: 2px solid #d8d8d8;
  background: white;
  transition: border-color 0.3s ease;
}

.first-content-section>ul>li:hover {
  border-color: #662d91;
}

.first-content-section>ul>li::before {
  counter-increment: process-step;
  content: counter(process-step, decimal-leading-zero);
  grid-column: 1;
  grid-row: 1 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: radial-gradient(circle at 50% 50%, #FFD6DA 4%, #CD1E2D 100%);
  color: #000;
  font-size: 13px;
  font-weight: 700;
  border-radius: 50%;
}

.first-content-section>ul>li>h3 {
  grid-column: 2;
  grid-row: 1;
  font-size: 16px;
  font-weight: 700;
  color: #000;
  margin: 0;
}

.first-content-section>ul>li>p {
  grid-column: 2;
  grid-row: 2;
  font-size: 16px;
  line-height: 1.6;
  color: #000;
  margin: 0;
}

.container-1200>div>div:last-child {
  position: relative;
}

.container-1200>div>div:last-child>img {
  width: 100%;
  height: auto;
  /* border-radius: 20px; */
  display: block;
  border: 2px solid #CD1E2D;
}

.imagebar {
    position: absolute;
    bottom: -59px;
    right: -20px;
    background: #6530AD;
    padding: 20px 22px;
    border-radius: 3px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    color: white;
    min-width: 190px;
    box-sizing: border-box;
}

/* Remove default paragraph spacing */
.imagebar p {
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* Trusted By */
.imagebar p span:first-child {
    font-size: 12px;
    font-weight: 500;
    opacity: 0.9;
    margin-bottom: 4px;
}

/* 1000+ */
.imagebar p span:nth-child(2) {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 4px;
}

/* Happy Customers */
.imagebar p span:last-child {
    font-size: 13px;
    font-weight: 500;
    opacity: 0.9;
}

@media (max-width: 992px) {
  .container-1200 .dummmy {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 30px 0;
  }

  .imagebar {
    bottom: -40px;
    right: 0px;
    padding: 15px 25px;
  }
}

@media (max-width: 768px) {
  .first-content-section>h2 {
    font-size: 26px;
  }
}

@media (max-width: 480px) {
  .container-1200>div {
    padding: 20px 0;
  }

  .first-content-section>h2 {
    font-size: 26px;
  }

  .imagebar>span:nth-child(2) {
    font-size: 24px;
  }
}

/* Second Content Section - Why Choose Us */
.second-content-section {
  padding: 40px 0;
  background: #FFE5E7;
  text-align: center;
}

.second-content-section>.container-1200>p:first-of-type {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: #6530AD;
  letter-spacing: 1.5px;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.second-content-section>.container-1200>p:first-of-type::before {
  content: "";
  display: inline-block;
  width: 34px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(to right, #CD1E2D 0 20px, transparent 20px 24px, #CD1E2D 24px 34px);
}

.second-content-section>.container-1200>h2 {
  font-size: 32px;
  font-weight: 700;
  color: #000;
  margin-bottom: 50px;
  margin-top: 10px;
}

.second-content-section>.container-1200>ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  counter-reset: choose-step;
}

.second-content-section>.container-1200>ul>li {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: white;
  padding: 30px 25px;
  padding-top: 100px;
  text-align: left;
  border: 2px solid transparent;
  overflow: hidden;
  border-radius: 4px;
}

.second-content-section>.container-1200>ul>li:hover {
  border: 2px solid #662d91;
}

/* .second-content-section>.container-1200>ul>li::before {
  counter-increment: choose-step;
  content: counter(choose-step, decimal-leading-zero);
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 36px;
  font-weight: 700;
  color: #f0f0f0;
  line-height: 1;
  text-shadow: 0 0 black;
} */

.second-content-section>.container-1200>ul>li>span {
  position: absolute;
  top: 30px;
  left: 25px;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;

  background: radial-gradient(circle at 50% 50%, #EFE4FF 4%, #6530AD 100%);
  border-radius: 50%;
  color: #000;
  font-size: 20px;
  z-index: 1;
}

.second-content-section>.container-1200>ul>li>h3 {
  font-size: 20px;
  font-weight: 700;
  color: #000;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}

.second-content-section>.container-1200>ul>li>p {
  font-size: 17px;
  line-height: 1.6;
  color: #000000;
  margin: 0;
  position: relative;
  z-index: 1;
}

@media (max-width: 992px) {
  .second-content-section>.container-1200>ul {
    grid-template-columns: repeat(2, 1fr);
  }

  .second-content-section>.container-1200>h2 {
    font-size: 26px;
  }
}

@media (max-width: 480px) {
  .second-content-section {
    padding: 30px 0;
  }

  .second-content-section>.container-1200>ul {
    grid-template-columns: 1fr;
  }
}

/* Fourth Content Section */
.forth-content-section {
  padding: 40px 0;
  background: white;
}

.forth-content-section>div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: start;
}

.forth-content-section>div>div:first-child>p:first-of-type,
.forth-content-section>div>div:last-child>p:first-of-type {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: #6530AD;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 15px;
}

.forth-content-section>div>div:first-child>p:first-of-type::before,
.forth-content-section>div>div:last-child>p:first-of-type::before {
  content: "";
  display: inline-block;
  width: 34px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(to right, #CD1E2D 0 20px, transparent 20px 24px, #CD1E2D 24px 34px);
}

/* .forth-content-section>div>div:first-child>p:first-of-type::after,
.forth-content-section>div>div:last-child>p:first-of-type::after {
  content: "";
  display: inline-block;
  width: 10px;
  height: 3px;
  background: #f5a623;
  border-radius: 2px;
} */

.forth-content-section>div>div:first-child>h2,
.forth-content-section>div>div:last-child>h2 {
  font-size: 32px;
  font-weight: 700;
  color: #000;
  margin-bottom: 15px;
  margin-top: 10px;
  line-height: 1.2;
}

.forth-content-section>div>div:first-child>p:nth-of-type(2),
.forth-content-section>div>div:last-child>p:nth-of-type(2) {
  font-size: 18px;
  line-height: 1.7;
  color: #000000;
  margin-bottom: 20px;
}

.forth-content-section>div>div:first-child>ul,
.forth-content-section>div>div:last-child>ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.forth-content-section>div>div:last-child>ul {
  margin-bottom: 25px;
}

.forth-content-section>div>div:first-child>ul>li,
.forth-content-section>div>div:last-child>ul>li {
  position: relative;
  padding-left: 28px;
  font-size: 16px;
  color: #000;
  line-height: 1.5;
}

.forth-content-section>div>div:first-child>ul>li::before,
.forth-content-section>div>div:last-child>ul>li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 18px;
  height: 18px;
  background: #CD1E2D;
  color: white;
  border-radius: 50%;
  font-size: 10px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
}

.forth-content-section>div>div:nth-child(2) {
  position: relative;
}

.forth-content-section>div>div:nth-child(2)>img {
  width: 100%;
  object-fit: fill;
  border-radius: 10px;
  border: 2px solid #6530AD;
  display: block;
  max-height: 500px;
}

.forth-content-section>div>div:last-child>div {
  border: 1px solid #6530AD;
  border-radius: 12px;
  padding: 16px;
  background: white;
}

.forth-content-section>div>div:last-child>div:hover {
  border: 1px solid #662d91;
}

.forth-content-section>div>div:last-child>div>p:first-child {
  font-size: 17px;
  font-weight: 700;
  color: #000;
  margin-bottom: 5px;
}

.forth-content-section>div>div:last-child>div>p:last-child {
  font-size: 16px;
  color: #000000;
  margin: 0;
  line-height: 1.5;
}

@media (max-width: 992px) {
  .forth-content-section>div {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .forth-content-section>div>div:nth-child(2)>img {
    min-height: 300px;
  }
}

@media (max-width: 768px) {

  .forth-content-section>div>div:first-child>h2,
  .forth-content-section>div>div:last-child>h2 {
    font-size: 26px;
  }
}

@media (max-width: 480px) {
  .forth-content-section {
    padding: 30px 0;
  }
}

/* Fifth Content Section - Premium Purple Banner */
.fifth-content-section {
    position: relative;
    overflow: hidden;
    padding: 55px 0;
    background: linear-gradient(120deg, #6530AD 0%, #51218F 55%, #3F176F 100%);
    margin-bottom: 40px;
}

/* Subtle decorative background */
.fifth-content-section::before {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    top: -180px;
    right: 5%;
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 50%;
    box-shadow:
        0 0 0 35px rgba(255, 255, 255, 0.025),
        0 0 0 70px rgba(255, 255, 255, 0.025);
    pointer-events: none;
}

.fifth-content-section::after {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    bottom: -160px;
    left: 15%;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    pointer-events: none;
}

.fifth-content-section > .container-1200 {
    position: relative;
    z-index: 1;
}

.fifth-content-section > .container-1200 > div {
    display: flex;
    align-items: center;
    gap: 32px;
}

/* Icon badge — supports the editor's <p><span></span></p> markup */
.fifth-content-section > .container-1200 > div > p:first-child {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 64px;
    width: 64px;
    height: 64px;
    margin: 0;
    border-radius: 50%;
    background: linear-gradient(145deg, #FFD6DA, #CD1E2D);
   
    
}

.fifth-content-section > .container-1200 > div > p:first-child > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #000000;
    font-size: 25px;
}

/* Heading */
.fifth-content-section > .container-1200 > div > h2 {
    position: relative;
    flex: 0 0 260px;
    font-size: 25px;
    font-weight: 700;
    color: #FFFFFF;
    line-height: 1.4;
    letter-spacing: -0.4px;
    margin: 0;
    padding-right: 28px;
}

/* Vertical divider */
.fifth-content-section > .container-1200 > div > h2::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 2px;
    height: 75px;
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0),
        #E9A7FF,
        rgba(255, 255, 255, 0)
    );
}

/* Description */
.fifth-content-section > .container-1200 > div > p:last-child {
    flex: 1;
    font-size: 16px;
    line-height: 1.85;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.92);
    margin: 0;
    padding-left: 0;
}

/* Tablet */
@media (max-width: 992px) {
    .fifth-content-section {
        padding: 45px 0;
    }

    .fifth-content-section > .container-1200 > div {
        gap: 22px;
    }

    .fifth-content-section > .container-1200 > div > h2 {
        flex-basis: 225px;
        font-size: 22px;
        padding-right: 20px;
    }

    .fifth-content-section > .container-1200 > div > p:last-child {
        font-size: 15px;
        line-height: 1.75;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .fifth-content-section {
        padding: 42px 20px;
    }

    .fifth-content-section > .container-1200 > div {
        flex-direction: column;
        text-align: center;
        gap: 22px;
    }

    .fifth-content-section > .container-1200 > div > p:first-child {
        flex-basis: 58px;
        width: 58px;
        height: 58px;
    }

    .fifth-content-section > .container-1200 > div > h2 {
        flex: initial;
        width: 100%;
        max-width: 500px;
        font-size: 25px;
        padding: 0;
    }

    .fifth-content-section > .container-1200 > div > h2::after {
        display: none;
    }

    .fifth-content-section > .container-1200 > div > p:last-child {
        flex: initial;
        width: 100%;
        max-width: 600px;
        font-size: 15px;
        line-height: 1.8;
        padding: 0;
    }
}

@media (max-width: 480px) {
    .fifth-content-section {
        padding: 35px 18px;
        margin-bottom: 30px;
    }

    .fifth-content-section > .container-1200 > div {
        gap: 18px;
    }

    .fifth-content-section > .container-1200 > div > h2 {
        font-size: 22px;
        line-height: 1.4;
    }

    .fifth-content-section > .container-1200 > div > p:last-child {
        font-size: 14px;
        line-height: 1.8;
    }
}



/* ══════════════════════════════════════════════════════ RUG CTA STRIP ══════════════════════════════════════════════════════ */
.rug-cta-section {
  padding: 40px 0;
  /* margin-bottom: 40px; */
}

.rug-cta {
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 24px;
  padding: 24px 30px;
  background: linear-gradient(to bottom, #6530AD 0%, #5D2C9F 95%);
  border-radius: 4px;
}

/* ---------- Icon badge (span.fas is the badge itself) ---------- */
.rug-cta .fas {
  grid-column: 1;
  grid-row: 1 / 3;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, #FFD6DA 0%, #CD1E2D 95%);
  color: #000;
  font-size: 28px;
  line-height: 1;
}

/* ---------- Text ---------- */
.rug-cta h2 {
  grid-column: 2;
  grid-row: 1;
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.35;
  margin: 0 0 0px;
}

.rug-cta p {
  grid-column: 2;
  grid-row: 2;
  font-size: 17px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 1);
  margin: 0;
  max-width: 550px;
}

/* ---------- Action / button ---------- */
.rug-cta__action {
  grid-column: 3;
  grid-row: 1 / 3;
}

.rug-cta__btn {
  display: inline-block;
  background: #CD1E2D;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  padding: 15px 28px;
  border: 2px solid #CD1E2D;
  border-radius: 4px;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease;
}

.rug-cta__btn:hover {
  background: #ffffff;
  color: #6530AD;
  border: 2px solid #6530AD;
}

/* ---------- Responsive ---------- */
@media (max-width: 767px) {
  .rug-cta {
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto auto;
    text-align: center;
    justify-items: center;
  }

  .rug-cta .fas {
    grid-column: 1 / 3;
    grid-row: 1;
  }

  .rug-cta h2 {
    grid-column: 1 / 3;
    grid-row: 2;
  }

  .rug-cta p {
    grid-column: 1 / 3;
    grid-row: 3;
  }

  .rug-cta__action {
    grid-column: 1 / 3;
    grid-row: 4;
    width: 100%;
    margin-top: 16px;
  }

  .rug-cta__btn {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .rug-cta-section {
    padding: 30px 0;
    margin: 0;
  }

  .rug-cta h2 {
    font-size: 19px;
  }

  .rug-cta p {
    font-size: 14px;
  }
}