/* ========================================
   SECTION-1 RESPONSIVE - Second Instance
   Make it fully responsive with better scrollbar
   ======================================== */

/* Hide horizontal overflow */
.section-1 {
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}

/* Desktop - Maintain original design */
@media (min-width: 992px) {
  .section-1 .frame-2147224164,
  .section-1 .frame {
    max-width: 100%;
  }
}

/* Tablet and below - Stack elements */
@media (max-width: 991px) {
  .section-1 {
    padding: 60px 20px;
  }

  .section-1 .frame-2147224164 {
    width: 100%;
    max-width: 100%;
    padding: 0 15px;
  }

  /* Stack the 4 feature cards vertically */
  .section-1 .frame-142 {
    flex-direction: column;
    gap: 25px;
    width: 100%;
  }

  .section-1 .frame-21472238572,
  .section-1 .frame-21472238552,
  .section-1 .frame-21472238582,
  .section-1 .frame-21472238562 {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  /* Make frame (right side image group) responsive */
  .section-1 .frame {
    width: 100%;
    max-width: 100%;
    margin-top: 40px;
    display: none;
  }

  .section-1 .group-1686555406 {
    width: 100%;
    max-width: 450px;
    height: auto;
    margin: 0 auto;
  }

  .section-1 .group-1686555406 img {
    max-width: 100%;
    height: auto;
  }

  /* Client join sections */
  .section-1 .client-join,
  .section-1 .client-join2 {
    width: 100%;
    max-width: 100%;
    padding: 20px;
    box-sizing: border-box;
  }

  /* Success button */
  .section-1 .success9 {
    width: 100%;
    max-width: 200px;
  }

  /* Ser rating */
  .section-1 .ser-42 {
    width: 100%;
    max-width: 100%;
  }
}

@media (max-width: 767px) {
  .section-1 {
    padding: 40px 15px;
  }

  .section-1 .frame-2147224164 {
    padding: 0 10px;
  }

  .section-1 .frame-142 {
    gap: 20px;
  }

  /* Adjust text sizes for mobile */
  .section-1 .why-thousands-of-learners-choose-sky-high-training {
    font-size: 32px;
    line-height: 40px;
    text-align: center;
  }

  .section-1
    .trusted-by-aspiring-taxi-and-private-hire-drivers-across-england-for-professional-accredited-and-real-world-focused-training {
    font-size: 16px;
    line-height: 24px;
    text-align: center;
  }

  .section-1 .group-1686555406 {
    max-width: 350px;
  }

  .section-1 .client-join,
  .section-1 .client-join2 {
    padding: 15px;
  }

  .section-1 .frame-10000009312 {
    width: 100%;
    max-width: 100%;
  }
}

@media (max-width: 575px) {
  .section-1 {
    padding: 35px 12px;
  }

  .section-1 .frame-142 {
    gap: 18px;
  }

  .section-1 .why-thousands-of-learners-choose-sky-high-training {
    font-size: 28px;
    line-height: 36px;
  }

  .section-1
    .trusted-by-aspiring-taxi-and-private-hire-drivers-across-england-for-professional-accredited-and-real-world-focused-training {
    font-size: 15px;
    line-height: 22px;
  }

  .section-1 .group-1686555406 {
    max-width: 300px;
  }

  .section-1 .accredited-trainers,
  .section-1 .real-world-training,
  .section-1 .convenient-location,
  .section-1 .certificate-provided {
    font-size: 18px;
  }

  .section-1 .fully-certified-professionals,
  .section-1 .practical-and-easy-to-understand-teaching,
  .section-1 ._28-newbank-road-blackburn,
  .section-1 .qualification-recognized-across-england {
    font-size: 14px;
  }
}

/* Better scrollbar styling for frame-5 (horizontal scroll banner) */
.frame-21472242452 {
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: thin;
  scrollbar-color: var(--primary-color, #ff6b35) #f0f0f0;
}

.frame-21472242452::-webkit-scrollbar {
  height: 8px;
}

.frame-21472242452::-webkit-scrollbar-track {
  background: #f0f0f0;
  border-radius: 10px;
}

.frame-21472242452::-webkit-scrollbar-thumb {
  background: var(--primary-color, #ff6b35);
  border-radius: 10px;
  transition: background 0.3s ease;
}

.frame-21472242452::-webkit-scrollbar-thumb:hover {
  background: var(--primary-hover, #ff4500);
}

/* Smooth scroll behavior */
.frame-21472242452 .frame-5 {
  display: flex;
  gap: 30px;
  padding: 10px 0;
}

