body {
  margin: 0;
  padding: 0;
  font-family: 'Red Hat Display', sans-serif;
  position: relative;
  background-color: #f3f3f3;
}

.header-image {
  width: 100%;
  height: auto;
  display: block;
}

.content-box {
  position: relative;
  /* top: -100px;  */
  margin: 0 auto;
  width: 100%;
  /* max-width: 1200px; */
  background-color: #ffffff;
  /* padding-top: 50px; */
  padding-bottom: 35px;
  padding-left: 50px;
  padding-right: 50px;
  /* border-radius: 20px; */
  /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); */
  text-align: left;
  z-index: 1; 
}

.content-box h2 {
  color: #000000; 
  font-size: 48px;
  font-weight: 600;
  margin: 0 0 15px;
  line-height: 1.2;
}

.content-box p {
  color: #333;
  font-size: 16px;
  margin: 0 0 15px;
}

.content-box-p {
  position: relative;
  top: -100px; 
  margin: 0 auto;
  width: 90%;
  max-width: 1200px;
  background-color: #ffffff;
  padding-top: 50px;
  padding-bottom: 35px;
  padding-left: 50px;
  padding-right: 50px;
  border-radius: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  z-index: 1; 
}

/* Main text styling */
.content-box-p h2 {
  color: #000000;
  font-size: 36px;
  font-weight: 600;
  margin: 0 0 15px;
  line-height: 1.2;
  text-align: center;
}

.content-box-p h3 {
  color: #000000; 
  font-size: 24px;
  font-weight: 600;
  margin: 0 0 15px;
  line-height: 1.2;
  text-align: center;
}

.content-box-p p {
  color: #333;
  font-size: 18px;
  margin: 0 0 15px;
  text-align: justify;
}

.content-box-p ol li {
  color: #333;
  font-size: 18px;
  margin: 0 0 15px;
  text-align: justify;
}

.content-box-p ul li {
  color: #333;
  font-size: 18px;
  margin: 0 0 15px;
  text-align: justify;
}

.content-box-p table {
  border: 1px solid black;
  border-collapse: collapse;
}

.content-box-p tr th {
  border: 1px solid black;
  border-collapse: collapse;
  text-align: center;
}

.content-box-p tr td {
  border: 1px solid black;
  border-collapse: collapse;
  text-align: left;
}

.cnt {
  text-align: center !important;
}

/* Promo period styling */
.promo-period {
  color: #666;
  font-size: 22px !important;
  margin-bottom: 20px;
}

/* Promo items container */
.promo-items {
  display: flex;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
}


/* Placeholder for promo images */
.promo-item {
  width: 50%;
  /* height: 100px; */
  background-color: #f0f0f0; /* Placeholder color */
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8em;
  color: #666;
}

/* Heading styling for "Grab Gift Voucher" and "Hadiah Bulanan" */
.content-box h3 {
  font-size: 24px;
  font-weight: 700;
  color: #000;
  margin: 15px 0;
}
/* Desktop Table Styling */
.desktop-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 auto;
  table-layout: auto;
  display: table; /* Default display for desktop */
}

.desktop-table td {
  vertical-align: top;
  border-collapse: collapse;
  /* padding: 5px 10px; */
  text-align: left;
  white-space: normal;
}

.desktop-table tr {
  vertical-align: top;
  border-collapse: collapse;
  /* padding: 5px 10px; */
  text-align: left;
  white-space: normal;
}

.desktop-table td.prize-label {
  width: 100px;
}

.desktop-table td.prize-colon {
  width: 20px;
  padding: 0 5px;
}

.desktop-table td.prize-value {
  width: auto;
}

.desktop-table img {
  max-height: 380px;
  width: auto;
  display: block;
  margin: 0 auto;
}

.desktop-table h3 {
  font-size: 24px;
  font-weight: 700;
  color: #000;
  margin: 15px 0;
}

.desktop-table strong {
  font-weight: 700;
}

.desktop-table i {
  font-style: italic;
  color: #666;
}

/* Mobile Table Styling */
.mobile-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 auto;
  table-layout: auto;
  display: none; /* Hidden by default, shown on mobile */
}

