/* Contact page styles */
.contact-page {
	padding-top: 100px;
	padding-bottom: 0;
	background: transparent;
	max-width: 1600px;
	width: 100%;
	margin: 0 auto 60px auto;
	box-sizing: border-box;
}

.contact-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
	gap: 40px;
	align-items: stretch;
	margin-top: 40px;
	padding: 0 24px;
	max-width: 100%;
	width: 100%;
	box-sizing: border-box;
}

.contact-form-card,
.contact-info-card {
	background: var(--card);
	border: 1px solid var(--card-border);
	border-radius: var(--radius-lg, 30px);
	padding: 40px;
	box-shadow: 0 30px 80px rgba(0, 0, 0, 0.04);
}

.contact-form-card {
	min-width: 0;
}

.contact-info-card {
	display: flex;
	flex-direction: column;
	gap: 24px;
	justify-content: flex-start;
	min-height: 100%;
}

.contact-info-card .contact-details {
	flex: 1;
}

.info-heading {
	margin-bottom: 14px;
}

.info-heading .eyebrow {
	text-transform: uppercase;
	letter-spacing: 1.5px;
	font-size: 12px;
	color: var(--accent);
	margin-bottom: 10px;
}

.info-heading h3 {
	margin: 0;
	font-size: clamp(28px, 2.4vw, 34px);
	line-height: 1.2;
	color: var(--text);
}

.contact-details {
	display: grid;
	gap: 18px;
}

.contact-detail {
	line-height: 1.75;
}

.contact-detail strong {
	display: block;
	font-size: 14px;
	font-weight: 700;
	color: var(--text);
	margin-bottom: 6px;
}

.contact-detail a,
.contact-detail p {
	margin: 0;
	font-size: 16px;
	color: var(--muted);
}

.contact-detail a {
	color: var(--accent);
	text-decoration: none;
}

.contact-detail a:hover {
	text-decoration: underline;
}

.contact-form-container {
	max-width: 100%;
	width: 100%;
	box-sizing: border-box;
}

.footer-form-note {
	margin-top: 24px;
	font-size: 15px;
	color: var(--muted);
}

.form-group {
	margin-bottom: 24px;
}

.form-label {
	display: block;
	font-size: 14px;
	font-weight: 600;
	color: var(--text);
	margin-bottom: 8px;
}

.form-input,
.form-textarea {
	width: 100%;
	padding: 16px 18px;
	font-size: 16px;
	font-family: var(--main-font);
	color: var(--text);
	background: var(--card);
	border: 1px solid var(--card-border);
	border-radius: 18px;
	box-sizing: border-box;
}

.form-input:focus,
.form-textarea:focus {
	outline: 2px solid rgba(var(--accent-rgb, 0 168 204), 0.18);
	outline-offset: 2px;
	border-color: var(--accent);
}

.form-textarea {
	min-height: 180px;
	resize: vertical;
}

/* ============================================
   CUSTOM CONTACT FORM CSS — replaces WPForms
   Add this to your theme's style.css or 
   enqueue as a separate file
   ============================================ */

.ccf-form-msg {
  padding: 14px 18px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 20px;
}
.ccf-form-msg.ccf-success {
  background: #e6f4ea;
  color: #1e7e34;
  border: 1px solid #a8d5b5;
}
.ccf-form-msg.ccf-error {
  background: #fdecea;
  color: #c0392b;
  border: 1px solid #f5c6cb;
}

.ccf-field-error {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.4;
  color: #ff6b6b;
}

#ccf-contact-form .ccf-has-error {
  border-color: #ff6b6b !important;
  box-shadow: 0 0 0 2px rgba(255, 107, 107, 0.2) !important;
}

.ccf-field {
  margin-bottom: 22px;
}

.ccf-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 6px;
  color: var(--text);
}
.ccf-req {
  color: #c0392b;
  margin-left: 2px;
}

.ccf-name-row {
  display: flex;
  gap: 12px;
  flex-wrap: nowrap;
  width: 100%;
}
.ccf-name-col {
  flex: 1;
  min-width: 0;
  box-sizing: border-box;
}
.ccf-name-col input {
  width: 100%;
  box-sizing: border-box;
}

#ccf-contact-form input[type="text"],
#ccf-contact-form input[type="email"],
#ccf-contact-form input[type="tel"],
#ccf-contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  min-height: 48px;
  border: 1px solid #ddd;
  border-radius: 12px;
  background: #fff;
  color: #000;
  font-size: 15px;
  box-sizing: border-box;
  display: block;
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
  appearance: none;
}

#ccf-contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

#ccf-contact-form input:focus,
#ccf-contact-form textarea:focus {
  border-color: #2c5f9e;
  box-shadow: 0 0 0 2px rgba(44, 95, 158, 0.2);
  outline: none;
}

#ccf-contact-form input::placeholder,
#ccf-contact-form textarea::placeholder {
  color: #999;
}

.ccf-submit-btn {
  background: var(--cta);
  color: #ffffff;
  padding: 14px 32px;
  border-radius: 18px;
  border: none;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(var(--accent-rgb, 0 168 204), 0.3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
}
.ccf-submit-btn:hover {
  transform: scale(1.02);
  box-shadow:
    0 0 24px var(--accent-glow),
    var(--shadow-md);
}
.ccf-submit-btn:active {
  transform: scale(0.96);
}
.ccf-submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

/* --- Mobile --- */
@media (max-width: 600px) {
  .ccf-name-row {
    flex-direction: column;
  }
  .ccf-name-col {
    width: 100%;
  }
  .ccf-submit-btn {
    width: 100%;
  }
}

@media (max-width: 968px) {
	.contact-grid {
		grid-template-columns: 1fr;
	}

	.contact-form-card,
	.contact-info-card {
		padding: 28px;
	}
}

@media (max-width: 680px) {
	.contact-page {
		padding-top: 60px;
		padding-bottom: 60px;
	}
}

/* FAQ Section alignment */
.contact-page + .faq-section {
	max-width: 1600px;
	width: 100%;
	margin: 0 auto;
	box-sizing: border-box;
	padding: 60px 24px;
}