:root {
  --primary: #2e5af5;
  --secondary: #059669;
  --accent: #facc15;
  --text: #1e293b;
  --text-light: #64748b;
  --bg: #f5f7fb;
  --bg-dark: #0f172a;
  --border: #e2e8f0;
}
html {
  scroll-behavior: smooth;
}
body {
  background: #f5f7fb;
}

@keyframes pulse-glow {
  0%,
  100% {
    opacity: 0.45;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.7);
  }
}
.pulse-dot {
  animation: pulse-glow 1.6s ease-in-out infinite;
}
.fade-up {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1),
    transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.fade-up.show {
  opacity: 1;
  transform: translateY(0);
}
::selection {
  background: var(--primary);
  color: #fff;
}
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.accordion-item.open .accordion-content {
  max-height: 500px;
}
.accordion-item.open .chevron {
  transform: rotate(45deg);
}
.accordion-item.open {
  border-color: rgba(46, 90, 245, 0.35);
}
.chevron {
  transition: transform 0.3s ease;
}
.marquee-track {
  animation: marquee 30s linear infinite;
}
@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
.notice-track {
  animation: noticemarquee 30s linear infinite;
}
@keyframes noticemarquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}


/* ===========================
   Testimonial Slider
=========================== */

.testimonial-slider {
  position: relative;
  margin: 0 -12px;
}

.testimonial-slider .slick-list {
  padding: 0px 120px !important;
  overflow: visible;
}

.testimonial-slider .slick-track {
  display: flex !important;
  align-items: center;
}

.testimonial-slider .slick-slide {
  height: inherit !important;
  transition: 0.45s ease;
}

.testimonial-slider .slick-slide > div {
  height: 100%;
}

/* Card */

.testimonial-card {
  position: relative;
  /* overflow:hidden; */

  min-height: 360px;

  transform: scale(0.82);

  opacity: 0.45;

  filter: blur(0.3px);

  transition: transform 0.45s ease, opacity 0.45s ease, box-shadow 0.45s ease;
}

/* Glow */

.testimonial-card::before {
  content: "";

  position: absolute;

  inset: 0;

  padding: 1px;

  border-radius: 32px;

  background: linear-gradient(135deg, var(--primary), #2e59f534, #2e59f53e);

  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);

  -webkit-mask-composite: xor;

  mask-composite: exclude;
}

/* Active */

.slick-center .testimonial-card {
  transform: scale(1);

  opacity: 1;

  filter: none;

  box-shadow: 0 35px 80px #2e5af51f;
}

/* Side */

.slick-active:not(.slick-center) .testimonial-card {
  transform: scale(0.9);

  opacity: 0.75;
}



/* Quote */

.testimonial-card span {
  transition: 0.4s;
}


/* Avatar */

.testimonial-card img {
  transition: 0.4s;
}

/* Dots */

.slick-dots {
  bottom: -10px;
}

.slick-dots li button:before {
  display: none;
}

.slick-dots li {
  width: auto !important;
  height: auto !important;
}

.slick-dots li button {
  width: 8px !important;
  height: 8px !important;
  border-radius: 9999px;
  background: #cbd5e1 !important;
  transition: all 0.3s ease;
  padding: 0 !important;
}

.slick-dots li.slick-active button {
  width: 27px !important;
  background: var(--primary) !important;
}

/* Arrows */

.slick-arrow {
  position: absolute;

  top: 50%;

  width: 60px;

  height: 60px;

  border-radius: 999px;

  border: none;

  background: white;

  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);

  z-index: 10;

  transition: 0.35s;
}

/* .doctor-slider .slick-list {
  padding-bottom: 20px;
} */

/* Rating badge */

.google-rating {
  position: absolute;

  right: 0;

  top: -70px;

  background: white;

  padding: 18px 22px;

  border-radius: 22px;

  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.08);
}

/* Mobile */

@media (max-width: 1024px) {
  .testimonial-slider .slick-list {
    padding: 40px !important;
  }

  .slick-arrow {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .testimonial-card {
    min-height: auto;

    transform: none !important;

    opacity: 1 !important;
  }

  .testimonial-slider .slick-list {
    padding: 0 !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  .pulse-dot,
  .fade-up,
  .marquee-track,
  .notice-track {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
