body {
  font-family: 'Poppins', sans-serif;
  color: #222;
}

/* Navbar */
.navbar .nav-link {
  color: #000 !important;
  margin-right: 1rem;
}

.navbar .nav-link:hover {
  color: #007bff !important;
}

/*-----------------------------------------------------------------------------------*/

/* Hero */
/* Hero */
.hero {
  background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),
              url('../img/hero-bg.jpg') center/cover no-repeat;
  height: 90vh;
  display: flex;
  align-items: flex-start; /* ubah dari center ke flex-start */
  color: #fff;
  position: relative;
}

.hero .container {
  margin-top: 20px; /* geser konten ke atas */
}

.hero h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 500;
  letter-spacing: 0.5px;
  line-height: 1.3;
}

.hero p {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
}

.hero .btn-primary {
  background-color: #0056b3;
  border: none;
  border-radius: 50px;
  padding: 10px 30px;
  transition: background 0.3s ease;
}

.hero .btn-primary:hover {
  background-color: #00408f;
}


/* Section padding */
.section-padding {
  padding: 80px 0;
}

/* Section titles */
.section-title {
  font-size: 1.4rem;
  letter-spacing: 0.5px;
}

/* Content boxes */
.content-box {
  background-color: #fff;
  border-radius: 12px;
  border: 1px solid #ddd;
  line-height: 1.8;
  font-size: 0.95rem;
}

.content-box ul {
  margin-top: 1rem;
}

.content-box ul li {
  margin-bottom: 0.5rem;
}

/*------------------------------------------------------------------------*/

.hero-resource {
  background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),
              url('../img/hero-bg.jpg') center/cover no-repeat;
  height: 90vh;
  position: relative;
}

.hero-resource .container {
  position: relative;
  z-index: 2;
  padding-bottom: 40px; /* jarak dari bawah */
}

.hero-resource h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 500;
  font-size: 3rem;
  color: #fff;
}

@media (max-width: 768px) {
  .hero-resource {
    height: 70vh; /* lebih pendek agar pas di layar HP */
    background-position: center top;
  }

  .hero-resource h1 {
    font-size: 2rem;
    text-align: center;
  }

  .hero-resource .container {
    padding-bottom: 20px;
  }
}


/* Scope of Competition Section */
.scope-section {
  font-family: 'Space Grotesk', sans-serif;
  color: #222;
}

.scope-section h2,
.scope-section h5 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
}

.scope-section p,
.scope-section ul {
  font-weight: 400;
  line-height: 1.7;
  color: #333;
}

.scope-section ul li {
  margin-bottom: 6px;
}

.scope-section .border {
  border: 1.5px solid #dee2e6 !important;
}

.scope-section .shadow-sm {
  box-shadow: 0 2px 6px rgba(0,0,0,0.05) !important;
}


/* Competition Site Section */
.competition-site {
  font-family: 'Space Grotesk', sans-serif;
  color: #222;
}

.competition-site h3 {
  font-weight: 600;
}

.competition-site p {
  line-height: 1.7;
  font-size: 1rem;
  color: #333;
  margin-bottom: 1.2rem;
}

.competition-site ul {
  margin-left: 1.5rem;
  margin-bottom: 1.2rem;
}

.competition-site ul li {
  margin-bottom: 0.5rem;
}

.competition-site img {
  border: 1px solid #eaeaea;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}

.competition-site img:hover {
  transform: scale(1.01);
}

/* ---------- TIMELINE (DESKTOP) ---------- */
.timeline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  margin: 0 100px 80px 100px;
}

.timeline-line {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 3px;
  background-color: #1b4da1;
  transform: translateY(-50%);
  z-index: 1;
}

.timeline-item {
  position: relative;
  text-align: center;
  flex: 1;
  z-index: 2;
}

.timeline-point {
  width: 28px;
  height: 28px;
  background-color: #ffeb00;
  border: 3px solid #1b4da1;
  border-radius: 50%;
  margin: 0 auto;
  position: relative;
  z-index: 3;
}

.timeline-content {
  position: absolute;
  width: 200px;
  left: 50%;
  transform: translateX(-50%);
  color: #000;
  font-size: 0.95rem;
  line-height: 1.4;
}

.timeline-content.top {
  bottom: 50px;
}

.timeline-content.bottom {
  top: 55px;
}

.phase-label {
  display: inline-block;
  background-color: #1b4da1;
  color: #fff;
  padding: 4px 10px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 6px;
}

/* ---------- RESPONSIVE TIMELINE (MOBILE) ---------- */
@media (max-width: 768px) {
  .timeline {
    flex-direction: column;
    align-items: center;
    margin: 0 auto 60px auto;
    width: 100%;
  }

  .timeline-line {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 100%;
    background-color: #1b4da1;
  }

  .timeline-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 80%;
    margin-bottom: 70px;
    text-align: center;
  }

  .timeline-point {
    width: 26px;
    height: 26px;
    border: 3px solid #1b4da1;
    background-color: #ffeb00;
    margin-bottom: 15px;
  }

  .timeline-content {
    position: relative;
    width: 100%;
    max-width: 260px;
    transform: none;
    margin-top: 0;
    text-align: center;
  }

  .timeline-content.top,
  .timeline-content.bottom {
    top: auto;
    bottom: auto;
  }
}

/* ---------- PHASE BOX ---------- */
.phase-box {
  display: flex;
  align-items: stretch;
  border: 1.8px solid #1b4da1;
  border-radius: 12px;
  padding: 25px 35px;
  background: #fff;
  max-width: 900px;
  margin: 0 auto 25px auto;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}

.phase-box:hover {
  transform: translateY(-4px);
}

.phase-left {
  min-width: 240px;
  border-right: 1px solid #1b4da1;
  padding-right: 25px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.phase-left h4 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #1b4da1;
  margin: 0 0 5px 0;
}

