.schedule-section {
  padding: 60px 0;
  background: linear-gradient(135deg, #f8fafc 0%, #edf2f7 100%);
  position: relative;
  overflow: hidden;
}

.schedule-section::before{
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: linear-gradient(45deg, rgba(66, 153, 225, 0.1), rgba(102, 126, 234, 0.1));
  border-radius: 50%;
  z-index: 0;
}

.schedule-header {
  text-align: center;
  margin-bottom: 60px;
}

.schedule-subtitle {
  color: #4299e1;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 15px;
  font-size: 20px;
  animation: fadeInUp 0.6s ease;
}

.schedule-title {
  color: #2d3748;
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 20px;
  animation: fadeInUp 0.8s ease;
}
@media (max-width:991px){
  .schedule-title{
    font-size: 30px;
  }
}
.schedule-description {
  color: #4a5568;
  max-width: 600px;
  margin: 0 auto;
  font-size: 17px;
  line-height: 1.6;
  animation: fadeInUp 1s ease;
}

.schedule-card {
  background: white;
  border-radius: 20px;
  padding: 30px;
  margin: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.schedule-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(66, 153, 225, 0.15);
}

.schedule-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, #4299e1, #667eea);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.3s ease;
}

.schedule-card:hover::before {
  transform: scaleY(1);
}

.doctor-profile {
  display: flex;
  align-items: center;
  margin-bottom: 25px;
  padding-bottom: 20px;
  border-bottom: 1px dashed #e2e8f0;
}

.schedule-section .doctor-image {
  width: 80px !important;
  height: 80px !important;
  border-radius: 50%;
  margin-right: 20px;
  border: 3px solid #4299e1;
  padding: 3px;
  transition: all 0.3s ease;
}
@media (max-width:991px){
  .schedule-section{
    padding: 30px 0;
  }
}
.schedule-card:hover .doctor-image {
  transform: scale(1.1) rotate(5deg);
}

.doctor-info h3 {
  color: #2d3748;
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 5px 0;
}

.doctor-info p {
  color: #4299e1;
  font-size: 14px;
  margin: 0;
  font-weight: 500;
}

.schedule-slots {
  display: grid;
  gap: 15px;
}

.time-slot {
  display: flex;
  align-items: center;
  padding: 12px;
  background: #f7fafc;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.time-slot:hover {
  background: #ebf8ff;
  transform: translateX(10px);
}

.slot-time {
  display: flex;
  align-items: center;
  color: #4a5568;
  font-weight: 500;
  margin-right: 15px;
}

.slot-time i {
  color: #4299e1;
  margin-right: 8px;
}

.slot-status {
  margin-left: auto;
  padding: 4px 12px;
  border-radius: 15px;
  font-size: 12px;
  font-weight: 500;
}

.status-available {
  background: #c6f6d5;
  color: #2f855a;
}

.status-booked {
  background: #fed7d7;
  color: #c53030;
}

.book-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #4299e1;
  color: white;
  padding: 12px 25px;
  border-radius: 25px;
  margin-top: 20px;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 2px solid #4299e1;
  text-decoration: none;
  width: 100%;
}

.book-btn:hover {
  background: white;
  color: #4299e1;
  transform: translateY(-2px);
}

.book-btn i {
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.book-btn:hover i {
  transform: translateX(5px);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.owl-nav button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 45px;
  height: 45px;
  border-radius: 50% !important;
  background: white !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
  transition: all 0.3s ease;
}

.owl-nav button:hover {
  background: #4299e1 !important;
}

.owl-nav button span {
  color: #4299e1;
  font-size: 24px;
  line-height: 45px;
  transition: all 0.3s ease;
}

.owl-nav button:hover span {
  color: white;
}

.owl-prev {
  left: -20px;
}

.owl-next {
  right: -20px;
}

.owl-dots {
  text-align: center;
  margin-top: 30px !important;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.owl-dot {
  display: inline-block;
  zoom: 1;
  outline: none;
}

.owl-dot span {
  width: 8px;
  height: 8px;
  margin: 0;
  background: #93a1b4 !important;
  display: block;
  border-radius: 30px;
  transition: all 0.3s ease;
}

/* Active dot and hover state */
.owl-dot.active span {
  width: 24px !important;
  background: #4299E1 !important;
}

.owl-dot:hover span {
  background: #90CDF4 !important;
}

/* Optional: Add pulsing animation to active dot */
@keyframes dotPulse {
  0% {
      transform: scale(1);
      opacity: 1;
  }
  50% {
      transform: scale(1.1);
      opacity: 0.8;
  }
  100% {
      transform: scale(1);
      opacity: 1;
  }
}

.owl-dot.active span {
  animation: dotPulse 2s infinite;
}

/* Optional: Add smooth transition when dots change */
.owl-dots .owl-dot span {
  transition: all 0.3s ease-in-out;
}