/* Embla Carousel Styles */
.embla {
  max-width: 100%;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  --slide-height: 19rem;
  --slide-spacing: 1rem;
  --slide-size: 90%;
  --text-body: rgb(54, 49, 61);
  --detail-medium-contrast: rgb(234, 234, 234);
  --detail-high-contrast: rgb(192, 192, 192);
  --text-high-contrast-rgb-value: 49, 49, 49;
}

/* Mobile Grid Layout - Under 450px */
@media (max-width: 449px) {
  .embla {
    display: none;
  }
}

/* Tablet and larger screens */
@media (min-width: 768px) {
  .embla {
    max-width: 90vw;
    width: 90vw;
    margin-left: calc(-45vw + 50%);
    margin-right: calc(-45vw + 50%);
    --slide-size: 45%;
  }
}

/* Large desktop screens */
@media (min-width: 1600px) {
  .embla {
    max-width: 90vw;
    width: 90vw;
    margin-left: calc(-45vw + 50%);
    margin-right: calc(-45vw + 50%);
    --slide-size: 30%;
  }
}
.embla__viewport {
  overflow: hidden;
}
.embla__container {
  display: flex;
  touch-action: pan-y pinch-zoom;
  margin-left: calc(var(--slide-spacing) * -1);
}
.embla__slide {
  transform: translate3d(0, 0, 0);
  flex: 0 0 var(--slide-size);
  min-width: 0;
  padding-left: var(--slide-spacing);
  backface-visibility: hidden;
}
.embla__slide__number {
  box-shadow: inset 0 0 0 0.2rem var(--detail-medium-contrast);
  border-radius: 1.8rem;
  font-size: 2rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  height: var(--slide-height);
  user-select: none;
}

@media (min-width: 768px) {
  .embla__slide__number {
    font-size: 3rem;
  }
}

@media (min-width: 992px) {
  .embla__slide__number {
    font-size: 4rem;
  }
}
.embla__controls {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
  margin-top: 1.8rem;
}

@media (min-width: 768px) {
  .embla__controls {
    display: grid;
    grid-template-columns: auto 1fr;
    justify-content: space-between;
    flex-direction: initial;
  }
}

.embla__buttons {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem;
  align-items: center;
}
.embla__button {
  -webkit-tap-highlight-color: rgba(23, 114, 191, 0.3);
  -webkit-appearance: none;
  appearance: none;
  background-color: #1772bf;
  touch-action: manipulation;
  display: inline-flex;
  text-decoration: none;
  cursor: pointer;
  border: 0;
  padding: 0;
  margin: 0;
  box-shadow: 0 4px 12px rgba(23, 114, 191, 0.3);
  width: 3.6rem;
  height: 3.6rem;
  z-index: 1;
  border-radius: 50%;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}
.embla__button:hover:not(:disabled) {
  background-color: #145a99;
  box-shadow: 0 6px 16px rgba(23, 114, 191, 0.4);
  transform: translateY(-2px);
}
.embla__button:disabled {
  background-color: #cccccc;
  color: #999999;
  box-shadow: none;
  cursor: not-allowed;
}
.embla__button__svg {
  width: 35%;
  height: 35%;
}
.embla__dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  margin-right: calc((2.6rem - 1.4rem) / 2 * -1);
}

@media (min-width: 768px) {
  .embla__dots {
    justify-content: flex-end;
  }
}
.embla__dot {
  -webkit-tap-highlight-color: rgba(23, 114, 191, 0.3);
  -webkit-appearance: none;
  appearance: none;
  background-color: transparent;
  touch-action: manipulation;
  display: inline-flex;
  text-decoration: none;
  cursor: pointer;
  border: 0;
  padding: 0;
  margin: 0;
  width: 2.6rem;
  height: 2.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
}
.embla__dot:hover:after {
  background-color: rgba(23, 114, 191, 0.3);
}
.embla__dot:after {
  background-color: #d0d0d0;
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  content: "";
  transition: all 0.3s ease;
}
.embla__dot--selected:after {
  background-color: #1772bf;
  box-shadow: 0 2px 8px rgba(23, 114, 191, 0.4);
}

/* Mobile Grid Layout for Services */
.services-mobile-grid {
  display: none;
}

@media (max-width: 449px) {
  .services-mobile-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    padding: 1rem 0;
  }

  .service-mobile-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
  }

  .service-mobile-item:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  }

  .service-mobile-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .service-mobile-title {
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.3;
    margin: 0;
    color: #ffffff;
  }
}
