/* =============================================
   SABINE TECHNOLOGY — contact.css
   Page-specific styles for the Contact page
   ============================================= */

/* =============================================
   SECTION 1 — Dark purple contact form area
   ============================================= */
.contact-section {
  background: #2d1b5e;
  padding: 80px 0 90px;
}

.contact-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

/* ---- Left column ---- */
.contact-left {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.contact-title {
  font-family: 'Lato', sans-serif;
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  font-weight: 900;
  color: #ffffff;
  line-height: 1.1;
  margin-bottom: 16px;
}

.contact-subtitle {
  font-family: 'Lato', sans-serif;
  font-size: 0.97rem;
  font-weight: 400;
  color: #ffffff;
  line-height: 1.6;
  margin-bottom: 60px;
}

.contact-email-block {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact-email-label {
  font-family: 'Lato', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
}

.contact-email-address {
  font-family: 'Lato', sans-serif;
  font-size: 0.97rem;
  font-weight: 400;
  color: #ffffff;
}

/* ---- Right column — form ---- */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.cform-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cform-group label {
  font-family: 'Lato', sans-serif;
  font-size: 0.9rem;
  font-weight: 400;
  color: #ffffff;
}

.cform-required {
  color: #ff0000;
  margin-left: 1px;
}

.cform-group input,
.cform-group textarea {
  width: 100%;
  padding: 15px 18px;
  background: #f5f3ff;
  border: none;
  border-radius: 4px;
  font-family: 'Lato', sans-serif;
  font-size: 0.92rem;
  color: #1a1a2e;
  outline: none;
  resize: vertical;
  transition: box-shadow 0.2s;
}

.cform-group input::placeholder,
.cform-group textarea::placeholder {
  color: #aaa;
}

.cform-group input:focus,
.cform-group textarea:focus {
  box-shadow: 0 0 0 2px #7c3aed;
}

/* Error message — hidden by default, shown via JS */
.cfield-error {
  display: none;
  font-family: 'Lato', sans-serif;
  font-size: 0.82rem;
  font-weight: 400;
  color: #f87171;
  margin-top: 2px;
}

.cfield-error.visible {
  display: block;
}

/* Red border on invalid fields */
.cform-group input.input-error,
.cform-group textarea.input-error {
  box-shadow: 0 0 0 2px #f87171;
}

.cform-submit {
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

.cform-btn {
  background: #7c3aed;
  color: #ffffff;
  font-family: 'Lato', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  padding: 15px 60px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  letter-spacing: 0.01em;
  transition: background 0.2s, transform 0.15s;
}

.cform-btn:hover {
  background: #6d28d9;
  transform: translateY(-1px);
}

.cform-btn:active {
  transform: translateY(0);
}

/* =============================================
   SECTION 2 — Turbine image block
   ============================================= */
.contact-image-section {
  background: #2d1b5e;
  padding: 0 80px 80px;
}

.contact-image-wrapper {
  max-width: 1060px;
  margin: 0 auto;
  border-radius: 4px;
  overflow: hidden;
}

.contact-turbine-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 900px) {
  .contact-inner {
    grid-template-columns: 1fr;
    padding: 0 24px;
    gap: 48px;
  }

  .contact-image-section {
    padding: 0 24px 60px;
  }

  .contact-turbine-img {
    height: 260px;
  }
}