/* Services Section Styles */
.services-section {
  width: 100%;
  min-height: 100vh;
  background: var(--Tertiary-40, #FBF3F2);
  padding: 100px 0;
  position: relative;
}

.services-section-container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* Section Header */
.services-section-header {
  width: 100%;
  max-width: 684px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}

.services-section-title {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 0.5em;
}

.services-section-title-part1 {
  color: var(--Primary-100, #680144);
  font-family: "DM Sans", sans-serif;
  font-size: 48px;
  font-style: normal;
  font-weight: 400;
  line-height: 140%; /* 67.2px */
  letter-spacing: -0.96px;
}

.services-section-title-part2 {
  color: var(--Primary-100, #680144);
  font-family: "Calluna", serif;
  font-size: 52px;
  font-style: italic;
  font-weight: 400;
  line-height: 110%;
  letter-spacing: -1.04px;
}

.services-section-description {
  width: 100%;
  max-width: 517px;
  color: var(--Primary-100, #680144);
  font-family: "DM Sans", sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 140%; /* 25.2px */
  letter-spacing: -0.36px;
  text-align: left;
  margin: 0;
}

/* Main Content: Filters + Services */
.services-section-content {
  width: 100%;
  display: flex;
  gap: 56px;
  align-items: flex-start;
  padding-top: 96px;
}

/* Category Filters */
.services-section-filters {
  width: 288px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 96px 0;
}

.services-section-filter-btn {
  width: 100%;
  padding: 8px 16px;
  border-radius: 8px;
  border: 1px solid var(--Primary-80, #843267);
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: right;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 4px;
}

.services-section-filter-btn:hover {
  background: var(--Secondary-60, #FBADAA);
}

.services-section-filter-btn.active {
  background: var(--Secondary-60, #FBADAA);
  border-color: var(--Primary-80, #843267);
}

.services-section-filter-btn-text {
  color: var(--Primary-100, #680144);
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 140%; /* 22.4px */
  letter-spacing: -0.32px;
  white-space: nowrap;
}

/* Services List */
.services-section-list {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 56px;
  padding: 96px 0;
}

/* Service Card */
.services-section-card {
  width: 100%;
  max-width: 684px;
  height: 320px;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  overflow: hidden;
  position: relative;
}

.services-section-card-left {
  align-self: flex-start;
}

.services-section-card-right {
  align-self: flex-end;
}

/* Card Image Wrapper */
.services-section-card-image-wrapper {
  width: 320px;
  height: 320px;
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  overflow: hidden;
}

.services-section-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.services-section-card-image-placeholder {
  width: 100%;
  height: 100%;
  background: var(--Tertiary-60, #F5E5E3);
}

/* Card Content */
.services-section-card-content {
  flex: 1;
  height: 320px;
  padding: 32px;
  border-top: 1.5px solid var(--Primary-100, #680144);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
  position: relative;
  overflow: hidden;
  background: transparent;
  transition: background 0.4s ease;
}

.services-section-card:hover .services-section-card-content {
  background: var(--Primary-100, #680144);
}

.services-section-card-inner {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  position: relative;
  z-index: 2;
}

.services-section-card-info {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}

.services-section-card-category {
  width: 100%;
  color: var(--Primary-40, #680144);
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 140%; /* 22.4px */
  letter-spacing: -0.32px;
  transition: color 0.3s ease;
}

.services-section-card:hover .services-section-card-category {
  color: var(--Tertiary-100, #F6E0DF);
}

.services-section-card-title {
  width: 100%;
  color: var(--Tertiary-100, #680144);
  font-family: "DM Sans", sans-serif;
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: 120%; /* 28.8px */
  letter-spacing: -1.2px;
  margin: 0;
  transition: color 0.3s ease;
}

.services-section-card:hover .services-section-card-title {
  color: var(--Tertiary-100, #F6E0DF);
}

.services-section-card-description {
  width: 100%;
  color: var(--Tertiary-100, #680144);
  font-family: "DM Sans", sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 140%; /* 25.2px */
  letter-spacing: -0.36px;
  transition: color 0.3s ease;
}

.services-section-card:hover .services-section-card-description {
  color: var(--Tertiary-100, #F6E0DF);
}

/* Enquire Button */
.services-section-card-button {
  width: 100%;
  padding: 16px;
  border-radius: 8px;
  background: var(--Secondary-40, #F9C5C3);
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
}

.services-section-card-button:hover {
  background: var(--Secondary-60, #FBADAA);
}

.services-section-card:hover .services-section-card-button {
  background: var(--Secondary-40, #F9C5C3);
}

.services-section-card-button-text {
  color: var(--Primary-100, #680144);
  text-align: center;
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 140%; /* 22.4px */
  letter-spacing: -0.32px;
}

/* Hover Background Effect - sliding animation */
.services-section-card-hover-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--Primary-100, #680144);
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
}

.services-section-card:hover .services-section-card-hover-bg {
  transform: translateX(0);
}

/* Empty State */
.services-section-empty {
  width: 100%;
  padding: 48px;
  text-align: center;
  color: var(--Primary-100, #680144);
  font-family: "DM Sans", sans-serif;
  font-size: 18px;
}

/* Load More Button */
.services-section-load-more-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 32px 0;
}

.services-section-load-more-btn {
  padding: 16px 32px;
  border-radius: 8px;
  border: 1px solid var(--Primary-100, #680144);
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}

.services-section-load-more-btn:hover {
  background: var(--Primary-100, #680144);
}

.services-section-load-more-btn:hover .services-section-load-more-text {
  color: var(--Tertiary-100, #F6E0DF);
}

.services-section-load-more-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.services-section-load-more-text {
  color: var(--Primary-100, #680144);
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 140%;
  letter-spacing: -0.32px;
  transition: color 0.3s ease;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .services-section-content {
    flex-direction: column;
    gap: 32px;
  }

  .services-section-filters {
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    padding: 0;
  }

  .services-section-filter-btn {
    flex: 0 1 200px;
    min-width: 200px;
    max-width: 320px;
    justify-content: center;
    text-align: center;
  }

  .services-section-filter-btn-text {
    transform: none;
    white-space: normal;
    overflow-wrap: break-word;
    word-break: break-word;
    text-align: center;
  }

  .services-section-list {
    padding: 32px 0;
  }

  .services-section-card {
    max-width: 100%;
    flex-direction: column;
    height: auto;
  }

  .services-section-card-image-wrapper {
    width: 100%;
    height: 300px;
  }

  .services-section-card-content {
    height: auto;
    min-height: 200px;
  }
}

@media (max-width: 768px) {
  .services-section {
    padding: 48px 0;
  }

  .services-section-container {
    padding: 0 16px;
  }

  .services-section-title-part1 {
    font-size: 36px;
  }

  .services-section-title-part2 {
    font-size: 40px;
  }

  .services-section-description {
    font-size: 16px;
  }

  .services-section-content {
    padding-top: 32px;
  }

  .services-section-filters {
    gap: 8px;
  }

  .services-section-filter-btn {
    min-width: auto;
    flex: 0 1 calc(50% - 4px);
    max-width: 320px;
  }

  .services-section-list {
    gap: 32px;
  }

  .services-section-card-image-wrapper {
    height: 250px;
  }
}
