/* service page contact us form */
/* 3rd section */

.contact-section-two {
  margin-top: 0;
  padding-top: 0px ;

  background-color: #0c1654;
}

/* Main container */
.contact-two-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0px 20px;
  display: flex;
  justify-content: space-between;
  gap: 0px;
  flex-wrap: wrap;
}

/* Left Side Image */
.contact-two-image {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}




.contact-two-image img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: contain;
  
}

/* Right Side (Form) */
.contact-two-form {
  background: #fff;
  padding: 50px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  width: 400px;
  text-align: left;
  box-sizing: border-box;
  margin-top: 20px;
  margin-bottom: 20px;
}

.contact-two-form h2 {
  margin-bottom: 15px;
  color: #0c1654;
  font-size: 22px;
}

.contact-two-form input,
.contact-two-form textarea,
.contact-two-form button {
  width: 100%;
  padding: 10px;
  margin: 8px 0;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 14px;
}

.contact-two-form textarea {
  resize: none;
}

.contact-two-form button {
  background: #28a745;
  color: white;
  font-size: 16px;
  cursor: pointer;
  border: none;
  transition: 0.3s;
}

.contact-two-form button:hover {
  background: #218838;
}

/* Message text */
#formMessage {
  margin-top: 12px;
  font-size: 14px;
  display: none;
}

/* Responsive Layouts */
@media (max-width: 1140px) {
  .contact-two-container {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 30px;
    padding-bottom: 30px;
  }

  .contact-two-form {
    width: 100%;
    max-width: 500px;
  }
}

/* Adjustments for smaller screens */
@media (max-width: 1140px) {
  .contact-two-image img {
    display: none; /* Hide image below 1140px */
  }

  .contact-section-two {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .contact-two-form {
    margin: 0 auto;
  }
}