/* ============================================================
   SERVICE DETAIL PAGE  —  service-detail.css (cleaned)
   Only rules for classes actually referenced in
   service-detail.blade.php / partials/sidebar.blade.php remain.
   ============================================================ */

a {
  color: #7aa047;
  text-decoration: none;
}

/* ── Shared container ── */
.sd-container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero-section {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 500px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.15);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  text-align: center;
}

.hero-content h1 {
  font-size: 3.5em;
  line-height: 1.1;
  margin-bottom: 20px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 800;
  color: #7aa047;
  text-shadow:
    2px 2px 0px #ffffff,
    -2px -2px 0px #ffffff,
    2px -2px 0px #ffffff,
    -2px 2px 0px #ffffff;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-cta-bar {
  position: relative;
  z-index: 1;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(2px);
  padding: 18px 0;
}

.hero-cta-content {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.hero-cta-left {
  text-align: left;
}

.hero-cta-text {
  font-size: 14px;
  font-weight: 500;
  color: #ffffff;
  margin: 0 0 4px;
  opacity: 0.9;
}

.hero-cta-phone {
  font-size: 32px;
  font-weight: 700;
  color: #ffffff;
  text-decoration: none;
  line-height: 1;
  transition: color 0.2s;
}

.hero-cta-phone:hover {
  color: #89b74c;
}

.hero-cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #89b74c;
  color: #ffffff;
  border: none;
  border-radius: 30px;
  padding: 14px 32px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: background 0.2s ease;
  white-space: nowrap;
}

.hero-cta-button:hover {
  background: #6fae2e;
  color: #ffffff;
  text-decoration: none;
}

@media (max-width: 768px) {
  .hero-section {
    min-height: 400px;
  }

  .hero-content h1 {
    font-size: 32px;
  }

  .hero-cta-content {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .hero-cta-left {
    text-align: center;
  }

  .hero-cta-phone {
    font-size: 24px;
  }

  .hero-cta-button {
    max-width: 280px;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 26px;
  }

  .hero-cta-phone {
    font-size: 20px;
  }
}

/* ============================================================
   SIDEBAR + MAIN LAYOUT WRAPPER
   ============================================================ */
.sd-page-wrap {
  background: #f0f5e8;
  padding: 40px 0 60px;
}

.sd-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 30px;
  align-items: start;
  margin-top: 40px;
}

.sd-layout__sidebar {
  position: sticky;
  top: 50px;
}

.sd-layout__main {
  max-width: 820px;
  /* width: 100%; */
  background: #ffffff;
  padding: 28px 32px;
}

/* ── Mobile: Sidebar moves below content ── */
@media (max-width: 992px) {
  .sd-layout {
    grid-template-columns: 1fr; /* Stack vertically */
    gap: 24px;
  }

  .sd-layout__sidebar {
    position: static; /* Remove sticky */
    order: 2; /* Move sidebar BELOW main content */
    /* max-width: 100%; */
    width: 100%;
  }

  .sd-layout__main {
    order: 1; /* Main content first */
    /* max-width: 100%; */
    padding: 20px;
  }

  .sd-page-wrap {
    padding: 24px 0 40px;
  }
}

@media (max-width: 768px) {
  .sd-layout {
    gap: 16px;
  }

  .sd-layout__main {
    padding: 16px;
  }

  .sd-main-body h2 {
    font-size: 1.6em;
  }

  .sd-main-body p {
    font-size: 1rem;
  }

  .sd-choose-box ul {
    grid-template-columns: 1fr; /* Single column cards */
  }
}
@media (max-width: 992px) {
  .sd-layout__main {
    max-width: 100%;
  }
}

.sd-featured-img {
  /* max-width: 340px; */
  /* border-radius: 8px 40px 8px 8px; */
  overflow: hidden;
  margin-bottom: 24px;
}

.sd-featured-img img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 320px;
  object-fit: fill;
}

.sd-main-body {
  margin-bottom: 28px;
}

.sd-main-body h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: rgb(0, 0, 0);
  margin: 20px 0 10px;
  text-align: left;
}

.sd-main-body h2 {
  font-size: 2.2em;
  font-weight: 700;
  color: #000000;
  margin-bottom: 20px;
  line-height: 1.3;
  text-align: left;
}

.sd-main-body h2 span,
.sd-main-body h2 .cyan,
.sd-main-body h3 span {
  color: #89b74c;
}

.sd-main-body h3 {
  font-size: 20px;
  font-weight: 600;
  color: rgb(0, 0, 0);
  margin: 20px 0 10px;
  text-align: left;
}

