﻿.breadcrumb-container {
  padding-left: 20px;
  font-size: 16px;
  font-weight: 500;
  line-height: 20px;
  padding-top: 20px;
  padding-bottom: 20px;
  color: #fff;
  display: flex;
  gap: 10px;
}

.slider-container {
  position: relative;
  width: 100%;
  margin: auto;
  overflow: hidden;
  padding-left: 20px;
  padding-right: 20px;
}

.slider {
  display: flex;
  transition: transform 0.5s ease-in-out;
  gap: 20px;
}

.card {
  flex: 0 0 calc(25% - 14px);
  height: 444px;
  background: white;
  border: 1px solid #e9eef1;
  box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  border-radius: 0;
}

.card-image-wrapper {
  width: 100%;
  height: 215px;
  overflow: hidden;
}

.card h6 {
  font-size: 24px;
  line-height: 30px;
  font-weight: 500;
  color: #22272a;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease-in-out;
}

.card-image:hover {
  transform: scale(1.05);
}

.card-content {
  padding: 16px;
}
.card-text-image-none {
  font-size: 16px;
  color: #7a7d7f;
  font-weight: 300;
  line-height: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 10;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
.card-text {
  font-size: 16px;
  color: #7a7d7f;
  margin-bottom: 40px !important;
  font-weight: 300;
  line-height: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-button {
  display: inline-block;
  min-height: 24px;
  padding: 0 8px;
  background: #d9d9d9;
  color: black;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  line-height: 18px;
  border-radius: 100px;
  color: #565957;
  background-color: #f0f3f1;
  transition: background 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  width: max-content;
  gap: 8px;
}

.card-button:hover {
  background: #c0c0c0;
}

.navigation {
  top: 50%;
  border: none;
  cursor: pointer;
  background-color: transparent;
}

.navigation .prev {
  left: 0;
}

.navigation .next {
  right: 0;
}

.navigation img {
  width: 48px;
  height: 48px;
}

.health-corner-slider-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 26px;
  padding-left: 20px;
  padding-right: 20px;
}

.health-corner-slider-container {
  display: block;
  padding: 40px 0;
  padding-bottom: 0;
}

.health-corner-slider-header h3 {
  font-size: 32px;
  line-height: 48px;
  font-weight: 300;
  color: #22272a;
}

.card-button img {
  width: 12px;
  height: 12px;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.card-button:hover {
  background-color: rgba(249, 222, 220, 0.3);
  color: rgba(213, 38, 24, 1);
}

.card-button:hover img {
  display: flex;
  opacity: 1;
  animation: fadeIn 0.4s ease-in-out;
}

.error-message {
  color: #d52618;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateX(-5px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.faq-toggle {
  display: none;
}

.faq-toggle:checked + .faq-accordion-header + .faq-accordion-content {
  display: block;
  padding-left: 20px;
}

.faq-toggle:checked + .faq-accordion-header {
  padding-left: 20px;
}

.faq-icon {
  color: #d52618;
  font-size: 36px;
  font-weight: 200;
  transition: 0.3s;
}

.faq-toggle:checked + .faq-accordion-header .faq-icon {
  background-color: #d52618;
  color: white;
  padding: 6px 6px 10px 7px;
  border-radius: 4px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.faq-icon::before {
  content: "+";
}

.faq-toggle:checked + .faq-accordion-header .faq-icon::before {
  content: "-";
}

.faq-toggle:checked ~ .faq-accordion-header,
.faq-toggle:checked ~ .faq-accordion-content {
  border-left: 5px solid #d52618;
}

.faq-container {
  width: 100%;
  padding: 40px 0 0 0;
  border-top: 1px solid #dbdcdd;
  margin-top: 40px;
}

.faq-container h2 {
  font-weight: 300;
  font-size: 38px;
  line-height: 48px;
  margin-bottom: 20px;
}

.faq-accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 5px;
  font-size: 20px;
  line-height: 24px;
  color: #22272a;
  font-weight: 400;
  cursor: pointer;
}

.faq-accordion-content {
  display: none;
  font-weight: 300;
  line-height: 24px;
  padding: 12px 8px;
  font-size: 20px;
  color: #7a7d7f;
}

.faq-active .faq-accordion-content {
  display: block;
}

.faq-active .faq-accordion-item {
  border-left: 5px solid #d52618;
}

.faq-icon {
  color: #d52618;
  font-size: 36px;
  font-weight: 200;
}

.faq-icon.plus {
  padding-right: 12px;
}

.faq-active .faq-icon {
  background-color: #d52618;
  color: white;
  padding: 6px 6px 10px 7px;
  border-radius: 4px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.faq-container hr {
  border: none;
  height: 2px;
  background-color: #dbdcdd;
  margin: 16px 0;
}

.doctor-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px 20px;
  max-width: 1920px;
  margin: auto;
  padding: 20px;
  padding-top: 40px;
}

.doctor-card a {
  background: white;
  box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(233, 238, 241, 1);
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
  height: 100%;
  cursor: pointer;
  overflow: hidden;
}

.doctor-card .doctor-image {
  object-fit: cover;
  min-height: 219px;
  max-height: 219px;
  height: 100%;
  width: 100%;
  transition: transform 0.4s ease-in-out;
  object-position: 80% center;
}

.doctor-card:hover doctor-image {
  transform: scale(1.1);
}

.tag {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: max-content;
  padding: 0 6px;
  background: rgba(253, 244, 243, 1) !important;
  color: rgba(213, 38, 24, 0.25);
  font-size: 14px;
  border-radius: 100px;
  height: auto;
  border: 1px solid rgba(213, 38, 24, 0.25);
  background: rgba(253, 244, 243, 1);
  color: rgba(213, 38, 24, 1);
  position: relative;
  top: -12px;
  margin-left: 20px;
  margin-right: 20px;
}

.doctor-info-container .doctor-title {
  font-size: 14px;
  line-height: 18px;
  font-weight: 500;
  color: rgba(34, 39, 42, 1);
}

.doctor-info-container h3 {
  font-size: 24px !important;
  line-height: 32px !important;
  font-weight: 500 !important;
  margin-bottom: 10px;
  color: rgba(34, 39, 42, 1) !important;
  margin-top: 6px;
}

.doctor-info-container p {
  font-size: 14px;
  line-height: 18px;
  color: rgba(34, 39, 42, 1);
  font-weight: 500;
  flex-grow: 1;
  margin-bottom: 10px;
}

.doctor-info-container {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 0 20px;
}

.doctor-hospital {
  display: flex;
  gap: 4px;
}

.doctor-hospital img {
  width: 16px;
  height: 16px;
}

.appointment-btn {
  background: #fff;
  border: 1px solid rgba(183, 185, 187, 1);
  height: 48px;
  width: 100%;
  border-radius: 4px;
  cursor: pointer;
  font-size: 20px;
  font-weight: 500;
  line-height: 24px;
  color: rgba(34, 39, 42, 1);
  margin-top: auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.appointment-btn:hover,
.appointment-btn:focus-visible {
  background: rgba(213, 38, 24, 1);
  color: #ffffff;
}

.pagination {
  text-align: center;
  margin-top: 40px;
  font-size: 16px;
  display: flex;
  justify-content: center;
}

.page-button {
  background: #ffffff;
  color: rgba(34, 39, 42, 1);
  border: 1px solid rgba(233, 238, 241, 1);
  width: 32px;
  height: 32px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 5px;
  cursor: pointer;
  border-radius: 4px;
}

.ellipsis {
  background: #ffffff;
  color: rgba(34, 39, 42, 1);
  border: 1px solid rgba(233, 238, 241, 1);
  width: 32px;
  height: 32px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 5px;
  border-radius: 4px;
}

.page-button.active {
  background: rgba(213, 38, 24, 1);
  color: rgba(255, 255, 255, 1);
}

.hospital-info-container {
  padding-top: 40px;
  padding-left: 40px;
  padding-right: 40px;
  gap: 20px;
}

.hospital-info-container .col-9 {
  width: 800px;
}

.hospital-info-container .col-3 {
  width: 318px;
}

.hospital-address-container {
  background: rgba(240, 243, 241, 1);
  padding: 20px;
}

.hospital-address-container .gap-5 {
  gap: 5px !important;
}

.hospital-address-container .hospital-directions {
  border: 1px solid rgba(183, 185, 187, 1);
  height: 48px;
  width: 100%;
  border-radius: 4px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 20px;
  font-weight: 500;
  color: rgba(34, 39, 42, 1);
  margin-top: 14px;
  background-color: #fff;
  cursor: pointer;
}

.hospital-address-container .hospital-directions:hover {
  background-color: #d52618;
  color: #fff;
}

.hospital-address-container .hospital-address {
  color: rgba(78, 82, 85, 1);
  font-size: 16px;
  font-weight: 300;
}

.hospital-address-container .hospital-name {
  color: rgba(34, 39, 42, 1);
  font-size: 16px;
  font-weight: 500;
  display: flex;
  gap: 4px;
}

.hospital-address-container img {
  width: 24px;
  height: 24px;
  filter: brightness(0) saturate(100%) invert(17%) sepia(97%) saturate(2891%)
    hue-rotate(356deg) brightness(85%) contrast(112%);
}

.hospital-address-map {
  display: block;
}

.hospital-info-container {
  padding-top: 40px;
  padding-left: 40px;
  padding-right: 40px;
  gap: 20px;
  display: flex;
  justify-content: space-between;
}

.hospital-info h1 {
  color: rgba(34, 39, 42, 1);
  font-size: 52px;
  font-weight: 300;
}

.hospital-info p {
  color: rgba(78, 82, 85, 1);
  font-size: 16px;
  font-weight: 300;
  line-height: 20px;
}

.hospital-address-container-with-map {
  background: rgba(249, 250, 251, 1);
  padding-left: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hospital-phone-number {
  color: rgba(34, 39, 42, 1);
  font-size: 16px;
  font-weight: 500;
  padding-left: 40px;
  padding-right: 40px;
  border-left: 1px solid rgba(183, 185, 187, 1);
  display: flex;
  gap: 4px;
  min-width: max-content;
}

.hospital-phone-number img {
  width: 24px;
  height: 24px;
}

.hospital-address-container-with-map .hospital-directions-with-map {
  border: 1px solid rgba(183, 185, 187, 1);
  height: 48px;
  width: 100%;
  border-radius: 4px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 20px;
  font-weight: 500;
  color: rgba(34, 39, 42, 1);
  margin-top: 14px;
  background-color: #fff;
  display: none;
}

.hospital-address-container-with-map .hospital-directions-with-map:hover {
  background-color: #d52618;
  color: #fff;
}

.hospital-address-container-with-map .hospital-address {
  color: rgba(78, 82, 85, 1);
  font-size: 16px;
  font-weight: 300;
  padding-right: 5px;
  white-space: normal;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.hospital-address-container-with-map .hospital-name {
  color: rgba(34, 39, 42, 1);
  font-size: 16px;
  font-weight: 500;
  display: flex;
  gap: 4px;
}

.carousel-container {
  width: 100%;
  margin-top: 32px;
}

.main-image {
  width: 100%;
  height: 655px;
  object-fit: cover;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.thumbnails {
  gap: 10px;
  display: flex;
  justify-content: center;
  margin-top: 15px;
}

.thumbnails img {
  width: 100%;
  max-width: 182px;
  height: 120px;
  object-fit: cover;
  cursor: pointer;
  transition: border 0.3s ease;
}

.popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(20px);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.popup-content {
  position: relative;
  width: 100%;
  text-align: center;
  justify-content: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.popup img {
  width: 690px;
  height: 390px;
  object-fit: cover;
}

.close-btn {
  position: absolute;
  top: 0;
  right: 40px;
  font-size: 30px;
  color: white;
  cursor: pointer;
}

.arrow {
  position: absolute;
  top: 200px;
  width: 48px;
  height: 48px;
  transform: translateY(-50%);
  font-size: 20px;
  background: rgba(213, 38, 24, 1) !important;
  color: #fff;
  border-radius: 75px;
  padding: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.arrow-left {
  left: 306px;
}

.arrow-right {
  right: 306px;
}

.popup-thumbnails-wrapper {
  overflow-x: auto;
  white-space: nowrap;
  display: flex;
  justify-content: flex-start;
  max-width: 100%;
  padding: 10px 0;
  position: relative;
  scroll-padding: 10px;
  overflow-x: scroll;
  scroll-snap-type: x mandatory;
}

.popup-thumbnails-wrapper::-webkit-scrollbar {
  display: none;
}

.popup-thumbnails {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 15px;
  transition: transform 0.3s ease-in-out;
}

.popup-thumbnails img {
  width: 200px;
  height: 134px;
  object-fit: cover;
  cursor: pointer;
  transition: transform 0.3s ease, border 0.3s ease;
  flex: 0 0 auto;
  scroll-snap-align: center;
}

.popup-thumbnails img.active {
  transform: scale(1.2);
  margin-right: 20px;
  margin-left: 20px;
}

.alphabet-container {
  padding: 28px 24px;
  font-size: 20px;
  line-height: 24px;
  font-weight: 500;
  display: flex;
  justify-content: center;
  gap: 32px;
  position: sticky;
  top: 144px;
  background-color: #fff;
  z-index: 8;
  transition: box-shadow 0.3s ease-in-out;
}

.is-sticky-shadow {
  box-shadow: 0px 1px 3px 0px rgba(19, 10, 46, 0.13),
    0px 3px 14px 0px rgba(19, 10, 46, 0.03),
    0px 8px 32px 0px rgba(19, 10, 46, 0.07),
    0px 30px 84px 0px rgba(19, 10, 46, 0.08);
}

.alphabet-container .active {
  color: rgba(213, 38, 24, 1);
}

.alphabet-container a {
  text-decoration: none;
  color: rgba(122, 125, 127, 1);
  font-weight: 500;
  font-size: 20px;
  line-height: 24px;
}

.alphabet-container a:hover,
.alphabet-container a:focus-visible,
.alphabet-container a.active {
  color: rgba(213, 38, 24, 1);
}

.alphabet-list-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 24px 0 24px;
}

.letter-group {
  text-align: left;
  width: 100%;
  margin-bottom: 20px;
  display: flex;
  gap: 60px;
}

.letter-group .letter {
  color: rgba(213, 38, 24, 1);
  font-size: 90px;
  font-weight: 300;
  line-height: 68px;
  margin-bottom: 30px;
  width: 100px;
}

.letter-group ul {
  list-style-type: none;
  width: 100%;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  flex: 1;
  margin: 34px 0 80px 0;
}

.letter-group li {
  font-size: 20px;
  margin-bottom: 20px;
  list-style-type: unset !important;
  color: rgba(78, 82, 85, 1);
  font-weight: 500 !important;
  cursor: pointer;
  width: 50%;
}

.letter-group li:hover,
.letter-group li:focus-within  {
  color: rgba(213, 38, 24, 1);
}

.red-border {
  padding-left: 100px;
  margin-top: 16px;
  width: 100%;
}

.red-border div {
  border-top: 2px solid #d52618;
}

.featured-service-slide.no-url-slide {
  display: block !important;
  background-color: white;
  border: 1px solid rgba(233, 238, 241, 1);
  border-radius: 4px;
}

.featured-service-slide.no-url-slide:hover {
  box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.08);
}

.featured-service-slide span.no-url {
  bottom: 140px;
  bottom: 0;
  width: 303px;
  color: rgb(47, 46, 46);
  display: block;
  top: 20px;
  font-weight: 300 !important;
}

.no-image-card-text {
  font-size: 16px !important;
  color: rgba(122, 125, 127, 1) !important;
  line-height: 20px !important;
  font-weight: 300 !important;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  bottom: 0 !important;
  margin-top: 50px;
  color: rgba(122, 125, 127, 1) !important;
}

.featured-service-slide.no-url-slide::after {
  background: unset !important;
}

@media (max-width: 1040px) {
  .card {
    height: auto;
  }

  .doctor-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 20px;
    max-width: 1920px;
    margin: auto;
    padding: 20px;
    padding-top: 40px;
  }

  .close-btn {
    top: -100px;
    right: 40px;
  }

  .alphabet-container {
    top: 70px;
  }
}

@media (min-width: 769px) and (max-width: 1040px) {
  .thumbnails {
    flex-wrap: wrap;
  }

  .main-image {
    height: auto;
  }

  .arrow-left {
    left: 35px;
  }

  .arrow-right {
    right: 35px;
  }
  .alphabet-container {
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .breadcrumb-container {
    padding-left: 20px;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    padding-top: 20px;
    padding-bottom: 20px;
    color: #fff;
    flex-wrap: wrap;
  }

  .featured-service-slide span.no-url {
    bottom: 80px;
    width: 90%;
  }

  .no-image-card-text {
    margin-top: 40px;
  }

  .featured-service-slide span {
    font-size: 12px !important;
    line-height: 16px !important;
  }

  .health-corner-slider-container {
    width: 100vw;
    padding-bottom: 40px;
  }

  .health-corner-slider-header h3 {
    font-weight: 300;
    line-height: 30px;
    font-size: 24px;
  }

  .health-corner-slider-buttons {
    display: none;
  }

  .health-corner-slider-2 {
    display: flex;
    transition: transform 0.5s ease-in-out;
    will-change: transform;
  }

  .card {
    transition: transform 0.4s ease-in-out;
  }

  .card.next {
    transform: scale(0.95);
  }

  .card {
    flex: 0 0 calc(90% - 55px);
    height: 356px;
  }

  .card-image-wrapper {
    overflow: unset;
    height: 160px;
  }

  .card-image {
    width: 100%;
    height: 100%;
  }

  .card-text {
    margin-bottom: 0 !important;
  }

  .card h6 {
    font-size: 24px;
    line-height: 30px;
  }

  .card-button {
    font-size: 14px;
    padding: 0 10px;
    margin-top: 20px;
  }

  .card-image:hover {
    transform: none;
  }

  .slider-container {
    padding-left: unset;
    padding-right: unset;
  }

  .faq-container {
    padding-top: 40px !important;
  }

  .faq-container h2 {
    font-size: 24px !important;
    line-height: 30px !important;
  }

  .faq-accordion-header {
    font-size: 16px !important;
    gap: 20px !important;
    padding-left: 0;
  }

  .faq-icon {
    font-size: 45px !important;
  }

  .faq-container hr {
    margin: unset;
  }

  .faq-accordion-item.faq-active {
    padding: 0 0 0 16px;
    margin-top: 8px;
    margin-bottom: 8px;
    padding-left: 18px !important;
  }

  .faq-accordion-content {
    font-size: 16px !important;
    line-height: 20px !important;
    padding-left: 0;
  }

  .faq-icon.plus {
    padding-right: 0 !important;
  }

  .doctor-container {
    grid-template-columns: 1fr;
    padding-top: 0;
    gap: 20px;
  }

  .doctor-info-container {
    height: unset;
  }

  .hospital-panel-container {
    display: flex;
    width: 100%;
    margin-bottom: 40px;
    padding-left: 0;
    padding-right: 0;
    margin-top: 20px;
    flex-direction: column;
  }

  .hospital-info-container {
    padding-left: 20px;
    padding-right: 20px;
    flex-direction: column;
    gap: 20px;
    padding-top: 20px;
  }

  .hospital-info h1 {
    font-size: 28px;
    line-height: 36px;
    padding-bottom: 12px;
  }

  .hospital-info-container .col-9,
  .hospital-info-container .col-3 {
    width: 100%;
  }

  .hospital-address-map {
    display: none;
  }

  .hospital-address-container-with-map {
    display: block;
    padding: 20px;
  }

  .hospital-address-container-with-map .hospital-directions-with-map {
    display: flex;
  }

  .hospital-address-container-with-map .hospital-phone-number {
    display: none;
  }

  .hospital-info-container {
    padding-left: 20px;
    padding-right: 20px;
    flex-direction: column;
    gap: 20px;
    padding-top: 20px;
  }

  .hospital-info h1 {
    font-size: 28px;
    line-height: 36px;
    padding-bottom: 12px;
  }

  .popup-thumbnails img {
    width: 140px;
    height: 80px;
  }

  .main-image {
    display: none;
  }

  .thumbnails {
    flex-wrap: wrap;
  }

  .thumbnails img {
    width: 48%;
  }

  .arrow {
    display: none;
  }

  .close-btn {
    top: -100px;
    right: 20px;
  }

  .popup-image {
    width: 390px !important;
    height: 100% !important;
  }

  .red-border {
    display: none;
  }

  .alphabet-container {
    top: 70px;
    flex-wrap: wrap;
    gap: 28px;
    justify-content: flex-start;
    width: 99.6%;
  }

  .alphabet-list-container {
  }

  .letter-group {
    display: block;
  }

  .letter-group li {
    width: 100%;
  }

  .letter-group .letter {
    font-size: 52px;
    font-weight: 300;
    line-height: 60px;
  }
}

.featured-services-header {
  font-size: 40px;
  line-height: 48px;
  font-weight: 500;
  color: #22272a;
  margin-left: 140px;
  margin-top: 40px;
  margin-bottom: 40px;
  margin: 40px 0 40px 40px;
}

.featured-service-slider-container {
  overflow: hidden;
  width: 100%;
  padding: 20px 0;
  padding-left: 60px;
}

.featured-service-slider {
  display: flex;
  gap: 20px;
  cursor: grab;
  user-select: none;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.featured-service-slider a {
  flex: 0 0 calc(30% - 14px);
}

.featured-service-slider::-webkit-scrollbar {
  display: none;
}

.featured-service-slide {
  min-width: 345px;
  height: 220px;
  background-position: center;
  display: flex;
  align-items: flex-end;
  color: white;
  font-weight: bold;
  position: relative;
}

/* .featured-service-slide:last-of-type {
  margin-right: 30px;
} */

.featured-service-slide::after {
  content: "";
  position: absolute;
  inset: 0;

  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.6) 77.18%
  );
}

.featured-service-slide span {
  position: relative;
  z-index: 2;
  font-size: 24px;
  line-height: 30px;
  font-weight: 500;
  color: #ffffff;
  bottom: 24px;
  left: 24px;
  right: 32px;
  width: 303px;
}

.featured-services-slider-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-left: 20px;
  padding-right: 50px;
}

.featured-services-navigation {
  top: 50%;
  border: none;
  cursor: pointer;
  background-color: transparent;
}
.featured-services-navigation .featured-services-prev {
  left: 0;
}
.featured-services-navigation .featured-services-next {
  right: 0;
}

.featured-services-navigation img {
  width: 48px;
  height: 48px;
}

.featured-services-slider-buttons {
  gap: 16px;
}

@media (max-width: 768px) {
  .featured-services-slider-buttons {
    display: none;
  }

  .featured-services-header {
    margin-left: 0 !important;
    font-size: 24px;
    line-height: 30px;
    font-weight: 500;
    margin-bottom: 0;
  }

  .featured-service-slider-container {
    padding-left: 20px !important;
  }

  .featured-service-slide {
    width: 164px;
    height: 164px;
    min-width: 164px;
  }

  .featured-service-slide span {
    font-size: 16px !important;
    line-height: 20px;
    left: 12px;
    bottom: 12px;
    width: 80%;
  }
}
