/* ===============================
   TYPOGRAPHY
================================ */

h1,
h2,
h3,
h4 {
  font-weight: 600;
  letter-spacing: -0.02em;
}

h3 {
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 600;
  color: var(--color-primary);
  text-align: center;
  letter-spacing: 0.02em;
}

h4 {
  font-size: 18px;
}

p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.72);
}

.section-title {
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 48px;
}

/* ===============================
   BUTTONS
================================ */

.btn-primary {
  padding: 10px 22px;
  background-color: var(--color-primary);
  color: #000000;
  border-radius: 999px;
  font-weight: 600;
  font-size: 13px;
}

.btn-primary:hover {
  background-color: var(--color-primary-dark);
  box-shadow: 0 0 24px var(--color-primary-glow);
}

.btn-outline {
  padding: 14px 32px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  font-weight: 500;
  color: var(--color-white);
  transition:
    border-color var(--transition-base),
    box-shadow var(--transition-base);
}

.btn-outline:hover {
  border-color: var(--color-primary);
  box-shadow: 0 0 18px var(--color-primary-glow);
}

/* ===============================
   CARDS
================================ */

.info-card,
.prize-card,
.theme-card,
.campus-card {
  padding: 28px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(180deg, #0f0f0f, #0a0a0a);
}

.info-card h4,
.prize-card h4,
.campus-card h4 {
  margin-bottom: 12px;
}

/* ===============================
   HERO TEXT
================================ */

.hero h1 {
  background: linear-gradient(90deg, #ffffff, #d6d6d6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero h2 {
  color: rgba(255, 255, 255, 0.65);
}

.hero-cta {
  margin-top: 40px;
}

.hero-cta .btn-outline {
  padding: 12px 28px;
  font-size: 14px;
  border-color: rgba(255, 255, 255, 0.25);
}

/* ===============================
   COUNTDOWN
================================ */

.countdown-banner p {
  font-size: 14px;
  color: var(--color-muted);
}

#countdown-timer {
  font-weight: 600;
  color: var(--color-white);
}

.hero-countdown {
  margin-top: 28px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
}

.hero-countdown span {
  margin-left: 6px;
  font-weight: 600;
  color: #ffffff;
}

/* ===============================
   JOURNEY STEPS
================================ */

.journey-steps li {
  padding: 24px;
  border-radius: 12px;
  border: 1px solid var(--color-border);
  background-color: var(--color-dark);
  font-size: 15px;
}

/* ===============================
   PARTICIPATION SECTION
================================ */

.participation-panel {
  padding: 96px 72px;
}

.section-heading {
  text-align: center;
  color: var(--color-primary);
  font-size: 28px;
  letter-spacing: 0.08em;
  margin-bottom: 64px;
}

.participation-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.participation-card {
  height: 100%;
  padding: 40px 32px;
  border-radius: 18px;
  border: 1px solid rgba(255, 95, 46, 0.35);
  background: linear-gradient(180deg, #101010 0%, #0a0a0a 100%);
  text-align: center;
}

.participation-card h4 {
  margin-top: 24px;
  margin-bottom: 16px;
  font-size: 18px;
  color: #ffffff;
}

.participation-card p {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.75);
}

.participation-section .section-heading {
  text-align: center;
}

/* ===============================
   JOURNEY TO VICTORY
================================ */

.journey-panel {
  padding: 96px 72px;
}

.journey-layout {
  display: grid;
  grid-template-columns: 1.1fr 120px 1.6fr;
  gap: 48px;
  align-items: flex-start;
}

.journey-intro h3 {
  color: var(--color-primary);
  font-size: 28px;
  letter-spacing: 0.08em;
  margin-bottom: 24px;
}

.journey-intro p {
  max-width: 420px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
}

/* CENTER LINE */
.journey-line {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 88px;
}

.journey-line::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.25),
    rgba(255, 255, 255, 0.25) 6px,
    transparent 6px,
    transparent 14px
  );
}

