.contact-hero {
    background-color: #0F172A; /* rich navy blue */
    color: #F3F4F6; /* rich navy blue for contrast */
    padding: 10rem 2rem 4rem;
    position: relative;
    overflow: hidden;
}

.contact-hero-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: left;
}

.contact-hero h1 {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 1rem;
    color: #F3F4F6;
}

.contact-hero p {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    color: #F3F4F6;
}


.contact-hero-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: left;
}

.about-hero h1 {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 1rem;
    color: #F3F4F6;
}

.about-hero p {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    color: #F3F4F6;
}

.contact-section {
  background-color: #ffffff;
  padding: 10rem 2rem;
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
  align-items: flex-start;
}

/* ----------------------------- */
/* Form Styles (Left Column) */
/* ----------------------------- */
.contact-form {
  flex: 1 1 600px;
}

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

.contact-form label {
  font-weight: 600;
  color: var(--contrast-navy);
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  background-color: #f8fafc;
  font-size: 1rem;
}

.btn-submit {
  background-color: var(--primary-blue);
  color: white;
  padding: 0.75rem;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s ease;
}

.btn-submit:hover {
  background-color: var(--secondary-indigo);
}

.required-note {
  font-size: 0.875rem;
  color: var(--secondary-indigo);
  margin-bottom: 1rem;
}

/* ----------------------------- */
/* Info Box (Right Column) */
/* ----------------------------- */
.contact-info {
  flex: 1 1 300px;
  background-color: white;
  padding: 2rem;
  border-radius: 12px;
  color: var(--contrast-navy);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.contact-info h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.contact-info p {
  margin-bottom: 0.75rem;
}

.social-icons {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-icons img {
  width: 28px;
  height: 28px;
}

/* Responsive for Mobile */
@media (max-width: 768px) {
  .contact-container {
    flex-direction: column;
  }
}

/* ---------------------- */
/* Django Message Styling */
/* ---------------------- */

.message-container {
  max-width: 800px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.alert {
  padding: 1rem 1.5rem;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 500;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

/* ✅ Success (green-blue tone) */
.alert.success {
  background-color: #d1fae5;
  color: #065f46;
  border: 1px solid #34d399;
}

/* ❌ Error (red tone) */
.alert.error {
  background-color: #fee2e2;
  color: #991b1b;
  border: 1px solid #f87171;
}

/* ⚠️ Warning (yellow tone) */
.alert.warning {
  background-color: #fef9c3;
  color: #92400e;
  border: 1px solid #facc15;
}

/* 🟦 Info (optional) */
.alert.info {
  background-color: #e0f2fe;
  color: #0369a1;
  border: 1px solid #38bdf8;
}
