.pa-homepage-slider,
.pa-homepage-slider *,
.pa-homepage-slider *::before,
.pa-homepage-slider *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.pa-homepage-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  line-height: 1.4;
}

.pa-homepage-slider .swiper-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

.pa-homepage-slider__slide {
  position: relative;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
}

.pa-homepage-slider__picture {
  display: block;
  width: 100%;
}

.pa-homepage-slider__bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pa-homepage-slider__content {
  position: relative;
  z-index: 3;
  width: 100%;
}

.pa-homepage-slider__container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
}

/* Anchors floating images directly to the text content box */
.pa-homepage-slider__content_inner {
  position: relative;
}

.pa-homepage-slider__subtitle,
.pa-homepage-slider__title {
  display: block;
}

.pa-homepage-slider__subtitle {
  color: #0d3580;
}

.pa-homepage-slider__title {
  color: #181818;
}

.pa-homepage-slider__button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  background-color: #c61c25;
  border: 1px solid #c61c25;
  border-radius: 100px;
  color: #ffffff;
  font-weight: 700;
  font-family: "Nunito Sans", sans-serif;
  cursor: pointer;
  transition: all 0.5s ease;
}

.pa-homepage-slider__floating {
  position: absolute;
  z-index: 4;
  pointer-events: none;
}

/* ==========================================
   PAGINATION DOTS STRUCTURE 
   ========================================== */
.pa-homepage-slider__pagination_wrapper {
  position: absolute;
  z-index: 10;
  pointer-events: none;
  width: 100%;
  left: 0;
}

.pa-homepage-slider__pagination_wrapper .pa-homepage-slider__container {
  pointer-events: auto;
}

.pa-homepage-slider__pagination {
  position: static !important;
  display: flex !important;
  align-items: center;
  gap: 16px !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
}

.pa-homepage-slider__dot {
  border-radius: 50% !important;
  border: none !important;
  background: #d9d9d9 !important;
  cursor: pointer;
  padding: 0 !important;
  margin: 0 !important;
  transition: background 0.3s ease;
  display: inline-block !important;
  opacity: 1 !important;
}

.pa-homepage-slider__dot--active {
  background: #0d3580 !important;
}

.pa-homepage-slider__button svg,
.pa-homepage-slider__button svg path {
  transition: all 0.5s ease;
}

.pa-homepage-slider__button:hover {
  color: #c61c25;
  box-shadow: inset 0 -100px 0 0 white;
}

.pa-homepage-slider__button:hover svg {
  transform: rotate(45deg);
}

.pa-homepage-slider__button:hover svg path {
  fill: #c61c25;
}

/* ==========================================
   DESKTOP (Min 1025px)
   ========================================== */
@media only screen and (min-width: 1025px) {
  .pa-homepage-slider .swiper-wrapper {
    min-height: 840px;
  }

  .pa-homepage-slider__slide {
    display: flex;
    justify-content: center;
  }

  .pa-homepage-slider__picture {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
  }

  .pa-homepage-slider__bg {
    position: absolute;
    inset: 0;
    height: 840px !important;
    mask-size: auto 100%;
    mask-repeat: no-repeat;
    mask-position: right top;
    -webkit-mask-size: auto 100%;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: right top;

  -webkit-mask-size: 110% 100%;
  mask-size: 110% 100%;
  
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  }

  .pa-homepage-slider__content {
    padding-top: 158px;
  }

  .pa-homepage-slider__container {
    padding: 0 80px;
  }

  .pa-homepage-slider__content_inner {
   /* max-width: 50%; */
    max-width: 60%;
  }

  .pa-homepage-slider__subtitle {
    font-size: 28px;
    font-weight: 700;
    line-height: 24px;
    font-family: "Caveat", Sans-serif;
    display: flex;
    align-items: center;
    gap: 16px;
  }

  .pa-homepage-slider__subtitle .pa-homepage-slider__subtitle_bar {
    height: 2px;
    width: 60px;
    background-color: #c61c25;
    display: block;
  }

  .pa-homepage-slider__title {
    font-size: 56px;
    font-weight: 800;
    line-height: 62px;
    font-family: "Nunito", Sans-serif;
    padding: 20px 0px 40px 0px;
  }

  .pa-homepage-slider__button {
    padding: 16px 32px;
    font-size: 18px;
    line-height: 14px;
  }

  .pa-homepage-slider__pagination_wrapper {
    bottom: 200px;
  }

  .pa-homepage-slider__dot {
    width: 14px !important;
    height: 14px !important;
  }

  /* Floating Image 1: Top Small Heart */
  .pa-homepage-slider__floating.pa-homepage-slider__floating--1 {
    z-index: 4;
    top: -10px;
    right: 40px;
    margin-left: 0;
/*     animation: floatsideways 5s ease-in-out infinite; */
  }

  /* Floating Image 2: Bottom Hand with Heart */
  .pa-homepage-slider__floating.pa-homepage-slider__floating--2 {
/*     z-index: 4;
    bottom: -10px;
    right: 5%;
    top: auto;
    margin-left: 0;
    animation: floatupdown 4s ease-in-out infinite; */
	  z-index: 4;
/*       bottom: -120px;
      right: 30%;
      top: auto;
      margin-left: 0; */
      /* animation: floatupdown 4s ease-in-out infinite; */
      overflow: hidden;
	  transform: translate(-50%, 20%);
	  right: 0;
  }
}

