/* ==========================================================================
   0. Global Reset for Services Page (Eliminate legacy template 30px body margin)
   ========================================================================== */
html,
body,
body.services-page-body {
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: hidden !important;
}

/* ==========================================================================
   TrynixTech — Services Page Hero (Dark Gradient & End-to-End Image)
   ========================================================================== */

#services-hero,
.services-hero-dark,
.trynix-page-hero-section.services-hero-dark,
.trynix-about-hero-section#services-hero {
  position: relative !important;
  width: 100% !important;
  margin: 0 !important;
  left: 0 !important;
  right: 0 !important;
  background-color: #00030a !important;
  background-image:
    linear-gradient(180deg, rgba(0, 3, 10, 0.35) 0%, rgba(0, 3, 10, 0) 45%, rgba(0, 3, 10, 0.15) 100%),
    url('../images/service/services-hero-banner.png') !important;
  background-size: cover !important;
  background-position: center bottom !important;
  background-repeat: no-repeat !important;
  overflow: hidden !important;
  isolation: isolate !important;
  border: none !important;
  padding: clamp(170px, 15vw, 220px) 0 clamp(90px, 8vw, 130px) !important;
}

/* Let the custom uploaded banner image shine cleanly without overlay blur */
#services-hero::before,
.services-hero-dark::before {
  display: none !important;
}

#services-hero::after,
.services-hero-dark::after {
  content: '' !important;
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  height: 1px !important;
  background: linear-gradient(90deg, transparent 0%, rgba(56, 189, 248, 0.45) 50%, transparent 100%) !important;
  pointer-events: none !important;
  z-index: 2 !important;
}

/* Hero Content Layer */
#services-hero .hero-container-fluid {
  position: relative !important;
  z-index: 3 !important;
}

/* Crisp white typography on dark gradient */
#services-hero .about-hero-headline,
#services-hero .page-hero-headline {
  color: #ffffff !important;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.45) !important;
}

#services-hero .about-hero-subheadline,
#services-hero .page-hero-subheadline {
  color: rgba(255, 255, 255, 0.85) !important;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.35) !important;
}

/* Floating Header adjustments over dark hero */
.services-page-body .site-header:not(.sticky-menu) .header-logo img {
  filter: brightness(0) invert(1) !important;
  transition: filter 0.3s ease !important;
}

.services-page-body .site-header.sticky-menu .header-logo img {
  filter: none !important;
}

.services-page-body .site-header:not(.sticky-menu) .wionmenu-toggle span,
.services-page-body .site-header:not(.sticky-menu) .wionmenu-toggle span::before,
.services-page-body .site-header:not(.sticky-menu) .wionmenu-toggle span::after {
  background-color: #ffffff !important;
}

@media (max-width: 991px) {

  #services-hero,
  .services-hero-dark {
    padding: 160px 0 70px !important;
  }
}

@media (max-width: 767px) {

  #services-hero,
  .services-hero-dark {
    padding: 135px 0 60px !important;
  }
}

/* ==========================================================================
   TrynixTech 'Our Services' Section (Modern Interactive Accordion)
   ========================================================================== */

.trynix-services-section {
  position: relative;
  background-color: #ffffff;
  padding: 0 0 clamp(40px, 5vw, 68px);
  overflow: hidden;
  scroll-margin-top: 100px;
}

.trynix-services-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --------------------------------------------------------------------------
   1. Services Header Banner (Full Width Page End-to-End with Moving Animation)
   -------------------------------------------------------------------------- */
.services-banner {
  position: relative;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  width: 100% !important;
  border-radius: 0 !important;
  background-color: #080c17;
  padding: clamp(56px, 5.5vw, 80px) 0;
  margin-bottom: 70px;
  box-shadow: 0 20px 50px -15px rgba(8, 12, 23, 0.35);
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  border-left: none !important;
  border-right: none !important;
  isolation: isolate;
}