/* NUMBER CIRCLES */
.journey-step-number {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: #0b0b0b;
  border: 2px solid rgba(255, 255, 255, 0.5);
  color: #ffffff;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

/* RIGHT CARDS */
.journey-steps {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.journey-card {
  padding: 28px 32px;
  border-radius: 12px;
  background: linear-gradient(90deg, #2a140a, #1a0f0a);
}

.journey-card h4 {
  color: var(--color-primary);
  font-size: 18px;
  margin-bottom: 12px;
}

.journey-card p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

/* ===============================
   JOURNEY ROW SYSTEM
================================ */

/* ===============================
   JOURNEY TO VICTORY – FINAL
================================ */

.journey-panel {
  padding: 88px 72px;
}

.journey-layout {
  display: grid;
  grid-template-columns: 1.1fr 2fr;
  gap: 96px;
  align-items: flex-start;
}

/* LEFT CONTENT */
.journey-intro h3 {
  color: var(--color-primary);
  font-size: 28px;
  letter-spacing: 0.08em;
  margin-bottom: 24px;
}

.journey-intro p {
  max-width: 420px;
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.75);
}

/* RIGHT SIDE ROW STACK */
.journey-rows {
  display: flex;
  flex-direction: column;
  gap: 56px;
}

/* EACH ROW */
.journey-row {
  display: grid;
  grid-template-columns: 44px 72px 1fr;
  align-items: center;
  gap: 16px;
}

/* NUMBER CIRCLE */
.journey-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #0b0b0b;
  border: 2px solid rgba(255, 255, 255, 0.55);
  color: #ffffff;
  font-weight: 600;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* DASHED CONNECTOR */
.journey-connector {
  height: 2px;
  background: repeating-linear-gradient(
    to right,
    rgba(255, 255, 255, 0.45),
    rgba(255, 255, 255, 0.45) 6px,
    transparent 6px,
    transparent 14px
  );
}

/* CARD */
.journey-card {
  padding: 28px 32px;
  border-radius: 14px;
  background: linear-gradient(90deg, #2a140a 0%, #1a0f0a 100%);
}

.journey-card h4 {
  color: var(--color-primary);
  font-size: 18px;
  margin-bottom: 12px;
}

.journey-card p {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
}

/* ===============================
   RESPONSIVE
================================ */

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

  .journey-intro p {
    max-width: 100%;
  }

  .journey-row {
    grid-template-columns: 40px 1fr;
    gap: 16px;
  }

  .journey-connector {
    display: none;
  }
}

/* ===============================
   PRIZES SECTION – FINAL
================================ */

.prizes-panel {
  padding: 88px 72px;
  position: relative;
  overflow: hidden;
}

/* ORANGE AMBIENT GLOW (IMPORTANT) */
.prizes-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      900px 500px at 50% -200px,
      rgba(255, 95, 46, 0.18),
      transparent 60%
    ),
    radial-gradient(
      600px 400px at 90% 20%,
      rgba(255, 95, 46, 0.12),
      transparent 60%
    );
  pointer-events: none;
}

/* SUBTLE GRID TEXTURE */
.prizes-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.2;
  pointer-events: none;
}

.prizes-panel > * {
  position: relative;
  z-index: 1;
}

/* HEADING */
.prizes-section .section-heading {
  text-align: center;
  margin-bottom: 32px;
}

/* PRIZE POOL */
.prize-pool {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-bottom: 64px;
}

.prize-pool .trophy {
  font-size: 32px;
}

.prize-pool .amount {
  font-size: 42px;
  font-weight: 700;
  color: #ffffff;
}

/* GRID */
.prizes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

/* CARDS */
.prize-card {
  padding: 32px;
  border-radius: 16px;
  border: 1px solid rgba(255, 95, 46, 0.35);
  background: linear-gradient(180deg, #141414 0%, #0c0c0c 100%);
  text-align: center;
}

.prize-card h4 {
  font-size: 18px;
  color: var(--color-primary);
  margin-bottom: 16px;
}

.prize-card p {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.78);
}

/* ===============================
   RESPONSIVE
================================ */

@media (max-width: 900px) {
  .prizes-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .prizes-panel {
    padding: 72px 32px;
  }

  .prize-pool .amount {
    font-size: 34px;
  }
}

/* ===============================
   INNOVATION THEMES – FINAL
================================ */

.themes-panel {
  padding: 88px 72px;
  position: relative;
  overflow: hidden;
}

/* ORANGE AMBIENT GLOW */
.themes-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      900px 500px at 20% -200px,
      rgba(255, 95, 46, 0.18),
      transparent 60%
    ),
    radial-gradient(
      600px 400px at 90% 30%,
      rgba(255, 95, 46, 0.12),
      transparent 60%
    );
  pointer-events: none;
}

