@tailwind base;
@tailwind components;
@tailwind utilities;

.swiper {
  width: 100%;
  height: 100%;
}

.swiper-slide {
  text-align: center;
  font-size: 18px;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 16px;
  overflow: hidden;
}

.swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.swiper-button-prev,
.swiper-button-next {
  @apply duration-500 !text-primary-main bg-white rounded-full w-[40px] h-[40px] hover:!text-white hover:bg-primary-main;
  box-shadow: 0 0 10px 0 #595959;
}
.swiper-button-prev::after,
.swiper-button-next::after {
  font-size: 18px !important;
  font-weight: 900;
}

.branch-card {
  width: 100%;
  min-height: 380px;
  max-height: auto;
  border-radius: 16px;
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
  background-color: #fff;
  position: relative;
  overflow: hidden;
  padding: 16px 16px;
  margin-bottom: 30px;
}
.branch-card::before {
  @apply bg-primary-200;
  content: "";
  position: absolute;
  z-index: -1;
  width: calc(100% - 60px);
  height: 50px;
  right: 0;
  top: 40px;
  border-radius: 20px 0 0 20px;
}

.card-img {
  width: 100%;
  aspect-ratio: 2/1.5;
}
.card-img img {
  width: 100%;
  border-radius: 16px;
  height: 100%;
}