/* Animated Moving Fluid Silk Background Layer */
.services-banner-bg-layer {
  position: absolute;
  top: -8%;
  left: -8%;
  width: 116%;
  height: 116%;
  background-color: #080c17;
  background-image:
    linear-gradient(90deg, rgba(8, 12, 23, 0.95) 0%, rgba(10, 16, 31, 0.86) 48%, rgba(17, 30, 68, 0.4) 100%),
    url('../images/service/services-banner-bg.jpg');
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  animation: bannerSilkDrift 16s ease-in-out infinite alternate;
  will-change: transform;
  pointer-events: none;
  z-index: 1;
}

@keyframes bannerSilkDrift {
  0% {
    transform: scale(1.02) translate3d(0, 0, 0);
  }

  50% {
    transform: scale(1.08) translate3d(-24px, -14px, 0);
  }

  100% {
    transform: scale(1.04) translate3d(16px, 10px, 0);
  }
}

/* Animated Moving Luminous Accent Stream / Aurora Glow */
.services-banner-light-stream {
  position: absolute;
  top: -30%;
  right: -5%;
  width: 60%;
  height: 160%;
  background: radial-gradient(ellipse at center, rgba(56, 189, 248, 0.35) 0%, rgba(37, 99, 235, 0.22) 45%, transparent 75%);
  filter: blur(60px);
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: 2;
  animation: bannerAuroraPulse 8s ease-in-out infinite alternate;
  will-change: transform, opacity;
}

@keyframes bannerAuroraPulse {
  0% {
    transform: translate3d(0, 0, 0) scale(0.95);
    opacity: 0.6;
  }

  50% {
    transform: translate3d(-45px, 18px, 0) scale(1.15);
    opacity: 0.95;
  }

  100% {
    transform: translate3d(25px, -15px, 0) scale(1.05);
    opacity: 0.75;
  }
}

/* Animated Horizon Laser Beam Sweep */
.services-banner-laser-beam {
  position: absolute;
  top: 0;
  left: -40%;
  width: 45%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.9), rgba(129, 140, 248, 0.95), transparent);
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.85);
  animation: bannerLaserSweep 6.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  pointer-events: none;
  z-index: 3;
}

@keyframes bannerLaserSweep {
  0% {
    transform: translateX(0);
    opacity: 0;
  }

  20% {
    opacity: 1;
  }

  80% {
    opacity: 1;
  }

  100% {
    transform: translateX(340%);
    opacity: 0;
  }
}

/* Subtle Right Edge Neon Glow Fallback */
.services-banner::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  background: radial-gradient(circle at 100% 50%, rgba(37, 99, 235, 0.28) 0%, rgba(59, 130, 246, 0.1) 45%, transparent 75%);
  pointer-events: none;
  z-index: 2;
}

/* Inner Container Aligned with Page Grid (1240px) */
.services-banner-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  position: relative;
  z-index: 5;
  box-sizing: border-box;
}

.services-banner-left {
  position: relative;
  z-index: 2;
  max-width: 620px;
}

.services-banner-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  font-family: 'SatoshiMedium', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #38bdf8;
  margin-bottom: 20px;
}

.services-banner-tag::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #38bdf8;
  box-shadow: 0 0 8px #38bdf8;
}

.services-banner-title {
  font-family: 'SatoshiBold', 'Satoshi', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 44px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.16;
  letter-spacing: -0.03em;
  margin: 0;
}

.services-banner-right {
  position: relative;
  z-index: 2;
  text-align: right;
  flex-shrink: 0;
}

.services-banner-sub {
  font-family: 'SatoshiRegular', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.82);
  margin: 0;
  font-weight: 400;
}

/* --------------------------------------------------------------------------
   1. Services Narrative Statement (Matching Client Stories Font Style)
   -------------------------------------------------------------------------- */