/* GRAPH / GRID BACKGROUND */
.themes-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.25;
  pointer-events: none;
}

.themes-panel > * {
  position: relative;
  z-index: 1;
}

/* GRID */
.themes-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 32px;
  margin-top: 64px;
}

/* CARD */
.theme-card {
  padding: 32px 24px;
  border-radius: 16px;
  border: 1px solid rgba(255, 95, 46, 0.35);
  background: linear-gradient(180deg, #151515 0%, #0c0c0c 100%);
  text-align: center;
  cursor: pointer;
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}

.theme-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.theme-icon {
  font-size: 34px;
  margin-bottom: 16px;
}

.theme-card h4 {
  font-size: 15px;
  line-height: 1.4;
  color: #ffffff;
}

/* ===============================
   THEME MODAL
================================ */

.theme-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

.theme-modal.active {
  display: flex;
}

.theme-modal-content {
  width: 90%;
  max-width: 680px;
  padding: 40px;
  border-radius: 20px;
  background: linear-gradient(180deg, #111111 0%, #080808 100%);
  border: 1px solid rgba(255, 95, 46, 0.4);
  position: relative;
}

.theme-modal-content h4 {
  color: var(--color-primary);
  font-size: 20px;
  margin-bottom: 16px;
}

.theme-modal-content p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
}

.theme-modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 28px;
  color: #ffffff;
  background: none;
  border: none;
  cursor: pointer;
}

/* ===============================
   THEME CARD HOVER OVERLAY
================================ */

.theme-card {
  position: relative;
  overflow: hidden;
}

/* Blur the existing content on hover */
.theme-card:hover > *:not(.theme-hover) {
  filter: blur(4px);
  transform: scale(0.98);
}

