/* Home Services Section */
.home-services-section {
    position: relative;
    overflow: hidden;
    padding-top: 0px;
    padding-bottom: 100px;
}

.services-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.services-heading {
  color: #000;
  font-family: Golden;
  font-size: 50px;
  font-style: normal;
  font-weight: 400;
  line-height: 60px;
  letter-spacing: 2.5px;
  margin: 0;
}
/* Arrows */
.services-nav-arrows {
    display: flex;
    gap: 30px;
}

.services-prev svg, .services-next svg {
    /* Using path fill from SVG, just control opacity */
    transition: opacity 0.3s, transform 0.2s;
}

.services-prev, .services-next {
    cursor: pointer;
    opacity: 1; /* Solid by default */
}

.services-prev:hover, .services-next:hover {
    opacity: 0.5; /* Transparent on hover as requested */
    transform: scale(1.1);
}

/* Slider */
.swiper-slide.service-card {
    position: relative;
    height: 370px; /* Fixed height for cards */
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.3s;
}

.service-link {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    text-decoration: none;
}

.service-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    border-radius: 22px;
}

/* Title Overlay */
.service-title-overlay {
  border-radius: 10px;
  opacity: 0.6;
  background: #40494E;
  backdrop-filter: blur(5px);
  padding: 12px;
  position: absolute;
  top: 20px;
  left: 20px;
  right: 20px;
}

.service-title-overlay h3 {
  color: #FFF;
  font-family: Outfit;
  font-size: 20px;
  font-style: normal;
  font-weight: 300;
  line-height: 27px;
  letter-spacing: 1px;
  margin: 0;
}

/* Corner Badge logic with 'White Cutout' effect */
/* Defined below */

/* cutout effect needs mask or pseudo element with box shadow, keep simple for now with svg overlay */
/* Actually the image provided has a cutout. We can simulate or just float the button */

/* Swiper */
.swiper.servicesSwiper {
    overflow: hidden; /* Fix extra slide visibility */
    padding: 20px; /* Optional: Add padding if shadows get cut off, or remove if not needed */
    margin: -20px; /* Compensate padding */
}



/* Corner Badge logic with 'White Cutout' effect */
.service-badge-corner {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 70px;
    height: 70px;
    z-index: 10;
    background: #F3F0E7;
    border-top-left-radius: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Smooth Connector - Above */
.service-badge-corner::before {
  content: '';
  position: absolute;
  bottom: 100%;
  right: 0;
  width: 20px;
  height: 20px;
  background: radial-gradient(circle at 0 0, transparent 20px, #F3F0E7 21px);
  pointer-events: none;
}

/* Smooth Connector - Left */
.service-badge-corner::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 100%;
  width: 20px;
  height: 20px;
  background: radial-gradient(circle at 0 0, transparent 20px, #F3F0E7 21px);
  pointer-events: none;
  margin-bottom: 0;
}

/* Button SVG */
.service-badge-corner svg {
    width: 50px;
    height: 50px;
    transition: transform 0.3s;
}

.service-card:hover .service-badge-corner svg {
    transform: rotate(45deg);
}
@media screen and (max-width: 1279px) {
  .services-heading {
    font-size: 40px;
  }
  .services-header {
    margin-bottom: 10px;
  }
  .swiper-slide.service-card {
    height: 315px;
  }
  .service-title-overlay {
    top: 15px;
    left: 15px;
    right: 15px;
    padding: 8px;
  }
  .service-title-overlay h3 {
    font-size: 17px;
  }
  .home-services-section {
    padding-bottom: 50px;
  }
}
@media screen and (max-width: 726px) {
.services-heading {
      font-size: 27px;
      line-height: unset;
    }
    .services-prev svg, .services-next svg {
        width: 21px;
        height: 21px;
    }
    .swiper-slide.service-card {
    height: 320px;
    }
    .service-title-overlay h3 {
    font-size: 13px;
    line-height: unset;
    }
}