/* ====== BACKGROUND WRAPPER ====== */
.contact-page-wrapper {
  position: relative;
  overflow: hidden;       /* keep bg contained */
}
.contact-page-wrapper .contact-page-bg {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;   /* allow clicks through */
  z-index: 0;
}
.contact-page-wrapper .contact-page-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;           /* adjust for more/less visibility */
}

/* ====== MAIN CONTENT ====== */
body {
  background-color: #f8f9fa;
  color: #333;
  margin: 0;
  padding: 0;
  line-height: 1.6;
}
.contact-page {
  position: relative;
  z-index: 1;             /* above the bg */
  width: 90%;
  max-width: 1200px;
  margin: 40px auto;
}

/* ====== HEADER ====== */
.contact-header {
  text-align: center;
  margin-top: 60px;
  margin-bottom: 30px;
}
.contact-header h1 {
  margin: 0 0 10px;
  font-size: 3rem;
}
.contact-header p {
  font-size: 1.5rem;
  max-width: 600px;
  margin: 0 auto;
  color: #555;
}

/* ====== TWO-COLUMN GRID ====== */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  align-items: start;
}

/* ====== CARDS ====== */
.contact-card {
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  padding: 20px;
}
.contact-card h2 {
  font-size: 2rem;
  color: #002147;
  margin: 0 0 15px;
  border-bottom: 2px solid #002147;
  padding-bottom: 5px;
  text-align: center;
}

/* ====== CONTACT INFO ====== */
.contact-info p {
  margin: 8px 0;
  font-size: 1.1rem;
  color: #333;
}
.contact-info p strong {
  display: inline-block;
  width: 80px;
  color: #002147;
}
.contact-info a {
  color: #007bff;
  text-decoration: none;
  font-weight: bold;
}
.contact-info a:hover {
  text-decoration: underline;
}

/* ====== MAP & QR ====== */
.map-container {
  margin: 15px 0;
}
.map-container iframe {
  width: 100%;
  height: 220px;
  border: 0;
  border-radius: 4px;
}
.qr-code {
  display: block;
  margin: 15px auto 0;
  max-width: 120px;
  width: 100%;
  height: auto;
}
.qr-caption {
  text-align: center;
  font-size: 0.9rem;
  color: #555;
  margin-top: 5px;
}

/* ====== CONTACT FORM ====== */
.contact-form form {
  margin-top: 10px;
}
.form-group {
  margin-bottom: 15px;
}
.form-group label {
  display: block;
  margin-bottom: 5px;
  font-size: 1rem;
  color: #333;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
}
.contact-form button {
  background: #022952;
  color: #fff;
  border: none;
  padding: 10px 24px;
  font-size: 1rem;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s ease;
}
.contact-form button:hover {
  background: #02162b;
}
.form-message {
  margin-top: 15px;
  font-size: 1rem;
}

/* ====== OPTIONAL BACK BUTTON ====== */
.back-button-container {
  text-align: left;
  margin-bottom: 10px;
}
.back-button {
  background: #002147;
  color: #fff;
  padding: 8px 16px;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.3s ease;
}
.back-button:hover {
  background: #001f3f;
}

/* ====== BUSINESS HOURS ====== */
.contact-info p.hours {
  margin: 12px 0 0;
  font-size: 1rem;
  color: #333;
}
.contact-info p.hours em {
  display: block;
  margin-left: 80px;
  font-size: 0.9rem;
  color: #555;
  font-style: italic;
}

/* ====== RESPONSIVE ====== */
@media (max-width: 768px) {
  .contact-header h1 {
    font-size: 1.8rem;
  }
  .contact-header p {
    font-size: 1rem;
  }
  .contact-card h2 {
    font-size: 1.4rem;
  }
}
