/* Service detail page — uses existing AnuSri brand tokens from custom.css */
.service-detail-section {
  padding: 50px 0 80px;
  background: var(--bg-color, #f5f5f5);
}

.service-detail-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: sticky;
  top: 110px;
}

.sd-explore-box {
  background: var(--white-color, #fff);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(26, 54, 104, 0.08);
}

.sd-explore-box h3 {
  margin: 0;
  padding: 18px 22px;
  background: var(--primary-color, var(--primary-color));
  color: #fff;
  font-size: 18px;
  font-weight: 700;
}

.sd-explore-box ul {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 420px;
  overflow-y: auto;
}

.sd-explore-box li + li {
  border-top: 1px solid var(--divider-color, rgba(26, 54, 104, 0.1));
}

.sd-explore-box a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 20px;
  color: var(--primary-color, var(--primary-color));
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  text-decoration: none;
  transition: color 0.25s ease, background 0.25s ease, padding-left 0.25s ease;
}

.sd-explore-box a:hover,
.sd-explore-box a:focus-visible {
  color: var(--accent-color, var(--accent-color));
  background: rgba(0, 174, 239, 0.06);
  padding-left: 24px;
  outline: none;
}

.sd-explore-box a.active {
  background: rgba(0, 174, 239, 0.1);
  color: var(--accent-color, var(--accent-color));
  font-weight: 600;
}

.sd-explore-box a i {
  font-size: 12px;
  color: var(--accent-color, var(--accent-color));
  flex-shrink: 0;
}

.sd-contact-box {
  background: var(--primary-color, var(--primary-color));
  border-radius: 20px;
  padding: 28px 24px;
  color: #fff;
  box-shadow: 0 8px 28px rgba(26, 54, 104, 0.16);
}

.sd-contact-box h3 {
  color: #fff;
  font-size: 22px;
  margin-bottom: 12px;
}

.sd-contact-box > p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  line-height: 1.65;
  margin-bottom: 22px;
}

.sd-contact-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sd-contact-actions .btn-default {
  margin: 0;
  text-align: center;
  width: 100%;
}

.sd-contact-actions .btn-default.btn-highlighted {
  background: var(--accent-color, var(--accent-color));
  color: #fff;
}

.service-detail-hero {
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 24px;
  box-shadow: 0 8px 28px rgba(26, 54, 104, 0.1);
  aspect-ratio: 16 / 9;
  background: #e8ecf3;
}

.service-detail-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sd-callout {
  background: rgba(0, 174, 239, 0.1);
  border-left: 4px solid var(--accent-color, var(--accent-color));
  border-radius: 12px;
  padding: 18px 20px;
  color: var(--primary-color, var(--primary-color));
  font-size: 15px;
  line-height: 1.65;
  margin-bottom: 28px;
}

.service-detail-content > h2 {
  color: var(--primary-color, var(--primary-color));
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 14px;
}

.sd-intro {
  color: var(--text-color, #424c6f);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 32px;
}

.sd-info-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 40px;
}

.sd-info-card {
  background: #fff;
  border-radius: 20px;
  padding: 24px 20px;
  box-shadow: 0 6px 24px rgba(26, 54, 104, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.sd-info-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(26, 54, 104, 0.14);
}

.sd-info-card .icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(0, 174, 239, 0.12);
  color: var(--accent-color, var(--accent-color));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 14px;
}

.sd-info-card h3 {
  color: var(--primary-color, var(--primary-color));
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}

.sd-info-card p {
  color: var(--text-color, #424c6f);
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

.sd-block {
  margin-bottom: 44px;
}

.sd-block h2 {
  color: var(--primary-color, var(--primary-color));
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
  margin-bottom: 14px;
}

.sd-block > p {
  color: var(--text-color, #424c6f);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 18px;
}

.sd-condition-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 20px;
}

.sd-condition-list li {
  position: relative;
  padding-left: 28px;
  color: var(--text-color, #424c6f);
  font-size: 15px;
  line-height: 1.5;
}

.sd-condition-list li::before {
  content: "\f058";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 1px;
  color: var(--accent-color, var(--accent-color));
  font-size: 15px;
}

.sd-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 24px;
  align-items: center;
}

.sd-split-media {
  border-radius: 20px;
  overflow: hidden;
  min-height: 280px;
  box-shadow: 0 8px 28px rgba(26, 54, 104, 0.1);
}

.sd-split-media img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  display: block;
}

.sd-trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 44px;
}

