@font-face {
  font-family: 'MonumentExtended';
  src: url('../fonts/MonumentExtended-Ultrabold.otf') format('opentype');
}

@import url('https://fonts.googleapis.com/css2?family=Lato:wght@900&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  background-color: #214f98;
  font-family: 'Lato', sans-serif;
  height: 100%;
  width: 100%;
}

body {
  display: flex;
  justify-content: center;
  align-items: start;
  min-height: 100vh;
}

/* ===== CARD ===== */
.card {
  width: 50%;
  max-width: 600px;
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  margin-top: 40px;
  animation: fadeIn 0.8s ease;
}

.card img.header {
  width: 100%;
  height: auto;
  display: block;
  vertical-align: top;
}

/* ===== CONTENT ===== */
.content {
  text-align: center;
  padding: 30px 20px 40px;
}

/* ===== TITLE ===== */
.title {
  font-family: 'MonumentExtended', sans-serif;
  font-size: 24px;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.subtitle {
  font-weight: 900;
  font-size: 18px;
  margin-bottom: 10px;
}

.desc {
  font-size: 14px;
  color: #333;
  margin-bottom: 30px;
}

/* ===== BUTTONS ===== */
.button {
  display: block;
  width: 50%;
  margin: 6px auto;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.button:hover {
  transform: scale(1.05);
}

/* ===== FORM ===== */
form {
  text-align: left;
}

form label {
  display: block;
  margin-bottom: 5px;
  font-size: 14px;
  color: #333;
}

form input,
form textarea,
form select {
  width: 100%;
  padding: 8px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 14px;
}

form textarea {
  resize: vertical;
}

form p.note {
  font-size: 12px;
  color: #666;
  margin-bottom: 20px;
}

/* ===== SUBMIT BUTTON IMAGE ===== */
.submit-btn {
  background: none;
  border: none;
  display: flex;
  justify-content: center;
}

.submit-btn img {
  width: 40%;
}

/* ===== TITLE IMAGE IN FORM ===== */
.title-img {
  width: 50%;
  margin: 0 auto 20px;
  display: block;
}

/* ===== ALERT STYLE ===== */
.alert-box {
  background-color: #f8d7da;
  color: #842029;
  border-radius: 4px;
  padding: 10px;
  margin-bottom: 15px;
  font-size: 14px;
  text-align: center;
}

.phone-warning {
  margin-top: -10px;
  margin-bottom: 10px;
}

/* ===== HIDE CLASS ===== */
.d-none {
  display: none !important;
}

/* ===== ROW GROUP: Form Sebaris ===== */
.row-group {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 15px;
}

.column {
  flex: 1;
}

.column.half {
  flex: 0 0 48%;
}

.column input,
.column select {
  width: 100%;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .card {
    width: 80%;
  }

  .button {
    width: 60%;
  }

  .submit-btn img {
    width: 60%;
  }

  .title-img {
    width: 70%;
  }

  .row-group {
    flex-direction: column;
    gap: 0;
  }

  .row-group .column {
    width: 100%;
    margin-bottom: 10px;
  }
}

/* ===== ANIMATION ===== */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 768px) {
  .row-group.stay-inline {
    flex-direction: row !important;
    gap: 10px !important;
  }

  .row-group.stay-inline .column {
    width: 100%;
    margin-bottom: 0;
  }
.thankyou-title {
  font-weight: 900;
  margin-top: 20px;
  text-align: center;
}

.school-name {
  font-weight: 700;
  text-align: center;
}

.location-note {
  text-align: center;
  margin: 10px 0;
  color: #555;
}
.thankyou-button {
  display: block;
  width: 200px;
  margin: 15px auto;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border-radius: 12px;
  transition: transform 0.2s ease;
}

.thankyou-button:hover {
  transform: scale(1.05);
}

.text-center {
  text-align: center;
}

/* ===== THANK YOU PAGE ONLY ===== */
.thankyou-card {
  width: 50%;
  max-width: 600px;
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  margin-top: 40px;
  animation: fadeIn 0.8s ease;
  text-align: center;
}

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

.thankyou-content {
  padding: 30px 20px 40px;
}

.thankyou-title {
  font-weight: 900;
  margin-top: 20px;
}

.thankyou-school-name {
  font-weight: 700;
  margin-bottom: 10px;
}

.thankyou-location-note {
  margin: 10px 0;
  color: #555;
}

.thankyou-page-button {
  display: block;
  width: 200px;
  max-width: 80%;
  margin: 15px auto;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border-radius: 12px;
  transition: transform 0.2s ease;
}

.thankyou-page-button:hover {
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .thankyou-card {
    width: 80%;
  }

  .thankyou-page-button {
    width: 180px;
  }
/* ===== THANKYOU PAGE STYLES ===== */
.thankyou-title {
  font-weight: 900;
  margin-top: 20px;
  text-align: center;
  font-size: 20px;
  color: #333;
}

.school-name {
  font-weight: 700;
  text-align: center;
  font-size: 22px;
  margin-bottom: 10px;
  color: #214f98;
}

.location-note {
  text-align: center;
  margin: 10px 0;
  color: #555;
  font-size: 14px;
}

/* === THANKYOU PAGE BUTTON FIX === */
.thankyou-action {
  display: block;
  max-width: 200px;
  width: 100%;
  height: auto;
  margin: 15px auto;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease;
}

.thankyou-action:hover {
  transform: scale(1.05);
}

/* Responsif di mobile */
@media (max-width: 768px) {
  .thankyou-title {
    font-size: 18px;
  }

  .school-name {
    font-size: 20px;
  }

  .thankyou-action {
    width: 160px;
  }
}

}

}
