/*==================================================
            APPOINTMENT SECTION
==================================================*/

.appointment-section {
  position: relative;
  padding: 120px 0;
  background: #f8fbff;
  overflow: hidden;
}

.appointment-section::before {
  content: "";
  position: absolute;
  width: 450px;
  height: 450px;
  background: #0d6efd15;
  border-radius: 50%;
  left: -150px;
  top: -150px;
}

.appointment-section::after {
  content: "";
  position: absolute;
  width: 350px;
  height: 350px;
  background: #f5821f12;
  border-radius: 50%;
  right: -120px;
  bottom: -120px;
}

/*==================================================
LEFT IMAGE
==================================================*/

.appointment-left {
  position: relative;
  height: 720px;
  overflow: hidden;
  border-radius: 25px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.appointment-left img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.6s;
}

.appointment-left:hover img {
  transform: scale(1.08);
}

.appointment-overlay {
  position: absolute;
  inset: 0;

  display: flex;
  flex-direction: column;
  justify-content: flex-end;

  padding: 45px;

  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.15));

  color: #fff;
}

.appointment-tag {
  display: inline-block;

  width: max-content;

  background: #fff;

  color: var(--thm-base);

  padding: 8px 20px;

  border-radius: 50px;

  font-size: 14px;

  font-weight: 600;

  margin-bottom: 25px;
}

.appointment-overlay h2 {
  font-size: 42px;

  line-height: 52px;

  margin-bottom: 20px;

  color: #fff;

  font-weight: 700;
}

.appointment-overlay p {
  color: #fff;

  opacity: 0.9;

  line-height: 30px;

  margin-bottom: 30px;
}

/*==================================================
FEATURES
==================================================*/

.appointment-features {
  display: flex;

  flex-direction: column;

  gap: 16px;

  margin-bottom: 40px;
}

.feature-item {
  display: flex;

  align-items: center;

  gap: 15px;
}

.feature-item i {
  width: 38px;

  height: 38px;

  border-radius: 50%;

  background: #fff;

  color: var(--thm-base);

  display: flex;

  align-items: center;

  justify-content: center;

  font-size: 16px;
}

.feature-item span {
  font-size: 17px;

  font-weight: 500;
}

/*==================================================
CONTACT
==================================================*/

.appointment-contact {
  display: flex;

  align-items: center;

  gap: 20px;
}

.appointment-contact i {
  width: 65px;

  height: 65px;

  border-radius: 50%;

  background: #fff;

  color: var(--thm-base);

  display: flex;

  justify-content: center;

  align-items: center;

  font-size: 24px;
}

.appointment-contact small {
  display: block;

  color: #ddd;

  margin-bottom: 5px;
}

.appointment-contact h4 {
  color: #fff;

  margin: 0;

  font-size: 24px;
}

/*==================================================
FORM
==================================================*/

.appointment-form-box {
  background: #fff;

  border-radius: 25px;

  padding: 55px;

  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.08);
  z-index: 100;
}

.section-title span {
  color: var(--thm-base);

  font-size: 15px;

  text-transform: uppercase;

  font-weight: 700;

  letter-spacing: 1px;
}

.section-title h2 {
  margin: 15px 0;

  font-size: 42px;

  font-weight: 700;
}

.section-title p {
  color: #777;

  margin-bottom: 35px;

  line-height: 30px;
}

/*==================================================
FORM INPUTS
==================================================*/

.form-group {
  margin-bottom: 25px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  background: #fff;
  padding: 16px 20px;
  font-size: 16px;
  color: #444;
  outline: none;

  transition: all 0.35s ease;
}

