/* ==========================================================================
   Shivanya Systems - Simple Service Detail Page Stylesheet
   Matches exact site typography, colors, spacing, and clean aesthetic
   ========================================================================== */

:root {
  --brand-red: #bf1119;
  --brand-red-hover: #9e0e14;
  --brand-red-light: #f9e7e8;
  --brand-red-bg: #fdf8f8;
  --text-dark: #222222;
  --text-muted: #555555;
  --text-light: #777777;
  --border-color: #e5e5e5;
  --border-light: #f0f0f0;
  --bg-white: #ffffff;
  --font-bold: "Barlow-Bold";
  --font-extrabold: "Barlow-ExtraBold";
  --font-medium: "Barlow-Medium";
  --font-regular: "Barlow-Regular";
  --font-semibold: "Barlow-SemiBold";
}

/* --------------------------------------------------------------------------
   Simple Service Detail Container
   -------------------------------------------------------------------------- */
.srvc-simple-dtl {
  padding: 80px 0;
  background-color: #ffffff;
}
/* 
.sd-content-container {
  max-width: 1050px;
  margin: 0 auto;
  padding: 0 15px;
} */

/* --------------------------------------------------------------------------
   Featured Hero Image
   -------------------------------------------------------------------------- */
.sd-featured-media {
  position: relative;
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  margin-bottom: 40px;
}

.sd-featured-media > img,
.sd-featured-media .sd-hero-main-img {
  width: 100% !important;
  height: 440px !important;
  object-fit: cover !important;
  display: block !important;
  max-width: none;
}

.sd-media-badge {
  position: absolute;
  left: 25px;
  bottom: 25px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  padding: 8px 18px;
  border-radius: 30px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  width: auto !important;
  height: auto !important;
  max-width: max-content !important;
  max-height: 44px !important;
  z-index: 2;
  box-sizing: border-box;
}

.sd-media-badge img {
  width: 20px !important;
  min-width: 20px !important;
  max-width: 20px !important;
  height: 20px !important;
  min-height: 20px !important;
  max-height: 20px !important;
  object-fit: contain !important;
  display: block !important;
  flex-shrink: 0 !important;
  margin: 0 !important;
}

.sd-media-badge span {
  font: 14px/20px var(--font-bold);
  color: var(--text-dark);
  white-space: nowrap;
  display: inline-block;
  line-height: 20px;
}

/* --------------------------------------------------------------------------
   Service Intro & Typography
   -------------------------------------------------------------------------- */
.sd-info-head {
  margin-bottom: 40px;
}

.sd-tag {
  font: 15px/23px var(--font-bold);
  color: var(--brand-red);
  border: 2px solid;
  border-color: transparent var(--brand-red) transparent var(--brand-red);
  display: inline-block;
  padding: 0 10px;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.sd-title {
  margin-bottom: 12px;
}

.sd-subtitle-tech {
  font: 20px/28px var(--font-medium);
  color: var(--brand-red);
  margin-bottom: 22px;
  display: block;
}

.sd-lead {
  font: 19px/28px var(--font-medium);
  color: #333333;
  margin-bottom: 16px;
}

.sd-desc {
  font: 17px/27px var(--font-regular);
  color: var(--text-muted);
  margin-bottom: 25px;
}

/* Tech Badges */
.sd-tech-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.sd-tech-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #fafafa;
  border: 1px solid #e8e8e8;
  padding: 7px 16px;
  border-radius: 20px;
  font: 14px/20px var(--font-bold);
  color: var(--text-dark);
  transition: all 0.25s ease;
}

.sd-tech-pill::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--brand-red);
}

.sd-tech-pill:hover {
  background-color: var(--brand-red-bg);
  border-color: var(--brand-red);
  color: var(--brand-red);
}

/* --------------------------------------------------------------------------
   Key Capabilities & Content Section
   -------------------------------------------------------------------------- */
.sd-offerings-sec {
  margin-bottom: 50px;
}

.sd-custom-content-sec {
  margin-bottom: 50px;
}

.sd-section-title {
  font: 26px/34px var(--font-bold);
  color: var(--text-dark);
  margin-bottom: 16px;
}

.sd-section-title.mt-4 {
  margin-top: 36px;
  margin-bottom: 16px;
}

.sd-text-p {
  font: 16px/26px var(--font-regular);
  color: var(--text-dark);
  margin-bottom: 16px;
}

.sd-arrow-list {
  list-style: none;
  margin: 18px 0 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.sd-arrow-list li {
  background: none !important;
  padding-left: 0 !important;
  display: flex;
  align-items: flex-start;
  gap: 5px;
  font: 19px/27px var(--font-medium);
  color: var(--text-dark);
}

.sd-arrow-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 4px;
  color: red;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.sd-arrow-icon svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
}

.sd-sec-heading {
  font: 28px/36px var(--font-bold);
  color: var(--text-dark);
  margin-bottom: 25px;
}

