/* Contact page – consistent with site style (layout_padding, container, colors) */

/* Override global section { height: 40px } in style.css so the contact form is visible */
.contact-page {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  height: auto;
  min-height: auto;
}

/* Smaller, responsive title so it doesn’t overflow or overlap the footer */
.contact-page .page-title {
  text-align: center;
  margin-bottom: 1.5rem;
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  padding: 0.5rem 1rem;
}

.contact-page .page-title.popout span {
  animation: none;
  text-shadow: none;
}

.contact-page .contact-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.contact-page .contact-card .row.no-gutters {
  display: flex;
  align-items: stretch;
  min-height: 320px;
}

.contact-page .contact-card .row.no-gutters > [class*="col-"] {
  display: flex;
}

.contact-page .contact-form-wrap {
  flex: 1;
}

.contact-page .contact-form-wrap {
  padding: 2.5rem;
}

.contact-page .contact-form-wrap h3,
.contact-page .contact-info-wrap h3 {
  font-size: 1.35rem;
  color: #111111;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
}

.contact-page .contactForm .form-group {
  margin-bottom: 1.25rem;
}

.contact-page .contactForm .form-control {
  width: 100%;
  padding: 0.75rem 0;
  font-size: 1rem;
  color: #111111;
  background: transparent;
  border: none;
  border-bottom: 1px solid #e0e0e0;
  border-radius: 0;
  transition: border-color 0.2s ease;
}

.contact-page .contactForm .form-control::placeholder {
  color: #999;
}

.contact-page .contactForm .form-control:focus {
  outline: none;
  border-bottom-color: #28a745;
  box-shadow: none;
}

.contact-page .contactForm textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.contact-page .contactForm .btn-submit {
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  background-color: #28a745;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.contact-page .contactForm .btn-submit:hover {
  background-color: #218838;
}

.contact-page .form-status {
  margin-top: 0.75rem;
  font-size: 0.95rem;
  font-weight: 500;
}

.contact-page .form-status.success {
  color: #28a745;
}

.contact-page .form-status.error {
  color: #dc3545;
}

.contact-page .contact-info-wrap {
  flex: 1;
  padding: 2.5rem;
  background-color: #1b1b1b;
  color: #fff;
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

.contact-page .contact-info-wrap h3 {
  color: #fff;
}

.contact-page .contact-info-wrap .contact-dbox {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.contact-page .contact-info-wrap .contact-dbox:last-child {
  margin-bottom: 0;
}

.contact-page .contact-info-wrap .contact-dbox .icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
}

.contact-page .contact-info-wrap .contact-dbox .icon span {
  font-size: 1.1rem;
  color: #fff;
}

.contact-page .contact-info-wrap .contact-dbox .text p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
}

.contact-page .contact-info-wrap .contact-dbox .text span {
  font-weight: 600;
  color: #fff;
  display: block;
  margin-bottom: 0.15rem;
}

.contact-page .contact-info-wrap .contact-dbox .text a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
}

.contact-page .contact-info-wrap .contact-dbox .text a:hover {
  color: #fff;
}

#form-message-warning,
#form-message-success {
  display: none;
}

@media (max-width: 767px) {
  .contact-page .contact-form-wrap,
  .contact-page .contact-info-wrap {
    padding: 1.5rem;
  }
}