.mobile-table td {
  vertical-align: top;
  padding: 5px;
  text-align: center;
  white-space: normal;
}

.mobile-table img {
  max-height: 200px;
  width: auto;
  display: block;
  margin: 0 auto;
}

.mobile-table h3 {
  font-size: 18px;
  font-weight: 700;
  color: #000;
  margin: 15px 0;
}

.mobile-table strong {
  font-weight: 700;
}

.mobile-table i {
  font-style: italic;
  color: #666;
}

.mobile-table .prize-row td {
  display: inline-block;
  width: auto;
  text-align: left;
  vertical-align: middle;
}

.mobile-table .prize-row td.prize-label {
  width: 80px;
}

.mobile-table .prize-row td.prize-colon {
  width: 15px;
  padding: 0 5px;
}

.mobile-table .prize-row td.prize-value {
  width: auto;
}

.mobile-table .hadiah-bulanan {
  font-size: 15px;
  text-align: justify;
  padding-top: 10px;
}

/* Cara Berpartisipasi section */
.participation-section {
  margin-top: 40px;
  margin-left: -50px; /* Counteract the .content-box padding on desktop */
  margin-right: -50px; /* Counteract the .content-box padding on desktop */
  padding: 20px 50px; /* Add padding to maintain internal spacing */
  background: linear-gradient(90deg,rgba(162, 13, 245, 1) 0%, rgba(148, 20, 246, 1) 13%, rgba(11, 95, 253, 1) 100%);
  text-align: center;
}

.participation-section h4 {
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
}

.participation-step {
  display: inline-block;
  width: 25%;
  margin: 0; /* Remove left/right margin */
  padding: 20px; /* Use padding for spacing between steps */
  background-color: #fff;
  border-radius: 10px;
  vertical-align: top;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  box-sizing: border-box; /* Ensure padding doesn't affect width */
}

.participation-step:not(:last-child) {
  margin-right: 5%; /* Add spacing between steps without affecting outer edges */
}

.participation-step h5 {
  font-size: 18px;
  font-weight: 600;
  color: linear-gradient(90deg,rgba(162, 13, 245, 1) 0%, rgba(148, 20, 246, 1) 13%, rgba(11, 95, 253, 1) 100%);
  margin-bottom: 10px;
}

.participation-step p {
  font-size: 14px;
  color: #666;
  margin: 0;
}

.participation-step img {
  max-width: 100px;
  height: auto;
  margin-bottom: 10px;
}

/* Item Section */
.itemav-section {
  margin-top: 40px;
  padding: 20px 50px; /* Add padding to maintain internal spacing */
  background: linear-gradient(90deg,rgba(162, 13, 245, 1) 0%, rgba(148, 20, 246, 1) 29%, rgba(11, 95, 253, 1) 100%);
  text-align: center;
}
.itemav-section h4 {
  font-size: 28px;
  font-weight: 700;
  color: #fff;
}

.item-avl-2 {
  display: inline-block;
  width: 47%;
  margin: 1%; /* Remove left/right margin */
  padding: 20px; /* Use padding for spacing between steps */
  background-color: #fff;
  border-radius: 10px;
  vertical-align: top;
  /* box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); */
  box-sizing: border-box; /* Ensure padding doesn't affect width */
}

.item-avl-2 img {
  /* max-width: 200px; */
  height: auto;
  width: 100%;
  margin-bottom: 10px;
}

.item-avl-2 h4 {
  font-size: 32px;
  font-weight: 800;
  color: #000000;
  margin-bottom: 10px;
}

.item-avl-2 h5 {
  font-size: 28px;
  font-weight: 600;
  color: #000000;
  /* margin-bottom: 10px; */
}

.item-avl-3 {
  display: inline-block;
  width: 25%;
  margin: 3%; /* Remove left/right margin */
  padding: 20px; /* Use padding for spacing between steps */
  background-color: #fff;
  border-radius: 10px;
  vertical-align: top;
  /* box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); */
  box-sizing: border-box; /* Ensure padding doesn't affect width */
}

.item-avl-3 img {
  max-width: 200px;
  height: auto;
  margin-bottom: 10px;
}

.item-avl-3 h5 {
  font-size: 18px;
  font-weight: 700;
  color: #000000;
  margin-bottom: 10px;
}