.phase-left h4 span {
  font-size: 1.8rem;
  font-weight: 700;
}

.phase-left p {
  font-size: 0.95rem;
  color: #000;
  margin: 0;
}

.phase-right {
  flex: 1;
  padding-left: 30px;
  display: flex;
  align-items: center;
}

.phase-right ol {
  margin: 0;
  padding-left: 20px;
}

.phase-right li {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 4px;
}

/* ---------- RESPONSIVE PHASE BOX ---------- */
@media (max-width: 768px) {
  .phase-box {
    flex-direction: column;
    text-align: center;
    padding: 20px 18px;
  }

  .phase-left {
    border-right: none;
    border-bottom: 1px solid #1b4da1;
    padding: 0 0 15px 0;
    margin-bottom: 15px;
  }

  .phase-right {
    padding-left: 0;
    justify-content: center;
  }

  .phase-right ol {
    text-align: left;
    padding-left: 20px;
  }

  .phase-right li {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .phase-box {
    padding: 16px;
  }

  .phase-left h4 {
    font-size: 1.2rem;
  }

  .phase-left h4 span {
    font-size: 1.4rem;
  }

  .phase-left p,
  .phase-right li {
    font-size: 0.85rem;
  }
}



  /* ======== SECTION lecture===*/
.lecture-section {
  margin: 60px auto;
}

.section-title {
  font-size: 1.2rem;
}
@media (max-width: 576px) {
  .lecture-card {
    padding: 15px;
  }

  .speaker-info h6 {
    font-size: 0.9rem;
  }

  .speaker-info p,
  .lecture-topic {
    font-size: 0.8rem;
  }
}


  /* ======== GRID ======== */
.lecture-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

  /* ======== CARD ======== */
.lecture-card {
  border: 1.5px solid #1b4da1;
  border-radius: 12px;
  padding: 20px;
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 180px;
}

.lecture-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.avatar {
  width: 45px;
  height: 45px;
  background-color: #d9d9d9;
  border-radius: 50%;
}

.speaker-info h6 {
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0;
}

.speaker-info p {
  font-size: 0.85rem;
  color: #555;
  margin: 0;
}

hr {
  border: none;
  border-top: 1px solid #ccc;
  margin: 10px 0;
}

.lecture-topic {
  font-size: 0.9rem;
  color: #000;
  margin: 0;
}

  /* ======== RESPONSIVE ======== */
@media (max-width: 768px) {
.lecture-grid {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  }
}


.jury-card {
  border: 2px solid #bcd0f3; /* biru lembut seperti contoh */
  border-radius: 12px;
  background-color: #fff;
  transition: all 0.2s ease;
}
.jury-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}
.jury-avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background-color: #d9d9d9;
  margin: 0 auto;
}
.section-title {
  font-size: 1.1rem;
}

@media (max-width: 768px) {
  .jury-avatar {
    width: 60px;
    height: 60px;
  }

  .jury-card {
    text-align: center;
    padding: 15px;
  }
}



/*-------------------------------------------------------------------------------*/

.highlight {
  font-weight: 600;
  background-color: #fff200;
  display: inline-block;
  padding: 2px 8px;
  color: #000;
}

.semifinalist img {
  background-color: #ccc;
  object-fit: cover;
}


/*-------------------------------------------------------------------------------*/
/* Sejajarkan teks dan tombol agar tampak proporsional */
.heading-vote {
  border-bottom: 1px solid #e5e5e5;
  padding-bottom: 10px;
}

/* Atur ukuran gambar agar konsisten */
.heading-vote + .d-flex img {
  width: 160px;
  height: 200px;
  object-fit: cover;
}

/* Responsif di layar kecil */
@media (max-width: 576px) {
  .heading-vote h4 {
    text-align: center;
    width: 100%;
    margin-bottom: 10px;
  }
  .heading-vote a {
    margin: 0 auto;
  }
}

/* Judul Discover Winner */
.highlight-title {
  display: inline-block;
  background-color: #ffeb00;
  color: #000;
  padding: 4px 8px;
  border-radius: 3px;
  font-size: 1.1rem;
}

/* Card Vote */
.discover-card {
  border: 1.5px solid #0d47a1;
  border-radius: 12px;
  background-color: #fff;
  padding: 1.5rem 2rem;
}

/* Project layout */
.project-item {
  border-radius: 8px;
  align-items: flex-start;
}

/* Ukuran gambar lebih besar */
.project-img {
  width: 60%;          /* gambar lebih dominan */
  height: 320px;       /* lebih tinggi */
  object-fit: cover;
  flex-shrink: 0;
}

/* Teks di samping gambar */
.project-item div {
  flex: 1;
  max-width: 35%;       /* teks lebih sempit dari gambar */
}

/* Responsif mobile */
@media (max-width: 768px) {
  .project-item {
    flex-direction: column;
    text-align: center;
  }

  .project-img {
    width: 100%;
    height: auto;
    margin-bottom: 1rem;
  }

  .project-item div {
    max-width: 100%;
  }
}

/*---------------------------------------------------------------------------------*/

/* Footer */
.custom-footer {
    background-color: #2257A0;
    border-top-left-radius: 25px;
    border-top-right-radius: 25px;
    padding-top: 2rem;
    padding-bottom: 1.5rem;
    font-family: 'Poppins', sans-serif;
}

.footer-link {
    color: #fff;
    margin: 0 10px;
    text-decoration: none;
    font-size: 14px;
}

.footer-link:hover {
    text-decoration: underline;
}

.contact-box {
    display: inline-block;
    background-color: #FFD700;
    color: #000;
    font-weight: 600;
    font-size: 13px;
    padding: 2px 6px;
    border-radius: 4px;
}
