@import url('https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500;550&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Audiowide&display=swap');

html, body {
    overflow-x: hidden;
}

/* Appointment Form Custom Styles */
body {
  background-color: #f0f4f8;
  font-family: 'Poppins', sans-serif;
}

/* Enhanced professional look for the form container */
.appointment-form-container {
  background: url('../img/ba-bgimg.jpg') no-repeat center center;
  background-size: cover;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2); /* Enhanced shadow for a more professional look */
  border-radius: 20px;
  padding: 1rem;
  margin-top: 7.5rem;
  margin-bottom: 5rem;
  width: 60%;
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
  transition: all 0.3s ease-in-out;
  backdrop-filter: blur(8px); /* Adds a subtle blur to the background */
}

.appointment-form-container h1 {
  font-size: 2.2rem;
  font-weight: 700;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3); /* Enhanced text shadow */
  font-family: "Audiowide", system-ui;
}

.form-label {
  font-weight: 600;
  color: #444;
  font-size: 1rem;
  font-family: 'Outfit', sans-serif;
}

/* Enhanced input field styles */
.form-control {
  border-radius: 12px;
  padding: 0.75rem;
  font-size: 1rem;
  border: 2px solid #001F62;
  background-color: #f9f9f9;
  transition: all 0.3s ease-in-out;
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.1);
  font-family: 'Outfit', sans-serif;
}

.form-control:focus {
  border-color: #001F62;
  background-color: #fff;
  box-shadow: 0 0 8px rgba(49, 92, 253, 0.4); /* Enhanced focus shadow */
}

/* Submit button with more defined style */
.btn-submit-container {
  display: flex;
  justify-content: center;
}

.btn-submit {
  font-weight: bold;
  width: auto;
  max-width: 250px;
  height: 45px;
  font-size: 1em;
  line-height: 1em;
  text-align: center;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.2); /* Enhanced button shadow */
  background-color: white;
  color: #000000;
  border-radius: 50px;
  border: 2px solid #001F62;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  font-family: 'Outfit', sans-serif;
  transition: transform 0.3s ease-in-out;
}

/* Icon inside button */
.btn-submit i {
  margin-right: 10px;
  font-size: 1em;
  color: #315cfd;
  transition: color 0.3s ease-in-out;
}

/* Hover effect for submit button */
.btn-submit:hover {
  background-color: #021c7c;
  color: white;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
  border-color: #021c7c;
  transform: scale(1.05); /* Adds a zoom effect on hover */
}

.btn-submit:hover i {
  color: white;
}

/* Styling for textarea */
textarea {
  resize: none;
  background-color: #f9f9f9;
  border: 2px solid #315cfd;
  padding: 1rem;
  border-radius: 10px;
  font-size: 1rem;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
  font-family: 'Outfit', sans-serif;
}


/* Medium Screens (768px to 1199px) */
@media (min-width: 768px) and (max-width: 1440px) {
  .appointment-form-container {
    padding: 2rem;
    width: 70%;
  }

  .appointment-form-container h1 {
    font-size: 2.2rem;
  }

  .form-control {
    padding: 0.8rem;
    font-size: 1rem;
  }

  .btn-submit {
    height: 45px;
    font-size: 1rem;
    padding: 0 20px;
  }

  .btn-submit i {
    font-size: 1rem;
  }

  textarea {
    padding: 1rem;
    font-size: 1rem;
  }
}


@media only screen and (min-width: 2560px) {
  body {
    background-color: #f0f4f8 !important;
    font-family: 'Poppins', sans-serif !important;
  }

  .appointment-form-container {
    background: url('../img/ba-bgimg.jpg') no-repeat center center !important;
    background-size: cover !important;
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.25) !important;
    border-radius: 25px !important;
    padding: 4rem !important; /* Increased padding */
    margin-top: 10rem !important;
    margin-bottom: 6rem !important;
    width: 70% !important; /* Increased width */
    max-width: 1400px !important; /* Increased max-width */
    margin-left: auto !important;
    margin-right: auto !important;
    transition: all 0.3s ease-in-out !important;
    backdrop-filter: blur(10px) !important;
  }

  .appointment-form-container h1 {
    font-size: 3rem !important; /* Increased font size */
    font-weight: 700 !important;
    color: #ffffff !important;
    text-shadow: 3px 3px 5px rgba(0, 0, 0, 0.35) !important;
  }

  .form-label {
    font-weight: 600 !important;
    color: #444 !important;
    font-size: 1.5rem !important; /* Increased font size */
  }

  .form-control {
    border-radius: 15px !important;
    padding: 1.5rem !important; /* Increased padding */
    font-size: 1.5rem !important; /* Increased font size */
    border: 2px solid #001F62 !important;
    background-color: #f9f9f9 !important;
    transition: all 0.3s ease-in-out !important;
    box-shadow: inset 0 3px 7px rgba(0, 0, 0, 0.15) !important;
  }

  .form-control:focus {
    border-color: #001F62 !important;
    background-color: #fff !important;
    box-shadow: 0 0 10px rgba(49, 92, 253, 0.5) !important;
  }

  .btn-submit-container {
    display: flex !important;
    justify-content: center !important;
  }

  .btn-submit {
    font-weight: bold !important;
    width: auto !important;
    max-width: 350px !important; /* Increased max-width */
    height: 55px !important; /* Increased height */
    font-size: 1.3em !important; /* Increased font size */
    line-height: 1em !important;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25) !important;
    border-radius: 60px !important;
    padding: 0 30px !important; /* Increased padding */
    margin-right: 20px !important;
  }

  .btn-submit i {
    margin-right: 12px !important;
    font-size: 1.2em !important;
  }

  .btn-submit:hover {
    background-color: #021c7c !important;
    color: white !important;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.45) !important;
    transform: scale(1.08) !important;
  }

  .btn-submit:hover i {
    color: white !important;
  }

  textarea {
    resize: none !important;
    background-color: #f9f9f9 !important;
    border: 2px solid #315cfd !important;
    padding: 1.5rem !important; /* Increased padding */
    border-radius: 12px !important;
    font-size: 1.5rem !important; /* Increased font size */
    box-shadow: inset 0 3px 6px rgba(0, 0, 0, 0.15) !important;
  }
}
