/*-----------------------[ Services Nav Dropdown ]------------------------*/
.services-dropdown {
  position: relative;
}
.services-dropdown-toggle {
  cursor: pointer;
}
.services-dropdown-panel {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: #0a0612;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 10px;
  min-width: 260px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.55);
  z-index: 60;
  flex-direction: column;
  gap: 2px;
}
@media (min-width: 1200px) {
  /* Bridge the gap between the toggle and the panel with an invisible,
     out-of-flow hit area so moving the mouse down into the panel doesn't
     cross a dead zone and close it. Absolutely positioned, so it doesn't
     affect the nav's flex layout. */
  .services-dropdown::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 8px;
  }
}
.services-dropdown-panel.active {
  display: flex;
}
.services-dropdown-panel a,
.services-dropdown-panel span {
  display: block;
  padding: 9px 14px;
  border-radius: 8px;
  color: #c9c9d4;
  text-decoration: none;
  font-size: 13px;
}
.services-dropdown-panel a:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}
.services-dropdown-panel .is-current {
  color: #00ffb1;
  font-weight: 600;
  background: rgba(0, 255, 177, 0.08);
}
@media (min-width: 1200px) {
  /* Desktop nav: open the panel on hover; the .active class (toggled by
     script.js on click) is the fallback for touch/keyboard. */
  .services-dropdown:hover > .services-dropdown-panel {
    display: flex;
  }
}
@media (max-width: 1199px) {
  .services-dropdown-panel {
    position: static;
    transform: none;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.04);
    margin-top: 6px;
  }
}

