.contactUsPage {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  box-sizing: border-box;
  /* font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
  font-style: italic; */
  padding: 0rem 2rem;
  margin-bottom: 1rem;
  /* font-family: Verdana, Geneva, Tahoma, sans-serif; */
  font-family: "Noto Serif", serif;
}

.contactContainer {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: flex-start;
  width: 100%;
  gap: 20px;
}

.contactInfo,
.contactFormContainer {
  flex: 1;
  margin: 10px;
}

.contactInfo {
  padding: 0; /* Removed padding */
  border-radius: 8px;
}

.contactFormContainer {
  flex: 0 0 40%; /* Ensure it takes 40% width */
  padding: 0; /* Removed padding */
  border-radius: 8px;
}

.h3,
.h2 {
  margin-top: 0;
}

.h3 {
  margin-bottom: 20px;
  text-align: left;
  color: #ff4c4c;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 20px 0;
  margin-bottom: 30px;
  position: relative;
  text-align: left;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.h3::before {
  content: '';
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #ff6b6b, transparent);
}

.h3::after {
  content: '✦';
  position: absolute;
  bottom: -18px;
  left: 0;
  font-size: 2rem;
  color: #ff6b6b;
  background-color: white;
  padding: 0 10px 0 0;
}

.p {
  font-size: 1.2rem; /* Decreased size */
  line-height: 1.4; /* Decreased line height */
  font-weight: 400;
  margin-bottom: 20px; 
  color: rgb(58, 57, 57);
}

.contactFormContainer .h2 {
  font-size: 33px; /* Decreased size */
  display: flex;
  justify-content: center;
  margin-top: 50px;
  color: #FF4C4C;  
  margin-bottom: 10px;
}

.formGroup {
  margin-bottom: 23px;
}

.formGroup label {
  font-size: 1.3rem;
  font-weight: bold;
  color: #333;
  display: block;
  margin-bottom: 0.5rem;
}

.formGroup input,
.formGroup textarea {
  width: 100%;
  padding: 0.8rem;
  font-size: 1.2rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  background-color: #f5f5f5;
  transition: border-color 0.3s ease;
}

.formGroup input:focus,
.formGroup textarea:focus {
  outline: none;
  border-color: #5C469C;
}
.formGroup textarea {
  height: 12rem;
}

.submitButton {
  font-family: "Noto Serif", serif;
  font-style: italic;
  padding: 15px 0; /* Adjusted padding */
  border: none;
  border-radius: 10px;
  color: white;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  font-size: 24px; /* Decreased size */
  font-weight: 800;
  transition-duration: 0.4s;
  /* background-color: #FF4C4C; */
  background-color: #5C469C;
  display: block;
  width: 100%;
}

.submitButton:hover {
  opacity: 0.8;
}

.imageContainer {
  display: flex;
  gap: 20px; /* Adjust space between images */
  margin-top: 20px; /* Add margin between text and images */
  justify-content: space-evenly;
}

.imageContainer img {
  border-radius: 8px;
  max-width: 100%; /* Ensure images don't exceed container width */
  height: 33rem; /* Maintain aspect ratio */
}

/* Responsive Styles */

@media (max-width: 1400px) {
  .contactContainer {
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .contactFormContainer {
    flex: 0; /* Ensure it takes 40% width */
    width: 90%;
  }

  .imageContainer img {
    border-radius: 8px;
    max-width: 30%; /* Ensure images don't exceed container width */
    height: 33rem; /* Maintain aspect ratio */
  }
  .formGroup textarea {
    height: 20rem;
  }
}

@media (max-width: 1300px) {
  .imageContainer img {
    max-width: 33%; /* Adjust max-width for larger screens */
    height: auto; /* Maintain aspect ratio */
  }
}

@media (max-width: 1200px) {
  .contactFormContainer {
    width: 90%;
  }
}

@media (max-width: 932px) {

  .contactUsPage {
    padding: 0rem 1rem;
  }

  .contactContainer {
    flex-direction: column;
  }

  .imageContainer img {
    max-width: 52%; /* Adjust max-width for larger screens */
    height: 32rem; /* Maintain aspect ratio */
  }
}

@media (max-width: 768px) {
  .contactInfo {
    text-align: center;
    padding: 0;
  }
  .contactFormContainer {
    width: 100%;
  }

  .h3,
  .h2 {
    font-size: 1.7rem;
  }

  .p,
  .formGroup label {
    font-size: 1.2rem;
  }

  .contactFormContainer .h2 {
    font-size: 1.7rem;
  }

  .formGroup input,
  .formGroup textarea {
    padding: 0.6rem;
    font-size: 0.9rem;
  }

  .submitButton {
    padding: 15px 0; /* Adjusted padding */
    font-size: 1.2rem;
  } 

  .imageContainer {
    flex-direction: column; /* Stack images vertically on small screens */
    align-items: center; /* Center images vertically */
  }

  .imageContainer img {
    max-width: 75%; /* Adjust max-width for larger screens */
    height: 37rem; /* Maintain aspect ratio */
  }
}

@media (max-width: 480px) {
  .contactContainer {
    flex-direction: column;
  }

  .contactInfo,
  .contactFormContainer {
    width: 100%;
  }

  .h3,
  .h2 {
    font-size: 1.2rem;
    text-align: center;
  }

  .p,
  .formGroup label {
    font-size: 1rem;
  }

  .contactFormContainer .h2 {
    font-size: 1.6rem;
    margin-top: 0;
  }

  .formGroup input,
  .formGroup textarea {
    padding: 0.6rem;
    font-size: 0.9rem;
  }

  .submitButton {
    padding: 15px 0; /* Adjusted padding */
    font-size: 1rem;
  }

  .imageContainer img {
    max-width: 100%; /* Adjust max-width for larger screens */
    height: 35rem; /* Maintain aspect ratio */
    margin-bottom: 0;
  }
}

@media (max-width: 440px) {

}

/* Image Header Styles */
.image-container {
  position: relative;
  width: 100%;
  height: 500px; /* Adjust height as needed */
  overflow: hidden;
}

.image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Responsive design */
@media (max-width: 768px) {
  .image-container {
    height: auto;
  }

  .image {
    height: auto;
    width: 100%;
    object-fit: contain; /* Ensures the whole image is visible */
  }
}

@media (max-width: 480px) {
  .image-container {
    height: auto;
  }

  .image {
    height: auto;
    width: 100%;
    object-fit: contain; /* Ensures the whole image is visible */
  }
}

 /* whatsapp button */
 .sticky-links {
  position: fixed;
  bottom: 0;
  width: 100%;
  display: flex;
  justify-content: space-around;
  background-color: #333;
  z-index: 1000;
}

.sticky-link-whatsapp {
  flex: 1;
  padding: 1rem;
  font-size: 1rem;
  text-align: center;
  color: #fff;
  text-decoration: none;
  background-color: #20b954;
  transition: background-color 0.3s ease;
}

.sticky-link-callUs {
  flex: 1;
  padding: 1rem;
  font-size: 1rem;
  text-align: center;
  color: #fff;
  text-decoration: none;
  background-color: #007bff;
  transition: background-color 0.3s ease;
}

.sticky-link-whatsapp:hover {
  background-color: #18bd4f;
}
.sticky-link-callUs:hover {
  background-color: #0056b3;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .sticky-link-whatsapp {
    font-size: 0.9rem;
    padding: 0.8rem;
  }
  .sticky-link-callUs {
    font-size: 0.9rem;
    padding: 0.8rem;
  }
}

@media (max-width: 480px) {
  .sticky-link-whatsapp {
    font-size: 0.8rem;
    padding: 0.6rem;
  }
  .sticky-link-callUs {
    font-size: 0.8rem;
    padding: 0.6rem;
  }
}

.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgba(0, 0, 0, 0.4); /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
  background-color: #fefefe;
  margin: 15% auto; /* 15% from the top and centered */
  padding: 20px;
  border: 1px solid #888;
  width: 80%; /* Could be more or less, depending on screen size */
  max-width: 600px; /* Set a maximum width */
  position: relative; /* Make sure the close button is positioned relative to this */
}

/* The Close Button */
.close {
  color: #aaa;
  float: right; /* Float to the right to position it in the top right corner */
  font-size: 28px;
  font-weight: bold;
  position: absolute; /* Position it absolutely to the modal-content */
  top: 10px;
  right: 20px;
}

/* Close Button Hover */
.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

/* Center Text in Modal */
.modal-content p {
  text-align: left; /* Align text to the left */
  margin: 0;
  padding: 20px;
}