#wlcm {
  height: 450px;
  width: 100%;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #ffffff6b;
  text-align: center;
  overflow: hidden;
}
#wlcm h2 {
  font-size: 3rem;
  max-width: 650px;
  margin-inline: auto;
  font-weight: bold;
  color: #000;
}
#wlcm h2 span {
  background: linear-gradient(90deg, #1e3759, #3085e0, #1e3759);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}
#wlcm p {
  font-size: 1.2rem;
  max-width: 700px;
  margin-inline: auto;
  color: #333;
  margin-top: 15px;
  margin-bottom: 20px;
}
#wlcm button {
  background-color: #1e3759;
  color: #fff;
  border: none;
  width: 160px;
  height: 48px;
  border-radius: 10px;
  transition: all 0.1s;
}

#wlcm button:hover {
  background-color: #2e5894;
}
#contactForm {
  display: flex;
  align-items: flex-start;
  margin-top: 80px;
  overflow: hidden;
}
#contactForm .left {
  width: 40%;
}
#contactForm .right {
  width: 60%;
  margin-left: 120px;
}
#contactForm .title-c h3 {
  font-size: 1.8rem;
  color: #1e3759;
  font-weight: bold;
}
#contactForm .title-c p {
  font-size: 1rem;
  max-width: 700px;
}
#contactForm iframe {
  border-radius: 30px;
  width: 100% !important;
}

#contactForm .icon-flex {
  display: flex;
  margin-top: 10px;
}
#contactForm .icon-flex div {
  margin-inline: 10px;
  display: flex;
  align-items: center;
}
#contactForm .icon-flex div i {
  font-size: 1.2rem;
  color: #254879;
  margin-right: 5px;
}
#contactForm .icon-flex div span {
  font-size: 1rem;
  color: #333;
}
#contactForm label {
  display: none;
}

#contactForm input,
#contactForm textarea {
  width: 100%;
  padding-left: 10px;
  border: none;
  border-radius: 10px;
  border: 1px solid #ccc;
  outline: none;
}
#contactForm input {
  height: 55px;
}
#contactForm textarea {
  padding-top: 10px;
  height: 150px;
  resize: none;
}
#contactForm .form-group {
  margin-bottom: 10px;
}
#contactForm button {
  width: 100%;
  height: 50px;
  border: none;
  background-color: #1e3759;
  color: #fff;
  font-size: 1.1rem;
  border-radius: 10px;
  transition: all 0.1s;
}
#contactForm .maps-c {
  overflow: hidden;
}

.animate__animated {
  overflow: hidden;
}

/* Animation helpers - same as index.css */
.animate-delay-1 {
  animation-delay: 0.1s !important;
}
.animate-delay-2 {
  animation-delay: 0.2s !important;
}
.animate-delay-3 {
  animation-delay: 0.3s !important;
}
.animate-delay-4 {
  animation-delay: 0.4s !important;
}
.animate-delay-5 {
  animation-delay: 0.5s !important;
}

/* Responsive styles */
@media only screen and (max-width: 1699px) {
  #contactForm .left {
    width: 35%;
  }
  #contactForm .right {
    width: 65%;
    margin-left: 80px;
  }
}

@media only screen and (max-width: 1499px) {
  #wlcm {
    height: 400px;
  }
  #wlcm h2 {
    font-size: 2.8rem;
    max-width: 600px;
  }
  #contactForm .right {
    margin-left: 60px;
  }
  #contactForm .icon-flex {
    flex-wrap: wrap;
  }
  #contactForm .icon-flex div {
    margin-bottom: 8px;
  }
}

@media only screen and (max-width: 1279px) {
  #wlcm {
    height: 380px;
  }
  #wlcm h2 {
    font-size: 2.5rem;
    max-width: 550px;
  }
  #wlcm p {
    font-size: 1.1rem;
    max-width: 600px;
  }
  #contactForm {
    margin-top: 60px;
  }
  #contactForm .left {
    width: 40%;
  }
  #contactForm .right {
    width: 60%;
    margin-left: 40px;
  }
  #contactForm .title-c h3 {
    font-size: 1.6rem;
  }
}

