.page-title-wrap {
  padding: 25px 0;
  position: relative;
  margin-top: 80px;
  background-position: center !important;
  background-image: url("../images/page-title-bg.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  z-index: 1;
}

.page-title-wrap::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(-90deg, transparent 25%, rgba(3, 95, 216, 0.4) 55%);
  z-index: -1;
}

.page-title-wrap .page-title h2 {
  margin-top: 5px;
  margin-bottom: 5px;
  font-size: 36px;
  font-weight: 600;
  color: #000;
}

.page-title-wrap .page-title li:not(:last-child) {
  position: relative;
  padding-right: 15px;
  margin-right: 10px;
}

.page-title-wrap .page-title li {
  font-size: 16px;
}

.page-title-wrap .page-title li:not(:last-child)::after {
  font-family: "font awesome 5 pro";
  content: "\f105";
  right: 0;
  position: absolute;
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
}

.page-title-wrap .page-title li a {
  color: #0360d9;
  font-weight: 600;
}

.page-title-wrap .page-title li {
  font-size: 16px;
  color: #353535;
}

.page-title {
  position: relative;
  z-index: 99;
}

.site-heading h2 {
  font-size: 36px;
  font-weight: 600;
  color: #353535;
  margin: 0;
  text-transform: capitalize;
}

.site-heading p {
  font-size: 16px;
  line-height: 28px;
  color: #353535;
  font-weight: 400;
  margin: 0;
}

.about-right .list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.about-right .list li {
  padding-left: 40px;
  font-size: 16px;
  font-weight: 600;
  color: #353535;
  position: relative;
}

.about-right .list li svg {
  position: absolute;
  left: 0;
  top: -1px;
  color: #0360d9;
}

.why-choose-list ul li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 15px;
}

.why-choose-list ul li:last-child {
  margin: 0;
}

.why-choose-list ul li::before {
  content: "\f058";
  position: absolute;
  font-family: "Font Awesome 5 Pro";
  font-size: 18px;
  font-weight: 900;
  line-height: normal;
  color: #0360d9;
  display: inline-block;
  top: 3px;
  left: 0;
}

.why-bx {
  width: 100%;
  height: calc(100% - 20px);
  margin-bottom: 20px;
  background-color: #f3f3f3;
  border-radius: 21px;
  padding: 20px;
}

.why-bx span.icon {
  width: 60px;
  min-width: 60px;
  height: 60px;
  background-color: #0360d9;
  color: #fff;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 27px;
}

.why-bx h2 {
  font-size: 20px;
  font-weight: 600;
  line-height: 30px;
  color: #353535;
  margin: 15px 0 10px;
  text-transform: capitalize;
}

.why-bx p {
  font-size: 14px;
  line-height: 28px;
  color: #353535;
  font-weight: 400;
  margin: 0;
}

.team_area {
  background-color: #f7f7f7;
}

.team_area .team-item {
  padding: 15px;
  text-align: center;
  position: relative;
  background: #fff;
  border-radius: 15px;
  transition: all 0.5s ease-in-out;
  box-shadow: 0 0 40px 5px rgb(0 0 0 / 5%);
  height: calc(100% - 20px);
  margin-bottom: 20px;
  overflow: hidden;
  display: block;
}

.team_area .team-item:hover {
  transform: translateY(-10px);
}

.team_area .team-item .team-img {
  width: 100%;
  height: 300px;
}

.team_area .team-item .team-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  margin-top: -20px;
}

.team_area .team-item .info {
  text-align: center;
}

.team_area .team-item .info h2 {
  font-size: 20px;
  font-weight: 700;
  line-height: 30px;
  color: #0360d9;
  margin: 10px 0 0px;
  text-transform: capitalize;
}

.team_area .team-item .info p {
  font-size: 14px;
  line-height: 28px;
  color: #353535;
  font-weight: 500;
  margin: 0;
}

.contact-info-content p {
  margin-bottom: 0;
}

.contact-info-content p a {
  color: #000;
}

.contact-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 15px;
  padding: 20px 20px;
  position: relative;
  margin-bottom: 25px;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 0 40px 5px rgb(0 0 0 / 5%);
  transition: all 0.5s ease-in-out;
  height: 100%;
  justify-content: center;
}

