/* =========================================
   SERVICE DETAILS PAGE CUSTOM STYLES
   ========================================= */
a {
  text-decoration: none !important;
  color: #f26522;
  font: bold;
}
.section-padding-top {
  padding-top: 20px;
}

/* ---------- Hero ---------- */
.hero-section {
  position: relative;
  overflow: hidden;
}

.hero-section img {
  display: block;
  width: 100%;
  height: 300px;
}

.hero-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.35) 0%,
    rgba(0, 0, 0, 0.15) 50%,
    rgba(0, 0, 0, 0.35) 100%
  );
  pointer-events: none;
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  text-align: center;
  color: #ffffff;
  max-width: 700px;
  width: 90%;
}

.hero-content h1 {
  font-size: 70px;
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.1;
  color: #ffffff;
  margin: 0 auto;
  text-align: center;
  text-shadow:
    3px 3px 8px rgba(0, 0, 0, 0.7),
    0px 0px 15px rgba(0, 0, 0, 0.6);
  letter-spacing: 1px;
  -webkit-text-stroke: 1px rgba(0, 0, 0, 0.4);
}

@media (max-width: 767px) {
  .hero-content h1 {
    font-size: 26px;
  }

  .hero-section img {
    height: 200px;
  }
}

.sd-layout {
  /* display: grid; */
  grid-template-columns: 2fr 1fr;
  gap: 50px;
  margin-top: 40px;
}

.sd-content h2 {
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 0px;
}

.sd-content p {
  font-size: 16px;
  line-height: 1.8;
  color: #000;
  margin-bottom: 25px;
}

.sd-content span {
  color: #508ec2;
}

.sd-content h3 {
  font-size: 24px;
  font-weight: bold;
  color: #000000;
  margin-top: 30px;
  margin-bottom: 15px;
}

.sd-content a {
  font-weight: 700;
  color: #508ec2;
}

/* ---------- Sidebar (Our Services) ---------- */
.sidebar-box {
  background: #ffffff;
  border: 1px solid #eeeeee;
  border-radius: 6px;
  padding: 20px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  margin: 10px;
}

.sd-sidebar-title {
  font-size: 22px;
  font-weight: 800;
  color: #1a1a1a;
  margin: 0 0 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid #f0f0f0;
}

.sd-sidebar-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sd-sidebar-item a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 13px 18px;
  background: #ffeee7;
  color: #1a1a1a;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.25s ease;
}

.sd-sidebar-item a i {
  font-size: 13px;
  color: #f26522;
  transition: all 0.25s ease;
}

.sd-sidebar-item:hover a,
.sd-sidebar-item.active a {
  background: linear-gradient(135deg, #f26522, #e8491d);
  color: #ffffff;
}

.sd-sidebar-item:hover a i,
.sd-sidebar-item.active a i {
  color: #ffffff;
}

/* =========================================
   PROCESS SECTION
   ========================================= */
.process-section {
  background: #fbe9e4;
  text-align: center;
  border-top: 1px solid #86c99a;
  border-bottom: 1px solid #86c99a;
}

.process-sectionA h2 {
  font-size: 32px;
  font-weight: 700;
  color: #000000;
  margin-bottom: 10px;
  text-align: center;
}

.process-sectionA ul {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  justify-items: stretch;
  margin: 0 auto;
  list-style: none;
  padding: 30px 0;
  background-color: #fbe9e4;
}

.process-sectionA ul li {
  text-align: left;
  list-style: none;
  /* background: #ffeee7; */
  border: 1px solid transparent;
  border-radius: 4px;
  padding: 20px;
  transition:
    box-shadow 0.2s,
    border-color 0.2s;
  border-right: 1px solid #00ae44;
}

.process-sectionA ul li:hover {
  background: #ffeee7;
}

.process-sectionA ul li:last-child {
  border: none !important;
}

.process-sectionA ul li span {
  background: #f26522;
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  margin-bottom: 14px;
}

.process-sectionA ul li h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  margin-top: 0px;
  color: #000000;
}

.process-sectionA ul li p {
  font-size: 15px;
  color: #000000;
  line-height: 1.6;
  text-align: left;
  margin-top: 0px;
}

/* =========================================
   WHY CHOOSE SECTION
   ========================================= */
.why-choose-section {
  padding: 50px 0;
  background: #ffffff;
}

.why-choose-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.why-choose-image {
  border: 2px solid #f26522;
  border-radius: 4px;
}

.why-choose-image img {
  width: 100%;
  height: 100%;
  object-fit: fill;
  border-radius: 2px;
  display: block;
}