.sd-offerings-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
}

.sd-offering-card {
  background-color: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 30px 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  transition: all 0.3s ease;
}

.sd-offering-card:hover {
  border-color: rgba(191, 17, 25, 0.3);
  box-shadow: 0 10px 25px rgba(191, 17, 25, 0.08);
  transform: translateY(-3px);
}

.sd-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background-color: var(--brand-red-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.sd-card-icon img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.sd-offering-card h3 {
  font: 20px/26px var(--font-bold);
  color: var(--text-dark);
  margin-bottom: 10px;
}

.sd-offering-card p {
  font: 15px/24px var(--font-medium);
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   Highlights & Quality Standards Box
   -------------------------------------------------------------------------- */
.sd-highlights-box {
  background-color: var(--brand-red-bg);
  border: 1px solid rgba(191, 17, 25, 0.15);
  border-radius: 20px;
  padding: 35px 30px;
  margin-bottom: 50px;
}

.sd-highlights-box h3 {
  font: 24px/32px var(--font-bold);
  color: var(--text-dark);
  margin-bottom: 10px;
}

.sd-highlights-box p {
  font: 19px/27px var(--font-medium);
  color: var(--text-muted);
  margin-bottom: 25px;
}

.sd-checklist {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 24px;
}

.sd-check-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: unset !important;
  padding-left: unset !important;
}

.sd-check-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  margin-top: 2px;
}

.sd-check-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.sd-check-item span {
  font: 17px/25px var(--font-medium);
  color: var(--text-dark);
}

.sd-check-item span strong {
  font-family: var(--font-bold);
}

/* --------------------------------------------------------------------------
   Simple Call To Action Card
   -------------------------------------------------------------------------- */
.sd-cta-banner {
  background: linear-gradient(135deg, #1b1b1b 0%, #292929 100%);
  border-radius: 20px;
  padding: 40px;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  position: relative;
  overflow: hidden;
}

.sd-cta-banner::after {
  content: "";
  position: absolute;
  right: -40px;
  top: -40px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(191, 17, 25, 0.4) 0%,
    rgba(191, 17, 25, 0) 70%
  );
  pointer-events: none;
}

.sd-cta-info h3 {
  font: 28px/36px var(--font-extrabold);
  color: #ffffff;
  margin-bottom: 8px;
}

.sd-cta-info p {
  font: 16px/24px var(--font-medium);
  color: #cccccc;
}

.sd-cta-btn-wrap {
  flex-shrink: 0;
}

