/* Contact Form Styling - Matching Top Section */
.contact-section {
  background-color: #171e22;
  padding: 80px 0;
  position: relative;
  color: #e7e6dd;
  margin-top: 0;
  overflow: hidden;
}

.contact-section .content_bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.contact-section .content_bg::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(23, 30, 34, 0.85);
  z-index: 2;
}

.contact-section .content_bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 1;
}

.contact-container {
  position: relative;
  z-index: 3;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.contact-title {
  margin-bottom: 40px;
}

.contact-title h3 {
  color: #e7e6dd;
  margin-bottom: 16px;
}

.contact-title h2 {
  color: #e7e6dd;
}

.contact-title h2 em {
  color: #00987a;
}

.contact-form {
  background-color: #23282b;
  border: 1px solid #2d3336;
  border-radius: 8px;
  padding: 32px;
  max-width: 600px;
  margin: 0 auto;
}

.form-row {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
}

.form-row.full-width {
  display: block;
}

.form-group {
  flex: 1;
}

.form-group label {
  display: block;
  color: #e7e6dd;
  margin-bottom: 8px;
  font-size: 14px;
  text-align: left;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px;
  background-color: #171e22;
  border: 1px solid #2d3336;
  border-radius: 4px;
  color: #e7e6dd;
  font-size: 16px;
}

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

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: #00987a;
  outline: none;
}

.form-submit {
  margin-top: 24px;
}

.submit-button {
  background-color: #00987a;
  color: #fff;
  border: none;
  padding: 14px 32px;
  border-radius: 100px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s;
}

.submit-button:hover {
  background-color: #007a62;
}

@media (max-width: 767px) {
  .form-row {
    flex-direction: column;
    gap: 16px;
  }
}