.contact-info-icon i {
  font-size: 30px;
  color: #fff;
  width: 65px;
  height: 65px;
  line-height: 65px;
  text-align: center;
  border-radius: 50px;
  background: #0360d9;
}

/* ================== DOCTORS CSS START ================== */

.search-area .search-form {
  position: relative;
}

.search-area .search-form .from-control,
.search-area .search_specialization .form-select {
  width: 100%;
  height: 56px;
  border-radius: 50px;
  background-color: #f7f7f7;
  border: 1px solid #acb1c6;
  padding: 5px 170px 5px 20px;
  color: #000;
}

.search-area .search-form button {
  position: absolute;
  right: 0;
  top: 0;
  height: 56px;
  line-height: 56px;
  border-radius: 50px;
}

.search-area .sort-by .form-select {
  width: 100%;
  height: 56px;
  background-color: #f7f7f7;
  border: 1px solid #acb1c6;
  box-shadow: none !important;
  color: #000;
}

.custom-card {
  position: relative;
  background: #fff;
  border-radius: 15px;
  transition: all 0.5s ease-in-out;
  box-shadow: 0 0 40px 5px rgb(0 0 0 / 5%);
  height: calc(100% - 20px);
  margin-bottom: 20px;
  overflow: hidden;
}

.custom-card-body {
  padding: 20px;
}

.detail-bx .doc-img {
  width: 220px;
  height: 220px;
  overflow: hidden;
  border-radius: 100%;
  border: 4px solid rgb(3 95 216 / 40%);
  margin: 0 auto 20px;
  padding: 10px;
}

.detail-bx .doc-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 100%;
  border: 1px solid rgb(3 95 216 / 40%);
}