/* Hover overlay */
.theme-hover {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.theme-card:hover .theme-hover {
  opacity: 1;
}

/* Hover text */
.theme-hover span {
  font-size: 16px;
  font-weight: 500;
  color: #ffffff;
  letter-spacing: 0.04em;
}

.theme-card:hover {
  box-shadow:
    0 0 0 1px rgba(255, 95, 46, 0.4),
    0 20px 50px rgba(0, 0, 0, 0.7);
}

/* ===============================
   RESPONSIVE
================================ */

@media (max-width: 1200px) {
  .themes-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .themes-grid {
    grid-template-columns: 1fr;
  }

  .themes-panel {
    padding: 72px 32px;
  }
}

/* ===============================
   VENUE SECTION – FINAL
================================ */

.venue-section {
  margin: 0;
}

.venue-panel {
  padding: 0;
}

.venue-inner {
  margin: 0 auto;
}

/* MAIN ORANGE BAR */
.venue-content {
  width: 100%;
  padding: 22px 32px;
  border-radius: 14px;
  background: linear-gradient(90deg, #ff7a45, #ff3d00);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

/* TEXT */
.venue-text {
  font-size: 18px;
  font-weight: 700;
  color: #000;
}

/* MAP BUTTON */
.venue-map-btn {
  position: relative;
  padding: 10px 18px;
  border-radius: 999px;
  border: 2px dashed #000000;
  color: #000000;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  overflow: hidden;
  transition: color 0.4s ease;
}

/* LIQUID FILL LAYER */
.venue-map-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #000000;
  transform: translateX(-100%);
  transition: transform 0.5s ease;
  z-index: 0;
}

/* HOVER STATE */
.venue-map-btn:hover::before {
  transform: translateX(0);
}

.venue-map-btn:hover {
  color: #ffffff;
}

/* KEEP CONTENT ABOVE FILL */
.venue-map-btn span,
.venue-map-btn i {
  position: relative;
  z-index: 1;
}

/* ARROW */
.venue-arrow {
  transform: rotate(45deg);
  transition: transform 0.3s ease;
}

.venue-map-btn:hover .venue-arrow {
  transform: rotate(45deg) translate(2px, -2px);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .venue-content {
    flex-direction: column;
    text-align: center;
  }

  .venue-text {
    font-size: 16px;
  }
}

/* ===============================
   TIMELINE – IMAGE MATCH
================================ */

.timeline-panel {
  padding: 88px 72px;
}

.timeline-list {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

/* EACH ROW */
.timeline-row {
  padding: 18px 22px;
  border-radius: 12px;
  border: 1px solid rgba(255, 122, 69, 0.6);
  background: #000000;
  display: grid;
  grid-template-columns: 24px 160px 1fr;
  align-items: center;
  gap: 16px;
}

/* ICON */
.timeline-icon {
  font-size: 16px;
}

/* DATE */
.timeline-date {
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
}

/* TITLE */
.timeline-title {
  font-size: 15px;
  font-weight: 500;
  color: #ffffff;
}

/* Mobile */
@media (max-width: 768px) {
  .timeline-panel {
    padding: 72px 32px;
  }

  .timeline-row {
    grid-template-columns: 24px 1fr;
    row-gap: 6px;
  }

  .timeline-title {
    grid-column: 2 / -1;
  }
}

/* ===============================
   FAQ SECTION – FINAL FIX
================================ */

.faq-section {
  background: #000;
  padding: 96px 0;
}

.faq-section .section-heading {
  text-align: center;
  color: var(--color-primary);
  margin-bottom: 48px;
}

.faq-list {
  max-width: 1000px;
  margin: 0 auto;
}

/* ITEM */
.faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

/* QUESTION ROW */
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 0;
  cursor: pointer;
}

.faq-question span {
  color: #fff;
  font-size: 16px;
  font-weight: 500;
}

/* PLUS BUTTON */
.faq-toggle {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #000;
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

/* ANSWER */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-answer p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 15px;
  padding-bottom: 20px;
}

/* ACTIVE */
.faq-item.active .faq-answer {
  max-height: 300px;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

/* CONTACT SECTION */
.contact-section {
  padding: 90px 6vw 70px;
  background: #000;
  text-align: center;
}

.section-title {
  color: #ff6a2b;
  font-size: 28px;
  letter-spacing: 1px;
  margin-bottom: 40px;
}

/* Contact box – dark grid with orange border */
.contact-box {
  max-width: 1200px;
  margin: 0 auto;
  padding: 55px 70px;
  border-radius: 14px;
  border: 1px solid rgba(255, 106, 43, 0.7);

  background: linear-gradient(
    180deg,
    rgba(20, 20, 20, 0.95),
    rgba(8, 8, 8, 0.95)
  );

  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.02),
    0 30px 90px rgba(0, 0, 0, 0.6);
}

.contact-text {
  color: #eaeaea;
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 40px;
}

/* Contact row */
.contact-row {
  display: flex;
  justify-content: center;
  gap: 90px;
  flex-wrap: wrap;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #ffffff;
  font-size: 17px;
  font-weight: 500;
}

.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ff6a2b;
  color: #000;
  display: grid;
  place-items: center;
  font-size: 18px;
}

/* FOOTER */
.site-footer {
  padding: 60px 6vw 45px;
  background: #000;
  text-align: center;
}

.footer-socials {
  display: flex;
  justify-content: center;
  gap: 36px;
  margin-bottom: 26px;
}

.footer-socials a {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #111;
  color: #fff;
  font-size: 20px;
  transition: all 0.3s ease;
}

.footer-socials a:hover {
  background: #ff6a2b;
  color: #000;
  transform: translateY(-2px);
}

.footer-copy {
  font-size: 13px;
  color: #9a9a9a;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .contact-box {
    padding: 40px 24px;
  }

  .contact-row {
    gap: 30px;
  }
}

/* ===============================
   EXTRAS
================================ */

.navbar.scrolled {
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(14px);
}

.icon-circle {
  width: 72px;
  height: 72px;
  margin: 0 auto;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 30% 30%, #ff7a45, #ff3d00);
}

.icon-circle img {
  width: 34px;
  height: 34px;
}

.btn-register {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 7px 34px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;

  color: #ffffff;
  background: transparent;
  border: 2px solid #ff6a2b;
  border-radius: 4px; /* rectangular, not pill */
  overflow: hidden;

  cursor: pointer;
  transition: color 0.35s ease;
  z-index: 1;
}

/* liquid fill */
.btn-register::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #ff6a2b;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s cubic-bezier(0.77, 0, 0.18, 1);
  z-index: -1;
}

.btn-register:hover::before {
  transform: scaleX(1);
}

.btn-register:hover {
  color: #000000;
}

/* FAQ Styles */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px; /* Adjust based on your content */
  padding-top: 1rem;
}
