/* =================================
   Banner Form - Complete Styling
================================= */

.banner-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 100%;
}

.banner-form #booking-notes {
    padding: 13px 15px;
    border-radius: 10px;
    border: 1px solid #f9f9f9;
    box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.31);
    height: 100px;
}

.hero-right-image {
  align-items: flex-start;
}

.hero-left {
  margin-top: -150px;
}

.hero-left .cta-btn {
  margin-top: 40px;
  margin-bottom: 5px;
}

.testimonials-section {
  padding: 40px 0 0;
  background: #fff;
}

.testimonials-section .testimonial-dots .dot {
  width: 11px;
  height: 11px;
}

.insurance-card {
  position: relative;
}

.hero-section {
  height: 800px;
}

/* =================================
   Form Input Fields
================================= */

.banner-form .form-input {
  width: 100%;
  color: #8e8e8e;
  background: #fff;
  font-size: 14px;
  font-weight: 500;
  outline: none;
  transition: all 0.3s ease;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

.banner-form select.form-input option:disabled {
  color: #8e8e8e;
}

.banner-form .form-input::placeholder {
  color: #8e8e8e;
}

.banner-form .form-input:focus {
  border-color: #b15092;
  box-shadow: 0 0 0 4px rgba(177, 80, 146, 0.08);
}

/* =================================
   Select Dropdown Styling
================================= */

/* .feature-content p:first-of-type {
  margin-bottom: 50px;
} */

.banner-form select.form-input {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg width='14' height='8' viewBox='0 0 14 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L7 7L13 1' stroke='%23999' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 24px center;
  background-size: 14px;
  padding-right: 50px;
  color: #b0b0b0;
}

.banner-form select.form-input:valid,
.banner-form select.form-input:focus {
  color: #8e8e8e;
}

.banner-form select.form-input option {
  padding: 12px;
  background: #fff;
  color: #333;
  font-size: 16px;
}

.banner-form select.form-input option:disabled {
  color: #999;
}

/* =================================
   Date Input with Custom Icon
================================= */

.banner-form input[type="date"].form-input,
.banner-form input[type="text"].form-input[placeholder*="date"] {
  position: relative;
  padding-right: 60px;
  background-image: url("https://dentaldemo2.devbuildpro.com/wp-content/themes/Dental%20Care%20Theme/assets/img/form-calender.svg");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 38px 21px;
}

/* Hide browser default calendar icon */
.banner-form input[type="date"].form-input::-webkit-calendar-picker-indicator {
  opacity: 0;
  position: absolute;
  right: 0;
  width: 60px;
  height: 100%;
  cursor: pointer;
  z-index: 2;
}

/* Hide date format when empty */
.banner-form input[type="date"].form-input::-webkit-datetime-edit-text,
.banner-form input[type="date"].form-input::-webkit-datetime-edit-month-field,
.banner-form input[type="date"].form-input::-webkit-datetime-edit-day-field,
.banner-form input[type="date"].form-input::-webkit-datetime-edit-year-field {
  color: transparent;
}

/* Show date after selection */
.banner-form input[type="date"].form-input:focus::-webkit-datetime-edit-text,
.banner-form
  input[type="date"].form-input:focus::-webkit-datetime-edit-month-field,
.banner-form
  input[type="date"].form-input:focus::-webkit-datetime-edit-day-field,
.banner-form
  input[type="date"].form-input:focus::-webkit-datetime-edit-year-field,
.banner-form input[type="date"].form-input:valid::-webkit-datetime-edit-text,
.banner-form
  input[type="date"].form-input:valid::-webkit-datetime-edit-month-field,
.banner-form
  input[type="date"].form-input:valid::-webkit-datetime-edit-day-field,
.banner-form
  input[type="date"].form-input:valid::-webkit-datetime-edit-year-field {
  color: #333 !important;
}

/* =================================
   Checkbox Styling
================================= */

.banner-form .checkbox {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  margin: 6px 0;
  padding-left: 4px;
  font-size: 12px;
  color: #777777;
  line-height: 1.5;
  font-weight: 400;
}

.banner-form .checkbox input[type="checkbox"] {
  width: 17px;
  height: 17px;
  min-width: 20px;
  margin-top: 3px;
  cursor: pointer;
  accent-color: #b15092;
  border: 2px solid #ddd;
  border-radius: 4px;
}

.banner-form select.form-input {
  color: #8e8e8e;
  -webkit-text-fill-color: #8e8e8e;
}

.teams-slider-wrapper {
  position: relative;
  max-width: 1200px;
  margin: -250px auto 0;
}

/* Button wrapper */
.teams-slider-buttons {
  position: absolute;
  top: -80px;
  right: 15px;
  display: flex;
  gap: 10px;
  z-index: 20;
}

/* Arrow buttons */
.teams-slider-buttons .slider-btn {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  border: none;
  background-color: var(--secondary-color);
  color: #fff;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  bottom: 65px;
}

.teams-slider-wrapper .slider-btn.prev {
  right: 30px;
}
/* Hover */
.teams-slider-buttons .slider-btn:hover {
  opacity: 1;
}

.dentists-section {
  background: #14386b;
  padding: 80px 0 60px;
  color: #fff;
}

.dentists-section .container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}