.services-narrative-statement {
  position: relative;
  width: 100%;
  max-width: 1200px;
  padding: clamp(35px, 4.5vw, 60px) 0 clamp(65px, 7vw, 100px);
}

.services-narrative-text {
  font-family: 'SatoshiMedium', 'Satoshi', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: clamp(24px, 2.7vw, 38px);
  font-weight: 500;
  line-height: 1.28;
  letter-spacing: -0.022em;
  color: #111827;
  margin: 0;
  text-align: left;
}

.services-narrative-text strong,
.services-narrative-text b {
  font-family: 'SatoshiBold', 'Satoshi', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 700;
}

@media (max-width: 991px) {
  .services-narrative-statement {
    padding: clamp(25px, 3.5vw, 45px) 0 clamp(45px, 5.5vw, 75px);
  }

  .services-narrative-text {
    font-size: 24px;
    line-height: 1.32;
  }
}

@media (max-width: 640px) {
  .services-narrative-statement {
    padding: 20px 0 45px;
  }

  .services-narrative-text {
    font-size: 20px;
    line-height: 1.34;
    letter-spacing: -0.015em;
  }
}

/* --------------------------------------------------------------------------
   2. Services List (Generous Spacing Between Services)
   -------------------------------------------------------------------------- */
.services-accordion-list {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.service-accordion-item {
  border-top: 1px solid #e2e8f0;
  padding-top: clamp(56px, 6vw, 84px);
  padding-bottom: clamp(64px, 7vw, 96px);
  transition: border-color 0.25s ease;
}

.service-accordion-item:last-child {
  border-bottom: 1px solid #e2e8f0;
}

/* Header Row */
.service-accordion-header {
  width: 100%;
  background: none;
  border: none;
  padding: 0 0 clamp(24px, 3vw, 36px) 0;
  display: block;
  text-align: left;
  user-select: none;
  outline: none;
  position: relative;
  cursor: default;
}

/* Service Title */
.service-title {
  font-family: 'SatoshiBold', 'Satoshi', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: clamp(30px, 3.4vw, 42px);
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.025em;
  line-height: 1.16;
  margin: 0;
}

/* Removed Icons & Numbers */
.service-icon,
.service-num,
.service-toggle-icon {
  display: none !important;
}

/* --------------------------------------------------------------------------
   3. Service Content Panel (Permanently Open)
   -------------------------------------------------------------------------- */
.service-accordion-body {
  max-height: none !important;
  overflow: visible !important;
  visibility: visible !important;
  opacity: 1 !important;
  display: block !important;
  transition: none !important;
}

/* When open, content is fully visible */
.service-accordion-item.is-open .service-accordion-body {
  visibility: visible !important;
  opacity: 1 !important;
}

.service-accordion-content {
  min-height: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 260px 260px 1fr;
  gap: clamp(28px, 3.5vw, 48px);
  align-items: start;
}

/* Sub-service Deliverables List */
.service-sublist {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-sublist li {
  font-family: 'SatoshiMedium', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: #334155;
  line-height: 2.15;
  letter-spacing: -0.01em;
  position: relative;
  padding-left: 14px;
  transition: color 0.2s ease, transform 0.2s ease;
}

.service-sublist li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: #94a3b8;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.service-sublist li:hover {
  color: #0f172a;
  transform: translateX(3px);
}

.service-sublist li:hover::before {
  background-color: #0f172a;
  transform: translateY(-50%) scale(1.3);
}

/* Service Description & CTA */
.service-desc-wrap {
  max-width: 460px;
}

.service-desc-text {
  font-family: 'SatoshiRegular', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: #475569;
  margin: 0 0 20px 0;
}

.service-action-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'SatoshiMedium', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #0f172a;
  text-decoration: none;
  transition: gap 0.2s ease, color 0.2s ease;
}

.service-action-link:hover {
  color: #000000;
  gap: 12px;
}

.service-action-link span {
  display: inline-block;
  transition: transform 0.2s ease;
}

