/* General form styling */
/* Parent container to center the form */
.contact-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh; /* Full height of the viewport */
    background-color: #eef2f7; /* Optional background color */
    padding: 20px; /* Ensure spacing on smaller screens */
    box-sizing: border-box;
  }
  
  /* Contact form styles */
  .contact-form {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    font-family: 'Arial', sans-serif;
    max-width: 500px; /* Limit the form's width */
    width: 100%; /* Responsive width */
  }
  
  .contact-form h4 {
    margin-bottom: 20px;
    font-size: 24px;
    color: #333;
    font-weight: 600;
    text-align: center;
  }
  
  .contact-form .form-group {
    margin-bottom: 15px;
  }
  
  .contact-form input,
  .contact-form textarea {
    width: 100%;
    padding: 10px 15px;
    font-size: 16px;
    color: #555;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    transition: border-color 0.3s, box-shadow 0.3s;
  }
  
  .contact-form input:focus,
  .contact-form textarea:focus {
    border-color: #007bff;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
    outline: none;
  }
  
  .contact-form textarea {
    resize: none;
  }
  
  .contact-form button {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 12px 20px;
    font-size: 18px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
    display: block;
    width: 100%;
  }
  
  .contact-form button:hover {
    background-color: #0056b3;
  }
  
  .contact-form button:active {
    transform: scale(0.98);
  }
  
  @media (max-width: 768px) {
    .contact-form {
      padding: 15px;
    }
  
    .contact-form h4 {
      font-size: 20px;
    }
  }
  
  