﻿/* Contact Section */
.contact {
  padding-top: 120px;
  padding-bottom: 40px;
}

.contact-wrapper {
  background-image: url("../img/contact-bg.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  color: white;
  text-align: center;
  padding: 60px 0 60px 0;
  border: 10px solid var(--mainbg);
  border-radius: 24px;
}

.contact h2 {
  text-align: center;
  font-size: 3.75rem;
  color: #f5f7fa;
  font-weight: 400;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  padding: 40px;
}

.form-group {
  margin-bottom: 24px;
}

.recaptcha-container {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

#contact h2,
#contact #character-counter,
.contact-form .form-group input,
.contact-form .form-group textarea,
.contact-form .form-group {
  font-family: "FK Display";
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 15px;
  border-radius: 12px;
  font-size: 1.125rem;
  background: rgba(245, 247, 250, 0.1);
  border: 1px solid rgba(245, 247, 250, 0.2);
  backdrop-filter: blur(5px);
  line-height: 140%;
  color: #cbd5e0;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: 2px solid #4fd1c5;
  outline-offset: 2px;
}

.form-group input:not(:placeholder-shown),
.form-group textarea:not(:placeholder-shown) {
  border: 1px solid #f5f7fa99;
  outline-width: 0px;
  outline-offset: 0px;
  color: #f5f7fa;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #cbd5e0;
}

.form-group textarea {
  min-height: 220px;
  resize: vertical;
}

#character-counter {
  text-align: left;
  color: #cbd5e0;
  font-size: 1.125rem;
  margin-bottom: 40px;
}

.btn {
  display: inline-block;
  padding: 12px 60px;
  background: #f6f1ec;
  text-decoration: none;
  border-radius: 25px;
  border: none;
  cursor: pointer;
  font-size: 1.125rem;
  transition: all 0.3s;
}

.btn:hover {
  background: #cecccb;
}

.btn:active {
  background: #4FD1C5;
}

#response-message {
  margin-top: 40px;
  margin-bottom: 40px;
}

div.cform-error {
  color: #e9afb8;
}

div.cform-success {
  color: #72c5c1;
}

.form-group input.field-error,
.form-group textarea.field-error {
  border: 1px solid #D35F70;
  background-color: rgba(211, 95, 112, 0.10);
  color: #E9AFB8;
}

.form-group input.field-error::placeholder,
.form-group textarea.field-error::placeholder {
  color: #E9AFB8;
}

.error-color {
  color: #E9AFB8 !important;
}


@media (max-width: 868px) {
  .contact h2 {
    font-size: 2rem;
    padding-top: 30px;
    margin-bottom: 10px;
  }

  .contact-form {
    padding: 40px 10px 40px 10px;
  }

  .btn {
    margin-top: -10px;
  }
}