.why-choose-content h2 {
  font-size: 32px;
  font-weight: 800;
  color: #000000;
  margin: 0 0 25px;
}

.why-choose-content h2 span {
  color: #f26522;
}

.why-choose-content ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.why-choose-content ul li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
  border: 1px solid #86c99a;
  border-radius: 4px;
  background: #ffffff;
}

.why-choose-content ul li:hover {
  background: #ffeee7;
  border-color: #ffeee7;
}

.why-choose-content ul li p {
  font-size: 17px;
  color: #000000;
}

.why-choose-content ul li h3 {
  font-size: 18px;
  font-weight: 800;
  color: #000000;
}

/* =========================================
   RUG CTA SECTION
   ========================================= */
.rug-cta-section {
  background-color: #508ec2;
}

.rug-cta-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}

.rug-cta-text {
  padding-top: 60px;
  padding-bottom: 60px;
  padding-right: 60px;
  padding-left: max(40px, calc((100vw - 1200px) / 2));
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.rug-cta-text span {
  display: inline-block;
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 12px;
}

.rug-cta-text h2 {
  font-size: 34px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.25;
  margin: 0 0 18px;
  max-width: 480px;
}

.rug-cta-text p {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.92);
  margin: 0 0 28px;
  max-width: 460px;
}

.rug-cta-buttons {
  display: flex;
  gap: 14px;
}

