/* ============ Contact Page ============ */

.contact-hero {
  background: linear-gradient(135deg, #012a46 0%, #0b3c5d 60%, #0a2940 100%);
  color: #fff;
  padding: 6rem 2rem 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.contact-hero::before,
.contact-hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.35;
}

.contact-hero::before {
  width: 300px;
  height: 300px;
  background: #ff7f11;
  top: -120px;
  left: -80px;
}

.contact-hero::after {
  width: 340px;
  height: 340px;
  background: #1da1ff;
  bottom: -160px;
  right: -100px;
}

.contact-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
}

.contact-eyebrow {
  display: inline-block;
  background: rgba(255, 127, 17, 0.18);
  color: #ffb463;
  border: 1px solid rgba(255, 127, 17, 0.35);
  padding: 0.4rem 1.2rem;
  border-radius: 999px;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.6rem;
}

.contact-hero h1 {
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1.4rem;
}

.contact-hero p {
  font-size: 1.6rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.7;
}

.contact-section {
  padding: 5rem 2rem;
  max-width: 1120px;
  margin: 0 auto;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 3rem;
  align-items: start;
}

/* Info cards */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

.info-card {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  background: #fff;
  border: 1px solid #e6e9ef;
  border-radius: 14px;
  padding: 1.8rem 2rem;
  box-shadow: 0 4px 14px rgba(11, 60, 93, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.info-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 26px rgba(11, 60, 93, 0.14);
}

.info-icon {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #ff9a30, #ff7f11);
  color: #fff;
}

.info-icon svg {
  width: 24px;
  height: 24px;
}

.info-card h3 {
  color: #0b3c5d;
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.info-card p {
  color: #5b6b7a;
  font-size: 1.4rem;
}

/* Contact values (email/phone/WhatsApp) rendered as links from admin settings */
.contact-info-link {
  color: #5b6b7a;
  font-size: 1.4rem;
  text-decoration: none;
  word-break: break-word;
  transition: color 0.15s ease;
}

.contact-info-link:hover {
  color: #ff7f11;
  text-decoration: underline;
}

.info-note {
  background: #fff8f1;
  border-left: 4px solid #ff7f11;
  border-radius: 10px;
  padding: 1.6rem 1.8rem;
  margin-top: 0.6rem;
}

.info-note strong {
  color: #0b3c5d;
  font-size: 1.45rem;
}

.info-note p {
  color: #5b6b7a;
  font-size: 1.35rem;
  line-height: 1.65;
  margin-top: 0.5rem;
}

/* Form */
.contact-form-wrap {
  background: #fff;
  border: 1px solid #e6e9ef;
  border-radius: 16px;
  padding: 2.6rem;
  box-shadow: 0 8px 28px rgba(11, 60, 93, 0.08);
}

.contact-alert {
  padding: 1.1rem 1.4rem;
  border-radius: 10px;
  margin-bottom: 1.6rem;
  font-size: 1.4rem;
  font-weight: 500;
  display: none;
}

.contact-alert.success {
  display: block;
  background: rgba(76, 175, 80, 0.12);
  color: #2e7d32;
  border: 1px solid #4caf50;
}

.contact-alert.error {
  display: block;
  background: rgba(244, 67, 54, 0.1);
  color: #c62828;
  border: 1px solid #f44336;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.8rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.form-field label {
  color: #0b3c5d;
  font-weight: 600;
  font-size: 1.35rem;
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 1.1rem 1.3rem;
  border: 2px solid #e0e4ea;
  border-radius: 10px;
  font-family: "Poppins", "Segoe UI", sans-serif;
  font-size: 1.4rem;
  color: #1a2b3a;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: #ff7f11;
  box-shadow: 0 0 0 3px rgba(255, 127, 17, 0.15);
}

.form-field textarea {
  resize: vertical;
  min-height: 140px;
}

.contact-submit {
  align-self: flex-start;
  padding: 1.1rem 2.6rem;
  background: linear-gradient(135deg, #0b3c5d, #0a2940);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-family: "Poppins", "Segoe UI", sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.contact-submit:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(11, 60, 93, 0.35);
}

.contact-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Footer */
footer {
  background: #012a46;
  color: rgba(255, 255, 255, 0.85);
  text-align: center;
  padding: 2.4rem 1rem;
}

footer .footer-bottom {
  font-size: 1.35rem;
}

footer .footer-bottom a.footer-story-link {
  color: #93a4bb;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s ease;
}

footer .footer-bottom a.footer-story-link:hover {
  color: #e2e8f0;
}

@media (max-width: 860px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .contact-section {
    padding: 3rem 1.4rem;
  }

  .contact-form-wrap {
    padding: 1.8rem;
  }

  .contact-submit {
    width: 100%;
    text-align: center;
  }
}