/*-----------------------[ Service Page Layout ]------------------------*/
.service-hero {
  position: relative;
  padding: 64px 12px 70px;
  overflow: hidden;
}
.service-hero .service-hero-bg {
  position: absolute;
  pointer-events: none;
}
.service-hero .service-hero-bg.top-right {
  top: -160px;
  right: -140px;
  width: 560px;
  opacity: 0.55;
  mix-blend-mode: hard-light;
}
.service-hero .service-hero-bg.bottom-left {
  bottom: -101px;
  left: -65px;
  width: 717px;
  opacity: 0.45;
}
.service-hero-inner {
  max-width: 1320px;
  margin: 0 auto;
  position: relative;
}
.service-breadcrumb {
  display: flex;
  gap: 8px;
  font-size: 13px;
  color: #8a8a99;
  margin-bottom: 26px;
  flex-wrap: wrap;
}
.service-breadcrumb a {
  color: inherit;
  text-decoration: none;
}
.service-breadcrumb .current {
  color: #00ffb1;
}
.service-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
}
.service-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px 8px 8px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 26px;
}
.service-badge-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, #5c33ff, #00ffb1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.service-badge-icon img {
  height: 18px;
  width: auto;
  filter: brightness(0) invert(1);
}
.service-badge-label {
  color: #00ffb1;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
}
.service-hero h1 {
  font-size: 44px;
  line-height: 1.18;
  font-weight: 700;
  margin: 0 0 22px;
  max-width: 560px;
  color: #fff;
}
.service-hero-desc {
  font-size: 16px;
  line-height: 1.75;
  color: #a9a9b8;
  margin: 0 0 28px;
  max-width: 520px;
}
.service-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.service-tags span {
  padding: 8px 18px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #c9c9d4;
  font-size: 13px;
}
.service-hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}
.service-hero-ctas a {
  display: inline-flex;
  align-items: center;
  padding: 14px 30px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
.service-hero-ctas .cta-primary {
  background: linear-gradient(
    270deg,
    rgba(0, 255, 177, 0.75) 0%,
    rgba(0, 255, 177, 0) 100%
  );
  border: 1px solid rgba(0, 255, 177, 0.5);
  color: #fff;
}
.service-hero-ctas .cta-secondary {
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
}
.service-stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}
.service-stats .stat-value {
  font-size: 26px;
  font-weight: 700;
  color: #fff;
}
.service-stats .stat-label {
  font-size: 12px;
  color: #8a8a99;
}
.service-hero-media {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 4/3;
  max-height: 460px;
  background: repeating-linear-gradient(
    45deg,
    #131319,
    #131319 10px,
    #1a1a24 10px,
    #1a1a24 20px
  );
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.service-hero-media span {
  color: #5c5c6b;
  font-size: 13px;
  font-family: ui-monospace, Menlo, monospace;
  text-align: center;
  padding: 0 20px;
}
.service-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Included section */
.service-section {
  position: relative;
  overflow: hidden;
  padding: 64px 12px 70px;
}
.service-section-bg {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}
.service-section-bg.top-left {
  top: -120px;
  left: -140px;
  width: 480px;
  opacity: 0.4;
}
.service-section-bg.top-left.blue-gardient1-glow {
  top: -61px;
  left: 0px;
  width: 880px;
  opacity: 0.4;
}
.service-section-bg.top-left.explore-glow {
  top: -92px;
  left: 180px;
  width: 674px;
  opacity: 0.6;
}
.service-section-bg.top-right {
  bottom: -151px;
  left: 50%;
  transform: translateX(-50%);
  width: 543px;
  opacity: 0.7;
}
.service-section-bg.bottom-left {
  bottom: -41px;
  left: 50%;
  transform: translateX(-50%);
  width: 637px;
  opacity: 0.8;
}
.service-section-bg.bottom-right {
  bottom: -160px;
  right: -160px;
  width: 500px;
  opacity: 0.4;
}
.service-section-inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
}
.service-section-title {
  text-align: center;
  font-size: 38px;
  font-weight: 700;
  margin: 0 0 16px;
  color: #fff;
}
.service-section-title .accent {
  background: linear-gradient(90deg, #5c33ff 0%, #00ffb1 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.service-section-sub {
  text-align: center;
  color: #a9a9b8;
  font-size: 16px;
  max-width: 640px;
  margin: 0 auto 60px;
  line-height: 1.7;
}
.service-included-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 44px 30px;
}
.service-included-grid + .service-stats {
  justify-content: center;
  text-align: center;
  padding: 40px 0;
  margin-top: 56px;
}
.service-included-card {
  text-align: center;
}
.service-included-icon {
  position: relative;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  margin: 0 auto 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-included-icon .glow {
  position: absolute;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(90deg, #5c33ff, #00ffb1);
  filter: blur(14px);
  opacity: 0.6;
}
.service-included-icon .disc {
  position: relative;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: linear-gradient(
    146deg,
    rgba(255, 255, 255, 0.1) 20%,
    rgba(255, 255, 255, 0.05) 80%
  );
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.service-included-icon img {
  height: 26px;
  width: auto;
  filter: brightness(0) invert(1);
}
.service-included-card h3 {
  font-size: 19px;
  font-weight: 600;
  margin: 0 0 8px;
  color: #fff;
}
.service-included-card p {
  font-size: 14px;
  color: #8a8a99;
  line-height: 1.6;
  max-width: 280px;
  margin: 0 auto;
}

/* Past work */
.service-pastwork-eyebrow {
  text-align: center;
  color: #00ffb1;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  margin: 0 0 14px;
}
.service-pastwork-title {
  text-align: center;
  font-size: 28px;
  font-weight: 600;
  margin: 0 0 46px;
  color: #fff;
}
.service-pastwork-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.service-pastwork-tile {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 3/4;
  background: repeating-linear-gradient(
    45deg,
    #131319,
    #131319 10px,
    #1a1a24 10px,
    #1a1a24 20px
  );
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: flex-end;
  padding: 16px;
}
.service-pastwork-tile .placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4a4a58;
  font-size: 11px;
  font-family: ui-monospace, Menlo, monospace;
  text-align: center;
}
.service-pastwork-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
}
.service-pastwork-tile .label {
  position: relative;
  z-index: 1;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  background: rgba(2, 0, 11, 0.6);
  padding: 6px 12px;
  border-radius: 8px;
}

/* CTA banner */
.service-cta-banner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  background: #0a0612;
  padding: 64px 40px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.service-cta-banner img {
  position: absolute;
  top: -140px;
  right: -120px;
  width: 420px;
  opacity: 0.5;
  pointer-events: none;
}
.service-cta-banner h2 {
  position: relative;
  font-size: 32px;
  font-weight: 700;
  margin: 0 0 18px;
  background: linear-gradient(90deg, #5c33ff 0%, #00ffb1 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.service-cta-banner p {
  position: relative;
  color: #a9a9b8;
  font-size: 16px;
  max-width: 560px;
  margin: 0 auto 32px;
}
.service-cta-banner-buttons {
  position: relative;
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.service-cta-banner-buttons a {
  display: inline-flex;
  align-items: center;
  padding: 14px 30px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
.service-cta-banner-buttons .cta-primary {
  background: linear-gradient(
    270deg,
    rgba(0, 255, 177, 0.75) 0%,
    rgba(0, 255, 177, 0) 100%
  );
  border: 1px solid rgba(0, 255, 177, 0.5);
  color: #fff;
}
.service-cta-banner-buttons .cta-secondary {
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
}

/* Explore services grid */
.service-explore-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.service-grid-card {
  text-decoration: none;
  color: inherit;
  display: block;
  padding: 26px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: border-color 0.2s, background 0.2s;
}
.service-grid-card:hover {
  border-color: rgba(0, 255, 177, 0.35);
  background: rgba(255, 255, 255, 0.05);
}
.service-grid-card.is-current {
  background: rgba(0, 255, 177, 0.06);
  border: 1px solid rgba(0, 255, 177, 0.35);
}
.service-grid-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.service-grid-card.is-current .service-grid-icon {
  background: linear-gradient(135deg, #5c33ff, #00ffb1);
}
.service-grid-icon img {
  height: 28px;
  width: auto;
  filter: brightness(0) invert(1);
}
.service-grid-eyebrow {
  font-size: 11px;
  color: #00ffb1;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin: 0 0 6px;
}
.service-grid-card h3 {
  font-size: 17px;
  font-weight: 600;
  margin: 0 0 8px;
  color: #fff;
}
.service-grid-card p {
  font-size: 13px;
  color: #8a8a99;
  line-height: 1.6;
  margin: 0;
}

/* FAQ */
.service-faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.service-faq-item {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
  padding: 0 26px;
  transition: border-color 0.2s, background 0.2s;
}
.service-faq-item.active {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.04);
}
.service-faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  cursor: pointer;
}
.service-faq-question h3 {
  font-size: 17px;
  font-weight: 600;
  color: #fff;
  margin: 0;
}
.service-faq-toggle {
  position: relative;
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(0, 255, 177, 0.08);
  border: 1px solid rgba(0, 255, 177, 0.4);
  transition: transform 0.25s;
}
.service-faq-toggle::before,
.service-faq-toggle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: #00ffb1;
  border-radius: 2px;
  transform: translate(-50%, -50%);
}
.service-faq-toggle::before {
  width: 12px;
  height: 2px;
}
.service-faq-toggle::after {
  width: 2px;
  height: 12px;
  transition: transform 0.25s;
}
.service-faq-item.active .service-faq-toggle {
  transform: rotate(45deg);
}
.service-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.service-faq-answer p {
  color: #a9a9b8;
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
  padding: 0 0 24px;
  max-width: 640px;
}

/* Footer socials (service pages only, see services/_footer.php) */
.service-footer-socials {
  text-align: center;
  padding: 8px 20px 30px;
}
.service-footer-socials-label {
  color: #00ffb1;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin: 0 0 18px;
}
.service-footer-socials-list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 25px;
}
.service-footer-socials-list a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #8a8a99;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.25s;
}
.service-footer-socials-list a img {
  width: 20px;
  height: 20px;
  filter: brightness(0) invert(1);
  opacity: 0.75;
  transition: opacity 0.25s;
}
.service-footer-socials-list a:hover {
  color: #fff;
}
.service-footer-socials-list a:hover img {
  opacity: 1;
}