.sd-trust-card {
  background: #fff;
  border-radius: 20px;
  padding: 28px 20px;
  text-align: center;
  box-shadow: 0 6px 24px rgba(26, 54, 104, 0.08);
}

.sd-trust-card h3 {
  color: var(--primary-color, var(--primary-color));
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 8px;
}

.sd-trust-card p {
  color: var(--text-color, #424c6f);
  font-size: 14px;
  margin: 0;
  line-height: 1.5;
}

.sd-benefits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: center;
}

.sd-benefit-item {
  display: flex;
  gap: 14px;
  margin-bottom: 18px;
}

.sd-benefit-item .icon-box {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(0, 174, 239, 0.12);
  color: var(--accent-color, var(--accent-color));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sd-benefit-item h3 {
  color: var(--primary-color, var(--primary-color));
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}

.sd-benefit-item p {
  color: var(--text-color, #424c6f);
  font-size: 14px;
  line-height: 1.55;
  margin: 0;
}

.sd-faq-wrap {
  margin-bottom: 20px;
}

.sd-faq-wrap .faq-accordion-prime {
  margin-top: 20px;
}

.sd-faq-note {
  margin-top: 16px;
  font-size: 13px;
  color: var(--text-color, #424c6f);
  font-style: italic;
  line-height: 1.55;
}

.sd-geo-block {
  background: #fff;
  border-radius: 20px;
  padding: 28px 26px;
  box-shadow: 0 6px 24px rgba(26, 54, 104, 0.08);
  border-top: 4px solid var(--accent-color, var(--accent-color));
}

.sd-geo-block h2 {
  margin-bottom: 12px;
}

.sd-geo-meta {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.sd-geo-meta li {
  color: var(--text-color, #424c6f);
  font-size: 14px;
  line-height: 1.55;
  padding-left: 0;
}

.sd-geo-meta a {
  color: var(--accent-color, var(--accent-color));
  text-decoration: underline;
}

.sd-geo-meta a:focus-visible {
  outline: 2px solid var(--accent-color, var(--accent-color));
  outline-offset: 2px;
}

.sd-final-cta {
  position: relative;
  overflow: hidden;
  margin: 0 15px 15px;
  padding: 70px 20px;
  border-radius: 20px;
  text-align: center;
  background-color: var(--primary-color);
  background-image:
    linear-gradient(
      90deg,
      rgba(26, 54, 104, 0.82) 0%,
      rgba(26, 54, 104, 0.7) 50%,
      rgba(26, 54, 104, 0.82) 100%
    ),
    linear-gradient(180deg, rgba(26, 54, 104, 0.3) 0%, rgba(26, 54, 104, 0.88) 100%),
    url("../images/hero-bg-image-prime.jpg"),
    url("../images/padmaja/about-2.png");
  background-size: cover, cover, 50% 100%, 50% 100%;
  background-position: center, center, left center, right center;
  background-repeat: no-repeat;
}

.sd-final-cta .container {
  position: relative;
  z-index: 1;
}

.sd-final-cta h2 {
  color: #fff;
  font-size: clamp(24px, 3.5vw, 36px);
  margin-bottom: 14px;
}

.sd-final-cta p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 16px;
  max-width: 640px;
  margin: 0 auto 28px;
  line-height: 1.65;
}

.sd-final-cta .services-hero-btns {
  justify-content: center;
}

.sd-fallback {
  padding: 80px 20px;
  text-align: center;
}

.sd-fallback h1 {
  color: var(--primary-color, var(--primary-color));
  margin-bottom: 12px;
}

.sd-fallback p {
  color: var(--text-color, #424c6f);
  margin-bottom: 24px;
}

@media (max-width: 992px) {
  .service-detail-sidebar {
    position: static;
    margin-bottom: 12px;
  }

  .sd-info-cards,
  .sd-trust-grid,
  .sd-benefits-grid,
  .sd-split {
    grid-template-columns: 1fr;
  }

  .sd-condition-list {
    grid-template-columns: 1fr;
  }

  .sd-explore-box ul {
    max-height: 280px;
  }
}

@media (max-width: 576px) {
  .service-detail-section {
    padding: 30px 0 50px;
  }

  .sd-info-cards {
    grid-template-columns: 1fr;
  }

  .sd-final-cta {
    margin: 0 10px 10px;
    padding: 50px 16px;
    background-size: cover, cover, 100% 50%, 100% 50%;
    background-position: center, center, center top, center bottom;
  }

  .service-detail-hero {
    aspect-ratio: 4 / 3;
  }
}
