form {
    width: 100%;
    max-width: 500px; /* Limit the maximum width for larger screens */
    margin: 0 auto;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    font-family: sans-serif;
}

.field {
    margin-bottom: 15px;
}

label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
}

input,
textarea,
select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 3px;
    font-size: 16px;
}

textarea {
    resize: vertical;
}

button {
    background-color: #007bff;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.2s ease-in-out;
}

button:hover {
    background-color: #0067cc;
}


/* Section */
.welcome {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    height: 500px; /* adjust to your desired height */
    transition: 0.3s;
    background-color:  rgba(26, 129, 189, 0.92);
    font-family: sans-serif;
  }
  
  .welcome-image-container {
    width: 50%;
    height: 100%;
    overflow: hidden;
  }
  
  .welcome-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
    transform: translateY(-50%); /* initial parallax position */
    transition: 0.3s;
  }
  
  .welcome-content {
    width: 50%;
    padding: 20px;
    /* text-align: center; */
  }
  
  .welcome h2 {
    font-size: 48px; /* larger text for welcome section */
    margin-bottom: 10px;
    color: #fff; /* use different color for emphasis */
  }
  
  .welcome p {
    line-height: 1.5;
    color: #fff; /* lighter text for better contrast */
  }
  
  /* Animation on scroll */  
  @keyframes fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
  }
  
  .welcome-content {
    animation: fade-in 1s ease-in-out;
  }
  
  /* Parallax scrolling animation */
  
  .welcome:hover .welcome-image {
    transform: translateY(0%);
    transition: 0.3s;
  }
  
  .welcome:active .welcome-image {
    transform: translateY(5%);
    transition: 0.3s;
  }

@media (min-width: 768px) {
    /* Styles for screens with a minimum width of 768px (tablets and larger) */
    form {
        max-width: 600px; /* Adjust the maximum width for larger screens */
    }
}

@media (max-width: 768px) {
    /* Styles for screens with a minimum width of 768px (tablets and larger) */
    form {
        max-width: 400px; /* Adjust the maximum width for larger screens */
    }
    .field {
        width: 80%;
    }
}


@media (max-width: 992px) {
    .welcome {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        height: auto;
    }
    
    .welcome-content {
        width: 100%;
        padding: 20px;
        /* text-align: center; */
    }
      
    .welcome h2 {
        font-size: 18px; /* larger text for welcome section */
        margin-bottom: 10px;
        color: #fff; /* use different color for emphasis */
    }
      
    .welcome p {
        line-height: 1.5;
        color: #fff; /* lighter text for better contrast */
    }
    
    .welcome-image {
        display: none;
    }
}

@media (max-width: 1300px) {
    .welcome h2 {
        font-size: 36px; /* larger text for welcome section */
        margin-bottom: 10px;
        color: #fff; /* use different color for emphasis */
    }
      
    .welcome p {
        line-height: 1.5;
        color: #fff; /* lighter text for better contrast */
    }
  }
  
  
  
  @media only screen and (max-width: 1200px) {
    .welcome h2 {
      font-size: 24px; /* larger text for welcome section */
      margin-bottom: 10px;
      color: #fff; /* use different color for emphasis */
  }
    
  .welcome p {
      line-height: 1.5;
      color: #fff; /* lighter text for better contrast */
  }
}