.rug-cta-btn {
  display: inline-block;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 700;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.rug-cta-btn--filled {
  border: 1px solid #ffffff;
  color: #ffffff;
}

.rug-cta-btn--filled:hover {
  background: transparent;
  color: #000000;
}

.rug-cta-btn--outline {
  background-color: #1a2b3c;
  color: #ffffff;
  border: 2px solid #1a2b3c;
}

.rug-cta-btn--outline:hover {
  background-color: #ffffff;
  color: #243e58;
  border: 2px solid #243e58;
}

/* .rug-cta-image {
  border: 2px solid #508ec2;
} */

.rug-cta-image img {
  width: 100%;
  height: 100%;
  object-fit: fill;
  display: block;
  max-height: 500px;
  border: 2px solid #243f57;
}

/* =========================================
   RESPONSIVE QUERIES
   ========================================= */
@media (max-width: 1024px) {
  .sd-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .rug-cta-layout {
    grid-template-columns: 1fr;
  }
  .rug-cta-text {
    padding-left: 40px;
    padding-right: 40px;
  }
  .rug-cta-image {
    border-left: none;
    border-top: 2px solid #e8491d;
  }
}

@media (max-width: 992px) {
  .sidebar-box {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .process-sectionA ul {
    grid-template-columns: 1fr;
  }
  .why-choose-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .sd-content h2 {
    font-size: 22px;
  }
}

.promo-bar {
  background: #508ec2;
  color: white;
  padding: 18px 0;
  font-style: "Roboto", sans-serif;
}

.promo-flex {
  display: flex;
  justify-content: space-between;
  /* justify-content: center; */
  /* Pushes text to opposite ends */
  align-items: center;
  flex-wrap: nowrap;
  /* STRICTLY prevents jumping to next line */
  width: 100%;
}

.promo-text {
  font-size: 26px;
  /* Larger size for emphasis */
  font-weight: 700;
  /* Makes the text strong */
  display: block;
  margin-bottom: 5px;
  white-space: nowrap;
  color: #ffffff;
}

@media (max-width: 992px) {
  .promo-text {
    font-size: 16px;
  }
  .promo-flex {
    flex-direction: column;
    text-align: center;
  }
}

/* ========================================= STEPS SECTION ========================================= */
.steps-section {
  position: relative;
  padding: 60px 0 50px;
  background-color: #ffffff;
}

.steps-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background-color: #4a7fb5;
}

.steps-section .container-1200 {
  max-width: 950px;
}

/* .steps-section .row {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
} */

.steps-section ul {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: center;
}

.steps-section ul li {
  flex: 0 0 33.333%;
  max-width: 33.333%;
  padding: 0 15px;
}

.steps-section ul li span {
  display: block;
  font-size: 64px;
  font-weight: 800;
  line-height: 1;
  color: #1a3c5e;
  margin-bottom: 8px;
  font-family:
    "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande", sans-serif;
  text-align: center;
}

.steps-section ul li h3 {
  font-size: 19px;
  font-weight: 700;
  color: #111111;
  margin: 0 0 12px;
  text-align: center;
}

.steps-section ul li p {
  font-size: 15px;
  line-height: 1.7;
  color: #333333;
  max-width: 260px;
  margin: 0 auto;
  text-align: center;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
  .steps-section .ul {
    justify-content: center;
  }

  .steps-section ul li {
    flex: 0 0 50%;
    max-width: 50%;
    margin-bottom: 40px;
  }
}

@media (max-width: 640px) {
  .steps-section ul li {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .steps-section ul li span {
    font-size: 52px;
  }
}

/* ========================================= ABOUT SECTION ========================================= */
.about-section {
  padding: 70px 0;
  background-color: #ffffff;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 40px;
  align-items: stretch;
}

/* --- Left: image --- */
.about-image-col {
  border: 1px solid #4a7fb5;
  border-radius: 4px;
  overflow: hidden;
  line-height: 0;
}

.about-image-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* --- Right: dark content panel --- */
.about-content-col {
  background-color: #1f3a56;
  color: #ffffff;
  padding: 50px 45px;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-content-col span,
.about-eyebrow {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 18px;
}
.about-content-col h2,
.about-heading {
  font-size: 36px;
  font-weight: 800;
  line-height: 1.25;
  color: #ffffff;
  margin: 0 0 20px;
}
.about-content-col p,
.about-text {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 30px;
  max-width: 420px;
}

.btn-quote {
  display: inline-block;
  align-self: flex-start;
  background-color: #6f9dc6;
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 4px;
  text-decoration: none;
  transition:
    background-color 0.3s ease,
    transform 0.2s ease;
  border: 2px solid #243e58;
}

.btn-quote:hover {
  background-color: #ffffff;
  transform: translateY(-2px);
  border: 2px solid #243e58;
  color: #243e58;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .about-image-col {
    border-radius: 4px 4px 0 0;
  }

  .about-content-col {
    border-radius: 0 0 4px 4px;
    padding: 40px 35px;
  }

  .about-heading {
    font-size: 30px;
  }
}

@media (max-width: 640px) {
  .about-section {
    padding: 45px 0;
  }

  .about-content-col {
    padding: 35px 25px;
  }

  .about-heading {
    font-size: 26px;
  }

  .about-text {
    max-width: 100%;
  }
}

.sd-content ul li {
  font-size: 18px;
  line-height: 1.4;
}

/* =========================================
   OUR OTHER SERVICES CAROUSEL
   ========================================= */
.other-services-section {
  padding: 50px 0 60px;
  background: #ffffff;
}

.os-title {
  font-size: 30px;
  font-weight: 800;
  color: #000000;
  margin: 0 0 30px;
}

.os-highlight {
  color: #508ec2;
}

.os-carousel-outer {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
}

.os-viewport {
  overflow: hidden;
  width: 100%;
}

.os-track {
  display: flex;
  transition: transform 0.4s ease-out;
  margin: 0 -10px;
}

/* ---------- Card ---------- */
.os-card {
  flex: 0 0 calc(25% - 20px);
  margin: 0 10px;
}

.os-card-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  height: 100%;
  background: #ffffff;
  border: 1px solid #e2e2e2 !important;
  border-bottom: 1px solid #e2e2e2 !important;
  padding: 25px 20px;
  text-decoration: none;
  box-sizing: border-box;
  transition:
    box-shadow 0.25s ease,
    transform 0.25s ease,
    border-color 0.25s ease;
}

/* .os-card-link:hover {
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
  transform: translateY(-3px);
  border-color: #ffb800;
} */

.os-icon-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 2px solid #508ec2;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: #508ec2;
}

.os-icon-circle svg {
  width: 30px;
  height: 30px;
}

.os-card-title {
  font-size: 18px;
  font-weight: 700;
  color: #000000;
  margin: 0;
  line-height: 1.4;
}

/* ---------- Nav Buttons ---------- */
.os-nav-btn {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}

.os-nav-btn svg {
  width: 16px;
  height: 16px;
}

.os-nav-prev {
  background: #508ec2;
  color: #ffffff;
}

.os-nav-next {
  background: #508ec2;
  color: #ffffff;
}

.os-nav-btn:hover {
  transform: scale(1.08);
}

.os-nav-btn.is-disabled {
  opacity: 0.35;
  cursor: default;
  pointer-events: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
  .os-card {
    flex: 0 0 calc(50% - 20px);
  }
}

@media (max-width: 600px) {
  .os-card {
    flex: 0 0 calc(100% - 20px);
  }
  .os-title {
    font-size: 24px;
  }
  .os-nav-btn {
    width: 34px;
    height: 34px;
  }
}
