/* Reset and box-sizing */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Container styles */
.contact-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 16px;
  background: #fff;
}

/* Main layout: 70-30 split */
.contact-main {
  display: flex;
  gap: 32px;
}

.contact-form-section {
  flex: 7;
  background: #f8f9fa;
  padding: 32px 24px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.contact-map-section {
  flex: 3;
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}

/* Form styles */
.form-columns {
  display: flex;
  gap: 24px;
  margin-bottom: 20px;
}

.form-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

label {
  font-weight: 500;
  margin-bottom: 4px;
}

input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  margin-bottom: 8px;
  background: #fff;
  transition: border 0.2s;
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
  border-color: #007bff;
  outline: none;
}

.send-btn {
  background: #007bff;
  color: #fff;
  border: none;
  padding: 12px 28px;
  border-radius: 6px;
  font-size: 1rem;
  cursor: pointer;
  margin-top: 8px;
  transition: background 0.2s;
}

.send-btn:hover {
  background: #0056b3;
}

/* reCAPTCHA placeholder */
.recaptcha-placeholder {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.recaptcha-img {
  width: 32px;
  height: 32px;
}

.recaptcha-terms {
  font-size: 0.8rem;
  color: #888;
}

/* Map section */
.map-box {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 180px;
  max-width: 100%;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  background: #e9ecef;
}

.map-box iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 10px;
}

.map-links {
  margin: 8px 0 12px 0;
  text-align: left;
}

.map-links a {
  color: #007bff;
  font-size: 0.98rem;
  text-decoration: none;
}


/* Office details */
.office-details-bar {
  margin-top: 16px;
}

.office-details-columns {
  display: flex;
  gap: 24px;
}

.office-details-columns > div {
  flex: 1;
  background: #f1f3f6;
  padding: 16px 14px;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.03);
}

.office-details-columns strong {
  display: block;
  font-size: 1.08rem;
  margin-bottom: 6px;
  color: #222;
}

.office-details-columns p,
.office-details-columns a {
  font-size: 0.98rem;
  color: #444;
  margin-bottom: 4px;
  word-break: break-word;
}

.office-details-columns a {
  color: #007bff;
  text-decoration: none;
}

.office-details-columns a:hover {
  text-decoration: underline;
}

/* Responsive styles */
@media (max-width: 900px) {
  .contact-main {
    flex-direction: column;
    gap: 24px;
  }
  .contact-form-section,
  .contact-map-section {
    width: 100%;
    max-width: 100%;
    padding: 20px 10px;
  }
  .form-columns {
    flex-direction: column;
    gap: 12px;
  }
  .map-box {
    min-height: 160px;
    aspect-ratio: 16 / 10;
  }
  .office-details-columns {
    flex-direction: column;
    gap: 14px;
  }
}

@media (max-width: 600px) {
  .contact-container {
    padding: 12px 2vw;
  }
  .contact-form-section,
  .contact-map-section {
    padding: 12px 4px;
  }
  .map-box {
    min-height: 120px;
    aspect-ratio: 16 / 12;
  }
  .office-details-columns > div {
    padding: 10px 6px;
  }
  .send-btn {
    width: 100%;
  }
}