.detail-bx a.btn-link {
  font-size: 16px;
  color: #353535;
  font-weight: 500;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.detail-bx a.btn-link:hover {
  color: #0360d9;
}

.detail-bx a span.icon {
  color: #0360d9;
  font-size: 22px;
}

.appointment-list li {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  justify-content: space-between;
}

.appointment-list li:last-child {
  margin-bottom: 0;
}

.appointment-list li h6 {
  margin-bottom: 0;
  font-weight: 600;
  color: #353535;
}

.appointment-list li p {
  margin-bottom: 0;
  font-weight: 400;
  color: #353535;
}

.appointment-list li p i {
  color: #0360d9;
  margin-right: 5px;
}

.info-list {
  padding-left: 15px;
}

.info-list li {
  display: flex;
  align-items: start;
  gap: 10px;
  margin-bottom: 15px;
  flex-wrap: wrap;
}

.info-list li:last-child {
  margin-bottom: 0;
}

.info-list li h6 {
  margin-bottom: 5px;
  font-weight: 600;
  color: #353535;
}

.info-list li p {
  margin-bottom: 0;
  font-weight: 400;
  color: #353535;
}

.info-list li span i {
  color: #0360d9;
}

.custom_form .form-control {
  width: 100%;
  height: 50px;
  border: 1px solid #ebebeb;
  padding: 20px;
  color: #000;
  box-shadow: none !important;
}

.custom_form .form-select {
  width: 100%;
  height: 50px;
  border: 1px solid #dde1ef;
  padding: 10px;
  color: #000;
  box-shadow: none !important;
}

.custom_form textarea {
  height: 150px !important;
}

.pagination {
  justify-content: center;
}

.pagination .page-link {
  padding: 10px 15px;
  box-shadow: none;
  font-size: 16px;
  font-weight: 600;
}

.review-list {
  height: 360px;
  overflow-y: auto;
}

.review-list::-webkit-scrollbar {
  display: none;
}

.review-outer {
  padding-bottom: 15px;
  margin-bottom: 15px;
  border-bottom: 1px solid #e3e3e3;
  padding-right: 30px;
}

.review-single {
  display: flex;
  align-items: center;
  justify-content: start;
  gap: 10px;
}

.review-single img {
  width: 76px;
  height: 76px;
  min-width: 76px;
  border-radius: 50%;
  object-fit: cover;
}

.review-content .star-list {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #ffc107;
}

.time-slots {
  display: flex;
  align-items: center;
  text-align: center;
  gap: 10px;
  flex-flow: wrap;
}

.time-slots .form-check {
  padding-left: 0;
  display: inline-block;
  margin-bottom: 0;
  vertical-align: text-bottom;
  flex: calc(17.6% - 10px);
  max-width: calc(17.6% - 10px);
}

.time-slots .form-check input[type="radio"] {
  opacity: 0 !important;
  width: 0 !important;
  height: 0 !important;
}

.form-check-input:checked {
  background-color: #0360d9;
  border-color: #0360d9;
  box-shadow: none;
}

.time-slots .form-check input[type="radio"]:checked~label {
  background-color: #0360d9;
  color: #ffffff;
}

.time-slots .form-check-label {
  padding: 8px 16px;
  border: 1px solid #dde1ef;
  text-align: center;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.book-appointment .calendar {
  background: #fff;
  border-radius: 10px;
  padding: 20px;
  border: 1px solid #eee;
}

.book-appointment .calendar h3 {
  text-align: center;
}

.book-appointment .calendar .days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  gap: 5px;
  margin-top: 10px;
}

.book-appointment .calendar .day {
  padding: 10px;
  cursor: pointer;
  border-radius: 5px;
  border: 1px solid #ebebeb;
  color: #353535;
}

.book-appointment .calendar .day:hover {
  background-color: #0360d9;
  color: #fff;

}

.book-appointment .calendar .selected {
  background-color: #0360d9;
  color: #fff;
}

.book-appointment .calendar .day-name {
  font-weight: 600;
}

.book-appointment .nav-buttons {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
}

.book-appointment .nav-buttons button {
  font-size: 14px;
  background-color: #0360d9;
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  width: 30px;
  height: 30px;
  min-width: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.book-appointment .nav-buttons button:hover {
  background-color: #0360d9;
}

#selectedDate {
  text-align: center;
  margin: 15px 0 0;
  font-weight: 600;
}

.custom_modal .appointment-info ul {
  margin: 10px 0;
}

.custom_modal .appointment-info ul li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.custom_modal .appointment-info ul li:last-child {
  margin-bottom: 0;
}

.custom_modal .appointment-info ul li h6 {
  margin-bottom: 5px;
  font-weight: 600;
  color: #353535;
}

.custom_modal .appointment-info ul li p {
  margin-bottom: 0;
  font-weight: 400;
  color: #353535;
}

.custom_modal .appointment-info p {
  font-size: 14px;
  line-height: 26px;
  margin-bottom: 0;
  font-weight: 500;
}

/* ================== DOCTORS CSS END ================== */

.contact-img img {
  width: 100%;
}

.contact-img {
  overflow: hidden;
  box-shadow: rgba(17, 17, 26, 0.1) 0px 0px 16px;
  border-radius: 8px;
}

.terms-content:not(:last-child) {
  margin-bottom: 54px;
}

.terms-content h3 {
  margin-bottom: 23px;
  position: relative;
  color: #000;
  font-weight: 600;
}

.terms-content p {
  color: #5e5e5e;
  line-height: 30px;
}

.terms-list li:not(:last-child) {
  margin-bottom: 16px;
}

.day.disabled {
  background-color: #e1e1e1 !important;
}

.message_blink a::before {
  content: "";
  width: 5px;
  height: 5px;
  background-color: #ffc107;
  border-radius: 100px;
  position: absolute;
  left: 64%;
  top: 27%;
}

/* ================== IMAGE OPTIMIZATION CSS START ================== */

/* Ensure images render with high quality */
img {
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

/* Hero section images should be high priority */
.hero-img img,
.hero-image img,
.image-anime img {
  image-rendering: auto;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
}

/* Ensure proper image sizing and quality */
.img-fluid {
  max-width: 100%;
  height: auto;
  image-rendering: auto;
}

/* Prevent image blur on scale */
figure img {
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  will-change: transform;
}

/* About section image optimization */
.about-img img,
.about-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* Service section images */
.service-image img,
.work-anime img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* Testimonial images */
.test-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

/* Why choose section */
.why-choose-image img {
  width: 100%;
  height: auto;
}

/* Team/Doctor images */
.team-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ================== IMAGE OPTIMIZATION CSS END =================== */