.form-group textarea {
  resize: none;
  min-height: 160px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #fd0d0d;
  box-shadow: 0 0 0 4px rgba(13, 110, 253, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #999;
}

/*==================================================
SELECT
==================================================*/

/*==================================================
BUTTON
==================================================*/

.appointment-btn {
  width: 100%;
  border: none;
  border-radius: 10px;
  background: linear-gradient(135deg, #105889, #f5821f);
  color: #fff;

  padding: 18px;

  font-size: 18px;

  font-weight: 600;

  cursor: pointer;

  transition: 0.35s;

  display: flex;

  align-items: center;

  justify-content: center;

  gap: 12px;
}

.appointment-btn:hover {
  transform: translateY(-4px);

  box-shadow: 0 18px 35px #f5821f40;
}

.appointment-btn i {
  transition: 0.35s;
}

.appointment-btn:hover i {
  transform: translateX(6px);
}

/*==================================================
INPUT HOVER
==================================================*/

.form-group input:hover,
.form-group textarea:hover,
.form-group select:hover {
  border-color: #0d6efd;
}

/*==================================================
SECTION ANIMATION
==================================================*/

.appointment-left,
.appointment-form-box {
  transition: 0.4s;
}

.appointment-form-box:hover {
  transform: translateY(-8px);
}

/*==================================================
RESPONSIVE
==================================================*/

@media (max-width: 1199px) {
  .appointment-left {
    height: 650px;
  }

  .appointment-overlay h2 {
    font-size: 36px;
    line-height: 46px;
  }
}

@media (max-width: 991px) {
  .appointment-section {
    padding: 90px 0;
  }

  .appointment-left {
    height: 520px;
    margin-bottom: 40px;
  }

  .appointment-form-box {
    padding: 40px;
  }

  .section-title h2 {
    font-size: 34px;
  }
}

@media (max-width: 767px) {
  .appointment-left {
    height: 420px;
  }

  .appointment-overlay {
    padding: 30px;
  }

  .appointment-overlay h2 {
    font-size: 28px;
    line-height: 38px;
  }

  .feature-item span {
    font-size: 15px;
  }

  .appointment-contact h4 {
    font-size: 20px;
  }

  .appointment-form-box {
    padding: 30px 25px;
  }

  .section-title h2 {
    font-size: 28px;
  }

  .appointment-section::after {
    display: none;
  }
}

@media (max-width: 575px) {
  .appointment-section {
    padding: 70px 0;
  }

  .appointment-left {
    height: 350px;
  }

  .appointment-overlay {
    padding: 22px;
  }

  .appointment-overlay h2 {
    font-size: 24px;
    line-height: 32px;
  }

  .appointment-overlay p {
    font-size: 14px;
    line-height: 24px;
  }

  .feature-item {
    gap: 10px;
  }

  .feature-item i {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }

  .appointment-contact {
    gap: 15px;
  }

  .appointment-contact i {
    width: 50px;
    height: 50px;
    font-size: 18px;
  }

  .appointment-contact h4 {
    font-size: 18px;
  }

  .appointment-form-box {
    padding: 25px 20px;

    border-radius: 18px;
  }

  .section-title h2 {
    font-size: 24px;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 14px 16px;

    font-size: 15px;
  }

  .appointment-btn {
    padding: 16px;

    font-size: 16px;
  }
}

/* Full width treatment dropdown */

.form-group.full-width {
  width: 100%;
}

.form-group.full-width select {
  width: 100% !important;
  display: block;
}

/* If Nice Select is being used */

.form-group.full-width .nice-select {
  width: 100% !important;
  border-radius: 10px;

  float: none;
}

.form-group.full-width .nice-select .list {
  width: 100%;
}

#department {
  width: 100%;
  height: auto;
  max-height: 220px;
  overflow-y: auto;
}
.nice-select .list {
  max-height: 220px;
  overflow-y: auto;
}

/* Nice Select Scrollbar */
.nice-select .list {
  max-height: 220px;
  overflow-y: auto !important;
  overflow-x: hidden;
}

/* Custom Scrollbar */
.nice-select .list::-webkit-scrollbar {
  width: 8px;
}

.nice-select .list::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.nice-select .list::-webkit-scrollbar-thumb {
  background: #105889;
  border-radius: 10px;
}

.nice-select .list::-webkit-scrollbar-thumb:hover {
  background: #f5821f;
}
