/* PPDB PAGE STYLES */

/* PAGE HERO */
.ppdb-hero {
  background: linear-gradient(135deg, #0f4c2e 0%, #1c6b3e 50%, #1f7a44 100%);
  padding: 60px 0 80px;
  position: relative;
  overflow: hidden;
  color: #fff;
  text-align: center;
}

.ppdb-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  z-index: 0;
}

.ppdb-hero .container {
  position: relative;
  z-index: 1;
}

.ppdb-hero .hero-content {
  max-width: 600px;
  margin: 0 auto;
}

.ppdb-hero h1 {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 8px;
}

.ppdb-hero > .container > p:first-of-type {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 14px;
  opacity: 0.95;
}

.ppdb-hero .subtitle {
  font-size: 15px;
  opacity: 0.9;
  line-height: 1.6;
}

/* MAIN WRAPPER */
.ppdb-wrapper {
  padding: 60px 24px;
  margin: 0 auto;
}

.ppdb-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: start;
}

/* FORM SECTION */
.form-section {
  display: flex;
}

.form-card {
  background: #fff;
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 4px 20px rgba(15, 76, 46, 0.1);
  width: 100%;
}

.form-header {
  margin-bottom: 32px;
  border-bottom: 3px solid #1c6b3e;
  padding-bottom: 16px;
}

.form-header h2 {
  font-size: 24px;
  color: #0f4c2e;
  margin-bottom: 6px;
}

.form-header p {
  color: #666;
  font-size: 14px;
}

/* FORM GROUP */
.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-weight: 600;
  color: #0f4c2e;
  margin-bottom: 8px;
  font-size: 14px;
}

.required {
  color: #d32f2f;
}

.form-group input {
  width: 100%;
  padding: 12px 14px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 14px;
  font-family: 'Poppins', sans-serif;
  transition: all 0.3s ease;
}

.form-group input:focus {
  outline: none;
  border-color: #1c6b3e;
  box-shadow: 0 0 0 3px rgba(28, 107, 62, 0.1);
}

.form-group input::placeholder {
  color: #999;
}

.error-msg {
  display: block;
  color: #d32f2f;
  font-size: 12px;
  margin-top: 4px;
  font-weight: 500;
}

.help-text {
  display: block;
  color: #999;
  font-size: 12px;
  margin-top: 6px;
}

