.contact-section {
  display: flex;
  min-height: 100vh;
  background-color: white;
  align-items: center;
  padding: 0;
  margin: 0 auto;
  overflow: hidden; /* Prevents overflow of the image */
}

.contact-section input::placeholder,
.contact-section textarea::placeholder {
  color: rgba(0, 0, 0, 0.4); /* 40% opacity for placeholder text */
}

.text-container, .image-container {
  box-sizing: border-box; 
}

.contact-section .image-container {
  flex: 3; /* 60% of the width */
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden; /* Ensures the image does not overflow */
}

.contact-section .image-container img {
  width: auto;
  height: auto;
  object-fit: cover; 
}

.contact-section .text-container {
  flex: 2; /* 40% of the width */
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: start;
}

.contact-section h1 {
    font-size: 4rem;
}


.contact-section p, .contact-section h1{
    margin-left: 8%;
    margin-bottom: 2rem;
}


.contact-section form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-left: 8%;
  width: 84%;
}

.contact-section label {
  padding-left: 0.5rem; 
  font-size: 0.9rem; 
  margin-bottom: -0.5rem;
}

.contact-section input[type="text"],
.contact-section input[type="email"],
.contact-section textarea {
  width: 100%;
  padding: 0.75rem;
  background-color: #F9FAFE;
  border: none;
  border-radius: 10px;
  box-sizing: border-box;
  font-family: 'DM_Sans', Arial, sans-serif; /* Match the website's font */
  font-size: 1rem;
}

.message-text {
  height: 100px;
  resize: none;
}

@media (max-width: 900px) {
  .contact-section .image-container {
    display: none;
  }
}
