/* ============================================
   PARALLAX STYLES — Clean & Performant
   ============================================ */

/* ---------- HERO PARALLAX SLIDER ---------- */
.parallax-slider {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
}

.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-color: var(--blue-dark);
  opacity: 0;
  transition: opacity 1s ease;
}

.slide.active {
  opacity: 1;
  z-index: 1;
}

.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(1, 29, 110, 0.58) 0%,
    rgba(2, 48, 173, 0.45) 50%,
    rgba(1, 29, 110, 0.62) 100%
  );
}

.slide-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 20px;
  z-index: 2;
}

.slide-title {
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 900;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 15px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.slide-title span {
  color: var(--yellow);
}

.slide-subtitle {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 30px;
  max-width: 600px;
}

/* ---------- SLIDER CONTROLS ---------- */
.slider-controls {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 20px;
  z-index: 10;
}

.slider-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-btn:hover {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--blue-dark);
}

.slider-dots {
  display: flex;
  gap: 10px;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.5);
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}

.slider-dot.active {
  background: var(--yellow);
  border-color: var(--yellow);
  transform: scale(1.2);
}

/* ---------- SLIDER PROGRESS BAR ---------- */
.slider-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  background: var(--yellow);
  z-index: 10;
  transition: width 0.03s linear;
}

/* ---------- FLOATING PARTICLES (Subtle) ---------- */
.parallax-particles {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 6px;
  height: 6px;
  background: rgba(250, 239, 22, 0.25);
  border-radius: 50%;
  animation: particleFloat 12s infinite ease-in-out;
}

.particle:nth-child(1) { left: 10%; top: 20%; animation-delay: 0s; }
.particle:nth-child(2) { left: 25%; top: 60%; animation-delay: 2s; width: 4px; height: 4px; }
.particle:nth-child(3) { left: 50%; top: 30%; animation-delay: 4s; }
.particle:nth-child(4) { left: 70%; top: 70%; animation-delay: 1s; width: 5px; height: 5px; }
.particle:nth-child(5) { left: 85%; top: 15%; animation-delay: 3s; width: 4px; height: 4px; }
.particle:nth-child(6) { left: 40%; top: 80%; animation-delay: 5s; }
.particle:nth-child(7) { left: 60%; top: 45%; animation-delay: 6s; width: 3px; height: 3px; }
.particle:nth-child(8) { left: 15%; top: 50%; animation-delay: 7s; width: 5px; height: 5px; }

@keyframes particleFloat {
  0%, 100% { transform: translateY(0) translateX(0); opacity: 0.2; }
  25% { transform: translateY(-20px) translateX(10px); opacity: 0.5; }
  50% { transform: translateY(-10px) translateX(-8px); opacity: 0.3; }
  75% { transform: translateY(-25px) translateX(5px); opacity: 0.4; }
}

/* ---------- SCROLL INDICATOR ---------- */
.scroll-indicator {
  position: absolute;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.mouse {
  width: 24px;
  height: 38px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 12px;
  position: relative;
}

.mouse::after {
  content: '';
  width: 4px;
  height: 8px;
  background: var(--yellow);
  border-radius: 2px;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  animation: mouseScroll 2s infinite ease-in-out;
}

@keyframes mouseScroll {
  0%, 100% { top: 6px; opacity: 1; }
  50% { top: 18px; opacity: 0.3; }
}

/* ---------- PARALLAX BREAK SECTIONS ---------- */
.parallax-break {
  position: relative;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-color: var(--blue-dark);
  overflow: hidden;
}

.parallax-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(1, 29, 110, 0.85) 0%,
    rgba(2, 48, 173, 0.75) 100%
  );
}

.parallax-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 60px 20px;
  max-width: 700px;
}

.parallax-content h2 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 15px;
}

.parallax-content h2 span {
  color: var(--yellow);
}

.parallax-content p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.1rem;
  line-height: 1.8;
}

