/* ===== PAGE BACKGROUND (match global theme) ===== */
body {
  background: var(--gray-100);
  color: var(--gray-800);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

/* ===== HEADER ===== */

.landing-header {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  background: linear-gradient(135deg, #1e40af 0%, #2563eb 60%, #3b82f6 100%);
  color: white;
}

.logo-text {
  position: absolute;
  left: 50%;
  top: 53%;
  transform: translate(-50%, -60%);

  font-size: 24px;              /* match home header size */
  font-weight: 900;             /* extra bold */
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 10px;

  /* same glass highlight used on home */
  background: linear-gradient(
    135deg,
    rgba(255,255,255,0.28),
    rgba(255,255,255,0.10)
  );

  border: 1px solid rgba(255,255,255,0.35);

  /* depth effect */
  box-shadow:
    0 4px 18px rgba(0,0,0,0.25),
    inset 0 1px 0 rgba(255,255,255,0.35);
}

.auth-buttons .btn {
  padding: 8px 14px;
  border-radius: 8px;
  text-decoration: none;
  margin-left: 8px;
  font-weight: 600;
}

.login {
  background: #1e5bb8;
  color: white;
}

.signup {
  background: #f39c12;
  color: white;
}


/* ===== BANNER ===== */

/* ===== IMAGE SLIDER ===== */

.slider {
  position: relative;
  width: 100%;
  max-width: 1000px;
  margin: 12px auto 20px;
  overflow: hidden;
  border-radius: 14px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.15);
  background: #000; /* prevents white flash */
}

.slides {
  position: relative;
  width: 100%;
  height: 220px;           /* mobile height */
}

.slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
}

.slide.active {
  opacity: 1;
  pointer-events: auto;
}

/* Navigation arrows */

.slider .prev,
.slider .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.45);
  color: white;
  border: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
  transition: background 0.2s ease;
}

.slider .prev:hover,
.slider .next:hover {
  background: rgba(0,0,0,0.65);
}

.slider .prev { left: 12px; }
.slider .next { right: 12px; }

/* Desktop size */

@media (min-width: 768px) {
  .slides { height: 320px; }
}

@media (min-width: 1024px) {
  .slides { height: 420px; }
}

.banner img {
  width: 100%;
  border-radius: 10px;
}


/* ===== VIDEOS ===== */

.video-slider {
  position: relative;
  display: flex;
  align-items: center;
}

.video-row {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 10px 0;
}

.video-row::-webkit-scrollbar {
  display: none; /* hide scrollbar */
}

.video-card {
  min-width: 300px;
  flex-shrink: 0;
}

.video-card iframe {
  width: 100%;
  height: 170px;
  border-radius: 10px;
}

.video-prev,
.video-next {
  background: rgba(0,0,0,0.6);
  color: white;
  border: none;
  font-size: 24px;
  padding: 8px 12px;
  cursor: pointer;
  border-radius: 6px;
}

.videos-section {
  max-width: 900px;
  margin: 0 auto;
  padding: 18px 16px;
}

.videos-section h2 {
  color: #1e4aa8;
}

.video-card iframe {
  width: 100%;
  height: 200px;
  border-radius: 8px;
}

.video-title {
  text-align: center;
  margin-top: 8px;
  font-weight: bold;
}


/* ===== ABOUT ===== */

.about {
  max-width: 900px;
  margin: 0 auto;
  padding: 18px 16px;
}

.about-box {
  background: #eef2f7;
  padding: 16px;
  border-radius: 12px;
}


/* ===== TRENDING ===== */

.trending {
  background: var(--primary);
  color: white;
  padding: 18px 16px;
  border-radius: 12px;
  margin: 18px auto;
  text-align: center;
  max-width: 900px;
}

.trending img {
  width: 100%;
  border-radius: 10px;
  margin: 12px 0;
}

.apply-btn {
  background: #ff5a3c;
  border: none;
  padding: 12px 20px;
  border-radius: 8px;
  color: white;
  font-size: 16px;
}

.exam-links button {
  margin: 8px;
  padding: 10px 14px;
  border-radius: 8px;
  border: none;
}


/* ===== TESTIMONIAL SLIDER ===== */

.testimonials {
  padding: 18px 16px;
  position: relative;
  max-width: 900px;
  margin: 18px auto;
}

.testimonial-slider {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  min-height: 260px;
}

.testimonial-slide {
  position: absolute;
  inset: 0;
  display: block;
  opacity: 0;
  background: #fff;
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 6px 24px rgba(0,0,0,.12);
  text-align: center;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.testimonial-slide.active {
  opacity: 1;
  pointer-events: auto;
  position: relative;
}

.testimonial-slide img {
  width: 100%;
  max-height: 260px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 12px;
}

.testimonial-slide .name {
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 6px;
  color: var(--gray-800);
}

.testimonial-slide p {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.5;
}

/* Navigation arrows — same as banner */
.testimonial-slider .prev,
.testimonial-slider .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.45);
  color: white;
  border: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
  transition: background 0.2s ease;
  z-index: 2;
}

.testimonial-slider .prev:hover,
.testimonial-slider .next:hover {
  background: rgba(0,0,0,0.65);
}

.testimonial-slider .prev { left: 12px; }
.testimonial-slider .next { right: 12px; }

/* Desktop enhancement */

@media (min-width: 768px) {
  .testimonial-slide {
    padding: 24px 28px;
  }

  .testimonial-slide img {
    max-height: 320px;
  }

  .testimonial-slider {
    min-height: 320px;
  }
}


/* ===== STATES ===== */

.states {
  max-width: 900px;
  margin: 0 auto;
  padding: 18px 16px;
}


/* ===== FOOTER ===== */

.footer {
  background: transparent;
  color: inherit;
  padding: 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.social {
  display: flex;
  gap: 12px;
  margin-top: 12px;
  justify-content: center;
  width: 100%;
}

.icon {
  width: 72px;
  height: 72px;

  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;

  cursor: pointer;

  /* Neutral base (used if platform class missing) */
  background: #ffffff;

  /* Strong elevation */
  box-shadow: 0 8px 22px rgba(0,0,0,0.28);

  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

/* ===== PLATFORM COLORS (original brand colors) ===== */

.icon.instagram { background: radial-gradient(circle at 30% 30%, #feda75, #d62976, #962fbf, #4f5bd5); }
.icon.facebook  { background: #1877F2; }
.icon.youtube   { background: #FF0000; }
.icon.telegram  { background: #229ED9; }
.icon.twitter   { background: #1DA1F2; }

.icon img,
.icon svg {
  width: 36px;
  height: 36px;
  /* Force original icon colors (override global CSS) */
  filter: none !important;
  opacity: 1 !important;
}

.icon:hover {
  transform: translateY(-6px) scale(1.05);
  box-shadow: 0 14px 32px rgba(0,0,0,0.38);
}