/* SUBMIT BUTTON */
.btn-submit {
  width: 100%;
  padding: 14px 20px;
  background: linear-gradient(135deg, #1c6b3e 0%, #0f4c2e 100%);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 16px;
}

.btn-submit:hover {
  background: linear-gradient(135deg, #0f4c2e 0%, #093a1f 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(15, 76, 46, 0.3);
}

.btn-submit:active {
  transform: translateY(0);
}

/* FORM NOTE */
.form-note {
  background: #e8f5e9;
  padding: 12px 14px;
  border-radius: 6px;
  font-size: 13px;
  color: #1b5e20;
  display: flex;
  align-items: center;
  gap: 10px;
}

.form-note i {
  font-size: 16px;
}

/* INFO SECTION */
.info-section {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.info-card {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 4px 20px rgba(15, 76, 46, 0.1);
  border-left: 4px solid #1c6b3e;
  transition: all 0.3s ease;
}

.info-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(15, 76, 46, 0.15);
}

.info-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid #e8f5e9;
}

.info-header i {
  font-size: 24px;
  color: #1c6b3e;
  flex-shrink: 0;
}

.info-header h3 {
  font-size: 16px;
  color: #0f4c2e;
  margin: 0;
}

.info-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.info-list li {
  padding: 10px 0;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #333;
  font-size: 14px;
  border-bottom: 1px solid #f5f5f5;
}

.info-list li:last-child {
  border-bottom: none;
}

.info-list i {
  color: #1c6b3e;
  width: 18px;
  text-align: center;
}

/* CONTACT LIST */
.contact-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-list p {
  margin: 0;
  font-size: 13px;
  color: #333;
}

.contact-list strong {
  color: #0f4c2e;
  display: block;
  margin-bottom: 4px;
}

.contact-list a {
  color: #1c6b3e;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.contact-list a:hover {
  color: #0f4c2e;
  text-decoration: underline;
}

.whatsapp-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.whatsapp-link i {
  font-size: 18px;
}

/* SUCCESS MODAL */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.modal-content {
  background-color: #fefefe;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  max-width: 500px;
  width: 90%;
  animation: slideUp 0.3s ease;
}

@keyframes slideUp {
  from {
    transform: translateY(30px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.success-modal {
  text-align: center;
}

.modal-header {
  margin-bottom: 20px;
}

.success-icon {
  font-size: 64px;
  color: #4caf50;
  display: block;
  margin-bottom: 16px;
}

.modal-header h2 {
  color: #0f4c2e;
  margin: 0;
  font-size: 24px;
}

.modal-content p {
  color: #666;
  font-size: 14px;
  line-height: 1.6;
  margin: 16px 0;
}

.modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  justify-content: center;
}

.btn-modal {
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  border: none;
}

.btn-modal.whatsapp {
  background: #25d366;
  color: #fff;
}

.btn-modal.whatsapp:hover {
  background: #20ba5a;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.btn-modal.close {
  background: #e0e0e0;
  color: #333;
}

.btn-modal.close:hover {
  background: #d0d0d0;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .ppdb-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .ppdb-hero h1 {
    font-size: 36px;
  }

  .ppdb-hero > .container > p:first-of-type {
    font-size: 20px;
  }

  .form-card {
    padding: 32px;
  }
}

@media (max-width: 768px) {
  .ppdb-hero {
    padding: 40px 0 50px;
  }

  .ppdb-hero h1 {
    font-size: 28px;
  }

  .ppdb-hero > .container > p:first-of-type {
    font-size: 18px;
  }

  .ppdb-hero .subtitle {
    font-size: 14px;
  }

  .ppdb-wrapper {
    padding: 40px 16px;
  }

  .ppdb-grid {
    gap: 20px;
  }

  .form-card {
    padding: 24px;
  }

  .form-header {
    margin-bottom: 24px;
  }

  .form-header h2 {
    font-size: 20px;
  }

  .form-group {
    margin-bottom: 18px;
  }

  .info-card {
    padding: 20px;
  }

  .info-header i {
    font-size: 20px;
  }

  .info-header h3 {
    font-size: 15px;
  }

  .modal-content {
    padding: 30px 20px;
  }

  .success-icon {
    font-size: 48px;
  }

  .modal-header h2 {
    font-size: 20px;
  }

  .modal-actions {
    flex-direction: column;
    gap: 10px;
  }

  .btn-modal {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .ppdb-hero {
    padding: 30px 0 40px;
  }

  .ppdb-hero h1 {
    font-size: 22px;
  }

  .ppdb-hero > .container > p:first-of-type {
    font-size: 16px;
  }

  .ppdb-hero .subtitle {
    font-size: 13px;
  }

  .ppdb-wrapper {
    padding: 30px 12px;
  }

  .form-card {
    padding: 18px;
  }

  .form-header {
    padding-bottom: 12px;
  }

  .form-header h2 {
    font-size: 18px;
  }

  .form-group label {
    font-size: 13px;
  }

  .form-group input {
    padding: 10px 12px;
    font-size: 13px;
  }

  .btn-submit {
    padding: 12px 16px;
    font-size: 14px;
  }

  .info-card {
    padding: 16px;
  }

  .info-header i {
    font-size: 18px;
  }

  .info-header h3 {
    font-size: 14px;
  }

  .info-list li {
    font-size: 13px;
  }

  .contact-list p {
    font-size: 12px;
  }

  .form-note {
    font-size: 12px;
    padding: 10px 12px;
  }
}
