/* Contact Section Styles - Click2Lead */

.contact-section {
  background-color: #FDF8E7;
  padding-top: 100px;
  padding-bottom: 100px;
  position: relative;
  overflow: hidden;
}

.contact-section-content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 100px;
  align-items: stretch;
}

.contact-section-title-descption-block {
  max-width: 600px;
  margin-top: 20px;
}

.contact-form-wrapper {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 80px;
  align-items: start;
  width: 100%;
}

.contact-form-block {
  width: 100%;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 32px;
  width: 100%;
}

.contact-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  width: 100%;
}

.contact-form-field-wrapper {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-form-field-wrapper.full-width {
  grid-column: 1 / -1;
}

.contact-field-label {
  color: #000;
  font-size: 14px;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.contact-field {
  background-color: #fff;
  border: 1px solid #e2e2e2;
  border-radius: 16px;
  color: #000;
  font-size: 16px;
  font-family: 'Archivo', sans-serif;
  padding: 18px 22px;
  transition: all 0.3s ease;
  width: 100%;
  line-height: 22px;
}

.contact-field:focus {
  background-color: #fff;
  border-color: #000;
  outline: none;
}

.contact-field::placeholder {
  color: #888;
}

.contact-field.textarea {
  min-height: 180px;
  resize: vertical;
  font-family: 'Archivo', sans-serif;
  line-height: 22px;
}

.contact-form-button-wrapper {
  display: flex;
  justify-content: flex-start;
  margin-top: 8px;
}

.contact-submit-button {
  background-color: #000;
  border: none;
  border-radius: 100px;
  color: #fff;
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  font-family: 'Inter', sans-serif;
  letter-spacing: 0;
  padding: 18px 32px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.contact-submit-button::after {
  content: '';
  width: 7px;
  height: 7px;
  background-color: #FF6500;
  border-radius: 50%;
  display: inline-block;
}

.contact-submit-button:hover {
  background-color: #282828;
  transform: translateY(-2px);
}

.contact-submit-button:active {
  transform: translateY(0);
}

.contact-info-block {
  display: flex;
  flex-direction: column;
  gap: 40px;
  background-color: #000;
  border-radius: 24px;
  padding: 60px 40px;
  color: #fff;
  position: sticky;
  top: 120px;
  height: fit-content;
}

.contact-info-item {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding-bottom: 32px;
  border-bottom: 1px solid #595959;
}

.contact-info-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.contact-info-icon {
  font-size: 28px;
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #F7F7F7;
  border-radius: 12px;
}

.contact-info-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.contact-info-label {
  font-size: 14px;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #888;
}

.contact-info-text {
  font-size: 18px;
  font-family: 'Archivo', sans-serif;
  line-height: 24px;
  color: #F7F7F7;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-info-text:hover {
  color: #fff;
}

.success-message,
.w-form-fail {
  display: none;
  padding: 0;
  margin-top: 24px;
}

.success-message-content,
.error-message-content {
  text-align: center;
  padding: 48px 40px;
  border-radius: 24px;
  background-color: #000;
}

.success-message-content {
  background-color: #000;
  border: 2px solid #38ef7d;
  color: #fff;
}

.error-message-content {
  background-color: #000;
  border: 2px solid #ff6500;
  color: #fff;
}

.success-message-content h3,
.error-message-content h3 {
  margin: 0 0 16px 0;
  font-size: 26px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  color: #fff;
}

.success-message-content p,
.error-message-content p {
  margin: 0;
  font-size: 16px;
  font-family: 'Archivo', sans-serif;
  line-height: 22px;
  color: #F7F7F7;
}

.error-message-content a {
  color: #FF6500;
  text-decoration: underline;
  font-weight: 600;
}

.error-message-content a:hover {
  color: #fff;
}

/* Responsive Design */
@media screen and (max-width: 991px) {
  .contact-section {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .contact-section-content-wrapper {
    gap: 80px;
  }

  .contact-form-wrapper {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .contact-info-block {
    position: static;
    order: -1;
    padding: 48px 36px;
  }

  .contact-info-item {
    padding-bottom: 28px;
  }
}

@media screen and (max-width: 767px) {
  .contact-section {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .contact-section-content-wrapper {
    gap: 60px;
  }

  .contact-form-wrapper {
    gap: 48px;
  }

  .contact-form-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .contact-form-field-wrapper.full-width {
    grid-column: 1;
  }

  .contact-submit-button {
    width: 100%;
    padding: 16px 32px;
  }

  .contact-info-block {
    padding: 40px 28px;
  }

  .contact-info-icon {
    font-size: 24px;
    width: 48px;
    height: 48px;
  }

  .contact-info-item {
    gap: 20px;
    padding-bottom: 24px;
  }
}

@media screen and (max-width: 479px) {
  .contact-section {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .contact-section-content-wrapper {
    gap: 48px;
  }

  .contact-form {
    gap: 28px;
  }

  .contact-form-grid {
    gap: 18px;
  }

  .contact-field {
    padding: 16px 20px;
    font-size: 15px;
  }

  .contact-field.textarea {
    min-height: 150px;
  }

  .contact-submit-button {
    font-size: 15px;
    padding: 14px 28px;
  }

  .contact-info-block {
    padding: 36px 24px;
  }

  .contact-info-item {
    gap: 18px;
    padding-bottom: 20px;
  }

  .contact-info-icon {
    width: 44px;
    height: 44px;
    font-size: 22px;
  }

  .success-message-content,
  .error-message-content {
    padding: 36px 28px;
  }
}