/* Footer decorative gradient (service pages only) */
.footer-logo-right {
  position: absolute;
  right: -180px;
  top: 4px;
  z-index: -1;
  max-width: 100%;
  pointer-events: none;
}

@media (max-width: 991px) {
  .service-hero-grid {
    grid-template-columns: 1fr;
  }
  .service-hero-media {
    aspect-ratio: 16/9;
    max-height: 320px;
  }
  .service-included-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .service-pastwork-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .service-explore-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 575px) {
  .service-hero h1 {
    font-size: 32px;
  }
  .service-section-title {
    font-size: 28px;
  }
  .service-included-grid {
    grid-template-columns: 1fr;
  }
  .service-pastwork-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .service-cta-banner {
    padding: 40px 20px;
  }
  .service-explore-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  /* Service-page footer only (see services/_footer.php): give the
     socials row room so the fixed WhatsApp button doesn't sit on top
     of it when scrolled to the bottom. */
  .service-footer-socials {
    padding-bottom: 50px;
  }

  /* Icon-only circular buttons on mobile; desktop keeps the icon+text
     row above. */
  .service-footer-socials-list a {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    justify-content: center;
    padding: 0;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: border-color 0.25s, background 0.25s, transform 0.25s;
  }
  .service-footer-socials-list a span {
    display: none;
  }
  .service-footer-socials-list a:hover {
    border-color: transparent;
    background: linear-gradient(135deg, #5c33ff, #00ffb1);
    transform: translateY(-3px);
  }
}
