*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Inter', sans-serif;
  color: #111827;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }

/* NAV */
nav.nav-bar,
nav {
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1rem;
  position: sticky;
  top: 0;
  z-index: 100;
}
@media (min-width: 1024px) {
  nav.nav-bar,
  nav { padding: 0 48px; }
}

.logo {
  display: flex;
  align-items: center;
}
.logo img { max-width: 180px; height: auto; display: block; }

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo-divider {
  width: 1px;
  height: 28px;
  background: #e5e7eb;
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: #374151;
  transition: color .2s;
}
.nav-links a:hover { color: #1D6FE8; }

.nav-actions { display: flex; align-items: center; gap: 16px; }
.nav-actions a:not(.btn) { font-size: 14px; font-weight: 500; color: #374151; transition: color .2s; }
.nav-actions a:not(.btn):hover { color: #1D6FE8; }

.btn {
  display: inline-block;
  background: #1D6FE8;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background .2s, box-shadow .2s, transform .15s;
}
.btn:hover {
  background: #1558c0;
  box-shadow: 0 4px 16px rgba(29,111,232,.3);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: #1D6FE8;
  border: 1.5px solid #1D6FE8;
}
.btn-outline:hover {
  background: #eff6ff;
  box-shadow: none;
}

/* HERO */
.hero {
  max-width: 1140px;
  margin: 0 auto;
  padding: 24px 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
}
@media (min-width: 1024px) {
  .hero {
    padding: 40px 20px;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

.hero-title {
  font-size: 28px;
  font-weight: 800;
  line-height: 1.07;
  letter-spacing: -0.03em;
  color: #0f172a;
  margin-bottom: 8px;
}
@media (min-width: 1024px) {
  .hero-title { font-size: 40px; }
}

.hero-tagline {
  font-size: 18px;
  font-weight: 600;
  color: #1A1A1A;
  margin-bottom: 10px;
}
@media (min-width: 1024px) {
  .hero-tagline { font-size: 24px; }
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 11.5px;
  font-weight: 700;
  color: #1D6FE8;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

/* Countdown timer (box UI) */
.countdown-wrapper {
  margin-bottom: 24px;
}

.countdown-heading {
  color: #3b82f6;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.countdown-timer {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-start;
}
@media (min-width: 1024px) {
  .countdown-timer { gap: 18px; }
}

.countdown-box {
  width: 64px;
  height: 56px;
  border: 1px solid #dbe3ef;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: #f7f9fc;
}
@media (min-width: 640px) {
  .countdown-box { width: 72px; height: 62px; }
}
@media (min-width: 1024px) {
  .countdown-box { width: 80px; height: 70px; }
}

.countdown-number {
  font-size: 20px;
  font-weight: bold;
  color: #2563eb;
}
@media (min-width: 1024px) {
  .countdown-number { font-size: 25px; }
}

.countdown-label {
  font-size: 10px;
  color: #7b8794;
  margin-top: 0px;
}

.countdown-wrapper.ended .countdown-timer { display: none; }
.countdown-ended-msg {
  font-size: 14px;
  font-weight: 700;
  color: #1D6FE8;
}

.topics {
  font-size: 14px;
  font-weight: 600;
  color: #374151;
  margin-bottom: 6px;
}

.desc {
  font-size: 14px;
  color: #9ca3af;
  margin-bottom: 36px;
}

.cta-row {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.btn-lg {
  padding: 13px 26px;
  font-size: 15px;
  border-radius: 10px;
}

.avatars-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.avatar-stack { display: flex; }

.avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid #f0f2f7;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  margin-left: -7px;
}
.avatar:first-child { margin-left: 0; }
.av-g { background: #22c55e; }
.av-r { background: #ef4444; }
.av-b { background: #3b82f6; }

.reg-label { font-size: 13px; color: #6b7280; }
.reg-label strong { color: #111827; font-weight: 600; }

/* ILLUSTRATION */
.hero-illus {
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-illus svg { width: 100%; max-width: 460px; height: auto; display: block; }

/* WHO CAN PARTICIPATE */
.section-who {
  background: #F8FAFC;
  padding: 24px 0;
}
@media (min-width: 1024px) {
  .section-who { padding: 50px 0; }
}
.section-inner { max-width: 1140px; margin: 0 auto; }
@media (max-width: 1023px) {
  .section-inner { padding-left: 0; padding-right: 0; }
}

.section-title {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.025em;
  text-align: center;
  margin-bottom: 8px;
}
@media (min-width: 1024px) {
  .section-title { font-size: 32px; }
}

.section-sub {
  text-align: center;
  font-size: 15px;
  color: #6b7280;
  margin-bottom: 24px;
}

.tags-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin: 0 auto;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1.5px solid #bfdbfe;
  border-radius: 9px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  color: #1e293b;
  background: #fff;
  transition: border-color .2s, background .2s, transform .15s, box-shadow .2s;
  cursor: default;
}
.tag:hover {
  border-color: #1D6FE8;
  background: #eff6ff;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(29,111,232,.12);
}
.tag svg { color: #1D6FE8; flex-shrink: 0; }

/* Disable hover effect for tags only inside the "Who Can Participate" section" */
.section-who .tag {
  transition: none;
}

.section-who .tag:hover {
  border-color: #bfdbfe;
  background: #fff;
  transform: none;
  box-shadow: none;
}


/* TABS */
.tabs{
  padding:0.3rem 0.25rem!important;
}