.item-avl-4 {
  display: inline-block;
  width: 20%;
  margin: 2%; /* Remove left/right margin */
  padding: 20px; /* Use padding for spacing between steps */
  background-color: #fff;
  border-radius: 10px;
  vertical-align: top;
  /* box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); */
  box-sizing: border-box; /* Ensure padding doesn't affect width */
}

.item-avl-4 img {
  max-width: 150px;
  height: auto;
  margin-bottom: 10px;
}

.item-avl-4 h5 {
  font-size: 18px;
  font-weight: 700;
  color: #000000;
  margin-bottom: 10px;
}

/* Cara Berpartisipasi section */
.review-section {
  margin-top: 40px;
  margin-left: -50px; /* Counteract the .content-box padding on desktop */
  margin-right: -50px; /* Counteract the .content-box padding on desktop */
  padding: 20px 50px; /* Add padding to maintain internal spacing */
  background: #000000;
  text-align: center;
}

.review-section h4 {
  font-size: 28px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
}

.review-step {
  display: inline-block;
  width: 40%;
  margin: 0; /* Remove left/right margin */
  padding: 20px; /* Use padding for spacing between steps */
  color: #ffffff;
  background-color: #000000;
  border-radius: 10px;
  vertical-align: top;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  box-sizing: border-box; /* Ensure padding doesn't affect width */
}


.review-step h5 {
  font-size: 16px;
  font-weight: 600;
  color: linear-gradient(90deg,rgba(162, 13, 245, 1) 0%, rgba(148, 20, 246, 1) 13%, rgba(11, 95, 253, 1) 100%);
  margin-bottom: 10px;
}

.review-step p {
  font-size: 14px;
  color: #666;
  margin: 0;
}

.review-step img {
  max-width: 400px;
  height: auto;
  margin-bottom: 10px;
}


/* Media Queries */
@media (max-width: 600px) {
  .content-box {
    width: 95%;
    /* top: -50px; */
    padding: 20px;
  }

  .content-box h2 {
    font-size: 24px;
    line-height: 1.1;
    margin-bottom: 10px;
  }

  .content-box-p {
    width: 95%;
    top: -50px;
    padding: 20px;
  }

  .content-box-p h2 {
    font-size: 24px;
    line-height: 1.1;
    margin-bottom: 10px;
  }

  .content-box-p h3 {
    font-size: 20px;
    line-height: 1;
    margin-bottom: 7px;
  }

  .content-box-p p {
    width: 95%;
    top: -50px;
    padding: 20px;
  }

  .promo-period {
    font-size: 14px;
  }

  .desktop-table {
    display: none; /* Hide desktop table on mobile */
  }

  .mobile-table {
    display: table; /* Show mobile table on mobile */
  }

  .mobile-table tr {
    display: flex;
    flex-direction: column;
    /* margin-bottom: 20px; */
  }
  
  .review-section {
    margin-left: -20px; /* Counteract the .content-box padding on mobile */
    margin-right: -20px; /* Counteract the .content-box padding on mobile */
    padding: 20px 20px; /* Adjust padding for mobile */
  }

  .review-section h4 {
    font-size: 20px;
  }

  .review-step {
    display: block;
    width: 100%; /* Full width on mobile */
    margin: 10px 0; /* Vertical spacing on mobile */
    padding: 15px; /* Reduced padding for mobile */
  }

  .review-step img {
    display: block;
    width: 100%; 
  }

  .review-step:not(:last-child) {
    margin-right: 0; /* Remove spacing between steps on mobile */
  }

  
  .participation-section {
    margin-left: -20px; /* Counteract the .content-box padding on mobile */
    margin-right: -20px; /* Counteract the .content-box padding on mobile */
    padding: 20px 20px; /* Adjust padding for mobile */
  }

  .participation-section h4 {
    font-size: 20px;
  }

  .participation-step {
    display: block;
    width: 100%; /* Full width on mobile */
    margin: 10px 0; /* Vertical spacing on mobile */
    padding: 15px; /* Reduced padding for mobile */
  }

  .participation-step:not(:last-child) {
    margin-right: 0; /* Remove spacing between steps on mobile */
  }

  .item-avl-2 {
    display: block;
    width: 100%; /* Full width on mobile */
    margin: 10px 0; /* Vertical spacing on mobile */
    padding: 15px; /* Reduced padding for mobile */
  }

  .item-avl-2:not(:last-child) {
    margin-right: 0; /* Remove spacing between steps on mobile */
  }

  .item-avl-3 {
    display: block;
    width: 100%; /* Full width on mobile */
    margin: 10px 0; /* Vertical spacing on mobile */
    padding: 15px; /* Reduced padding for mobile */
  }

  .item-avl-3:not(:last-child) {
    margin-right: 0; /* Remove spacing between steps on mobile */
  }

  .item-avl-4 {
    display: block;
    width: 100%; /* Full width on mobile */
    margin: 10px 0; /* Vertical spacing on mobile */
    padding: 15px; /* Reduced padding for mobile */
  }

  .item-avl-4:not(:last-child) {
    margin-right: 0; /* Remove spacing between steps on mobile */
  }
}

