/* =========================================
   SERVICE DETAILS PAGE CUSTOM STYLES
   ========================================= */

:root {
  --primary: #0d8eda;
  --secondary: #def3ff;
  --text-dark: #000000;
  --text-body: #4a4a4a;
  --bg-light: #f4f9fd;
}

.section-padding {
  padding: 50px 0;
  margin-left: 0;
  margin-right: auto;
}

.section-padding-top {
  padding-top: 20px;
}

.mt-4 {
  margin-top: 30px;
}

/* Base Headings & Text */
.sd-heading {
  margin: 0 0 !important;
  font-size: 32px;
  font-weight: 800;
  color: var(--text-dark);
  margin: 40px 0 20px;
}

.sd-process-text h2 {
  margin: 0 0 !important;
}

.section-padding P {
  line-height: 1.6;
  font-size: 18px;
}

.sd-heading span {
  color: var(--primary);
}

.sd-subtitle {
  color: var(--primary);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 2px;
  font-size: 14px;
  display: block;
  margin-bottom: 10px;
}

p {
  font-size: 16px;
  color: #000000;
  line-height: 1.8;
  margin-bottom: 0px;
}

/* Base Primary Button */
.btn-primary {
  display: inline-block;
  background-color: #70cbff;
  color: #000000;
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 4px;
  transition: all 0.3s ease;
  text-decoration: none;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background-color: #0482d6;
  box-shadow: 0 4px 12px rgba(5, 158, 255, 0.3);
  color: #ffffff;
}

/* =========================================
   NEW HERO & OVERLAP STYLES
   ========================================= */

.rug-hero-section {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  /* padding: 80px 0 180px; */
  display: flex;
  align-items: center;
  z-index: 1;
  height: 500px;
}

.rug-hero-section .container-1200 {
  width: 100%;
  text-align: left !important;
}

.rug-hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
}

.rug-hero-content {
  max-width: 800px;
  margin: 0 !important;
  text-align: left !important;
  position: relative;
}

.hero-main-title {
  font-size: 48px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 15px;
  line-height: 1.2;
      text-shadow: 0px 0px 4px rgba(0, 0, 0, 7);

  /* margin-left: 200px; */
}

.hero-sub-text {
  font-size: 18px;
  color: #ffffff;
  margin-bottom: 30px;
  font-weight: 500;
      text-shadow: 0px 0px 4px rgba(0, 0, 0, 7);

  /* margin-left: 200px; */
}

.hero-btn-wrapper {
  display: flex;
  gap: 15px;
  /* margin-left: 200px; */
}

.btn-cyan {
  background-color: #3DBFEA;
  color: #ffffff;
  padding: 9px 19px;
  border-radius: 50px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
  border: 2px solid #3DBFEA;
}

.btn-cyan:hover {
  background-color: #2da1ca;
  border-color: #2da1ca;
  color: #ffffff;
}

.btn-white {
  background-color: #ffffff;
  color: #3DBFEA;
  padding: 9px 19px;
  border-radius: 50px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
    text-shadow: 0px 0px 1px rgba(0, 0, 0, 7);
  border: 2px solid #ffffff;
}

.btn-white:hover {
  background-color: transparent;
  color: #ffffff;
}

.section-title {
  font-size: 30px;
  font-weight: 700;
  color: #222222;
  margin-bottom: 20px;
  line-height: 1.3;
  text-align: center;
}

.text-cyan {
  color: #29C3D4 !important;
}

.text-dark-gray {
  color: #000000;
  line-height: 1.8;
  font-size: 16px;
}

@media (max-width: 767px) {
  .rug-hero-section {
    padding: 80px 0;
    text-align: center;
  }

  .hero-main-title {
    margin-left: 0px !important;
    font-size: 32px;
  }

  .hero-sub-text {
    margin-left: 0px !important;
  }

  .hero-btn-wrapper {
    /* justify-content: center; */
    margin-left: 0% !important;
  }

  .rug-hero-content {
    margin: 10px 10px;
  }
}

/* --- 2. Main Layout (66% / 33% Split) --- */
.sd-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 50px;
}

/* LEFT COLUMN TOP CONTENT */
.sd-main-image {
  width: 100%;
  border-radius: 4px;
  margin-bottom: 20px;
  display: block;
}

.sd-two-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 30px 0;
}

.sd-two-images img {
  width: 100%;
  border-radius: 4px;
  display: block;
}

