/* =============================================
   NEGC 2026 — Fresh Premium Responsive CSS
   ============================================= */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
img { max-width: 100%; height: auto; display: block; }

/* ---------- Custom Properties ---------- */
:root {
  --blue:      #014fa3;
  --blue-mid:  #0368c8;
  --blue-lite: #e8f1fc;
  --gold:      #f5a623;
  --gold-lite: #fff8e1;
  --red:       #c0392b;
  --white:     #ffffff;
  --dark:      #111827;
  --muted:     #6b7280;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 4px 14px rgba(0,0,0,.10);
  --shadow-md: 0 10px 36px rgba(0,0,0,.14);
  --shadow-lg: 0 22px 60px rgba(0,0,0,.18);
  --trans:     .28s cubic-bezier(.4,0,.2,1);
}

/* ---------- Base ---------- */
body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  font-size: clamp(14px, 1.8vw, 16px);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  background: #f0f4f8;
  color: var(--dark);
}

/* ---------- Layout ---------- */
.container-fluid { width: 100%; padding: 0; }
.main-content    { flex: 1; display: flex; flex-direction: column; }

/* ---------- Header ---------- */
.header-picture  { display: block; width: 100%; line-height: 0; }
.header-premium  { position: relative; }
.header-image    {
  width: 100%;
  height: auto;
  min-height: clamp(70px, 16vw, 140px);
  object-fit: cover;
}

/* ---------- Marquee ---------- */
.marquee-wrapper { width: 100%; overflow: hidden; }

.marquee {
  display: flex;
  align-items: center;
  overflow: hidden;
  height: clamp(2.4rem, 7vw, 3.6rem);
  background: linear-gradient(90deg, #0a0020 0%, #7b0f25 50%, #004e6e 100%);
  border-top:    2px solid rgba(255,255,255,.12);
  border-bottom: 3px solid var(--gold);
  cursor: pointer;
  user-select: none;
}

.marquee-content {
  display: flex;
  width: max-content;
  animation: ticker 28s linear infinite;
}

.marquee-item {
  white-space: nowrap;
  padding: 0 3rem;
  font-size: clamp(.78rem, 2.2vw, 1.25rem);
  font-weight: 800;
  letter-spacing: .18em;
  color: #fff;
  text-shadow: 0 2px 6px rgba(0,0,0,.5);
  font-family: 'Courier New', monospace;
}

@keyframes ticker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ---------- Content Wrapper ---------- */
.content-wrapper {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: clamp(1.5rem, 4vw, 2.5rem) clamp(1rem, 3vw, 2rem);
  display: flex;
  flex-direction: column;
  gap: clamp(1.2rem, 3vw, 2rem);
}

/* ---------- Section heading ---------- */
.section-title {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 800;
  color: var(--blue);
  letter-spacing: .02em;
  padding-bottom: .5rem;
  border-bottom: 3px solid var(--gold);
  display: inline-block;
}

/* ---------- Registration Card ---------- */
.card-responsive { width: 100%; }

.reg-card {
  background: linear-gradient(135deg, #fff7e0 0%, #fff2c2 100%);
  border-radius: var(--radius-lg);
  border: 1.5px solid #f5cc6a;
  box-shadow: var(--shadow-md);
  padding: clamp(1.5rem, 5vw, 2.5rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  transition: box-shadow var(--trans), transform var(--trans);
}
.reg-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

/* Student register button */
.btn-register {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: .6rem;
  padding: 1.2rem 2.4rem;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  background: linear-gradient(135deg, var(--red) 0%, #e74c3c 100%);
  color: #fff;
  font-size: clamp(.85rem, 2vw, 1.05rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  box-shadow: 0 8px 28px rgba(192,57,43,.35);
  transition: transform var(--trans), box-shadow var(--trans);
  position: relative;
  overflow: hidden;
}
.btn-register::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.15), transparent);
}
.btn-register:hover {
  transform: translateY(-5px) scale(1.03);
  box-shadow: 0 16px 40px rgba(192,57,43,.45);
}
.btn-register img {
  width: clamp(44px, 10vw, 70px);
  height: auto;
  filter: drop-shadow(0 3px 6px rgba(0,0,0,.3));
}
.btn-register h5 {
  margin: 0;
  font-size: clamp(.8rem, 2vw, 1rem);
  font-weight: 800;
  letter-spacing: .06em;
}

/* ---------- Action Buttons Row ---------- */
.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(.8rem, 2vw, 1.2rem);
  justify-content: center;
}

.btn-action {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .85rem clamp(1.2rem, 3vw, 2rem);
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: clamp(.82rem, 1.8vw, .95rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  transition: transform var(--trans), box-shadow var(--trans);
  position: relative;
  overflow: hidden;
  min-width: 180px;
  justify-content: center;
}
.btn-action::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,.0);
  transition: background var(--trans);
}
.btn-action:hover::after { background: rgba(255,255,255,.12); }
.btn-action:hover { transform: translateY(-4px); }

.btn-action.career {
  background: linear-gradient(135deg, #014fa3 0%, #0276d2 100%);
  color: #fff;
  box-shadow: 0 8px 28px rgba(1,79,163,.30);
}
.btn-action.career:hover { box-shadow: 0 16px 40px rgba(1,79,163,.42); }

.btn-action.rules {
  background: linear-gradient(135deg, #1a7a4a 0%, #22a85f 100%);
  color: #fff;
  box-shadow: 0 8px 28px rgba(26,122,74,.28);
}
.btn-action.rules:hover { box-shadow: 0 16px 40px rgba(26,122,74,.40); }

.btn-action i { font-size: 1.1em; }

/* ---------- Info Cards Grid ---------- */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: clamp(.8rem, 2vw, 1.4rem);
}

.info-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: clamp(1rem, 3vw, 1.5rem);
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--blue-mid);
  display: flex;
  flex-direction: column;
  gap: .5rem;
  transition: transform var(--trans), box-shadow var(--trans);
}
.info-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }

.info-card-icon {
  font-size: 2rem;
  color: var(--blue-mid);
  line-height: 1;
}
.info-card-icon.gold { color: var(--gold); }
.info-card-icon.red  { color: var(--red);  }
.info-card-icon.green{ color: #1a7a4a; }

.info-card h6 {
  font-size: clamp(.85rem, 2vw, 1rem);
  font-weight: 800;
  color: var(--dark);
  margin: 0;
}
.info-card p {
  font-size: clamp(.78rem, 1.6vw, .9rem);
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
}

/* ---------- Stats Strip ---------- */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(.6rem, 1.5vw, 1rem);
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-mid) 100%);
  border-radius: var(--radius-md);
  padding: clamp(1rem, 3vw, 1.6rem);
}

.stat-item {
  text-align: center;
  color: #fff;
  padding: .5rem 0;
  border-right: 1px solid rgba(255,255,255,.18);
}
.stat-item:last-child { border-right: none; }

.stat-number {
  font-size: clamp(1.5rem, 3.5vw, 2.4rem);
  font-weight: 900;
  line-height: 1;
  color: var(--gold);
}
.stat-label {
  font-size: clamp(.7rem, 1.4vw, .82rem);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  opacity: .9;
  margin-top: .25rem;
}

/* ---------- Highlight Banner ---------- */
.highlight-banner {
  background: linear-gradient(135deg, #5e35b1 0%, #8e24aa 100%);
  border-radius: var(--radius-md);
  padding: clamp(1.4rem, 4vw, 2rem) clamp(1.2rem, 4vw, 2rem);
  color: #fff;
  text-align: center;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.highlight-banner h4 {
  font-size: clamp(1.1rem, 2.6vw, 1.6rem);
  font-weight: 800;
  margin: 0;
}
.highlight-banner p {
  font-size: clamp(.85rem, 1.8vw, 1rem);
  opacity: .93;
  max-width: 520px;
  line-height: 1.6;
  margin: 0;
}
.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .9rem 2rem;
  border-radius: var(--radius-sm);
  border: 2px solid #fff;
  background: rgba(255,255,255,.15);
  color: #fff;
  font-size: clamp(.85rem, 1.8vw, 1rem);
  font-weight: 700;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: .06em;
  transition: background var(--trans), transform var(--trans);
  backdrop-filter: blur(4px);
}
.btn-cta:hover { background: rgba(255,255,255,.3); transform: translateY(-3px); }

/* ---------- Footer ---------- */
.footer-fixed {
  width: 100%;
  margin-top: auto;
  line-height: 0;
  border-top: 1px solid rgba(0,0,0,.06);
}
.footer-picture { display: block; width: 100%; }
.footer-image {
  width: 100%;
  height: auto;
  min-height: clamp(50px, 12vw, 100px);
  object-fit: cover;
}

/* ---------- Fade-in animation ---------- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-in-section {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .55s ease, transform .55s ease;
}
.fade-in-section.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .stats-strip          { grid-template-columns: repeat(2, 1fr); }
  .stat-item            { border-right: none; border-bottom: 1px solid rgba(255,255,255,.15); }
  .stat-item:nth-child(2n){ border-right: none; }
  .stat-item:last-child,
  .stat-item:nth-last-child(2) { border-bottom: none; }
  .action-row           { flex-direction: column; align-items: stretch; }
  .btn-action           { width: 100%; }
}

@media (max-width: 480px) {
  .marquee-content      { animation-duration: 20s; }
  .stats-strip          { grid-template-columns: repeat(2, 1fr); }
  .btn-register         { width: 100%; justify-content: center; }
  .info-grid            { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 360px) {
  .info-grid            { grid-template-columns: 1fr; }
  .stats-strip          { grid-template-columns: 1fr 1fr; }
}

/* ---------- Offline Notice ---------- */
.offline-notice {
  display: flex;
  align-items: center;
  gap: .75rem;
  background: linear-gradient(135deg, var(--blue-lite) 0%, #daeaff 100%);
  border: 1.5px solid #b3cef5;
  border-left: 5px solid var(--blue);
  border-radius: var(--radius-sm);
  padding: .85rem 1.2rem;
  font-size: clamp(.82rem, 1.8vw, .95rem);
  color: #013a7a;
  line-height: 1.5;
}
.offline-notice i {
  font-size: 1.4rem;
  color: var(--blue);
  flex-shrink: 0;
}
.offline-notice a {
  color: var(--blue);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.offline-notice a:hover { text-decoration: underline; }
.offline-notice strong { color: var(--blue); font-weight: 800; }

/* ---------- Disclaimer ---------- */
.disclamer {
  background: #fff8e1;
  border: 1.5px solid #f5cc6a;
  border-left: 5px solid var(--gold);
  border-radius: var(--radius-sm);
  padding: .85rem 1.1rem;
  font-size: clamp(.8rem, 1.8vw, .9rem);
  color: #6b4a00;
  line-height: 1.6;
}
.disclamer p { margin: 0; }
.disclamer strong { color: #4d3200; }

/* ---------- Accessibility ---------- */
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

/* ---------- Print ---------- */
@media print {
  .marquee-wrapper, .footer-fixed { display: none; }
}