@media (min-width: 601px) {
  .mobile-table {
    display: none; /* Hide mobile table on desktop */
  }

  .desktop-table {
    display: table; /* Show desktop table on desktop */
  }
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
#footer {
  background: #1f2627;
  padding: 0 0 30px 0;
  color: #fff;
  font-size: 14px;
}
#footer .footer-top {
  background: #2a3336;
  border-bottom: 1px solid #354144;
  padding: 60px 0 30px 0;
}
#footer .footer-top .footer-info {
  margin-bottom: 30px;
}
#footer .footer-top .footer-info h3 {
  font-size: 24px;
  margin: 0 0 20px 0;
  padding: 2px 0 2px 0;
  line-height: 1;
  font-weight: 700;
}
#footer .footer-top .footer-info p {
  font-size: 14px;
  line-height: 24px;
  margin-bottom: 0;
  font-family: "Raleway", sans-serif;
  color: #fff;
}
#footer .footer-top .social-links a {
  font-size: 18px;
  display: inline-block;
  background: #354144;
  color: #fff;
  line-height: 1;
  padding: 8px 0;
  margin-right: 4px;
  border-radius: 5px;
  text-align: center;
  width: 36px;
  height: 36px;
  transition: 0.3s;
}
#footer .footer-top .social-links a:hover {
  background: #01b1d7;
  color: #fff;
  text-decoration: none;
}
#footer .footer-top h4 {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  position: relative;
  padding-bottom: 12px;
}
#footer .footer-top .footer-links {
  margin-bottom: 30px;
}
#footer .footer-top .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
#footer .footer-top .footer-links ul i {
  padding-right: 2px;
  color: #40dcfe;
  font-size: 18px;
  line-height: 1;
}
#footer .footer-top .footer-links ul li {
  padding: 10px 0;
  display: flex;
  align-items: center;
}
#footer .footer-top .footer-links ul li:first-child {
  padding-top: 0;
}
#footer .footer-top .footer-links ul a {
  color: #fff;
  transition: 0.3s;
  display: inline-block;
  line-height: 1;
}
#footer .footer-top .footer-links ul a:hover {
  color: #27d8fe;
}
#footer .footer-top .footer-newsletter form {
  margin-top: 30px;
  background: #fff;
  padding: 6px 10px;
  position: relative;
  border-radius: 4px;
}
#footer .footer-top .footer-newsletter form input[type=email] {
  border: 0;
  padding: 4px;
  width: calc(100% - 110px);
}
#footer .footer-top .footer-newsletter form input[type=submit] {
  position: absolute;
  top: 0;
  right: -2px;
  bottom: 0;
  border: 0;
  background: none;
  font-size: 16px;
  padding: 0 20px;
  background: #01b1d7;
  color: #fff;
  transition: 0.3s;
  border-radius: 0 5px 5px 0;
}
#footer .footer-top .footer-newsletter form input[type=submit]:hover {
  background: #0187a4;
}
#footer .copyright {
  text-align: center;
  padding-top: 30px;
}
#footer .credits {
  padding-top: 10px;
  text-align: center;
  font-size: 13px;
  color: #fff;
}