@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

* {
    font-family: 'Inter', sans-serif;
}

.hero-bg {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.7), rgba(45, 45, 45, 0.5)), 
                url('resources/hero-background.png')center/cover no-repeat;
    min-height: 100vh;
}

/* DESKTOP – shift image DOWN so heads show */
@media (min-width: 1024px) {
  .hero-bg {
    background-position: center 10%;
  }
}

.text-gradient {
    background: linear-gradient(135deg, #b87333, #d97706);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.particle-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.content-overlay {
    position: relative;
    z-index: 2;
}

.hover-lift {
    transition: all 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.quiz-option {
    transition: all 0.3s ease;
}

.quiz-option:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.stats-counter {
    font-size: 3rem;
    font-weight: 800;
    color: #b87333;
}

.service-card {
    background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

.testimonial-card {
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
}

.nav-link {
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #b87333, #d97706);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Mobile fixes (add if needed) */
@media (max-width: 768px) {
    .stats-counter {
        font-size: 2rem;
    }
    .text-5xl {
        font-size: 2.5rem !important;
    }
}

/* ===== Quiz Card & Popup Styles ===== */
.quiz-card {
  background: white;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  transition: all 0.2s ease;
  cursor: pointer;
}
.quiz-card:hover {
  box-shadow: 0 6px 15px rgba(255, 179, 0, 0.4);
  background: #fffaf0;
}

.animate-fade-in {
  animation: fadeIn 0.3s ease forwards;
}
@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.95);}
  to { opacity: 1; transform: scale(1);}
}
@keyframes bounceClick {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}
.animate-bounce-click {
  animation: bounceClick 0.3s ease forwards;
}

/* Result popup card */
.result-card {
  background: white;
  border-radius: 1rem;
  padding: 2rem;
  max-width: 24rem;
  width: 90%;
  text-align: center;
  position: relative;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 1.5rem;
  color: #6b7280;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(to right, #f59e0b, #f97316);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 0.75rem;
  font-weight: 600;
  transition: all 0.3s;
}
.btn-primary:hover {
  box-shadow: 0 8px 20px rgba(255, 179, 0, 0.5);
  transform: scale(1.05);
}

.btn-secondary {
  border: 2px solid white;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 0.75rem;
  font-weight: 600;
  transition: all 0.3s;
}
.btn-secondary:hover {
  background: white;
  color: #1f2937;
}

/* ===== Program Card Styles ===== */
.program-card {
  background-color: #ffffff;
  border: 1px solid #e5e7eb; /* soft gray border */
  border-radius: 1rem; /* rounded corners */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05); /* soft elevation */
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s ease-in-out;
  cursor: pointer;
}

.program-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1); /* subtle lift on hover */
}