/* RIGHT COLUMN SIDEBAR */
.sd-sidebar {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.sd-widget {
  background: #fff;
}

.sd-widget-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-dark);
  background: #d2eeff;
  padding: 18px 20px;
  margin: 0;
  border-radius: 4px 4px 0 0;
}

.sd-widget-title span {
  color: var(--primary);
}

.sd-services-list {
  list-style: none;
  padding: 0;
  margin: 0;
  background: #d2eeff;
}

.sd-services-list li {
  border-bottom: 1px solid #d2eeff;
}

.sd-services-list li:last-child {
  border-bottom: none;
}

.sd-services-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  color: var(--text-dark);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
}

.sd-services-list li:active a,
.sd-services-list li:hover a {
  background: #0d8eda;
  color: #000000;
}

.sd-services-list li.active a {
  background: #0d8eda;
  color: #000000;
}

.sd-emergency-widget {
  background: #d2eeff;
  text-align: center;
  padding: 40px 20px;
  border-radius: 4px;
}

.sd-emergency-widget h3 {
  font-size: 20px;
  color: var(--text-dark);
  margin: 0 0 20px;
}

.sd-phone-icon {
  width: 50px;
  height: 50px;
  background: #fff;
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
}

.sd-phone-icon svg {
  width: 24px;
  height: 24px;
}

.sd-emergency-label {
  font-size: 14px;
  color: #000000;
  margin: 0 0 5px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.sd-emergency-number {
  font-size: 28px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 15px;
}

.sd-emergency-desc {
  font-size: 14px;
  color: #000000;
  margin-bottom: 25px;
  line-height: 1.6;
}

.sd-emergency-btn {
  width: 100%;
  text-align: center;
  color: #000000 !important;
}

.sd-emergency-btn:hover {
  width: 100%;
  text-align: center;
  color: #ffffff !important;
}

/* --- FULL WIDTH SECTIONS --- */
.sd-full-width-section {
  background-color: #ffffff;
}

/* Process Area Grid (Full Width) */
.sd-process-area {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

.sd-process-area ul,
.sd-process-boxes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Counter setup */
.sd-process-area ul,
.sd-process-boxes {
  counter-reset: process-counter;
}

.sd-process-area ul li,
.sd-process-box {
  counter-increment: process-counter;
  position: relative;
  background: #d2eeff;
  border: 1px solid var(--secondary);
  padding: 20px;
  border-radius: 4px;
  transition: transform 0.3s;
}

.sd-process-area ul li:hover,
.sd-process-box:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(5, 158, 255, 0.1);
}

/* Auto-generated number (01. 02. 03. 04.) */
.sd-process-area ul li::before,
.sd-process-box::before {
  content: counter(process-counter, decimal-leading-zero) ".";
  display: block;
  font-size: 32px;
  font-weight: 800;
  color: #07669c;
  margin-bottom: 10px;
  line-height: 1;
}

/* Title */
.sd-process-area ul li h4,
.sd-process-box h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0 0 10px;
}

/* Description */
.sd-process-area ul li p,
.sd-process-box p {
  font-size: 13px;
  margin: 0;
  line-height: 1.5;
}

.sd-process-box:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(5, 158, 255, 0.1);
}

.sd-process-box .sd-number {
  font-size: 32px;
  font-weight: 800;
  color: #07669c;
  margin-bottom: 10px;
  line-height: 1;
}

.sd-process-box h4 {
  font-size: 15px;
  color: var(--text-dark);
  margin: 0 0 10px;
}

.sd-process-box p {
  font-size: 13px;
  margin: 0;
  line-height: 1.5;
}

/* Looking For Area (Full Width) */
.sd-looking-for-area {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 50px;
  align-items: center;
}

.sd-contact-bold {
  font-weight: 700;
  color: var(--text-dark) !important;
}

.sd-contact-bold span {
  color: var(--primary);
}

