* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: "El Messiri", -apple-system, Roboto, Helvetica, sans-serif;
  background-color: #ffffff;
  color: #1a1a1a;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 768px) {
  .container {
    padding: 0 3rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 5rem;
  }
}

/* Hero and Background */
.main-wrapper {
  min-height: 100vh;
  background-color: #fff;
  position: relative;
  overflow: hidden;
}

.background-pattern {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.1;
  background-image: url("../Assets/Pattern .png");
  background-repeat: repeat;
  background-size: contain;
}

.relative-z {
  position: relative;
  z-index: 10;
}

/* Header */
header {
  padding: 1.5rem 0 1rem;
}

header img {
  height: 5rem;
  width: auto;
}

@media (min-width: 768px) {
  header img {
    height: 6rem;
  }
}

/* Hero Section */
.hero-section {
  padding: 1rem 0 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

@media (min-width: 768px) {
  .hero-section {
    padding: 2rem 0 6rem;
  }
}

.hero-image {
  width: 100%;
  max-width: 16rem;
  height: auto;
  margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
  .hero-image {
    max-width: 40rem;
    margin-bottom: 0.5rem;
  }
}

/* Buttons */
.button-group {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  margin-bottom: 0;
}

@media (min-width: 640px) {
  .button-group {
    gap: 1.5rem;
  }
}

@media (min-width: 768px) {
  .button-group {
    gap: 1.5rem;
    margin-bottom: 0;
  }
}

.btn {
  background-color: #0b5e91;
  color: #ffffff;
  font-family: "El Messiri", sans-serif;
  font-weight: 700;
  font-size: 0.75rem;
  padding: 0.5rem 1rem;
  border-radius: 1.25rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

@media (min-width: 640px) {
  .btn {
    font-size: 1rem;
    padding: 0.5rem 1.5rem;
  }
}

@media (min-width: 768px) {
  .btn {
    font-size: 1.25rem;
    padding: 0.5rem 3rem;
  }
}

.btn:hover {
  background-color: rgba(11, 94, 145, 0.9);
}

/* Hero Content */
.hero-content {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

@media (min-width: 640px) {
  .hero-content {
    margin-bottom: 3rem;
  }
}

@media (min-width: 768px) {
  .hero-content {
    margin-bottom: 3rem;
  }
}

/* Mascots */
.mascot-image {
  width: 5rem;
  height: auto;
}

@media (min-width: 640px) {
  .mascot-image {
    width: 12rem;
  }

  .mascot-left {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
  }

  .mascot-right {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
  }
}

@media (min-width: 768px) {
  .mascot-image {
    width: 16rem;
  }
}

@media (min-width: 1024px) {
  .mascot-image {
    width: 20rem;
  }
}

/* Competition Stats Section */
.stats-section-container {
  padding: 2rem 1rem 3rem;
}

@media (min-width: 768px) {
  .stats-section-container {
    padding: 8rem 3rem 4rem;
  }
}

.stats-card {
  max-width: 80rem;
  margin: 0 auto;
  border: 2px solid #0b5e91;
  border-radius: 1.25rem;
  padding: 1.5rem 1.5rem 3rem;
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(0.5rem);
}

@media (min-width: 768px) {
  .stats-card {
    padding: 3rem;
  }
}

/* Stats Header */
.stats-header {
  text-align: center;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .stats-header {
    margin-bottom: 3rem;
  }
}

.stats-numbers {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  justify-content: center;
  align-items: center;
  margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
  .stats-numbers {
    flex-direction: row;
    gap: 4rem;
  }
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 2.25rem;
  font-weight: 700;
  color: #edb61e;
  font-family: "El Messiri", sans-serif;
}

@media (min-width: 768px) {
  .stat-number {
    font-size: 3rem;
  }
}

.stat-label {
  color: #4575a1;
  font-family: "Poppins", sans-serif;
  margin-top: 0.25rem;
  font-size: 1rem;
}

.stats-description {
  color: #4575a1;
  font-family: "El Messiri", sans-serif;
  font-weight: 700;
  font-size: 0.875rem;
  max-width: 48rem;
  margin: 0 auto 2rem;
  line-height: 1.6;
}

@media (min-width: 768px) {
  .stats-description {
    font-size: 1rem;
  }
}

.kompetisi-title {
  font-size: 1.875rem;
  color: #edb61e;
  font-weight: 700;
  font-family: "El Messiri", sans-serif;
  text-align: center;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .kompetisi-title {
    font-size: 3rem;
    margin-bottom: 3rem;
  }
}

/* Competitions Grid */
.competitions-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .competitions-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

.competition-category {
  display: flex;
  flex-direction: column;
}

.category-header {
  background-color: #edb61e;
  border-radius: 1.25rem;
  padding: 0.75rem 1.5rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

@media (min-width: 768px) {
  .category-header {
    padding: 1rem 3rem;
    margin-bottom: 2rem;
  }
}

.category-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0b5e91;
  font-family: "El Messiri", sans-serif;
}

@media (min-width: 768px) {
  .category-title {
    font-size: 1.125rem;
  }
}

.competition-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-left: 1rem;
}

@media (min-width: 768px) {
  .competition-list {
    gap: 1rem;
    padding-left: 3rem;
  }
}

.competition-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.competition-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0b5e91;
  font-family: "El Messiri", sans-serif;
}

@media (min-width: 768px) {
  .competition-name {
    font-size: 1.5rem;
  }
}

.btn-detail {
  background-color: #0b5e91;
  color: #ffffff;
  font-family: "El Messiri", sans-serif;
  font-weight: 700;
  font-size: 0.75rem;
  padding: 0.5rem 1rem;
  border-radius: 1.25rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

@media (min-width: 768px) {
  .btn-detail {
    font-size: 0.875rem;
    padding: 0.5rem 1.5rem;
  }
}

.btn-detail:hover {
  background-color: rgba(11, 94, 145, 0.9);
}

/* FAQ Section */
.faq-section {
  padding: 2rem 1rem 3rem;
}

@media (min-width: 768px) {
  .faq-section {
    padding: 3rem 3rem 4rem;
  }
}

.faq-card {
  max-width: 80rem;
  margin: 0 auto;
  border: 2px solid #0b5e91;
  border-radius: 1.25rem;
  padding: 1.5rem;
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(0.5rem);
}

@media (min-width: 768px) {
  .faq-card {
    padding: 3rem;
  }
}

.faq-title {
  font-size: 1.875rem;
  color: #edb61e;
  font-weight: 700;
  font-family: "El Messiri", sans-serif;
  text-align: center;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .faq-title {
    font-size: 3rem;
    margin-bottom: 3rem;
  }
}

.faq-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  color: #4575a1;
  font-family: "El Messiri", sans-serif;
  font-weight: 700;
  font-size: 0.875rem;
  line-height: 1.6;
}

@media (min-width: 768px) {
  .faq-content {
    font-size: 1rem;
  }
}

.faq-question {
  margin-bottom: 0.5rem;
}

.faq-answer {
  margin-left: 1rem;
}

/* Footer */
footer {
  background-color: #0b5e91;
  color: #ffffff;
  padding: 2rem 0 3rem;
  z-index: 20;
}

@media (min-width: 768px) {
  footer {
    padding: 3rem 0 4rem;
  }
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 3rem;
  }
}

