/* ============================================================
   SERVICES DETAILS — PAGE STYLES
   Shared base: assets/css/style.css
============================================================ */

/* @font-face {
    font-family: HelveticaHeavy;
    src: url(../assets/fonts/helvetica-neue-5/HelveticaNeueHeavy.otf);
  }
  @font-face {
    font-family: HelveticaBold;
    src: url(../assets/fonts/helvetica-neue-5/HelveticaNeueBold.otf);
  }
  @font-face {
    font-family: HelveticaL;
    src: url(../assets/fonts/helvetica-neue-5/HelveticaNeueLight.otf);
  } */

/* ─────────────────────────────────────────
   PAGE HERO
───────────────────────────────────────── */
.sd-page-hero {
  position: relative;
  height: 247px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--black);
}

.sd-page-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.sd-page-hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
}

.sd-page-hero__title-row {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 20px;
}

.sd-page-hero__logo {
  height: auto;
  width: 100%;
  margin-top: 1rem;
}

.sd-page-hero__title {
  font-family: Helvetica, sans-serif;
  font-size: 75px;
  letter-spacing: -1.75px;
  background: linear-gradient(90deg, var(--hero-grad-start) 0%, var(--hero-grad-end) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: normal;
  white-space: nowrap;
  margin: 0;
  font-weight: 800;
}

/* ─────────────────────────────────────────
   HERO: HEADING + DESCRIPTION
───────────────────────────────────────── */
.sd-hero {
  background: var(--black);
  padding: 80px 93px 60px;
  display: flex;
  align-items: center;
  gap: 80px;
}

.sd-hero__left {
  flex: 1;
}

.sd-hero__heading {
  font-family: 'Cal Sans', sans-serif;
  font-size: 100px;
  line-height: 129px;
  color: var(--green-alt);
  margin: 0;
}

.sd-hero__right {
  flex: 0 0 40%;
  padding-top: 20px;
}

.sd-hero__desc {
  font-family: HelveticaL, 'Helvetica Neue', sans-serif;
  font-size: 30px;
  line-height: 39px;
  color: var(--cream);
  margin: 0;
}

@media (max-width: 1830px) {
  .sd-hero {
    padding: 80px 93px 60px;
    gap: 60px;
  }

  .sd-hero__heading {
    font-size: 88px;
    line-height: 106px;
  }
}

@media (max-width: 1600px) {
  .sd-hero {
    padding: 80px 70px 60px;
    gap: 50px;
  }

  .sd-hero__heading {
    font-size: 78px;
    line-height: 90px;
  }

  .sd-hero__desc {
    font-size: 22px;
  }
}

@media (max-width: 1400px) {
  .sd-hero {
    padding: 80px 56px 60px;
    gap: 46px;
  }

  .sd-hero__heading {
    font-size: 67px;
    line-height: 80px;
  }

  .sd-hero__desc {
    font-size: 20px;
    line-height: 28px;
  }
}

@media (max-width: 1200px) {
  .sd-hero {
    padding: 80px 52px 60px;
    gap: 30px;
  }

  .sd-hero__heading {
    font-size: 58px;
    line-height: 70px;
  }

  .sd-hero__desc {
    font-size: 16px;
    line-height: 24px;
  }
}

@media (max-width: 1024px) {
  .sd-hero {
    padding: 50px 30px 50px;
    gap: 24px;
  }

  .sd-hero__heading {
    font-size: 52px;
    line-height: 68px;
  }

  .sd-hero__desc {
    font-size: 14px;
    line-height: 24px;
  }
}

@media (max-width: 900px) {
  .sd-hero {
    padding: 50px 30px 50px;
    gap: 24px;
  }

  .sd-hero__heading {
    font-size: 52px;
    line-height: 68px;
  }

  .sd-hero__desc {
    font-size: 14px;
    line-height: 24px;
    text-align: center;
  }
}

/* ─────────────────────────────────────────
   LARGE IMAGE
───────────────────────────────────────── */
.sd-image-container {
  margin: 0px auto;
  background: var(--black);
  padding: 30px 0px 30px;
}

.sd-large-img {
  margin: 0 20px;
  border: 18px solid var(--green-alt);
  overflow: hidden;
  height: 80vh;
  background: var(--black);
}

.sd-large-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ─────────────────────────────────────────
   BLUE BANNER
───────────────────────────────────────── */
.sd-banner-container {
  background: var(--black);
  padding: 30px 0px 30px;
}

.sd-banner {
  background: var(--blue);
  max-width: 88%;
  margin: 0 auto;
  padding: 60px 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 263px;
}

.sd-banner__text {
  font-family: HelveticaL, 'Helvetica Neue', sans-serif;
  font-size: 30px;
  line-height: 43px;
  color: var(--white);
  text-align: center;
  max-width: 1400px;
  margin: 0;
}

/* ─────────────────────────────────────────
   CASE STUDY SECTION
───────────────────────────────────────── */
.sd-cs {
  margin: 0px auto;
  padding: 30px 0px 20px;

}

.sd-cs__container {
  background-image: var(--mesh-gradient);
  padding: 30px 20px 30px;
  margin: 20px;

}

.sd-cs__heading-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.sd-cs__heading {
  font-family: 'Cal Sans', sans-serif;
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 400;
  color: var(--black);
  padding: 0px 30px;
  text-align: center;
  line-height: 1.1;
  text-transform: capitalize;
  margin: 0;
}

/* 3-column card grid */
.sd-cs__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 30px;
}

