body {
  margin: 0;
  font-family: "Segoe UI", sans-serif;
  background-color: #f9f7f0;
  color: #1a1a1a;
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  padding: 60px 5%;
  align-items: flex-start;
  justify-content: center;
  gap: 40px;
  margin-top: 2rem;
  position: relative;
  z-index: 3;
}

.contact-left {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-left h1 {
  font-size: 2.2rem;
  font-family: "Alice", sans-serif;
  text-align: left;
  font-weight: 600;
  margin-top: 20px;
}

.contact-btn {
  background-color: #e00000;
  color: #fff;
  width: 12rem;
  padding: 15px 32px;
  display: inline-block;
  text-decoration: none;
  font-weight: 600;
  text-align: center;
}

.contact-form-container {
  flex: 1;
  background: white;
  padding: 40px;
  border-radius: 8px;
  max-width: 600px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
  position: relative;
  z-index: 4;
}

.contact-form h2 {
  font-size: 1.8rem;
  margin-bottom: 100px;
  font-family: "Alice", sans-serif;
  font-weight: 500;
  text-align: center;
}

.form-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}

.full-width {
  width: 100%;
}

input,
textarea {
  border: none;
  border-bottom: 1px solid #aaa;
  padding: 10px;
  font-size: 1rem;
  background: transparent;
  resize: none;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: #e00000;
}

button[type="submit"] {
  margin-top: 20px;
  background: #e00000;
  color: #fff;
  border: none;
  padding: 12px 24px;
  font-size: 1rem;
  cursor: pointer;
  border-radius: 4px;
}

.contact-info {
  background-color: #ffffff;
  padding: 5rem 2rem;
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 3;
}

.contact-info-wrapper {
  width: 100%;
  max-width: 1200px;
  display: flex;
  justify-content: flex-start;
}

.contact-info-text {
  max-width: 500px;
}

/* Contact background image section */
.contact-background-image {
  background-image: url("../images/contact/offering-2.webp");
  background-size: cover;
  background-position: center;
  height: 400px;
  width: 100%;
  position: relative;
  margin-top: -200px;
  z-index: 1;
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.1);
}

.contact-info-text h2 {
  font-size: 2.5rem;
  width: 12rem;
  font-weight: 500;
  font-family: "Alice", sans-serif;
  margin-bottom: 1.5rem;
  color: #0f0f0f;
}

.contact-info-text p {
  margin: 0.5rem 0;
  font-size: 1rem;
  color: #1a1a1a;
}

.contact-info-text a {
  text-decoration: none;
  color: #1a1a1a;
}

.contact-info-text a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .contact-info-wrapper {
    justify-content: center;
    text-align: center;
  }

  .contact-info-text {
    max-width: 100%;
  }
}

@media (max-width: 900px) {
  .contact-container {
    align-items: center;
    flex-direction: column;
    padding: 40px 20px;
  }

  .contact-left h1 {
    font-size: 1.5rem;
  }

  .contact-form-container {
    padding: 30px 20px;
  }
}