.service-action-link:hover span {
  transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   4. Responsive Breakpoints
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .services-banner {
    padding: 52px 0;
  }

  .services-banner-title {
    font-size: 36px;
  }

  .service-title {
    font-size: 32px;
  }

  .service-accordion-content {
    grid-template-columns: 220px 220px 1fr;
    gap: 32px;
    padding-left: 0;
  }
}

@media (max-width: 860px) {
  .services-banner {
    padding: 44px 0;
    margin-bottom: 50px;
  }

  .services-banner-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .services-banner-right {
    text-align: left;
  }

  .service-accordion-item {
    padding-top: 48px;
    padding-bottom: 56px;
  }

  .service-accordion-header {
    padding-bottom: 20px;
  }

  .service-accordion-content {
    grid-template-columns: 1fr 1fr;
    padding-left: 0;
    gap: 24px;
  }

  .service-desc-wrap {
    grid-column: 1 / -1;
    max-width: 100%;
    margin-top: 12px;
  }

  .service-title {
    font-size: 27px;
  }
}

@media (max-width: 580px) {
  .trynix-services-section {
    padding: 0 0 80px;
  }

  .services-banner {
    padding: 36px 0;
    border-radius: 0 !important;
    margin-bottom: 40px;
  }

  .services-banner-title {
    font-size: 28px;
  }

  .services-banner-sub {
    font-size: 14px;
  }

  .service-accordion-item {
    padding-top: 36px;
    padding-bottom: 44px;
  }

  .service-accordion-header {
    padding-bottom: 16px;
  }

  .service-accordion-content {
    grid-template-columns: 1fr;
    gap: 18px;
    padding-bottom: 0;
  }

  .service-title {
    font-size: 22px;
  }
}

/* Reduced Motion Preference */
@media (prefers-reduced-motion: reduce) {

  .service-accordion-body,
  .service-toggle-icon,
  .service-accordion-header,
  .service-title {
    transition: none !important;
  }
}

/* ==========================================================================
   TrynixTech — Services CTA Section (End-to-End Digital Solutions)
   Matched to Reference: Clean Satoshi Display Typography & Blue Pill CTA
   ========================================================================== */
.services-cta-section {
  position: relative;
  background-color: #ffffff;
  padding: clamp(28px, 3.5vw, 48px) 0 clamp(80px, 8vw, 120px);
  text-align: center;
  overflow: hidden;
  border-top: none;
}

.services-cta-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.services-cta-headline {
  font-family: 'SatoshiBold', 'Satoshi', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: clamp(34px, 4.3vw, 56px);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.03em;
  color: #111827;
  margin: 0 0 clamp(32px, 3.8vw, 46px) 0;
  max-width: 980px;
  text-wrap: balance;
}

.services-cta-action {
  display: flex;
  justify-content: center;
}

.services-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 34px;
  border-radius: 999px;
  background-color: #ffffff;
  border: 1.5px solid #3b82f6;
  color: #111827;
  font-family: 'SatoshiMedium', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.08);
}

.services-cta-btn .cta-arrow-icon {
  display: inline-block;
  transition: transform 0.25s ease;
  color: #111827;
}

.services-cta-btn:hover {
  background-color: #0f172a;
  border-color: #0f172a;
  color: #ffffff;
  transform: translateY(0px);
  box-shadow: 0 12px 28px -6px rgba(15, 23, 42, 0.22);
}

.services-cta-btn:hover .cta-arrow-icon {
  color: #ffffff;
  transform: translateX(4px);
}

@media (max-width: 768px) {
  .services-cta-section {
    padding: 24px 0 clamp(60px, 7vw, 90px);
  }

  .services-cta-headline {
    font-size: clamp(26px, 6vw, 36px);
    line-height: 1.25;
    margin-bottom: 26px;
  }

  .services-cta-btn {
    padding: 12px 28px;
    font-size: 15px;
  }
}