/* Contact page styles */
#contact-main {
  padding: 60px 20px;
  background: #f1f1f1;
}

.contact-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: stretch;
  width: 90%;
  margin: 0 auto;
}

/* First box grows larger */
.contact-grid > .contact-box:first-child {
  flex: 2 1 400px;
}

/* Second box (schedule + contact) */
.contact-grid > .contact-box:nth-child(2) {
  flex: 1 1 300px;
}

.contact-box {
  background: #fff;
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Form grid adjustments */
.contact-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 12px 20px;
  margin-top: 16px;
}

.contact-form-grid input,
.contact-form-grid textarea {
  width: 100%;
  padding: 10px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

.contact-form-grid input[type="email"],
.contact-form-grid textarea,
.contact-form-grid button {
  grid-column: 1/-1;
}

.contact-form-grid textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-form-grid button {
  padding: 12px;
  font-size: 1rem;
  background: #28003b;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.2s;
}

.contact-form-grid button:hover {
  background: #3b0054;
}

/* Combined Schedule & Contact Info styling */
.schedule-contact-box .contact-details {
  margin-top: 20px;
}

.schedule-contact-box .contact-details h3 {
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.schedule-contact-box .contact-details p {
  margin: 4px 0;
  font-size: 0.95rem;
}

/* Google Map container */
.map-container {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  aspect-ratio: 16/9;
  height: auto;
  max-height: 500px;
  margin-top: 20px;
  border-radius: 0;
  overflow: hidden;
}

/* Responsive tweaks */
@media (max-width: 1024px) {
  .contact-grid {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .contact-form-grid {
    grid-template-columns: 1fr;
  }
}