/* ================= CONTACT PAGE ================= */

.contact-page {
  max-width: 1200px;
  margin: 90px auto;
  padding: 0 20px;
}
.contact-header {
  text-align: center;
  margin-bottom: 60px;
}

.contact-header h1 {
  font-size: 40px;
  margin-bottom: 10px;
}

.contact-header p {
  max-width: 800px;
  margin: 0 auto;
  color: #555;
  line-height: 1.7;
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

/* LEFT */
.contact-details h2 {
  font-size: 28px;
  margin-bottom: 15px;
}

.contact-details p {
  color: #444;
  line-height: 1.7;
  margin-bottom: 15px;
}

.contact-item {
  margin-bottom: 15px;
}

.contact-item strong {
  display: block;
  margin-bottom: 4px;
}

.contact-item a {
  text-decoration: none;
  color: #0a1340;
}

.contact-note {
  margin-top: 25px;
  font-size: 14px;
  color: #666;
}

/* RIGHT FORM CARD */
.contact-form-box {
  background: #fff;
  padding: 35px;
  border-radius: 18px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.08);
  position: relative;
  min-height: 420px;
}

/* FORM */
.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #ddd;
  font-size: 15px;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #0a1340;
}

.contact-btn {
  width: 100%;
  padding: 14px;
  background: #0a1340;
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  cursor: pointer;
}

.contact-btn:hover {
  background: #111b5c;
}

/* LOADER + RESULT (CENTERED) */
.form-loader,
.form-result {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
}

/* SPINNER */
.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #ddd;
  border-top: 4px solid #0a1340;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 12px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.form-result.success {
  color: green;
}

.form-result.error {
  color: red;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .contact-container {
    grid-template-columns: 1fr;
  }
}
[hidden] {
  display: none !important;
}
