    html, body {
  overflow-x: hidden; /* prevent horizontal scroll */
}

    body {
      background-color: #f5f8fa;
      min-height: 100vh;
      font-family: "Nunito Sans", sans-serif !important;
    }

    .hero12 {
      display: flex;
      flex-direction: column;
      align-items: center;
      margin-top: 110px;
      margin-bottom: -40px;
    }

    /* navbar overlap fix */
    .main-content {
      margin-top: 80px;
      margin-bottom: 60px;
      display: flex;
      justify-content: center;
      align-items: flex-start;
    }

    .contact-wrapper {
      height: auto;
      min-height: 700px;
      width: 100%;
      max-width: 1000px;
      background: #fff;
      border-radius: 10px;
      overflow: hidden;
      box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
      display: flex;
      flex-direction: column;
    }

    /* Left Side */
    .contact-info {
      background: #58a0c8;
      color: #fff;
      padding: 40px 30px;
      flex: 1 1 100%;
      background:#58a0c8 url(../assets/img/contact-vector.png) no-repeat;
      background-size: 40%;
      background-position: right bottom;

    }

    .contact-info h3 {
      font-weight: 600;
      margin-bottom: 20px;
    }

    .contact-info p {
      margin: 8px 0;
      font-size: 15px;
      line-height: 1.6;
    }

    .social-icons a {
      color: #fff;
      margin-right: 15px;
      font-size: 20px;
      text-decoration: none;
      /* margin-top: 17rem !important; */
    }

    /* Right form */
    .form-section {
      flex: 1 1 100%;
      padding: 40px 30px 60px;
      position: relative;
      background: #fff;
    }

    .form-label {
      font-weight: 500;
      margin-bottom: 5px;
      font-size: 14px;
      color: #333;
    }

    /* FORCE underline input */
    .form-control-custom {
      border: none !important;
      /* remove box border */
      border-bottom: 1px solid #ccc !important;
      /* only bottom line */
      border-radius: 0 !important;
      background: transparent !important;
      padding: 8px 0 !important;
      font-size: 15px;
    }

    .form-control-custom:focus {
      border-bottom: 2px solid #2c89b7 !important;
      outline: none !important;
      box-shadow: none !important;
    }

    .form-control-custom::placeholder {
      color: #aaa;
      font-size: 14px;
    }

    .btn-custom {
      background-color: #58a0c8 !important;
      color: #fff !important;
      border: none;
      border-radius: 5px;
      padding: 10px 25px;
      position: relative;
      z-index: 5;
      transition: 0.3s ease;
    }

    .btn-custom:hover {
      background-color: #1f6385;
    }

    /* Plane Image */
    .plane-img {
      position: absolute;
      bottom: 20px;
      right: 103px;
      width: 140px;
      z-index: 1;
    }

    /* Responsive */
    @media (max-width: 576px) {
      .form-section {
        padding: 20px 15px 40px;
      }

      .plane-img {
        position: static;
        display: block;
        margin: 20px auto 0;
        width: 100px;
      }
    }

    @media (min-width: 768px) {
      .contact-wrapper {
        flex-direction: row;
        padding: 10px;
      }

      .contact-info {
        flex: 0 0 40%;
        background-size: 60%;
      }

      .form-section {
        flex: 0 0 60%;
        padding: 60px 50px 80px;
      }
    }

    /* Prevent label break */
    .form-check-label {
      white-space: nowrap;
    }

    .is-invalid {
  border-color: #dc3545 !important;
  background-color: #f8d7da1a;
}
.required {
  color: red;
  font-weight: bold;
  margin-left: 2px;
}

.contact-info p { margin-top: 35px; }
.contact-info p:nth-of-type(2) { margin-top: 40px; }
.contact-info p:nth-of-type(3) { margin-top: 50px; }
.contact-info p:nth-of-type(4) { margin-top: 60px; }
.contact-info .social-icons { margin-top: 10rem !important; }

