/* ---------------------------------------------------------
   1. Services Hero Section
--------------------------------------------------------- */
.zs-services-main {
  background-color: #fff;
}

.zs-services-hero {
  position: relative;
  width: 100%;
  height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 5%;
}

.zs-services-hero picture {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.zs-services-hero picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Optional overlay to make text more readable */
.zs-services-hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.2) 50%, transparent 100%);
  z-index: 2;
}

.zs-hero-text {
  position: relative;
  z-index: 3;
  color: #fff;
  max-width: 800px; /* Increased max-width */
}

.zs-hero-text h1 {
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  /* Removed text-transform: uppercase; to allow natural capitalization */
}

.zs-hero-text p {
  font-size: 1.8rem; /* Increased font size further */
  line-height: 1.6;
  margin: 0;
}

.zs-hero-scroll {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  color: #fff;
  cursor: pointer;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
  40% { transform: translateY(-20px) translateX(-50%); }
  60% { transform: translateY(-10px) translateX(-50%); }
}

/* ---------------------------------------------------------
   2. Services Menu (Link Slider)
--------------------------------------------------------- */
.zs-services-menu {
  background-color: var(--color-bg-soft);
  border-bottom: 1px solid var(--color-border);
}

.zs-services-slider {
  position: relative;
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
}

.zs-services-slider-track {
  display: flex;
  gap: 2px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none;  /* IE and Edge */
}

.zs-services-slider-track::-webkit-scrollbar {
  display: none;
}

.zs-service-link {
  flex: 1 1 auto;
  min-width: 250px;
  background-color: #fff;
  color: var(--color-text-strong);
  text-decoration: none;
  font-weight: normal;
  font-size: 0.95rem;
  text-align: center;
  padding: 1.5rem 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  min-height: 80px;
}

.zs-service-link:hover {
  background-color: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

.zs-slider-nav {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  display: none; /* Hidden on PC by default */
  justify-content: space-between;
  transform: translateY(-50%);
  pointer-events: none;
}

.zs-slider-nav button {
  pointer-events: auto;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #fff;
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--color-text-strong);
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.zs-slider-nav button:hover {
  background-color: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

/* ---------------------------------------------------------
   3. Services Intro (Video & Text)
--------------------------------------------------------- */
.zs-services-intro {
  padding: 0;
  background-color: #fff;
}

.zs-intro-inner {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  margin: 0;
  align-items: center;
}

.zs-intro-video {
  flex: 0 0 50%;
  width: 50%;
  aspect-ratio: 16 / 9;
  background-color: #000;
}

.zs-intro-text {
  flex: 0 0 50%;
  width: 50%;
  padding: 5rem; /* Add equal breathing room on both sides (left side is gap to video) */
}

.zs-intro-text h2 {
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--color-text-strong);
  margin: 0 0 2rem 0; /* Removed top margin */
  line-height: 1.2;
}

.zs-intro-text p {
  font-size: 1.1rem;
  color: var(--color-text);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

/* ---------------------------------------------------------
   4. Services Download Section
--------------------------------------------------------- */
.zs-services-download {
  padding: 0;
  background-color: var(--color-bg-soft);
}

.zs-download-inner {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  margin: 0;
  align-items: stretch;
}

.zs-download-text {
  flex: 0 0 50%;
  width: 50%;
  padding: 5rem; /* Add equal breathing room on both sides (right side is gap to image) */
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.zs-download-text h2 {
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--color-text-strong);
  margin: 0 0 1.5rem 0; /* Removed top margin */
  line-height: 1.2;
}

.zs-download-text p {
  font-size: 1.1rem;
  color: var(--color-text);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.zs-download-action {
  flex: 0 0 50%;
  width: 50%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  min-height: 400px;
}

.zs-download-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  z-index: 1;
}

.zs-download-action:hover .zs-download-bg {
  transform: scale(1.05);
}

.zs-download-btn {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background-color: var(--color-primary);
  border-radius: 50%;
  width: 250px;
  height: 250px;
  color: #fff;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(63, 90, 182, 0.22);
}

.zs-download-btn:hover {
  background-color: var(--color-primary-hover);
  box-shadow: 0 10px 30px rgba(63, 90, 182, 0.28);
}

.zs-download-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 1rem;
}

.zs-download-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.zs-download-label {
  font-size: 1.2rem;
  font-weight: 700;
  text-align: center;
}

/* ---------------------------------------------------------
   5. Responsive
--------------------------------------------------------- */
@media (max-width: 1024px) {
  .zs-intro-inner,
  .zs-download-inner {
    flex-direction: column;
    gap: 2rem;
  }
  
  .zs-intro-video,
  .zs-intro-text,
  .zs-download-text,
  .zs-download-action {
    flex: 1 1 100%;
    width: 100%;
  }

  .zs-hero-text h1 {
    font-size: 3rem;
  }
}

@media (max-width: 768px) {
  .zs-services-hero {
    height: 400px;
  }

  .zs-hero-text h1 {
    font-size: 2.5rem;
  }

  .zs-intro-text h2,
  .zs-download-text h2 {
    font-size: 2rem;
  }

  .zs-slider-nav {
    display: flex; /* Show on mobile */
    left: 10px;
    right: 10px;
  }

  .zs-download-btn {
    width: 200px;
    height: 200px;
  }
}
