
  /* HERO */
.hero-contact {
  min-height: 60vh;
  background: linear-gradient(
                to right,
                rgba(0, 0, 0, 0.55),
                rgba(0, 0, 0, 0.2)
              ),
              url("{% static 'css/images/contact_page_hero_compressed.webp' %}") center/cover no-repeat;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 60px 80px;
  color: #fff;
}

.hero-contact h1 {
  color:white;
  font-size: 3.5rem;
  font-family: 'Oswald', sans-serif;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero.contact-form {
  align-items: flex-end !important;
}

/* MAIN LAYOUT */
.contact-wrapper {
  display: flex;
  gap: 40px;
  max-width: 1200px;
  margin: 60px auto;
  align-items: stretch;
  justify-content: space-between;
}

#contact-form-container {
      box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
      background-color: var(--light-blue) !important;

}



/* FORM */
.contact-form {
  flex: 1 1 60%;
  padding: 40px;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact-form label {
  font-weight: 600;
  margin-bottom: 6px;
  color: #222;
  font-size: 0.95rem;
}

.form-container {
  display: flex;
  gap: 25px;
}

.form-left,
.form-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* INPUTS & TEXTAREAS */
.contact-form input,
.contact-form select,
.contact-form textarea {
  padding: 12px 14px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.25s ease;
  background-color: #fdfdfd;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(0,123,255,0.2);
  outline: none;
}

/* SUBMIT AREA */
.form-submit {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.form-submit .logo-text {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary-blue);
  text-decoration: none;
}

.form-submit button {
  padding: 12px 28px;
  background: var(--primary-blue);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.form-submit button:hover {
  background: #0056b3;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}



/* CONTACT INFO BOX */
.contact-info {
  display: flex;
  flex-direction:column;
  justify-content:center;
  text-align:center;
  flex: 1 1 35%;
  background: var(--light-blue);
  padding: 35px;
  border-radius: 14px;
  line-height: 1.6;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.contact-info h2 {
  font-size: 2rem;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.contact-info p {
  color: var(--text-dark);
  font-size: 1.3rem;
  margin: 0.5rem 0;
}

.logo-img-contact {
    width: clamp(180px, 14vw, 350px);
    height: auto;
    margin: 0;
    object-fit: contain;
    display: block;
}

/* MAP */
.map {
  max-width: 1200px;
  margin: 50px auto;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
}

/* THANK YOU MESSAGE */
.thank-you-message {
  background: var(--light-blue);
  color: var(--text-dark);
  padding: 3rem 2rem;
  border-radius: 14px;
  text-align: center;
  animation: fadeInUp 0.8s ease forwards;
}

.thank-you-message h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.thank-you-message p {
  font-size: 1.1rem;
}

.thank-you-message.error h2 {
  color: #b71c1c;
}

/* FADE EFFECTS */
.fade-out {
  opacity: 0;
  transition: opacity 0.6s ease;
}

.fade-in {
  opacity: 1;
  transition: opacity 0.6s ease;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .contact-wrapper {
    flex-direction: column;
    padding: 0 20px;
  }

  .form-container {
    flex-direction: column;
  }

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

  .hero-contact {
    padding: 40px 20px;
  }

  .hero-contact h1 {
    font-size: 2.5rem;
  }
}