/* ========================
   Zoho Form Section
   ======================== */

.zoho-form-section .container {
  max-width: 57rem;
}

/* Form Section Title */
.zoho-form-section-title {
  width: 100%;
  margin-bottom: var(--space-12);
  text-align: center;
}

.zoho-form-section-title h2 {
  color: var(--bs-primary-25);
  font-size: 1.875rem;
  font-weight: 400;
  font-family: var(--font-family-sans);
  line-height: 1.2;
  margin: 0;
}

/* Form Content Wrapper */
.zoho-form-content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: var(--space-12);
}

/* Form Fields Container */
.zoho-form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-10);
}

/* Form Field Row - Two Columns */
.zoho-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
}

/* Form Field */
.zoho-form-field {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

/* Form Label */
.zoho-form-label {
  color: var(--bs-success);
  font-size: 1rem;
  font-weight: 500;
  font-family: var(--font-family-sans);
  line-height: 1.5;
  margin: 0;
}

/* Form Input */
.zoho-form-input {
  background-color: transparent;
  border: none;
  border-bottom: 0.0625rem solid rgba(219, 255, 246, 0.5);
  color: var(--bs-primary-25);
  font-size: 1rem;
  font-weight: 400;
  font-family: var(--font-family-sans);
  line-height: 1.5;
  padding: 0.75rem 0;
  transition: border-color var(--transition-base);
  outline: none;
}

.zoho-form-input::placeholder {
  color: var(--bs-primary-25);
  opacity: 0.6;
}

.zoho-form-input:focus {
  border-bottom-color: var(--bs-success);
}

/* Textarea */
.zoho-form-textarea {
  resize: vertical;
  min-height: 6rem;
  background-color: var(--bs-primary-25);
  border: none;
  border-radius: var(--radius-2xl);
  color: var(--bs-dark);
  padding: 1rem;
  font-size: 1rem;
  font-weight: 400;
  font-family: var(--font-family-sans);
  line-height: 1.5;
  transition: background-color var(--transition-base);
  outline: none;
}

.zoho-form-textarea::placeholder {
  color: var(--bs-dark);
  opacity: 0.5;
}

.zoho-form-textarea:focus {
  background-color: var(--bs-primary-25);
  border: none;
}

/* Phone Input with Flag */
.zoho-form-phone-wrapper {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  border-bottom: 0.0625rem solid rgba(219, 255, 246, 0.5);
  padding-bottom: 0.75rem;
}

.zoho-form-phone-flag {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  border-radius: 50%;
  overflow: hidden;
}

.zoho-form-phone-input {
  flex: 1;
  border: none;
  border-left: 0.0625rem solid rgba(219, 255, 246, 0.5);
  padding-left: var(--space-2);
  background-color: transparent;
  color: var(--bs-primary-25);
  font-size: 1rem;
  font-weight: 400;
  font-family: var(--font-family-sans);
  line-height: 1.5;
  transition: border-color var(--transition-base);
  outline: none;
}

.zoho-form-phone-input::placeholder {
  color: var(--bs-primary-25);
  opacity: 0.6;
}

.zoho-form-phone-input:focus {
  border-left-color: var(--bs-success);
}

/* Full Width Field */
.zoho-form-field-full {
  grid-column: 1 / -1;
}

/* Submit Button */
.zoho-form-submit-btn {
  width: fit-content;
  padding: 0.625rem 1rem;
  background-color: var(--bs-danger);
  border: none;
  border-radius: var(--radius-2xl);
  color: var(--bs-dark);
  font-size: 1rem;
  font-weight: 500;
  font-family: var(--font-family-mono);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  transition: all var(--transition-base);
  margin-top: var(--space-4);
}

.zoho-form-submit-btn:hover {
  opacity: 0.9;
  transform: translateY(-0.125rem);
}

.zoho-form-submit-btn svg {
  width: 0.625rem;
  height: 0.9375rem;
  transform: rotate(-90deg);
}

/* ========================
   RESPONSIVE DESIGN
   ======================== */

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
  .zoho-form-section-title h2 {
    font-size: 2rem;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
  .zoho-form-section-title h2 {
    font-size: 2.25rem;
  }

  .zoho-form-row {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  .zoho-form-section-title h2 {
    font-size: 2.5rem;
  }
}

/* X-Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .zoho-form-section-title h2 {
    font-size: 2.75rem;
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  .zoho-form-input,
  .zoho-form-textarea,
  .zoho-form-phone-input,
  .zoho-form-submit-btn {
    transition: none;
  }

  .zoho-form-submit-btn:hover {
    transform: none;
  }
}