/* ---------- PARALLAX FLOATING BADGE ICONS ---------- */
.parallax-floating-badge {
  position: absolute;
  font-size: 4rem;
  color: rgba(250, 239, 22, 0.1);
  z-index: 1;
}

.parallax-floating-badge.left {
  left: 8%;
  top: 50%;
  transform: translateY(-50%);
}

.parallax-floating-badge.right {
  right: 8%;
  top: 50%;
  transform: translateY(-50%);
}

/* ---------- PARALLAX COUNTER STRIP ---------- */
.parallax-counter-strip {
  position: relative;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-color: var(--blue-dark);
  padding: 60px 0;
}

.counter-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  position: relative;
  z-index: 2;
}

.counter-strip-item {
  text-align: center;
  color: var(--white);
}

.counter-strip-icon {
  font-size: 2rem;
  color: var(--yellow);
  margin-bottom: 10px;
}

.counter-strip-item h3 {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
}

.counter-plus {
  font-size: 1.5rem;
  color: var(--yellow);
}

.counter-strip-item p {
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
  margin-top: 5px;
}

/* ---------- TESTIMONIALS SECTION ---------- */
.section-testimonials {
  position: relative;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-color: var(--blue-dark);
  padding: 80px 0;
}

.section-testimonials .section-header .section-title {
  color: var(--white);
}

.section-testimonials .section-header .section-subtitle {
  color: rgba(255, 255, 255, 0.7);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 30px;
  color: var(--white);
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.15);
}

.testimonial-stars {
  color: var(--yellow);
  margin-bottom: 15px;
  font-size: 0.9rem;
  display: flex;
  gap: 3px;
}

.testimonial-quote {
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.9);
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--blue-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.testimonial-author-info h4 {
  font-size: 0.95rem;
  color: var(--white);
}

.testimonial-author-info span {
  font-size: 0.8rem;
  color: var(--yellow);
}

/* Testimonials nav */
.testimonials-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-top: 30px;
}

.testimonials-nav button {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonials-nav button:hover {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--blue-dark);
}

.testimonials-page-dots {
  display: flex;
  gap: 8px;
}

.testimonials-page-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.4);
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}

.testimonials-page-dot.active {
  background: var(--yellow);
  border-color: var(--yellow);
}

/* ---------- WHY CHOOSE US ---------- */
.section-why-choose {
  position: relative;
  padding: 80px 0;
  overflow: hidden;
}

.why-choose-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 100%);
  z-index: 1;
}

.why-choose-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.why-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 30px 20px;
  text-align: center;
  color: var(--white);
  position: relative;
  transition: all 0.3s ease;
}

.why-card:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-5px);
}

.why-card-number {
  position: absolute;
  top: 10px;
  right: 15px;
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.06);
  line-height: 1;
}

.why-card-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  background: var(--yellow);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--blue-dark);
}

.why-card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: var(--white);
}

.why-card p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
}

/* ---------- VIDEO CTA ---------- */
.section-video-cta {
  position: relative;
  min-height: 450px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-color: var(--blue-dark);
}

.video-cta-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 40px 20px;
}

.play-btn {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 3px solid var(--white);
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
  font-size: 1.8rem;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: 25px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.play-btn:hover {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--blue-dark);
  transform: scale(1.1);
}

.play-btn i {
  margin-left: 4px;
}

.video-cta-content h2 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 15px;
}

.video-cta-content h2 span {
  color: var(--yellow);
}

.video-cta-content p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.1rem;
  margin-bottom: 25px;
  max-width: 550px;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- TEXT REVEAL ON SCROLL ---------- */
.text-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.text-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- PARALLAX DEPTH LAYERS ---------- */
.parallax-layer {
  transition: transform 0.1s linear;
}

/* ---------- MOBILE: DISABLE background-attachment: fixed ---------- */
@media (max-width: 768px) {
  .parallax-break,
  .parallax-counter-strip,
  .section-testimonials,
  .section-video-cta {
    background-attachment: scroll;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .parallax-floating-badge {
    display: none;
  }

  .scroll-indicator {
    bottom: 90px;
  }
}