@media only screen and (min-width: 1025px) and (max-width: 1200.98px) {
  .pa-homepage-slider__title {
    font-size: 40px;
    line-height: 44px;
  }
}

/* ==========================================
   MOBILE & TABLET (Max 1024.98px)
   ========================================== */
@media only screen and (max-width: 1024.98px) {
  .pa-homepage-slider,
  .pa-homepage-slider .swiper-wrapper {
    height: auto !important;
  }

  .pa-homepage-slider__slide {
    height: auto !important;
    display: block !important;
    background-color: #ffffff;
  }

  .pa-homepage-slider__content {
    background-color: #ffffff;
    padding-top: 24px;
    position: relative;
    z-index: 2;
  }

  .pa-homepage-slider__content_inner {
    width: 100%;
	min-height: 295px;
  }

  .pa-homepage-slider__picture {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
  }

  .pa-homepage-slider__bg {
    position: relative;
    width: 100%;
    height: 500px !important;
    object-fit: cover;
    display: block;
    mask-size: 100% auto;
    mask-repeat: no-repeat;
    mask-position: top center;
    -webkit-mask-size: 100% auto;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: top center;
	  
 -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  }

  .pa-homepage-slider__pagination_wrapper {
    top: auto;
    bottom: 56%;
  }

  .pa-homepage-slider__dot {
    width: 14px !important;
    height: 14px !important;
  }

  .pa-homepage-slider__floating.pa-homepage-slider__floating--1,
  .pa-homepage-slider__floating.pa-homepage-slider__floating--2 {
    display: none;
  }
}

/* Tablet (768px - 1024.98px) */
@media only screen and (min-width: 768px) and (max-width: 1024.98px) {
  .pa-homepage-slider__container {
    padding: 0 60px;
  }

  .pa-homepage-slider__subtitle {
    font-size: 28px;
    font-weight: 700;
    font-family: "Caveat", Sans-serif;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
  }

  .pa-homepage-slider__subtitle .pa-homepage-slider__subtitle_bar {
    height: 2px;
    width: 60px;
    background-color: #c61c25;
    display: block;
  }

  .pa-homepage-slider__title {
    font-size: 40px;
    font-weight: 800;
    line-height: 44px;
    font-family: "Nunito", Sans-serif;
    padding: 20px 0px 30px 0px;
  }

  .pa-homepage-slider__button {
    padding: 16px 32px;
    font-size: 18px;
  }
}

/* Mobile (Up to 767.98px) */
@media only screen and (max-width: 767.98px) {
  .pa-homepage-slider__container {
    padding: 0 20px;
  }

  .pa-homepage-slider__subtitle {
    font-size: 15px;
    font-weight: 700;
    font-family: "Caveat", Sans-serif;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
  }

  .pa-homepage-slider__subtitle .pa-homepage-slider__subtitle_bar {
    height: 2px;
    width: 60px;
    background-color: #c61c25;
    display: block;
  }

  .pa-homepage-slider__title {
    font-size: 28px;
    font-weight: 800;
    line-height: 36px;
    font-family: "Nunito", Sans-serif;
    padding: 16px 0px 60px 0px;
  }

  .pa-homepage-slider__button {
    padding: 14px 28px;
    font-size: 16px;
  }

  .pa-homepage-slider__pagination_wrapper {
    bottom: 50%;
  }
}

/* Keyframe Animations */
@keyframes floatupdown {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0px); }
}

@keyframes floatsideways {
  0% { transform: translateX(0px); }
  50% { transform: translateX(-20px); }
  100% { transform: translateX(0px); }
}

@media only screen and (min-width: 1201px) {
	.pa-homepage-slider__floating.pa-homepage-slider__floating--2 { 
	  transform: translate(-98%, 0%);
	}
}
@media only screen and (min-width: 1440px) {
	.pa-homepage-slider__floating.pa-homepage-slider__floating--2 { 
	  transform: translate(-53%, 0%);
	}
}