/* =============================================
   EIBO CAREER HUB – HOME PAGE STYLES
   ============================================= */

/* ---- HERO ---- */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(160deg, #000000 0%, #020408 60%, #040c1e 100%);
  overflow: hidden;
  padding-top: 120px;
  padding-bottom: 60px;
}

#heroCanvas {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.hero-bg-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
}

.glow-1 {
  width: 700px;
  height: 700px;
  background: rgba(30, 144, 255, 0.10);
  top: -200px;
  right: -150px;
  z-index: 0;
}

.glow-2 {
  width: 450px;
  height: 450px;
  background: rgba(0, 207, 255, 0.06);
  bottom: -120px;
  left: -120px;
  z-index: 0;
}

.glow-3 {
  width: 350px;
  height: 350px;
  background: rgba(249, 115, 22, 0.04);
  top: 40%;
  left: 40%;
  z-index: 0;
}

.hero-section .container {
  position: relative;
  z-index: 2;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-badge {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.hero-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 32px;
  max-width: 520px;
}

.hero-desc strong {
  color: var(--eibo-cyan);
}

.hero-desc em {
  color: var(--eibo-orange-2);
  font-style: normal;
  font-weight: 600;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.trust-item i {
  color: var(--eibo-green);
  font-size: 0.9rem;
}

/* Hero Visual */
.hero-visual {
  position: relative;
}

.hero-card-wrap {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: visible;
}

.hero-img {
  width: 100%;
  border-radius: var(--radius-xl);
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.8), 0 0 60px rgba(30, 144, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.hero-floating-card {
  position: absolute;
  background: rgba(5, 5, 8, 0.97);
  backdrop-filter: blur(24px);
  border: 1px solid rgba(30, 144, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.7);
  animation: floatCard 4s ease-in-out infinite;
}

.hero-floating-card i {
  font-size: 1.6rem;
}

.hero-floating-card .fc-num {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-white);
  line-height: 1;
}

.hero-floating-card .fc-label {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.card-1 {
  top: -20px;
  left: -30px;
  animation-delay: 0s;
}

.card-2 {
  bottom: 60px;
  right: -30px;
  animation-delay: 1.5s;
}

.card-3 {
  bottom: -20px;
  left: 30px;
  animation-delay: 0.8s;
}

@keyframes floatCard {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

/* ---- STATS SECTION ---- */
.stats-section {
  padding: 50px 0;
}

/* ---- WHY SECTION ---- */
.why-section {
  padding: 90px 0;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 50px;
}

.why-card {
  padding: 32px 24px;
  background: rgba(8, 8, 12, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.why-icon {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(26, 115, 232, 0.2), rgba(0, 212, 255, 0.1));
  border: 1px solid rgba(26, 115, 232, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--eibo-blue-light);
  margin-bottom: 20px;
}

.why-icon.icon-orange {
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.2), rgba(251, 146, 60, 0.1));
  border-color: rgba(249, 115, 22, 0.2);
  color: var(--eibo-orange-2);
}

.why-icon.icon-green {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.2), rgba(74, 222, 128, 0.1));
  border-color: rgba(34, 197, 94, 0.2);
  color: var(--eibo-green);
}

.why-icon.icon-purple {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.2), rgba(167, 139, 250, 0.1));
  border-color: rgba(124, 58, 237, 0.2);
  color: #a78bfa;
}

.why-card h3 {
  font-size: 1.1rem;
  margin-bottom: 12px;
}

.why-card p {
  font-size: 0.875rem;
  line-height: 1.7;
  margin-bottom: 16px;
}

.why-features {
  list-style: none;
}

.why-features li {
  font-size: 0.8rem;
  color: var(--text-muted);
  padding: 5px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.why-features li i {
  color: var(--eibo-green);
  font-size: 0.7rem;
}

/* ---- COURSES PREVIEW ---- */
.courses-preview {
  padding: 90px 0;
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 50px;
}

.course-card {
  padding: 28px 24px;
  position: relative;
  overflow: hidden;
  background: rgba(8, 8, 12, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.6s ease;
}

.course-card:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 0 40px rgba(30, 144, 255, 0.15);
  border-color: rgba(30, 144, 255, 0.3);
}

.course-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--grad-blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.course-card:hover::after {
  transform: scaleX(1);
}

.course-card .course-icon {
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.course-card:hover .course-icon {
  transform: translateY(-5px) scale(1.1);
}

.course-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: white;
  margin-bottom: 16px;
}

.course-badge-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.course-card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.course-card p {
  font-size: 0.875rem;
  line-height: 1.7;
}

.course-meta {
  display: flex;
  gap: 16px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.course-meta i {
  color: var(--eibo-cyan);
  margin-right: 4px;
}

/* ---- PLACEMENTS SHOWCASE ---- */
.placements-showcase {
  padding: 90px 0;
}

.companies-ticker-wrap {
  margin: 40px 0 50px;
  text-align: center;
}

.companies-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  font-weight: 500;
}

.companies-ticker {
  overflow: hidden;
  position: relative;
}

.companies-ticker::before,
.companies-ticker::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
}

