/* =============================================================
   service-detail.css — Service Detail page (e.g. DevOps Solutions)
   All rem values based on global.css base (19px)

   REUSE MAP — classes intentionally NOT redefined here because
   they already exist elsewhere and are reused as-is:
     .container, .btn-secondary                         -> global.css
     .cta-section / .cta-inner / .cta-content /
       .cta-heading / .cta-btn                           -> global.css
     .testimonials-header / .testimonials-title /
       .testimonial-card / .testimonials-track ...       -> global.css
     .why-choose-right / .shadow-backdrop /
       .purple-container                                 -> global.css
     .accordion / .accordion-item / .accordion-header /
       .accordion-title / .accordion-content /
       .accordion-icon                                   -> global.css
       (bound automatically by initAccordion() in main.js)
     .ind-accordion / .ind-accordion-body /
       .ind-accordion-img-wrap / .ind-accordion-desc      -> industries.css
     .ind-revolutionize-header / -title / -underline      -> industries.css
     .ind-serve-section / -header / -title / -underline /
       -subtitle / -list / -divider / -row / -item /
       -icon / -text / -item-title / -item-desc           -> industries.css

   Everything below is unique to the Service Detail page:
     1. Hero
     2. "Why It Matters" benefits grid
     3. "Why Choose Us" feature list (image + list, static)
   ============================================================= */

/* ---------------------------------------------------------------
   Shared accent color for this page's section headings.
   Figma uses #006cc2 for these particular headline highlights.
--------------------------------------------------------------- */
.sd-accent {
  color: #006cc2;
}

/* ---------------------------------------------------------------
   1. HERO
--------------------------------------------------------------- */
.sd-hero {
  /* background-color: var(--bg-white); */
  padding-top: 11.91rem;
  padding-bottom: 6.316rem;
  overflow: hidden;
  min-height: 46.105rem;
}

.sd-hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.895rem;
  /* 36px / 19 */
  text-align: center;
}

.sd-hero-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.368rem;
  /* 45px / 19 */
  width: 100%;
}

.sd-hero-title-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.263rem;
  /* 24px / 19 */
  width: 100%;
}

.sd-hero-title-wrap {
  position: relative;
  max-width: 53.79rem;
  /* 1022px / 19 */
}

.sd-hero-title {
  font-family: var(--font-primary);
  font-weight: 500;
  font-size: 3.75rem;
  /* 60px / 19 */
  line-height: 5rem;
  /* 80px / 19 */
  color: var(--base-dark);
  text-align: center;
}

.sd-hero-title .sd-accent {
  font-weight: 600;
}


.sd-hero-desc {
  font-family: var(--font-primary);
  font-weight: 300;
  font-size: 1rem;
  /* 19px / 19 */
  line-height: 1.9375rem;
  /* 31px / 19 */
  color: var(--base-dark);
  max-width: 62.53rem;
  /* 1188px / 19 */
  text-align: center;
}

.sd-hero-desc strong {
  font-weight: 500;
}

.sd-hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 2.632rem;
  /* 50px / 19 */
  width: 8.789rem;
  /* 167px / 19 */
  border-radius: 1.579rem;
  border: 0.042rem solid var(--base-dark);
  background: transparent;
  color: var(--base-dark);
  font-family: var(--font-primary);
  font-size: 0.842rem;
  font-weight: 400;
  transition: all 0.3s ease;
  white-space: nowrap;
}

/* .sd-hero-btn:hover {
  background-color: var(--base-dark);
  color: var(--bg-white);
  transform: translateY(-2px);
} */

.sd-hero-image {
  width: 43.11rem;
  /* 819px / 19 */
  max-width: 100%;
  height: 19.263rem;
  /* 366px / 19 */
  border-radius: 0.632rem;
  overflow: hidden;
  margin-top: 0.5rem;
}

.sd-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 1024px) {
  .sd-hero {
    padding: 10rem 0 3rem;
  }

  .sd-hero-title {
    font-size: 2.4rem;
    line-height: 1.3;
  }

  .sd-hero-image {
    height: 14rem;
  }
}

@media (max-width: 600px) {
  .sd-hero-title {
    font-size: 1.8rem;
  }
}

/* global.css caps .accordion-item.active .accordion-content at a
   fixed 200px (sized for the small why-choose accordion). This
   page's accordion items are taller (image + list), so give the
   pre-opened item room to render correctly before main.js's click
   handler takes over and sets an exact inline height. */