.sd-cta-btn-wrap .btn-ef {
  font: 17px/22px var(--font-bold);
  padding: 15px 32px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

/* Rich HTML from the service CMS (lists, headings, paragraphs) */
.sd-html p,
.sd-html ul,
.sd-html ol {
  margin: 0 0 16px;
}
.sd-html p:last-child,
.sd-html ul:last-child,
.sd-html ol:last-child {
  margin-bottom: 0;
}
.sd-info-head .sd-html p {
  font: 17px/27px var(--font-regular);
  color: var(--text-muted);
}
.sd-info-head .sd-html p:first-child {
  font: 19px/28px var(--font-medium);
  color: #333333;
}
.sd-custom-content-sec .sd-html p,
.sd-custom-content-sec .sd-html li {
  font: 16px/26px var(--font-regular);
  color: var(--text-muted);
}
.sd-html h2,
.sd-html h3,
.sd-html h4 {
  font: 26px/34px var(--font-bold);
  color: var(--text-dark);
  margin: 36px 0 16px;
}
.sd-html h2:first-child,
.sd-html h3:first-child,
.sd-html h4:first-child {
  margin-top: 0;
}
.sd-html h3 {
  font-size: 22px;
  line-height: 30px;
}
.sd-html h4 {
  font-size: 18px;
  line-height: 26px;
}
.sd-html ul,
.sd-html ol {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.sd-html ul li,
.sd-html ol li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font: 16px/26px var(--font-medium);
  color: var(--text-muted);
  padding-left: 0;
}
.sd-html ul li::before {
  content: "";
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 4px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231e70bf' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 9v5a3 3 0 0 0 3 3h11'/%3E%3Cpolyline points='14 13 18 17 14 21'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 16px 16px;
}
.sd-html ol {
  counter-reset: sd-item;
}
.sd-html ol li {
  counter-increment: sd-item;
}
.sd-html ol li::before {
  content: counter(sd-item) ".";
  flex-shrink: 0;
  margin-top: 0;
  color: #1e70bf;
  font: 16px/26px var(--font-bold);
  min-width: 18px;
}
.sd-html a {
  color: var(--brand-red);
}
.sd-html strong,
.sd-html b {
  font-family: var(--font-bold);
  color: var(--text-dark);
}

/* Override global site li/img/heading rules so this page matches the tester */
/* .srvc-simple-dtl li {
  background: none !important;
  padding-left: 0 !important;
  list-style: none !important;
} */

.srvc-simple-dtl .sd-title {
  color: var(--text-dark) !important;
}

/* 
.srvc-simple-dtl .sd-highlights-box h3,
.srvc-simple-dtl .sd-html h3 {
  font: 22px/30px var(--font-bold) !important;
  color: var(--text-dark) !important;
} */

.srvc-simple-dtl .sd-cta-info h3 {
  font: 28px/36px var(--font-extrabold) !important;
  color: #ffffff !important;
}

.srvc-simple-dtl .sd-lead {
  font: 19px/28px var(--font-medium) !important;
  color: #333333 !important;
}
.sd-content-container p a{
  font: 19px/28px var(--font-medium) !important;  
}
.srvc-simple-dtl .sd-desc,
.srvc-simple-dtl .sd-html p {
  font: 17px/27px var(--font-regular) !important;
  color: var(--text-dark) !important;
}

.srvc-simple-dtl .sd-text-p,
.srvc-simple-dtl .sd-custom-content-sec .sd-html p {
  font: 19px/27px var(--font-medium) !important;
}

.srvc-simple-dtl .sd-arrow-list li {
  background: none !important;
  padding-left: 0 !important;
}

.srvc-simple-dtl .sd-media-badge {
  max-height: none !important;
  height: auto !important;
}

.srvc-simple-dtl .sd-media-badge img,
.srvc-simple-dtl .sd-check-icon img,
.srvc-simple-dtl .sd-cta-btn-wrap img {
  display: block !important;
}

@media screen and (max-width: 991px) {
  .srvc-simple-dtl .sd-title {
  }
}

@media screen and (max-width: 767px) {
  .srvc-simple-dtl .sd-title {
  }
  .srvc-simple-dtl .sd-featured-media > img,
  .srvc-simple-dtl .sd-featured-media .sd-hero-main-img {
    height: 240px !important;
  }
  .srvc-simple-dtl .sd-lead ,.sd-content-container p a{
    font-size: 15px !important;
    line-height: 24px;
  }
}
/* --------------------------------------------------------------------------
   Responsive Media Queries
   -------------------------------------------------------------------------- */
@media screen and (max-width: 991px) {
  .sd-featured-media > img,
  .sd-featured-media .sd-hero-main-img {
    height: 340px;
  }
  .sd-title {
  }
  .sd-cta-banner {
    flex-direction: column;
    text-align: center;
  }
  .sd-cta-btn-wrap {
    width: 100%;
    display: flex;
    justify-content: center;
  }
  .srvc-simple-dtl .sd-cta-info h3 {
    font-size: 25px !important;
    line-height: 32px !important;
  }
}

@media screen and (max-width: 767px) {
  .srvc-simple-dtl {
    padding: 50px 0;
  }
  .sd-featured-media > img,
  .sd-featured-media .sd-hero-main-img {
    height: 240px;
  }
  .sd-media-badge {
    left: 15px;
    bottom: 15px;
    padding: 6px 14px;
    max-height: 36px !important;
  }
  .sd-media-badge img {
    width: 16px !important;
    min-width: 16px !important;
    max-width: 16px !important;
    height: 16px !important;
    min-height: 16px !important;
    max-height: 16px !important;
  }
  .sd-media-badge span {
    font-size: 12px;
    line-height: 16px;
  }
  .sd-title {
  }
  .sd-subtitle-tech {
    font: 17px/24px var(--font-medium);
  }
  .sd-lead ,.sd-content-container p a{
    font: 17px/25px var(--font-medium);
  }
  .sd-desc {
    font: 15px/23px var(--font-regular);
  }
  .sd-offerings-grid,
  .sd-checklist {
    grid-template-columns: 1fr;
  }
  .sd-highlights-box {
    padding: 25px 20px;
  }
  .sd-cta-banner {
    padding: 30px 20px;
  }
  .sd-cta-info h3 {
    font: 22px/28px var(--font-extrabold);
  }
  .sd-check-item span strong {
    font-size: 17px !important;
    line-height: 25px !important;
  }
  .sd-check-icon {
    width: 18px;
    height: 18px;

}
  .srvc-simple-dtl .sd-text-p,
  .srvc-simple-dtl .sd-custom-content-sec .sd-html p,
  .sd-arrow-list li,
  .sd-highlights-box p,
  .sd-cta-info p,
  .sd-check-item span {
    font-size: 15px !important;
    line-height: 23px !important;
  }
  .sd-cta-banner {
    gap: 19px;
  }
  .srvc-simple-dtl .sd-cta-info h3 {
    font-size: 20px !important;
    line-height: 28px !important;
  }
  .sd-cta-btn-wrap .btn-ef {
    font-size: 15px;
    line-height: 23px;
    padding: 13px 30px;
  }
}