.sd-main-body p {
  font-size: 1.2rem;
  line-height: 1.4;
  color: #000000;
  margin-bottom: 20px;
  text-align: left;
}

/* ============================================================
   WHY CHOOSE BOX — Transforms CMS <ul><li> into designed cards
   ============================================================ */
.sd-choose-box {
  background: #ffffff;
  border-radius: 8px;
  /* padding: 28px 26px; */
  margin-bottom: 28px;
}

.sd-choose-box h1,
.sd-choose-box h2,
.sd-choose-box h3 {
  font-size: 28px;
  font-weight: 800;
  color: #1a1a1a;
  margin: 0 0 24px;
  font-family: "Open Sans Condensed", sans-serif;
}

.sd-choose-box h1 span,
.sd-choose-box h2 span,
.sd-choose-box h3 span {
  color: #89b74c;
}

.sd-choose-box ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  counter-reset: choose-num;
}

.sd-choose-box ul li {
  position: relative;
  background: #ffffff;
  border: 2px solid #89b74c;
  border-radius: 10px;
  padding: 18px 18px 18px 48px;
  font-size: 14px;
  line-height: 1.6;
  color: #333333;
  margin: 0;
  counter-increment: choose-num;
}

.sd-choose-box ul li:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(122, 160, 71, 0.3);
  border-color: #7aa047;
}

.sd-choose-box ul li::before {
  content: counter(choose-num);
  position: absolute;
  left: 14px;
  top: 16px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #ffffff;
  color: #89b74c;
  font-size: 20px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.sd-choose-box ul li::marker {
  display: none;
}

.sd-choose-box ul li strong,
.sd-choose-box ul li b {
  display: block;
  font-weight: 700;
  color: #1a1a1a;
  font-size: 15px;
  margin-bottom: 4px;
}

.sd-choose-box ul li p,
.sd-choose-box ul li span {
  margin: 0;
  font-size: 18px;
  line-height: 1.6;
  color: #333333;
  display: inline;
}

@media (max-width: 768px) {
  .sd-choose-box ul {
    grid-template-columns: 1fr;
  }

  .sd-choose-box {
    padding: 20px 18px;
  }

  .sd-choose-box h2,
  .sd-choose-box h3 {
    font-size: 22px;
  }
}

/* ============================================================
   FAQ SECTION
   ============================================================ */
.faq-section {
  background: #f0f8e8;
  padding: 60px 0 70px;
}

.faq-container {
  max-width: 1152px;
  margin: 0 auto;
  padding: 0 20px;
}

.faq-header {
  text-align: center;
  margin-bottom: 35px;
}

.faq-eyebrow-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 12px;
}

.faq-eyebrow-line {
  width: 40px;
  height: 1px;
  background: #89b74c;
}

.faq-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #89b74c;
  text-transform: uppercase;
}

.faq-title {
  font-family: "Open Sans Condensed", sans-serif;
  font-size: 34px;
  font-weight: 800;
  color: #1a1a1a;
  margin: 0;
}

.faq-title .text-green {
  color: #89b74c;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.2s ease;
}

.faq-item.is-open {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 24px;
  font-size: 16px;
  font-weight: 600;
  color: #1a1a1a;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: center;
  transition: color 0.2s ease;
  line-height: 1.4;
}

.faq-question:hover {
  color: #89b74c;
}

.faq-q-text {
  flex: 1;
  text-align: center;
}

.faq-num {
  font-weight: 700;
  color: #1a1a1a;
  margin-right: 2px;
}

.faq-arrow {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #89b74c;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.faq-arrow-icon {
  width: 14px;
  height: 14px;
  transition: transform 0.3s ease;
}

.faq-item.is-open .faq-arrow-icon {
  transform: rotate(180deg);
}

.faq-item.is-open .faq-arrow {
  background: #6fae2e;
}

.faq-answer {
  padding: 0 24px 20px;
  text-align: center;
}

.faq-answer[hidden] {
  display: none;
}

.faq-answer p {
  font-size: 15px;
  line-height: 1.75;
  color: #000000;
  margin: 0;
  padding: 0 20px;
}

@media (max-width: 768px) {
  .faq-section {
    padding: 40px 0 50px;
  }

  .faq-title {
    font-size: 28px;
  }

  .faq-question {
    font-size: 14px;
    padding: 16px 18px;
  }

  .faq-answer p {
    font-size: 14px;
    padding: 0;
  }
}
/* ============================================================
   SIDEBAR
   ============================================================ */
