/* =========================
   CONTACT PAGE
========================= */

.contact-page {
  background: #f8fafc;
}

/* HERO (same structure, renamed) */
.contact-hero {
  height: 40vh;
  min-height: 300px;

  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;

  background:
    linear-gradient(rgba(2,6,23,0.85), rgba(2,6,23,0.95)),
    url("/static/images/chemical-bg.jpg");

  background-size: cover;
  background-position: center;
}

.contact-hero-content {
  color: white;
  max-width: 700px;
}

.contact-hero-content h1 {
  font-size: 48px;
  font-weight: 700;
}

.contact-hero-content p {
  color: #cbd5f5;
}

/* MAIN SECTION */
.contact-section {
  padding: 60px 20px;
}

.contact-container {
  max-width: 1200px;
  margin: auto;

  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

/* LEFT INFO */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.info-box {
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.info-icon {
  width: 50px;
  height: 50px;
  background: #e0ecff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-size: 20px;
}

.info-box h4 {
  margin-bottom: 5px;
  color: #0f172a;
}

.info-box p {
  font-size: 14px;
  color: #475569;
}

/* FORM */
.contact-form {
  background: white;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

.contact-form h3 {
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 15px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  outline: none;
  font-family: inherit;
}

.form-group textarea {
  resize: none;
  height: 120px;
}

.contact-btn {
  width: 100%;
  padding: 14px;
  background: linear-gradient(to right, #2563eb, #1d4ed8);
  color: white;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 500;
}

.contact-btn:hover {
  opacity: 0.9;
}

/* ERROR */
.error {
  color: red;
  font-size: 13px;
}
.map-box {
  margin-top: 20px;
  overflow: hidden;
  border-radius: 15px;
}
/* ================= CONTACT RESPONSIVE ================= */

@media (max-width: 992px) {

  .contact-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .contact-form {
    max-width: 600px;
    margin-left: 5px;
  }

}

/* ================= 768px ================= */

@media (max-width: 768px) {

  .contact-section {
    padding: 40px 15px;
  }

  .contact-container {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .contact-info {
    gap: 20px;
  }

  .info-box {
    gap: 12px;
  }

  .info-icon {
    width: 44px;
    height: 44px;
  }

  .info-box h4 {
    font-size: 16px;
  }

  .info-box p {
    font-size: 13px;
  }

  .contact-form {
    padding: 20px;
    border-radius: 16px;
    width: 100%;
  }

  .contact-form h3 {
    font-size: 18px;
  }

  .form-group input,
  .form-group textarea {
    padding: 10px;
    font-size: 14px;
  }

  .contact-btn {
    padding: 12px;
    font-size: 14px;
  }

  .map-box iframe {
    height: 200px;
  }

}

/* ================= 480px ================= */

@media (max-width: 480px) {

  .contact-hero {
    height: 30vh;
    min-height: 220px;
  }

  .contact-hero-content h1 {
    font-size: 24px;
  }

  .contact-hero-content p {
    font-size: 16px;
  }

  .info-box p {
    font-size: 12px;
  }

  .contact-form {
    padding: 18px 15px;
  }

  .map-box iframe {
    height: 180px;
  }

}