/*Doctor Section Start*/
.doctors-section {
  padding: 80px 0;
}
.section-badge {
  display: inline-block;
  background: white;
  border: 2px solid #00bcd4;
  border-radius: 50px;
  padding: 10px 25px;
  margin-bottom: 25px;
  font-size: 14px;
  font-weight: 600;
  color: #00bcd4;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.section-header {
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 43px;
  font-weight: 600;
  color: #333333;
  margin-bottom: 10px;
}

.section-header h2 .highlight {
  color: #00bcd4;
  font-weight: 700;
}

.doctors-grid {
  margin-bottom: 80px;
}

.row {
  row-gap: 80px;
}

.doctor-card-wrapper {
  display: flex;
  justify-content: center;
}

.doctor-card {
  height: 506px;
  border-radius: 30px;
  overflow: visible;
  position: relative;
}

.doctor-card:hover {
  transform: translateY(-8px);
}

.doctor-image-wrapper {
  position: relative;
  height: 506px;
  overflow: hidden;
  border-radius: 45px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.doctor-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

@keyframes glowPulse {
  0% {
    box-shadow:
      0 0 18px 4px rgba(0, 188, 212, 0.5),
      0 8px 30px rgba(0, 0, 0, 0.12);
  }
  50% {
    box-shadow:
      0 0 36px 10px rgba(0, 188, 212, 0.25),
      0 8px 30px rgba(0, 0, 0, 0.12);
  }
  100% {
    box-shadow:
      0 0 18px 4px rgba(0, 188, 212, 0.5),
      0 8px 30px rgba(0, 0, 0, 0.12);
  }
}

.doctor-card:hover .doctor-image-wrapper {
  animation: glowPulse 1.9s ease-in-out infinite;
}

.doctor-card:hover .doctor-image-wrapper img {
  transform: scale(1.05);
}
.doctor-image-wrapper.red-bg {
  background: linear-gradient(135deg, #ff6b6b 0%, #ff5252 100%);
}

.doctor-image-wrapper.light-bg {
  background: linear-gradient(135deg, #f0e5ff 0%, #e8d5f2 100%);
}

.doctor-image-wrapper.cream-bg {
  background: linear-gradient(135deg, #fff4e6 0%, #ffe6cc 100%);
}

.doctor-image-wrapper.blue-bg {
  background: linear-gradient(135deg, #c8e6f5 0%, #b3d9ed 100%);
}

.doctor-image-wrapper.green-bg {
  background: linear-gradient(135deg, #c8f0de 0%, #a8e8ce 100%);
}

.doctor-image-wrapper.gray-bg {
  background: linear-gradient(135deg, #e8e8e8 0%, #d8d8d8 100%);
}

.doctor-info {
  position: absolute;
  bottom: 47px;
  left: 0px;
  right: 0;
  padding: 0;
  text-align: center;
  background: white;
  border-radius: 25px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
  z-index: 10;
  margin: 0 8px;
  width: 360px;
  overflow: hidden;
}

.doctor-name {
  font-size: 20px;
  font-weight: 700;
  color: #001f3f;
  padding: 20px 20px 10px 20px;
  margin: 0;
  letter-spacing: -0.5px;
}

.doctor-specialty {
  font-size: 14px;
  color: #666666;
  font-weight: 500;
  text-transform: capitalize;
  padding: 10px 20px 20px 20px;
  margin: 0;
}
/*Doctor Section End*/

/*Appointment Section Start*/

.appointment-section {
  text-align: center;
  margin-top: 60px;
  padding: 40px 0;
}

.appointment-section h2 {
  font-size: 43px;
  font-weight: 600;
  color: #333333;
  margin-bottom: 40px;
}

.appointment-section h2 .highlight {
  color: #00bcd4;
}

.appointment-form {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px;
  border-radius: 15px;
}

.form-row-custom {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.form-row-custom .form-group {
  flex: 1;
  min-width: 200px;
}

.form-row-custom.full {
  flex-wrap: nowrap;
}

.form-row-custom.full .form-group {
  flex: 1 1 100%;
  min-width: auto;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-size: 13px;
  color: #888888;
  font-weight: 500;
  margin-bottom: 8px;
  text-align: left;
}

.form-group input,
.form-group select {
  padding: 12px 15px;
  border: 1px solid #a6dae5;
  border-radius: 55px;
  font-size: 14px;
  color: #333333;
  transition: border-color 0.3s ease;
  background-color: #f8f9fa;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: #00bcd4;
  background-color: white;
}

.form-group input::placeholder {
  color: #bbb;
}

.btn-appointment {
  background: linear-gradient(135deg, #00bcd4 0%, #0097a7 100%);
  color: white;
  width: 100%;
  max-width: 866px;
  height: 63px;
  padding: 14px 60px;
  border: none;
  border-radius: 25px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
  z-index: 0;
  transition:
    color 0.4s ease,
    border-color 0.4s ease;
}

.btn-appointment::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: #ffffff;
  z-index: -1;
  transition: left 0.4s ease;
  border-radius: 23px;
}

.btn-appointment:hover::before {
  left: 0;
}

.btn-appointment:hover {
  color: #0097a7;
  border-color: #00bcd4;
  box-shadow: 0 6px 20px rgba(0, 188, 212, 0.3);
}
/*Appointment Section End*/

/*Media Queries Start*/

@media (max-width: 1200px) {
  /*Doctor Section*/
  .doctor-card {
    width: 100%;
    max-width: 420px;
  }

  .doctor-image-wrapper {
    width: 100%;
  }

  .doctor-info {
    width: 85%;
    left: 50%;
    transform: translateX(-50%);
  }
  /*Appointment Section*/

  .btn-appointment {
    width: 100%;
  }
}
@media (max-width: 992px) {
/*Doctor Section*/
  .doctors-grid .row {
    row-gap: 50px;
  }

  .doctor-card-wrapper {
    justify-content: center;
  }

  .doctor-card {
    max-width: 380px;
  }
  /*Appointment Section*/

  .section-header h2,
  .appointment-section h2 {
    font-size: 34px;
  }
}
@media (max-width: 768px) {
 /*Doctor Section*/
  .section-header h2,
  .appointment-section h2 {
    font-size: 28px;
  }

  .doctor-card {
    max-width: 320px;
  }

  .doctor-image-wrapper {
    height: 420px;
  }

  .doctor-info {
    width: 90%;
    bottom: 30px;
  }
/*Appointment Section*/
  .form-row-custom {
    flex-direction: column;
    gap: 15px;
  }

  .appointment-form {
    padding: 20px;
  }

  .btn-appointment {
    height: 55px;
  }
}
@media (max-width: 576px) {
  .about-hero {
    padding: 40px 0;
  }

  .about-hero-left h1 {
    font-size: 26px;
  }

  .section-badge {
    padding: 8px 18px;
    font-size: 12px;
  }

  .doctor-card {
    max-width: 280px;
  }

  .doctor-image-wrapper {
    height: 360px;
  }

  .doctor-name {
    font-size: 18px;
  }

  .doctor-specialty {
    font-size: 13px;
  }

  .appointment-section {
    padding: 20px 0;
  }

  .appointment-section h2 {
    font-size: 24px;
  }
}
@media (max-width: 320px) {
  .doctor-card {
    max-width: 100%;
  }

  .doctor-image-wrapper {
    height: 510px;
  }

  .doctor-info {
    width: 95%;
  }

  .form-group input,
  .form-group select {
    font-size: 13px;
    padding: 10px 14px;
  }

  .btn-appointment {
    font-size: 13px;
    height: 50px;
  }
}
/*Media Queries End*/