.companies-ticker::before {
  left: 0;
  background: linear-gradient(to right, var(--eibo-navy), transparent);
}

.companies-ticker::after {
  right: 0;
  background: linear-gradient(to left, var(--eibo-navy), transparent);
}

.companies-track {
  display: flex;
  animation: companyScroll 30s linear infinite;
  width: max-content;
}

.companies-track:hover {
  animation-play-state: paused;
}

.company-pill {
  flex-shrink: 0;
  padding: 10px 20px;
  margin: 0 6px;
  background: rgba(255, 255, 255, 0.04);
  border: var(--border-glass);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: var(--transition);
  white-space: nowrap;
}

.company-pill:hover {
  background: rgba(26, 115, 232, 0.1);
  border-color: rgba(26, 115, 232, 0.3);
  color: var(--eibo-blue-light);
}

@keyframes companyScroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.students-ticker-wrap {
  margin: 40px 0;
  overflow: hidden;
  position: relative;
}

.students-ticker-wrap::before,
.students-ticker-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100px;
  z-index: 2;
  pointer-events: none;
}

.students-ticker-wrap::before {
  left: 0;
  background: linear-gradient(to right, var(--eibo-navy), transparent);
}

.students-ticker-wrap::after {
  right: 0;
  background: linear-gradient(to left, var(--eibo-navy), transparent);
}

.students-track {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  width: max-content;
  animation: studentScroll 80s linear infinite;
}

.students-track:hover {
  animation-play-state: paused;
}

@keyframes studentScroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.student-card {
  width: 150px;
  min-height: 218px;
  flex-shrink: 0;
  padding: 0;
  overflow: visible;
  background: transparent;
  border: 0;
  border-radius: 0;
  position: relative;
  text-align: center;
}

.student-photo {
  width: 140px;
  height: 140px;
  object-fit: cover;
  object-position: top;
  border-radius: 50%;
  display: block;
  margin: 0 auto;
  background: rgba(8, 8, 12, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.35);
}

.student-info {
  display: block !important;
  padding: 10px 4px 0;
  text-align: center;
  background: transparent;
}

.student-info h4 {
  font-size: 0.74rem;
  line-height: 1.15;
  margin-bottom: 4px;
  color: var(--text-white);
}

.student-course {
  display: none;
}

.student-placement {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 3px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.company-name {
  display: block;
  max-width: 100%;
  font-size: 0.66rem;
  line-height: 1.1;
  font-weight: 800;
  color: var(--eibo-cyan);
  margin-bottom: 0;
  white-space: normal;
}

.package {
  font-size: 0.7rem;
  line-height: 1.1;
  font-weight: 800;
  color: var(--eibo-orange-2);
}

/* Live cache guard */
.placements-showcase .students-ticker-wrap {
  overflow: hidden !important;
}

.placements-showcase .students-track {
  display: flex !important;
  align-items: flex-start !important;
  gap: 24px !important;
  width: max-content !important;
}

.placements-showcase .student-card.glass-card,
.placements-showcase .student-card {
  width: 150px !important;
  max-width: 150px !important;
  min-width: 150px !important;
  flex: 0 0 150px !important;
  min-height: 218px !important;
  padding: 0 !important;
  overflow: visible !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  text-align: center !important;
}

.placements-showcase .student-photo {
  width: 140px !important;
  height: 140px !important;
  max-width: 140px !important;
  max-height: 140px !important;
  aspect-ratio: 1 / 1 !important;
  object-fit: cover !important;
  object-position: top center !important;
  border-radius: 50% !important;
  display: block !important;
  margin: 0 auto !important;
}

.placements-showcase .student-card:hover {
  transform: translateY(-8px) scale(1.05) !important;
}

.placements-showcase .student-card:hover .student-photo {
  border-color: rgba(30, 144, 255, 0.6) !important;
  box-shadow: 0 16px 45px rgba(30, 144, 255, 0.3) !important;
  transform: scale(1.02);
  transition: var(--transition);
}

/* ---- CAMPUS SECTION ---- */
.campus-section {
  padding: 90px 0;
}

.campus-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.campus-features {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 20px;
}

.campus-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.campus-features li i {
  color: var(--eibo-cyan);
  width: 16px;
  font-size: 0.8rem;
}

.campus-images {
  position: relative;
}

.campus-main-img {
  width: 100%;
  border-radius: var(--radius-xl);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), var(--shadow-blue);
  border: var(--border-glass);
}

.campus-badge-overlay {
  position: absolute;
  bottom: -20px;
  left: 24px;
  background: var(--grad-orange);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 8px 30px rgba(249, 115, 22, 0.4);
  color: white;
  font-size: 0.85rem;
  font-weight: 600;
}

.campus-badge-overlay i {
  font-size: 1.3rem;
}

/* ---- TESTIMONIALS ---- */
.testimonials-section {
  padding: 90px 0;
}

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