.sidebar-box {
  width: 100%;
  max-width: 280px;
  /* padding: 20px; */
}

/* ── All Services ── */
.sd-sidebar {
  background: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  margin-bottom: 20px;
}

.sd-sidebar-title {
  background: #89b74c;
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  padding: 14px 16px;
  margin: 0;
}

@media (max-width: 992px) {
  .sidebar-box {
    max-width: 100%; /* Full width on mobile */
  }

  .sd-sidebar,
  .sd-sidebar-form {
    max-width: 100%;
  }
}
.sd-sidebar-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sd-sidebar-item {
  border-bottom: 1px solid #f0f0f0;
}

.sd-sidebar-item:last-child {
  border-bottom: none;
}

.sd-sidebar-item a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  text-decoration: none;
  color: #333333;
  font-size: 14px;
  font-weight: 600;
  transition: background 0.2s ease;
}

.sd-sidebar-item a:hover {
  background: #f8faf5;
}

.sd-sidebar-item.active a {
  background: #f0f7e8;
  color: #6fae2e;
}

/* Circular Icon */
.sd-sidebar-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f5f5f5;
}

.sd-sidebar-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sd-sidebar-text {
  line-height: 1.3;
}

/* ── Have A Question Form ── */
.sd-sidebar-form {
  background: #ffffff;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.sd-sidebar-form-title {
  font-size: 18px;
  font-weight: 700;
  color: #89b74c;
  text-align: center;
  margin: 0 0 16px;
}

.sd-form-group {
  margin-bottom: 12px;
}

.sd-form-group input,
.sd-form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #f5f7ed;
  border-radius: 6px;
  font-size: 13px;
  color: #333333;
  background: #d4e0c5;
  outline: none;
  font-family: "Open Sans", sans-serif;
  box-sizing: border-box;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}

.sd-form-group input::placeholder,
.sd-form-group textarea::placeholder {
  color: #aaaaaa;
}

.sd-form-group input:focus,
.sd-form-group textarea:focus {
  border-color: #89b74c;
  box-shadow: 0 0 0 3px rgba(137, 183, 76, 0.12);
}

.sd-form-group textarea {
  resize: vertical;
  min-height: 80px;
}

.sd-form-submit {
  width: 100%;
  padding: 12px 16px;
  background: #89b74c;
  color: #ffffff;
  border: none;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: background 0.2s ease;
  font-family: "Open Sans", sans-serif;
}

.sd-form-submit:hover {
  background: #6fae2e;
}

/* Responsive */
@media (max-width: 992px) {
  .sidebar-box {
    max-width: 100%;
  }
}
@media (max-width: 768px) {
  .hero-section {
    min-height: 350px;
  }

  .hero-content {
    padding: 40px 20px;
  }

  .hero-content h1 {
    font-size: 28px;
    line-height: 1.2;
  }

  .hero-cta-bar {
    padding: 14px 0;
  }

  .hero-cta-content {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .hero-cta-left {
    text-align: center;
  }

  .hero-cta-text {
    font-size: 12px;
  }

  .hero-cta-phone {
    font-size: 22px;
  }

  .hero-cta-button {
    padding: 12px 24px;
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 22px;
  }

  .hero-cta-phone {
    font-size: 18px;
  }
}
@media (max-width: 768px) {
  .faq-section {
    padding: 40px 0 50px;
  }

  .faq-title {
    font-size: 24px;
  }

  .faq-question {
    font-size: 14px;
    padding: 14px 16px;
    text-align: left; /* Better on mobile */
  }

  .faq-q-text {
    text-align: left;
  }

  .faq-answer {
    padding: 0 16px 16px;
    text-align: left;
  }

  .faq-answer p {
    padding: 0;
    font-size: 14px;
  }

  .faq-arrow {
    width: 24px;
    height: 24px;
  }

  .faq-arrow-icon {
    width: 12px;
    height: 12px;
  }
}
@media (max-width: 768px) {
  .sd-choose-box ul {
    grid-template-columns: 1fr; /* Single column */
    gap: 12px;
  }

  .sd-choose-box ul li {
    padding: 16px 16px 16px 44px;
    font-size: 13px;
  }

  .sd-choose-box ul li::before {
    width: 22px;
    height: 22px;
    font-size: 16px;
    left: 12px;
    top: 14px;
  }

  .sd-choose-box ul li strong,
  .sd-choose-box ul li b {
    font-size: 14px;
  }
}
@media (max-width: 1284px) {
  .sd-layout__main {
  }
}