.footer-section h3 {
  font-size: 1.5rem;
  font-weight: 700;
  font-family: "El Messiri", sans-serif;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .footer-section h3 {
    font-size: 1.875rem;
    margin-bottom: 1.5rem;
  }
}

.footer-logo {
  height: 4rem;
  width: auto;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .footer-logo {
    height: 5rem;
  }
}

.footer-text {
  font-size: 0.875rem;
  font-family: "El Messiri", sans-serif;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .footer-text {
    font-size: 1rem;
  }
}

.footer-label {
  font-size: 0.875rem;
  font-weight: 700;
  font-family: "El Messiri", sans-serif;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .footer-label {
    font-size: 1rem;
  }
}

.presenter-logos {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.presenter-logos img {
  height: 4rem;
  width: auto;
}

@media (min-width: 768px) {
  .presenter-logos {
    gap: 1.5rem;
    margin-bottom: 2rem;
  }

  .presenter-logos img {
    height: 5rem;
  }
}

.footer-list {
  list-style: none;
}

.footer-list li {
  font-size: 0.875rem;
  font-family: "El Messiri", sans-serif;
  margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
  .footer-list li {
    font-size: 1rem;
    margin-bottom: 0.75rem;
  }
}

.social-icons {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.social-icons a {
  display: inline-flex;
  width: 36px;
  height: 36px;
  transition: opacity 0.3s ease;
}

.social-icons a:hover {
  opacity: 0.8;
}

.social-icons svg {
  width: 100%;
  height: 100%;
}

.contact-info {
  font-size: 1.125rem;
  font-family: "El Messiri", sans-serif;
  line-height: 1.8;
}

@media (min-width: 768px) {
  .contact-info {
    font-size: 1.25rem;
  }
}

@media (max-width: 767px) {
  .footer-grid {
    text-align: center;
  }

  .presenter-logos {
    justify-content: center;
  }

  .social-icons {
    justify-content: center;
  }

  .footer-list {
    text-align: center;
  }
}

/* IFRAME MODAL */
.iframe-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  z-index: 9999;
}

.iframe-wrapper {
  position: relative;
  width: 90%;
  height: 90%;
  margin: auto;
  background: #fff;
  border-radius: 1rem;
  overflow: hidden;
  animation: fadeUp 0.3s ease;
}

@media (max-width: 768px) {
  .iframe-wrapper {
    width: 100%;
    height: 100%;
    border-radius: 0;
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.iframe-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.iframe-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 10;
  background: #0b5e91;
  color: white;
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  cursor: pointer;
  font-size: 18px;
}