@media only screen and (max-width: 1023px) {
  #wlcm {
    height: 350px;
  }
  #wlcm h2 {
    font-size: 2.2rem;
    max-width: 500px;
  }
  #wlcm p {
    font-size: 1rem;
    max-width: 550px;
  }
  #wlcm button {
    width: 140px;
    height: 45px;
  }
  #contactForm {
    flex-direction: column;
  }
  /* Change order for mobile - form first, map second */
  #contactForm .right {
    width: 100%;
    margin-left: 0;
    order: 1; /* Form first */
  }
  #contactForm .left {
    width: 100%;
    margin-top: 40px;
    order: 2; /* Map second */
  }
  #contactForm iframe {
    height: 350px;
  }
  #contactForm .icon-flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 15px;
  }
  #contactForm .icon-flex div {
    margin-inline: 15px;
    margin-bottom: 10px;
  }
  #contactForm input {
    height: 50px;
  }
}

@media only screen and (max-width: 767px) {
  #wlcm {
    height: 320px;
    border-radius: 15px;
  }
  #wlcm h2 {
    font-size: 2rem;
    max-width: 450px;
  }
  #wlcm p {
    font-size: 0.95rem;
    max-width: 500px;
    margin-bottom: 15px;
  }
  #wlcm button {
    width: 130px;
    height: 42px;
    font-size: 1rem;
  }
  #contactForm {
    margin-top: 40px;
  }
  #contactForm iframe {
    height: 300px;
    border-radius: 20px;
  }
  #contactForm .title-c h3 {
    font-size: 1.4rem;
  }
  #contactForm .title-c p {
    font-size: 0.95rem;
  }
  #contactForm .icon-flex {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row; /* Override the column direction */
    justify-content: center;
    align-items: center;
  }
  #contactForm .icon-flex div {
    margin-bottom: 10px;
    /* Reset any alignment from column layout */
    width: auto;
    text-align: left;
  }
  #contactForm input,
  #contactForm textarea {
    font-size: 0.95rem;
  }
  #contactForm button {
    height: 45px;
    font-size: 1rem;
  }
}

@media only screen and (max-width: 499px) {
  #wlcm {
    height: 300px;
    border-radius: 10px;
  }
  #wlcm h2 {
    font-size: 1.8rem;
    max-width: 90%;
  }
  #wlcm h2 span {
    display: block;
    margin-bottom: 5px;
  }
  #wlcm p {
    font-size: 0.9rem;
    max-width: 90%;
    margin-top: 10px;
    margin-bottom: 15px;
  }
  #wlcm button {
    width: 120px;
    height: 40px;
    font-size: 0.9rem;
  }
  #contactForm {
    margin-top: 30px;
  }
  #contactForm iframe {
    height: 250px;
    border-radius: 15px;
  }
  #contactForm .title-c h3 {
    font-size: 1.3rem;
  }
  #contactForm .title-c p {
    font-size: 0.9rem;
  }
  #contactForm .icon-flex div i {
    font-size: 1rem;
  }
  #contactForm .icon-flex div span {
    font-size: 0.9rem;
  }
  #contactForm input {
    height: 45px;
  }
  #contactForm textarea {
    height: 120px;
  }
  #contactForm button {
    height: 40px;
    font-size: 0.95rem;
  }
  #contactForm .form-group {
    margin-bottom: 8px;
  }
  
  /* Add styling for success message */
  .success-message {
    text-align: center;
    padding: 20px 10px;
  }
  .success-message i {
    font-size: 3rem;
    color: #1e3759;
    margin-bottom: 15px;
  }
  .success-message h3 {
    font-size: 1.3rem;
    color: #1e3759;
  }
  .success-message p {
    font-size: 0.9rem;
  }
}