/* ---------------------------------------------------------------
   2. "WHY IT MATTERS" BENEFITS GRID
--------------------------------------------------------------- */
.sd-benefits-section {
  background-color: var(--bg-light);
  padding: 5.789rem 0;
  /* 110px / 19 */
}

.sd-benefits-header {
  position: relative;
  margin-bottom: 2.684rem;
  max-width: 55rem;
  /* 51px / 19 */
}

.sd-benefits-title {
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 2.5rem;
  /* 43px / 19 */
  line-height: 1.2;
  color: var(--base-dark);
}

.sd-benefits-underline {
  margin-top: 0.4rem;
}

.sd-benefits-underline svg {
  width: 23rem;
  /* 437px / 19 */
  height: auto;
}

.sd-benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.474rem 0.895rem;
  /* 28px 17px / 19 */
}

.sd-benefit-card {
  background-color: var(--bg-white);
  border: 0.053rem solid var(--border-gray);
  border-radius: 0.316rem;
  /* 6px / 19 */
  padding: 0.842rem 1.368rem 1.474rem;
  display: flex;
  flex-direction: column;
  gap: 0.632rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.sd-benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(8, 75, 129, 0.08);
  /* border-color: var(--primary-blue); */
}

.sd-benefit-icon {
  align-self: center;
  width: 8.158rem;
  /* 155px / 19 */
  height: 8.158rem;
  /* border-radius: 50%; */
  /* background: linear-gradient(135deg, #eef6ff 0%, #d8edff 100%); */
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.421rem;
}

/* .sd-benefit-icon:hover img{
  transform:rotateY(180deg);
}   */

.sd-benefit-icon svg {
  width: 3.4rem;
  height: 3.4rem;
}

.sd-benefit-title {
  font-family: var(--font-primary);
  font-weight: 500;
  font-size: 1rem;
  /* 20px / 19 */
  line-height: 1.65588rem;
  color: var(--base-dark);
}

.sd-benefit-desc {
  font-family: var(--font-primary);
  font-weight: 300;
  font-size: 0.875rem;
  /* 19px / 19 */
  line-height: 1.49563rem;
  /* 28px / 19 */
  color: var(--base-dark);
  max-width: 55rem;
}

@media (max-width: 1200px) {
  .sd-benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .sd-benefits-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------------------------------------------------------------
   3. "WHY CHOOSE US" FEATURE LIST (static — not an accordion)
   Reuses .why-choose-right / .shadow-backdrop / .purple-container
   for the offset image block; only the left-hand list is unique.
--------------------------------------------------------------- */
.sd-why-section {
  /* background-color: var(--bg-white); */
  padding: 6rem 0;
}

.sd-why-list {
  display: flex;
  flex-direction: column;
  gap: 1.474rem; /* 28px / 19 */
}

.sd-why-item {
  display: flex;
  align-items: flex-start;
  gap: 0.737rem; /* 14px / 19 */
}

.sd-why-icon {
  width: 2rem;
  /* 38px / 19 */
  height: 2rem;
  flex-shrink: 0;
  border-radius: 0.421rem;
  background-color: #eef6ff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-blue);
}

.sd-why-icon svg {
  width: 1.1rem;
  height: 1.1rem;
}

.sd-why-text {
  display: flex;
  flex-direction: column;
  gap: 0.421rem; /* 8px / 19 */
}

.sd-why-item-title {
  font-family: var(--font-primary);
  font-weight: 500;
  font-size: 1.158rem; /* 22px / 19 */
  color: var(--base-dark);
  text-transform: capitalize;
}

.sd-why-item-desc {
  font-family: var(--font-primary);
  font-weight: 300;
  font-size: 1rem; /* 19px / 19 */
  line-height: 1.368rem; /* 26px / 19 */
  color: var(--text-sub);
}

@media (max-width: 1024px) {
  .why-choose-container {
    grid-template-columns: 1fr;
  }

  .why-choose-right {
    width: 100%;
    height: 22rem;
    margin: 3rem 0 0;
  }

  .shadow-backdrop,
  .purple-container {
    width: 100%;
    height: 22rem;
  }
}


@media (min-width: 1024px) and (max-width: 1600px) {
  .sd-hero {
    padding-top: 11.91rem;
  }
}