.dentists-section__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  gap: 20px;
}

.dentists-section__title {
  font-size: 36px;
  font-weight: 700;
  margin: 0;
}

.dentists-section__subtitle {
  font-size: 16px;
  opacity: 0.85;
  margin: 0;
}

/* cards */

.dentists-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.dentist-card {
  background: rgba(4, 28, 73, 0.75);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.25);
}

.dentist-card__image img {
  display: block;
  width: 100%;
  height: auto;
}

.dentist-card__content {
  padding: 26px 28px 28px;
}

.dentist-card__name {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 14px;
}

.dentist-card__bio {
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
  opacity: 0.9;
}

/* logos row */

.dentists-logos {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.dentists-logos__item img {
  display: block;
  max-height: 60px;
  width: auto;
}

.dentists-small-line {
  text-align: center;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.85);
  margin: 28px 0 40px;
  padding: 0;
  line-height: 1.6;
}

/* responsive */

@media (max-width: 991px) {
  .dentists-section__header {
    flex-direction: column;
    text-align: center;
  }

  .dentists-grid {
    grid-template-columns: 1fr;
  }
}

/* Safe Space Section  */

.safe-space-section {
  background: #14386b;
  padding: 80px 0;
  color: #fff;
}

.safe-space-section .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.safe-space-section__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 60px;
  align-items: center;
}

.safe-space-section__title {
  font-size: 40px;
  font-weight: 700;
  margin: 0 0 24px;
}

.safe-space-section__text p {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 14px;
  opacity: 0.95;
}

.safe-space-section__image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
}

/* button */
.safe-space-section .btn.btn-primary {
  margin-top: 24px;
}

/* responsive */
@media (max-width: 991px) {
  .safe-space-section__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .safe-space-section__title {
    font-size: 32px;
  }
}

/* =================================
   Responsive Design
================================= */

@media (max-width: 768px) {
  .banner-form {
    gap: 14px;
  }

  .banner-form .form-input {
    padding: 16px 20px;
    font-size: 15px;
  }

  .banner-form .form-input::placeholder {
    font-size: 15px;
  }

  .banner-form select.form-input {
    background-position: right 20px center;
    padding-right: 45px;
  }

  .banner-form input[type="date"].form-input,
  .banner-form input[type="text"].form-input[placeholder*="date"] {
    background-size: 34px 19px;
    padding-right: 55px;
  }

  .banner-form .cta-btn {
    padding: 16px 20px;
    font-size: 17px;
  }

  .banner-form .checkbox {
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .stats-section {
    padding-bottom: 55px;
  }
  .banner-form .form-input {
    padding: 14px 18px;
    font-size: 14px;
  }

  .banner-form .form-input::placeholder {
    font-size: 14px;
  }

  .banner-form input[type="date"].form-input,
  .banner-form input[type="text"].form-input[placeholder*="date"] {
    background-size: 30px 17px;
    background-position: right 15px center;
    padding-right: 50px;
  }

  .banner-form .cta-btn {
    font-size: 16px;
    padding: 15px 18px;
  }

  .banner-form .checkbox {
    font-size: 12px;
  }
}
