body {
      font-family: 'Segoe UI', sans-serif;
      background: #f1f4f9;
      margin: 0px;
      display: flex;
      flex-direction: column;
      align-items: center;
    }
    
* {
  box-sizing: border-box;
}
    /*HERO*/

    .hero-section {
      width: 100%;
      height: 360px;
      background-image: url('./images/topik-exam-bg.jpg'); /* replace with your image */
      background-size: cover;
      background-position: center;
      position: relative;
      display: flex;
      align-items: center;
      justify-content: center;
        text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);

    }

    .hero-overlay {
      background-color: rgba(0, 0, 0, 0.5); /* dark overlay */
      width: 100%;
      height: 100%;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 0 20px;
    }

    .hero-content {
      max-width: 700px;
      color: white;
      text-align: center; /* <-- center the text */
    }

    .hero-title {
      font-size: 44px;
      font-weight: bold;
      margin-top: -20px;
    }

    .hero-desc {
      font-size: 20px;
      line-height: 1.5;
      max-width: 700px;
    }

    /* MOBILE VIEW */
    @media (max-width: 768px) {
      .hero-overlay {
        padding: 0 20px;
        text-align: center;
      }

      .hero-content {
        text-align: center;
      }

      .hero-title {
        font-size: 36px;
      }

      .hero-desc {
        font-size: 16px;
      }
    }


/*BODY CONTENT*/

.topik-info-section {
  padding: 30px 20px;
  background-color: none;
  color: #222;
}

.topik-info-section .container {
  max-width: 900px;
  margin: auto;
}

.topik-info-section h2.section-title {
  font-size: 32px;
  font-weight: 700;
  color: #00307c;
  margin-bottom: 20px;
  text-align: center;
}

.topik-info-section h3 {
  margin-top: 30px;
  font-size: 22px;
  color: #00307c;
}

.topik-info-section p {
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 16px;
}

.topik-info-section.container a:hover {
  color: #f05454;
}

.basic-info a{
  text-decoration: none; 
  color: #00307c; 
  font-weight: 500;
}

.basic-info a:hover{
  color: #f05454; 
}

.topik-info-section ul {
  margin-left: 20px;
  margin-bottom: 20px;
  font-size: 16px;

}

.topik-info-section ul li {
  margin-bottom: 8px;
  list-style-type: disc;
}

.table-wrapper {
  overflow-x: auto;
  margin-top: 15px;
  margin-bottom: 30px;
}

.table-wrapper table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
  font-size: 16px;
}

.table-wrapper th,
.table-wrapper td {
  border: 1px solid #ddd;
  padding: 12px;
  text-align: left;
  background-color: #fff;
}

.table-wrapper th {
  background-color: #00307c;
  font-weight: 600;
  color: white;
}

@media (max-width: 768px) {
  .topik-info-section h2.section-title {
    font-size: 26px;
  }

  .topik-info-section h3 {
    font-size: 20px;
  }

  .table-wrapper table {
    font-size: 15px;
  }
}

/*STUDY MATERIALS CARD*/

.cta-card-section {
  background-color: #f1f4f9;
  padding: 20px 20px;
  display: flex;
  justify-content: center;
}

.cta-card {
  background: white;
  border-radius: 16px;
  padding: 10px 30px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  max-width: 500px;
  width: 100%;
  text-align: center;
}

.cta-title {
  font-size: 28px;
  color: #00307c;
  margin-bottom: 10px;
  font-weight: bold;
}

.cta-subtitle {
  font-size: 18px;
  color: #444;
  margin-bottom: 30px;
}

.cta-buttons {
  display: flex;
  flex-direction: column-reverse;
  gap: 15px;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);

}

.cta-btn {
  background-color: #00307c;
  color: white;
  font-weight: 600;
  padding: 14px;
  border: none;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 0.2s ease;

}

.cta-btn:hover {
  opacity: 0.7;
}

@media (max-width: 768px) {
  .cta-title {
    font-size: 22px;
  }

  .cta-subtitle {
    font-size: 16px;
  }

  .cta-card {
    padding: 30px 20px;
  }
}
