/* Form 2 specific styles */
@media (max-width: 768px) {
   .enq {
       background-image: none; /* Remove background image */
   }
}

.smallprint {
    font-size: 8pt;
    color: darkslategray;
}

/* Enquiry section */
.enq {
    background-image: url("../images/call-spp.png"); /* ✅ ensure correct extension */
    background-repeat: no-repeat;
    background-position: left;
    background-color: #1C5E52;
    color: snow;
    font-size: 16pt;
    padding: 10px;
    height: 280px;
}

.enq-f {
    width: 60%;
    margin: 0 auto;
}

/* Container */
.container {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Form fields */
.form2 label {
    display: block;
    margin-bottom: 5px;
}

.form2 input[type="text"],
.form2 input[type="email"],
.form2 input[type="tel"],
.form2 textarea {
    width: calc(100% - 16px);
    padding: 8px;
    margin-bottom: 10px;
    box-sizing: border-box;
}

/* Radio + checkbox */
.form2 input[type="radio"] {
    display: inline-block;
    margin-right: 10px;
}

.form2 label.checkbox {
    display: inline-block;
    margin-right: 10px;
}

/* Logo */
.form2 .logo {
    display: block;
    margin-bottom: 10px;
}

/* Submit Button */
.form2 button {
    padding: 12px 20px;
    background-color: #b30000; /* 🔴 brand red */
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    width: 100%; /* full width for mobile */
    transition: background 0.3s ease-in-out;
}

.form2 button:hover {
    background-color: #800000; /* darker red hover */
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .container {
    max-width: 90%;
    padding: 10px;
  }

  .form2 button {
    font-size: 15px;   /* keep font consistent */
    padding: 14px;     /* larger tap target */
    width: 100%;       /* ensure full width */
  }

  .form2 input[type="text"],
  .form2 input[type="email"],
  .form2 input[type="tel"],
  .form2 textarea {
    font-size: 15px;
    padding: 10px;
    width: 100%;
  }
}

/* Images inside form */
.post-orm img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    padding: 5px;
}

/* Driving test date field */
#driving_test_date {
    width: 95%;
    padding: 10px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 0;
    background-color: #f9f9f9;
    transition: border-color 0.3s ease-in-out;
}

#driving_test_date:focus {
    border-color: #007bff;
    outline: none;
    background-color: #fff;
}
