/* ================================
   GS NET ACADEMY HERO SLIDER
   ================================ */

/* * {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  background: #f8f5ee;
  color: #0b1330;
} */

.hero-slider {
  position: relative;
  width: 100%;
  min-height: 560px;
  overflow: hidden;
  background: #0b1330;
}

/* Individual slide */
.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 48% 52%;
  align-items: stretch;
  opacity: 0;
  visibility: hidden;
  transform: translateX(30px);
  transition:
    opacity 0.65s ease,
    transform 0.65s ease,
    visibility 0.65s ease;
}

.hero-slide.active {
  position: relative;
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

/* Left side */
.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 70px clamp(35px, 7vw, 110px);
  background: #0b1330;
  color: #ffffff;
}

.hero-content::before {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  top: -80px;
  left: -80px;
  border-radius: 50%;
  background: rgba(232, 183, 75, 0.08);
  pointer-events: none;
}

.hero-eyebrow {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 18px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(232, 183, 75, 0.5);
  color: #e8b74b;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.5px;
}

.hero-content h1 {
  max-width: 650px;
  margin: 0 0 20px;
  font-size: clamp(36px, 4vw, 62px);
  line-height: 1.06;
  font-weight: 800;
  letter-spacing: -1.5px;
}

.hero-content p {
  max-width: 610px;
  margin: 0 0 30px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 17px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 23px;
  border-radius: 9px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.hero-btn:hover {
  transform: translateY(-3px);
}

.hero-btn.primary {
  background: #e8b74b;
  color: #0b1330;
  box-shadow: 0 10px 25px rgba(232, 183, 75, 0.18);
}

.hero-btn.primary:hover {
  box-shadow: 0 14px 30px rgba(232, 183, 75, 0.28);
}

.hero-btn.secondary {
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
}

.hero-btn.secondary:hover {
  background: rgba(255, 255, 255, 0.12);
}

/* Right side image */
.hero-image {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  background: #dfe2e8;
}

.hero-image::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(11, 19, 48, 0.12), transparent 35%),
    linear-gradient(0deg, rgba(11, 19, 48, 0.15), transparent 45%);
  pointer-events: none;
}

.hero-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  transition: transform 6s ease;
}

.hero-slide.active .hero-image img {
  transform: scale(1.04);
}

/* Decorative curved shape */
.hero-image::after {
  content: "";
  position: absolute;
  z-index: 2;
  left: -115px;
  top: -10%;
  width: 230px;
  height: 120%;
  border-radius: 50%;
  background: #0b1330;
}

/* Arrows */
.slider-arrow {
  position: absolute;
  z-index: 10;
  top: 50%;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  background: rgba(11, 19, 48, 0.5);
  color: #ffffff;
  font-size: 20px;
  cursor: pointer;
  transform: translateY(-50%);
  transition: background 0.25s ease, transform 0.25s ease;
}

.slider-arrow:hover {
  background: #e8b74b;
  color: #0b1330;
  transform: translateY(-50%) scale(1.08);
}

.slider-arrow.prev {
  left: 22px;
}

.slider-arrow.next {
  right: 22px;
}

/* Dots */
.slider-dots {
  position: absolute;
  z-index: 10;
  left: 50%;
  bottom: 24px;
  display: flex;
  gap: 8px;
  transform: translateX(-50%);
}

.dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: width 0.25s ease, background 0.25s ease;
}

.dot.active {
  width: 27px;
  border-radius: 999px;
  background: #e8b74b;
}

/* ================================
   TABLET
   ================================ */

@media (max-width: 900px) {
  .hero-slider {
    min-height: 650px;
  }

  .hero-slide {
    grid-template-columns: 52% 48%;
  }

  .hero-content {
    padding: 55px 35px;
  }

  .hero-content h1 {
    font-size: clamp(32px, 5vw, 48px);
  }

  .hero-content p {
    font-size: 15px;
  }

  .hero-image {
    min-height: 650px;
  }

  .hero-image::after {
    left: -90px;
    width: 180px;
  }
}

/* ================================
   MOBILE
   ================================ */

@media (max-width: 650px) {
  .hero-slider {
    min-height: 720px;
  }

  .hero-slide {
    grid-template-columns: 1fr;
    grid-template-rows: 55% 45%;
  }

  .hero-content {
    order: 2;
    padding: 30px 24px 55px;
    justify-content: flex-start;
  }

  .hero-content h1 {
    margin-bottom: 14px;
    font-size: 32px;
    line-height: 1.1;
    letter-spacing: -0.7px;
  }

  .hero-content p {
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.55;
  }

  .hero-eyebrow {
    margin-bottom: 12px;
    padding: 6px 11px;
    font-size: 10px;
  }

  .hero-image {
    order: 1;
    min-height: 0;
  }

  .hero-image::after {
    display: none;
  }

  .hero-image::before {
    background: linear-gradient(
      0deg,
      rgba(11, 19, 48, 0.3),
      transparent 55%
    );
  }

  .hero-buttons {
    gap: 8px;
  }

  .hero-btn {
    min-height: 43px;
    padding: 0 16px;
    font-size: 12px;
  }

  .slider-arrow {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }

  .slider-arrow.prev {
    left: 10px;
  }

  .slider-arrow.next {
    right: 10px;
  }

  .slider-dots {
    bottom: 15px;
  }
}

/* Small phones */
@media (max-width: 380px) {
  .hero-slider {
    min-height: 690px;
  }

  .hero-slide {
    grid-template-rows: 48% 52%;
  }

  .hero-content {
    padding: 25px 18px 48px;
  }

  .hero-content h1 {
    font-size: 28px;
  }

  .hero-content p {
    font-size: 13px;
  }

  .hero-btn {
    width: 100%;
  }
}

/* Reduced motion accessibility */
@media (prefers-reduced-motion: reduce) {
  .hero-slide,
  .hero-image img,
  .hero-btn,
  .slider-arrow {
    transition: none;
  }
}
