/* Unified Contact Section Design -- Reference Screenshot Styling */

.contact-section {
  padding: var(--space-4xl) 0;
  background-color: #f8f6f3; /* The exact warm organic cream color requested */
}

.contact-section-title {
  text-align: center;
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  color: var(--color-primary-dark); /* Dark Forest Green #144e1c matching the flow */
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: var(--space-2xl);
  text-transform: uppercase;
}

.contact-card-box {
  display: flex;
  flex-direction: column;
  background-color: #e9f0ee; /* Light gray-green background tint from reference */
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  position: relative;
  width: 100%;
}

@media (min-width: 992px) {
  .contact-card-box {
    flex-direction: row;
    min-height: 520px;
  }
}

/* Left Panel: Solid deep forest green color backing with corner graphics */
.contact-card-box__left {
  position: relative;
  flex: 1.1;
  background-color: var(--color-primary-dark); /* Solid Forest Green #144e1c following the flow */
  color: var(--color-text-inverse);
  padding: var(--space-2xl);
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

@media (min-width: 992px) {
  .contact-card-box__left {
    padding: var(--space-3xl) var(--space-2xl);
  }
}

/* Position corner plant line art illustrations */
.contact-card-box__corner {
  position: absolute;
  width: 160px;
  height: 160px;
  pointer-events: none;
  opacity: 0.55;
  z-index: 1;
}

.contact-card-box__corner--top-left {
  top: 5px;
  left: 5px;
}

.contact-card-box__corner--bottom-right {
  bottom: 5px;
  right: 5px;
}

.contact-card-box__corner svg {
  width: 100%;
  height: 100%;
}

.contact-card-box__left-content {
  position: relative;
  z-index: 2;
}

.contact-card-box__left-title {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--color-text-inverse);
  margin-bottom: var(--space-sm);
}

.contact-card-box__left-desc {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--space-2xl);
  font-weight: 450;
}

.contact-card-box__left-details {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.contact-card-box__left-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  color: #e39658; /* Gold/orange coordinate links */
  text-decoration: none;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
}

.contact-card-box__left-item ion-icon {
  font-size: 1.2rem;
  color: #e39658;
}

/* Right Panel: Light gray-green box containing pill-shaped form inputs */
.contact-card-box__right {
  flex: 1.3;
  background-color: #e9f0ee;
  padding: var(--space-2xl);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (min-width: 992px) {
  .contact-card-box__right {
    padding: var(--space-3xl) var(--space-2xl);
  }
}

.contact-card-box__right-title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  text-align: center;
  color: #1f362e; /* Darker forest green heading */
  margin-bottom: var(--space-xl);
  text-transform: uppercase;
}

/* Pill Form elements styling */
.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

@media (min-width: 576px) {
  .form-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-input,
.form-textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  color: #ffffff;
  background-color: #365a4e; /* Dark green input pill background color */
  border: none;
  border-radius: 24px; /* Fully rounded pill shapes */
  padding: 14px 20px;
  outline: none;
  box-shadow: none;
  transition: box-shadow var(--transition-normal);
}

.form-textarea {
  border-radius: 16px;
  height: 140px;
  resize: none;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: rgba(255, 255, 255, 0.7);
  font-family: var(--font-body);
}

.form-input:focus,
.form-textarea:focus {
  box-shadow: 0 0 0 2px rgba(227, 150, 88, 0.5); /* Gold outline glow on focus */
}

/* Solid green submit button matching layout */
.contact-submit-btn {
  background-color: var(--color-primary-dark); /* Brand's forest green */
  color: #ffffff;
  border: none;
  border-radius: 24px;
  padding: 14px 30px;
  font-weight: 700;
  text-transform: uppercase;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  cursor: pointer;
  width: 100%;
  text-align: center;
  transition: background-color var(--transition-normal);
}

.contact-submit-btn:hover {
  background-color: var(--color-gold); /* Transitions to gold on hover */
}