.sd-looking-image img {
  width: 100%;
  border-radius: 4px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* CTA Section (Full Width, Blue BG) */
.sd-cta-section {
  background-color: #d2eeff;
  text-align: left;
}

.sd-cta-section span {
  color: var(--primary);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 2px;
  font-size: 14px;
  display: block;
  margin-bottom: 10px;
}

.sd-cta-section h2 {
  margin: 0 0 !important;
  font-size: 32px;
  font-weight: 800;
  color: var(--text-dark);
  margin: 40px 0 20px;
}

.sd-cta-section p {
  color: #000000;
  font-size: 16px;
  line-height: 1.8;
  max-width: 800px;
  margin: 0;
}


/* =========================================
   RESPONSIVE QUERIES
   ========================================= */
@media (max-width: 1024px) {
  .sd-layout {
    grid-template-columns: 1fr;
  }

  .sd-process-area {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .sd-looking-for-area {
    grid-template-columns: 1fr;
  }

  .sd-faq-layout {
    grid-template-columns: 1fr;
    gap: 40px;
    /* text-align: center; */
  }

  .sd-faq-sidebar-centered {
    margin-top: 30px;
    justify-content: center;
  }

  .sd-faq-quote-box {
    max-width: 100%;
  }
}

@media (max-width: 767px) {

  .sd-process-area ul,
  .sd-process-boxes {
    grid-template-columns: 1fr;
  }

  .sd-hero {
    height: 200px;
  }

  .sd-hero-title {
    font-size: 32px;
  }

  .sd-two-images {
    grid-template-columns: 1fr;
  }

  .sd-process-boxes {
    grid-template-columns: 1fr;
  }

  .sd-heading {
    font-size: 26px;
  }

  .sd-faq-btn {
    font-size: 16px;
  }
}


.section-padding {
  padding: 0px 0;
  background-color: #ffffff;
  position: relative;
  z-index: 2;
}

.section-padding h2 span {
  color: #29C3D4 !important;
}

.row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
}

@media (min-width: 768px) {
  .row {
    grid-template-columns: 1fr 1fr;
    margin-top: 60px;
    place-items: center;
  }
}

.text-dark-gray {
  color: #000000;
  line-height: 1.8;
  font-size: 16px;
}

/* @media (min-width: 768px) {
  .overlap-image-wrapper {
    margin-top: -100px;
  }
} */

.overlap-image {
  height: auto;
  border-radius: 12px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
  display: block;
  border: 2px solid #29C3D4 !important;
}

.cp-sectionA,
.cp-section {
  padding: 0px 0;
}

.cp-section h2 span,
.cp-sectionA h2 span {
  color: #29C3D4 !important;
}


.cp-section a,
.cp-sectionA a {
  color: #29C3D4 !important;
  text-decoration: underline;
  font-weight: 600;
}

.cp-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.cp-container ul li,
.cp-container p {
  line-height: 1.6 !important;
  font-size: 18px;
}

.cp-process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
  text-align: left;
}

.cp-process-card {
  background-color: var(--bg-light-blue);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border-bottom: solid 30px #29C3D4;
}

.cp-card-header {
  height: 30px;
  width: 100%;
}

.cp-card-body {
  padding: 25px 20px 10px 20px;
}

.cp-card-body p {
  line-height: 1.6 !important;
}

.cp-step-number {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 5px;
  line-height: 1;
}

.cp-step-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--black);
  margin: 0 0 10px 0;
}

.cp-step-desc {
  font-size: 13px;
  color: var(--text-body);
  margin: 0;
  line-height: 1.5;
}

@media (max-width: 991px) {
  .cp-process-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}