.testimonial-card {
  padding: 32px 28px;
  position: relative;
  background: rgba(8, 8, 12, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 16px;
  right: 24px;
  font-size: 5rem;
  font-family: Georgia, serif;
  color: rgba(26, 115, 232, 0.12);
  line-height: 1;
}

.stars {
  color: #fbbf24;
  font-size: 1rem;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.testimonial-text {
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.testimonial-author img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(26, 115, 232, 0.3);
}

.testimonial-author strong {
  display: block;
  font-size: 0.95rem;
  color: var(--text-white);
}

.testimonial-author span {
  font-size: 0.75rem;
  color: var(--eibo-cyan);
}

/* ---- BATCH COUNTDOWN ---- */
.batch-section {
  padding: 70px 0;
}

.batch-card {
  max-width: 700px;
  margin: 0 auto;
  padding: 50px 40px;
  text-align: center;
  border: 1px solid rgba(30, 144, 255, 0.2);
  background: linear-gradient(135deg, rgba(5, 5, 8, 0.95), rgba(30, 144, 255, 0.04));
}

.batch-card h2 {
  font-size: 1.8rem;
  margin-bottom: 24px;
}

.countdown {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin: 8px 0 24px;
}

.count-unit {
  text-align: center;
}

.count-num {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  background: var(--grad-blue);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  display: block;
  min-width: 80px;
  background-color: rgba(30, 144, 255, 0.06);
  border: 1px solid rgba(30, 144, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 14px;
}

.count-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 6px;
}

.count-sep {
  font-size: 2rem;
  color: var(--eibo-blue);
  font-weight: 700;
  margin-bottom: 20px;
}

/* ---- FAQ ---- */
.faq-section {
  padding: 90px 0;
}

.faq-grid {
  max-width: 800px;
  margin: 50px auto 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: rgba(6, 6, 10, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: rgba(30, 144, 255, 0.2);
}

.faq-item.open {
  border-color: rgba(30, 144, 255, 0.35);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  background: transparent;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-white);
  text-align: left;
  cursor: pointer;
  transition: var(--transition);
}

.faq-question:hover {
  color: var(--eibo-cyan);
}

.faq-question i {
  font-size: 0.8rem;
  color: var(--text-muted);
  transition: var(--transition);
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-item.open .faq-question i {
  transform: rotate(180deg);
  color: var(--eibo-cyan);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 24px;
}

.faq-item.open .faq-answer {
  max-height: 200px;
  padding: 0 24px 20px;
}

.faq-answer p {
  font-size: 0.875rem;
  line-height: 1.8;
  color: var(--text-muted);
}

/* ---- CTA BANNER ---- */
.cta-banner {
  padding: 70px 0;
}

.cta-inner {
  padding: 60px 40px;
  text-align: center;
  background: linear-gradient(135deg, rgba(5, 5, 8, 0.97) 0%, rgba(30, 144, 255, 0.04) 100%);
  border-color: rgba(30, 144, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.cta-inner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(26, 115, 232, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.cta-content h2 {
  font-size: 2.2rem;
  margin-bottom: 16px;
}

.cta-content p {
  font-size: 1rem;
  color: var(--text-muted);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1200px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-visual {
    display: none;
  }

  .hero-title {
    font-size: 2.4rem;
  }

  .courses-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .campus-images {
    order: -1;
  }

  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero-section {
    padding-top: 100px;
    min-height: auto;
  }

  .hero-title {
    font-size: 2rem;
    letter-spacing: -0.5px;
  }

  .hero-desc {
    font-size: 0.95rem;
  }

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

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

  .campus-features {
    grid-template-columns: 1fr;
  }

  .campus-badge-overlay {
    left: 12px;
    right: 12px;
    padding: 12px 14px;
  }

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

  .count-num {
    font-size: 2rem;
    min-width: 60px;
    padding: 10px;
  }

  .batch-card {
    padding: 32px 20px;
  }

  .cta-inner {
    padding: 40px 20px;
  }

  .cta-content h2 {
    font-size: 1.6rem;
  }

  .faq-question {
    padding: 16px 18px;
    font-size: 0.88rem;
  }

  .faq-answer {
    padding: 0 18px;
  }

  .faq-item.open .faq-answer {
    padding: 0 18px 16px;
  }

  .students-ticker-wrap::before,
  .students-ticker-wrap::after {
    width: 50px;
  }
}

@media (max-width: 480px) {
  .hero-section {
    padding-top: 90px;
  }

  .hero-title {
    font-size: 1.75rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-trust {
    gap: 12px;
  }

  .trust-item {
    font-size: 0.78rem;
  }

  .why-card {
    padding: 24px 18px;
  }

  .course-card {
    padding: 22px 18px;
  }

  .countdown {
    gap: 6px;
  }

  .count-num {
    font-size: 1.5rem;
    min-width: 48px;
    padding: 8px;
  }

  .count-sep {
    font-size: 1.4rem;
  }

  .testimonial-card {
    padding: 24px 18px;
  }

  .company-pill {
    padding: 8px 14px;
    font-size: 0.8rem;
  }
}