/* =========================================
   SERVICE DETAILS PAGE CUSTOM STYLES
   ========================================= */
a {
  text-decoration: none !important;
  color: #f26522;
  font: bold;
}
.section-padding-top {
  padding-top: 20px;
  padding-bottom: 20px;
}

/* ---------- Hero ---------- */
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #ffffff;
  max-width: 700px;
  place-self: center;
}
.hero-section {
  position: relative;
}

.hero-section img {
  display: block;
  width: 100%;
  height: auto;    
  max-height: 350px;
}

@media (max-width: 767px) {
  .hero-section {
    height: 190px;
    overflow: hidden;
  }

  .hero-section img {
    /* width: auto; */
    max-width: none;
    height: 190px;
    object-fit: cover;
    object-position: left center;
  }
}

@media (max-width: 400px) {
  .hero-section {
    height: 135px;
  }

  .hero-section img {
    height: 135px;
  }
}

/* ---------- Main layout (content + sidebar) ---------- */
.sd-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 50px;
  margin-top: 40px;
}

.sd-content h2 {
  font-size: 36px;
  font-weight: bold;
  color: #000000;
  margin-bottom: 20px;
  line-height: 1.3;
}

.sd-content p {
  font-size: 16px;
  line-height: 1.8;
  color: #000;
  margin-bottom: 25px;
}

.sd-content h3 {
  font-size: 24px;
  font-weight: bold;
  color: #000000;
  margin-top: 30px;
  margin-bottom: 15px;
}

.sd-content a {
  font-weight: 700;
  color: #f26522;
}

/* ---------- 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: 18px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  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;
  text-align: left;
}

.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: 0px 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: 20px;
  font-weight: 800;
  color: #000000;
}

/* =========================================
   RUG CTA SECTION
   ========================================= */
.rug-cta-section {
  background: linear-gradient(135deg, #00ae44 0%, #02a241 100%);
}

.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 6px;
  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 {
  background: #f26522;
  color: #ffffff;
  border: 2px solid #f26522;
}

.rug-cta-btn--filled:hover {
  background: transparent;
  color: #000000;
}

.rug-cta-btn--outline {
  background: #ffffff;
  color: #000000;
  border: 2px solid #ffffff;
}

.rug-cta-btn--outline:hover {
  background: transparent;
  color: #ffffff;
}

.rug-cta-image {
  border: 2px solid #f26522;
}

.rug-cta-image img {
  width: 100%;
  height: 100%;
  object-fit: fill;
  display: block;
  max-height: 500px;
}

/* =========================================
   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;
  }
}