@media (max-width: 767px) {
  .cp-heading {
    font-size: 24px;
  }

  .cp-two-images {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .cp-process-grid {
    grid-template-columns: 1fr;
  }
}

.cp-card-body {
  padding: 25px 20px 10px 20px;
}

.cp-card-header {
  height: 30px;
  width: 100%;
}

.bg-dark {
  background-color: #29C3D4 !important;
}

.cp-process-card {
  background-color: #dcf3ff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border-bottom: solid 30px #29C3D4;
}

.cp-card-header {
  height: 30px;
  width: 100%;
}

.bg-light {
  background-color: #29C3D4 !important;
}

/* =========================================
   MERGED FROM BLADE INLINE <style> BLOCKS
   ========================================= */
.cp-section {
  padding: 60px 0;
}

.cp-section h2 {
  font-weight: 700;
  font-size: 28px;
  margin-bottom: 40px;
  text-align: center;
  color: #1a1a1a;
}

.cp-section ul {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: left;
  counter-reset: cp-step;
}

.cp-section ul li {
  background-color: #dcf3ff;
  border-top: solid 30px #29C3D4;
  border-bottom: solid 30px #29C3D4;
  padding: 25px;
  counter-increment: cp-step;
  display: flex;
  flex-direction: column;
}

.cp-section ul li::before {
  content: counter(cp-step, decimal-leading-zero) ".";
  display: block;
  font-size: 34px;
  font-weight: 800;
  color: #29C3D4;
  margin-bottom: 15px;
  line-height: 1;
}

.cp-section ul li h3 {
  font-weight: 700;
  font-size: 20px;
  line-height: 1.4;
  margin: 0 0 10px 0;
  color: #000000;
  text-align: left;
}

.cp-section ul li p {
  font-size: 18px;
  line-height: 1.6;
  margin: 0;
  color: #000000;
  text-align: left;
}

@media (max-width: 991px) {
  .cp-section ul {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
}

@media (max-width: 767px) {
  .cp-section ul {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .cp-section {
    padding: 40px 0;
  }
}

/* ---- Stats banner ---- */
.stats-banner-section {
  background-color: #29C3D4;
  padding: 40px 0;
}

.stats-banner-section .container-1200 {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.stats-banner-section ul {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  list-style: none;
  margin: 0;
  padding: 0;
}

.stats-banner-section ul li {
  text-align: center;
  color: #ffffff;
  border-right: 1px solid rgba(255, 255, 255, 0.25);
  padding: 0 20px;
}

.stats-banner-section ul li:last-child {
  border-right: none;
}

.stats-banner-section ul li span {
  display: block;
  font-size: 32px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
}

.stats-banner-section ul li p {
  font-size: 20px;
  color: #ffffff;
  margin: 6px 0 0 0;
  line-height: 1.4;
}

@media (max-width: 991px) {
  .stats-banner-section {
    padding: 40px 0;
  }

  .stats-banner-section ul {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 30px;
  }

  .stats-banner-section ul li:nth-child(2),
  .stats-banner-section ul li:nth-child(4) {
    border-right: none;
  }

  .stats-banner-section ul li:nth-child(1),
  .stats-banner-section ul li:nth-child(3) {
    border-right: 1px solid rgba(255, 255, 255, 0.25);
  }
}

@media (max-width: 767px) {
  .stats-banner-section {
    padding: 35px 0;
  }

  .stats-banner-section ul {
    grid-template-columns: 1fr;
    row-gap: 25px;
  }

  .stats-banner-section ul li {
    border-right: none !important;
  }
}

/* ---- Before / After projects ---- */
.projects-row {
  display: flex;
  justify-content: space-between;
  gap: 0px;
  margin-top: 1.5rem;
  border: 2px solid #58B2E0;
  border-radius: 22px;
}

.projects-col {
  flex: 1;
  position: relative;
}

.projects-col img {
  width: 100%;
  height: auto;
  display: block;
}

.project-tag {
  position: absolute;
  top: 20px;
  padding: 5px 15px;
  background-color: #059EFF;
  color: white;
  font-weight: bold;
  border-radius: 25px;
  z-index: 10;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.tag-before {
  left: 20px;
  background-color: #58B2E0;
}

.tag-after {
  right: 20px;
  background-color: #58B2E0;
}

@media (max-width: 768px) {
  .projects-row {
    flex-direction: column;
  }

  .rug-discount-banner {
    height: 500px !important;
  }
}

/* ---- Discount / CTA banner ---- */
.rug-discount-banner {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  /* padding: 80px 0; */
  text-align: left;
  color: #ffffff;
  display: flex;
  align-items: center;
  margin: 20px 20px;
  border-radius: 30px;
  overflow: hidden;
  height: 350px;
}

/* Dark overlay via pseudo-element — covers any baked-in image text */
.rug-discount-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 30px;
  z-index: 0;
}

/* Bring all content above the overlay */
.rug-discount-banner .container-1200 {
  width: 100%;
  position: relative;
  z-index: 1;
  text-align: left !important;
}

.discount-content {
  max-width: 1150px;
  margin: 0 !important;
  text-align: left !important;
  position: relative;
  z-index: 1;
}

.discount-content span,
.discount-badge {
  display: inline-block;
  /* background-color: #58B2E0; */
  color: #ffffff;
  padding: 8px 0px;
  border-radius: 50px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
    text-shadow: 0px 0px 4px rgba(0, 0, 0, 0.797);
  font-size: 18px;
}

.discount-content h2,
.discount-title {
  font-size: clamp(22px, 5vw, 38px);
  font-weight: 700;
  margin-bottom: 20px;
  margin-top: 20px;
  color: #ffffff;
  line-height: 1.2;
  text-transform: uppercase;
  word-break: break-word;
  overflow-wrap: break-word;
    text-shadow: 0px 0px 4px rgba(0, 0, 0, 0.797);
  hyphens: auto;
}

.discount-content p,
.discount-description {
  font-size: 20px;
  line-height: 1.6;
  color: #ffffff;
    text-shadow: 0px 0px 4px rgba(0, 0, 0, 0.797);
  margin-bottom: 25px !important;
}

.cta-wrapper {
  margin-top: 25px;
}

.btn-link {
  text-decoration: none;
  transition: transform 0.2s ease, background-color 0.3s ease;
  display: inline-block;
}

.btn-link:hover {
  background-color: #29C3D4;
  transform: translateY(-2px);
  color: #ffffff;
}

@media (max-width: 768px) {
  .rug-discount-banner {
    margin: 10px 15px;
    padding: 50px 20px;
  }

  .discount-title {
    font-size: clamp(20px, 6vw, 28px);
  }

  .discount-description {
    font-size: 15px;
  }
}

/* ---- FAQ section ---- */
.sd-faq-section {
  background-color: #e8f7fa;
  padding: 80px 0;
}

.sd-faq-section .container-1200 {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.sd-faq-section .sd-subtitle {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 3px;
  color: #29C3D4;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.sd-faq-section .sd-heading {
  font-size: 36px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 40px;
  text-align: left;
  line-height: 1.3;
}

.sd-faq-section .sd-heading span {
  color: #29C3D4;
}

.sd-faq-layout {
  display: flex;
  gap: 60px;
  align-items: center;
}

.sd-faq-list {
  flex: 1 1 65%;
  counter-reset: faq-counter;
}

.sd-faq-item {
  border-top: 1px solid #c5e8ec;
  counter-increment: faq-counter;
}

.sd-faq-item:last-child {
  border-bottom: 1px solid #c5e8ec;
}

.sd-faq-btn {
  width: 100%;
  background: none;
  border: none;
  padding: 24px 40px 24px 0;
  text-align: left;
  font-size: 19px;
  font-weight: 600;
  color: #1a1a1a;
  cursor: pointer;
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
}

.sd-faq-btn::before {
  content: counter(faq-counter) ".";
  font-weight: 600;
  color: #1a1a1a;
  flex-shrink: 0;
}

.sd-faq-btn::after {
  content: "▼";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  color: #29C3D4;
  font-size: 11px;
  line-height: 1;
}

.sd-faq-item.active .sd-faq-btn::after {
  content: "▲";
}

.sd-faq-icon {
  display: none;
}

.sd-faq-content {
  padding: 0 0 24px 28px;
}

.sd-faq-content p {
  font-size: 18px;
  line-height: 1.7;
  color: #000000;
  margin: 0;
}

.sd-faq-sidebar-centered {
  flex: 0 0 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sd-faq-quote-box {
  background-color: #ffffff;
  border-radius: 16px;
  padding: 40px 30px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  text-align: center;
}

.sd-faq-quote-box p {
  font-size: 18px;
  font-style: italic;
  color: #29C3D4;
  line-height: 1.6;
  margin: 0;
  font-weight: 700;
}

@media (max-width: 991px) {
  .sd-faq-layout {
    flex-direction: column;
    align-items: stretch;
    gap: 40px;
  }

  .sd-faq-sidebar-centered {
    flex: 1 1 100%;
    width: 100%;
  }

  .sd-faq-quote-box {
    max-width: 450px;
    margin: 0 auto;
  }
}

@media (max-width: 767px) {
  .sd-faq-section {
    padding: 50px 0;
  }

  .sd-faq-section .sd-heading {
    font-size: 28px;
  }

  .sd-faq-btn {
    font-size: 16px;
    padding: 20px 35px 20px 0;
  }

  .sd-faq-content {
    padding: 0 0 20px 24px;
  }

  .sd-faq-quote-box {
    padding: 30px 24px;
  }

  .sd-faq-quote-box p {
    font-size: 16px;
  }

  .rug-projects-section {
    padding: 10px !important;
  }

  .img-fluidA {
    margin-bottom: 20px;
    border-radius: 20px 20px 0px 0px !important;
  }

  .img-fluid {
    border-radius: 0px 0px 20px 20px !important;
  }
}

.rug-projects-section {
  padding: 40px;
}

.img-fluidA {
  border-radius: 20px 0px 0px 20px;
}

.img-fluid {
  border-radius: 0px 20px 20px 0px;
}