.sd-cs__card {
  position: relative;
  height: 450px;
  overflow: hidden;
}

.sd-cs__card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sd-cs__card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0) 50%);
}

.sd-cs__card-body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 32px 28px;
}

/* meta row: user icon + tag, globe icon + tag */
.sd-cs__card-meta {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 6px;
}

.sd-cs__card-meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sd-cs__meta-icon {
  width: 12px !important;
  height: 12px !important;
  flex-shrink: 0;
  filter: brightness(0) saturate(100%) invert(78%) sepia(40%) saturate(500%) hue-rotate(40deg) brightness(110%);
}

.sd-cs__card-tag {
  font-family: HelveticaL, sans-serif;
  font-size: 12px;
  line-height: 1;
  color: var(--green-alt);
}

.sd-cs__card-title {
  font-family: 'Cal Sans', sans-serif;
  font-size: 24px;
  color: var(--white);
  line-height: 1.3;
  margin-bottom: 10px;
}

.sd-cs__card-desc {
  font-family: HelveticaL, 'Helvetica Neue', sans-serif;
  font-size: 14px;
  line-height: 20px;
  color: var(--white);
  margin: 0;
}

/* ─────────────────────────────────────────
   INLINE UNDERLINE BUTTON (View All / Get in touch)
───────────────────────────────────────── */
.sd-cs__cta {
  display: flex;
  justify-content: center;
}

.sd-inline-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--white);
  width: 220px;
}

.sd-inline-btn__text {
  position: relative;
}

/* .sd-inline-btn__text::after {
  content: '';
  display: block;
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--white);
} */

.sd-inline-btn__arrow {
  display: flex;
  align-items: center;
}

.sd-inline-btn__arrow img {
  width: 18px;
  height: auto;
  filter: brightness(0) invert(1);
}

/* ─────────────────────────────────────────
   INFLUENCE CTA SECTION
───────────────────────────────────────── */
.sd-cta {
  position: relative;
  background: var(--blue);
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.sd-cta__bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: rotate(180deg);
  pointer-events: none;
}

.sd-cta__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  padding: 80px 40px;
}

.sd-cta__heading {
  font-family: 'Cal Sans', sans-serif;
  font-size: 50px;
  line-height: 81px;
  color: var(--white);
  text-align: center;
  white-space: nowrap;
  margin: 0;
}

/* ─────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────── */
@media (max-width: 1200px) {
  /* .sd-hero__heading {
    font-size: 72px;
    line-height: 96px;
  } */

  .sd-cs__heading {
    font-size: 52px;
  }
}

@media (max-width: 900px) {
  .sd-page-hero__title {
    font-size: 44px;
    letter-spacing: -2px;
  }

  .sd-page-hero__logo {
    height: 34px;
  }

  .sd-hero {
    flex-direction: column;
    padding: 60px 24px 40px;
    gap: 32px;
  }

  .sd-hero__right {
    flex: none;
    padding-top: 0;
  }

  .sd-hero__heading {
    font-size: 48px;
    line-height: 56px;
  }

  .sd-hero__desc {
    font-size: 20px;
    line-height: 30px;
  }

  .sd-large-img {
    margin: 0 12px;
    height: auto;
    aspect-ratio: 16/9;
    border-width: 10px;
  }

  .sd-banner {
    padding: 40px 24px;
    min-height: auto;
  }

  .sd-banner__text {
    font-size: 18px;
    line-height: 28px;
  }

  .sd-cs {
    padding: 60px 16px 60px;
  }

  .sd-cs__heading {
    font-size: 40px;
    padding: 10px 28px;
  }

  .sd-cs__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .sd-cs__card {
    height: 420px;
  }

  .sd-cta__heading {
    font-size: 28px;
    line-height: 40px;
    white-space: normal;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .sd-hero__heading {
    font-size: 38px;
    line-height: 56px;
  }
}

.saya-cta__center {
  width: 100%;
}

.saya-cta__btn {
  width: 220px;
}

@media (min-width: 1500px) {

  .sd-cs__card {
    position: relative;
    height: 550px;
    overflow: hidden;
  }

  .sd-cs__meta-icon {
    width: 18px !important;
    height: 18px !important;
    flex-shrink: 0;
    filter: brightness(0) saturate(100%) invert(78%) sepia(40%) saturate(500%) hue-rotate(40deg) brightness(110%);
  }

  .sd-cs__card-tag {
    font-family: HelveticaL, sans-serif;
    font-size: 18px;
    line-height: 1;
    color: var(--green-alt);
  }

  .sd-cs__card-title {
    font-family: 'Cal Sans', sans-serif;
    font-size: 30px;
    color: var(--white);
    line-height: 1.3;
    margin-bottom: 10px;
  }

  .sd-cs__card-desc {
    font-family: HelveticaL, 'Helvetica Neue', sans-serif;
    font-size: 20px;
    line-height: 30px;
    color: var(--white);
    margin: 0;
  }

}