/* ============================================ */
/*            Service Category Pages            */
/* ============================================ */
/* ============================================ */
/*                Category Hero                 */
/* ============================================ */
/* Mobile - 360px */
#category-hero {
  padding: 0;
  position: relative;
  overflow: hidden;
  background: url('/assets/images/about-hero-bg.png') center / cover no-repeat;
}
#category-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #000000 2%, rgba(0, 0, 0, 0) 41%), linear-gradient(90deg, #000000 0%, rgba(0, 0, 0, 0) 47%);
  z-index: 1;
}
#category-hero .cs-container {
  width: 100%;
  max-width: 80rem;
  margin: 0 auto;
  padding: 10rem 1rem 3.75rem;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  position: relative;
  z-index: 2;
}
#category-hero .cs-content {
  display: block;
  gap: 0;
}
#category-hero .cs-title {
  font-size: 2.25rem;
  font-weight: 600;
  line-height: 1.1;
  color: #fff;
  margin: 0;
  letter-spacing: -0.5px;
}
#category-hero .cs-icon {
  display: none;
  width: 5.875rem;
  height: 5.875rem;
  flex-shrink: 0;
}
/* Tablet - 768px */
@media only screen and (min-width: 48rem) {
  #category-hero .cs-container {
    padding: 12.5rem 2.5rem 5rem;
  }
  #category-hero .cs-title {
    font-size: 3.5rem;
  }
  #category-hero .cs-icon {
    display: block;
  }
}
/* Desktop - 1024px */
@media only screen and (min-width: 64rem) {
  #category-hero .cs-title {
    font-size: 4.375rem;
    line-height: 4.75rem;
    letter-spacing: -1px;
  }
}
/* ============================================ */
/*             Service Container                */
/* ============================================ */
/* Mobile - 360px */
#service-category {
  background-color: #F8F8F8;
  padding: 3.125rem 1rem 3.125rem;
  /* White Card Container */
  /* Header Row */
  /* Main Content Area */
  /* Sidebar — push below content on mobile */
  /* Sidebar Buttons */
  /* Quick Jump */
  /* Rating Row */
  /* Service Cards */
  /* ---- Compact Grid Cards ---- */
  /* CTA Banner */
}
#service-category .cs-container {
  width: 100%;
  max-width: 80rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 3.125rem;
}
#service-category .cs-card {
  background: #fff;
  border-radius: 1rem;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
#service-category .cs-header-row {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
#service-category .cs-header-left {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
#service-category .cs-overline {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  line-height: 0.875rem;
  color: #3D64FD;
}
#service-category .cs-heading {
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.17;
  color: #08101A;
  margin: 0;
}
#service-category .cs-header-right .cs-description {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.75rem;
  color: #55595E;
  margin: 0;
}
#service-category .cs-main {
  position: relative;
  border-radius: 1rem;
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
#service-category .cs-wave {
  display: none;
}
#service-category .cs-sidebar {
  display: flex;
  flex-direction: column;
  order: 2;
}
#service-category .cs-cards {
  order: 1;
}
#service-category .cs-sidebar-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border-bottom: 1px solid #5F5F62;
  padding-bottom: 0.75rem;
  padding-top: 1rem;
}
#service-category .cs-sidebar-text {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
#service-category .cs-sidebar-heading {
  font-size: var(--headerSixFontSize);
  font-weight: 600;
  line-height: 2.25rem;
  color: #1A1A1F;
  margin: 0;
}
#service-category .cs-sidebar-description {
  font-size: var(--regularFontSize);
  font-weight: 400;
  color: #55595E;
  margin: 0;
}
#service-category .cs-sidebar-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
#service-category .cs-button-solid {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 3rem;
  padding: 0 2.25rem;
  background: #3D64FD;
  background-color: #3D64FD;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1rem;
  text-decoration: none;
  border-radius: 0.5rem;
  text-align: center;
  white-space: nowrap;
  width: auto;
  border: 0;
  transition: background 0.3s;
}
#service-category .cs-button-solid:hover {
  background: #2b4fd6;
}
#service-category .cs-button-outline {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 3rem;
  padding: 0 2.25rem;
  background: transparent;
  color: #1A1A1F;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1rem;
  text-decoration: none;
  border: 1px solid #1A1A1F;
  border-radius: 0.5rem;
  text-align: center;
  white-space: nowrap;
  transition: background 0.3s, color 0.3s;
}
#service-category .cs-button-outline:hover {
  background: #1A1A1F;
  color: #fff;
}
#service-category .cs-quick-jump {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
#service-category .cs-quick-jump-title {
  font-size: var(--headerSixFontSize);
  font-weight: 600;
  line-height: 2.25rem;
  color: #1A1A1F;
  margin: 0;
}
#service-category .cs-quick-jump-list {
  display: flex;
  flex-direction: column;
  border-radius: 0.75rem;
  overflow: hidden;
}
#service-category .cs-quick-jump-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem;
  border: 1px solid #1A1A1F;
  border-top: none;
  background: transparent;
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 600;
  color: #1A1A1F;
  text-align: left;
  text-decoration: none;
  transition: background 0.3s, color 0.3s;
}
#service-category .cs-quick-jump-item:first-child {
  border-top: 1px solid #1A1A1F;
  border-radius: 0.75rem 0.75rem 0 0;
}
#service-category .cs-quick-jump-item:last-child {
  border-radius: 0 0 0.75rem 0.75rem;
}
#service-category .cs-quick-jump-item.cs-active {
  background: #3D64FD;
  color: #fff;
  border-color: #1A1A1F;
}
#service-category .cs-quick-jump-item.cs-active .cs-jump-arrow {
  filter: brightness(0) invert(1);
}
#service-category .cs-quick-jump-item:hover:not(.cs-active) {
  background: rgba(61, 100, 253, 0.08);
}
#service-category .cs-jump-text {
  font-family: inherit;
}
#service-category .cs-jump-arrow {
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
  transition: filter 0.3s;
}
#service-category .cs-rating-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  padding-top: 1rem;
}
#service-category .cs-stars {
  display: flex;
  gap: 0.125rem;
}
#service-category .cs-star {
  width: 1rem;
  height: 1rem;
}
#service-category .cs-rating-text {
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.5rem;
  color: #1A1A1F;
}
#service-category .cs-rating-link {
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.5rem;
  color: #1A1A1F;
  text-decoration: underline;
}
#service-category .cs-cards {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
#service-category .cs-service-card {
  background: #3F3D56;
  border-radius: 1rem;
  padding: 2rem;
  padding-top: 6.25rem;
  position: relative;
  overflow: hidden;
  transition: background 0.3s;
}
#service-category .cs-service-card:hover {
  background: #4A4870;
}
#service-category .cs-service-card:hover .cs-card-link {
  background: #3D64FD;
  border-color: #3D64FD;
}
#service-category .cs-card-link {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  transition: background 0.3s, border-color 0.3s, transform 0.3s;
}
#service-category .cs-card-link:hover {
  background: #3D64FD;
  border-color: #3D64FD;
  transform: scale(1.05);
}
#service-category .cs-card-arrow {
  width: 1.375rem;
  height: 1.375rem;
  filter: brightness(0) invert(1);
  opacity: 1;
}
#service-category .cs-card-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
#service-category .cs-card-title {
  font-size: 1.375rem;
  font-weight: 600;
  line-height: 2.25rem;
  color: #fff;
  margin: 0;
}
#service-category .cs-card-description {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.75rem;
  color: #fff;
  margin: 0;
}
#service-category .cs-card-bullets {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
#service-category .cs-bullet {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.5rem;
  color: #fff;
}
#service-category .cs-bullet-icon {
  width: 1.1875rem;
  height: 1.3125rem;
  flex-shrink: 0;
  margin-top: 0.125rem;
}
#service-category .cs-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
#service-category .cs-card-compact {
  padding: 1.5rem;
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
  transition: transform 0.3s, box-shadow 0.3s;
  min-height: 10rem;
}
#service-category .cs-card-compact:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}
#service-category .cs-card-compact .cs-card-title {
  font-size: 1.125rem;
  line-height: 1.625rem;
}
#service-category .cs-card-compact .cs-card-description {
  font-size: 0.875rem;
  line-height: 1.375rem;
}
#service-category .cs-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1rem;
}
#service-category .cs-card-cta {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #3D64FD;
}
#service-category .cs-card-arrow-sm {
  width: 1.5rem;
  height: 1.5rem;
  filter: brightness(0) invert(1);
  opacity: 0.5;
  transition: opacity 0.3s;
}
#service-category .cs-card-compact:hover .cs-card-arrow-sm {
  opacity: 1;
}
#service-category .cs-card-compact:hover .cs-card-cta {
  color: #fff;
}
#service-category .cs-cta-banner {
  background: #3D64FD;
  border-radius: 1rem;
  padding: 2.125rem 1.5rem;
}
#service-category .cs-cta-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
#service-category .cs-cta-text {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
#service-category .cs-cta-overline {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  line-height: 0.875rem;
  color: #FAFBFC;
  border: 1px solid #FAFBFC;
  border-radius: 1rem;
  padding: 0.5rem 0.625rem;
  align-self: flex-start;
}
#service-category .cs-cta-heading {
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 2.25rem;
  color: #fff;
  margin: 0;
  letter-spacing: -0.5px;
}
#service-category .cs-cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
#service-category .cs-cta-solid {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 3.5rem;
  padding: 0 2.25rem;
  background: #fff;
  color: #1A1A1F;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1rem;
  text-decoration: none;
  border-radius: 0.5rem;
  text-align: center;
  white-space: nowrap;
  transition: background 0.3s;
}
#service-category .cs-cta-solid:hover {
  background: #e8ebef;
}
#service-category .cs-cta-outline {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 3.5rem;
  padding: 0 2.25rem;
  background: transparent;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1rem;
  text-decoration: none;
  border: 1px solid #fff;
  border-radius: 0.5rem;
  text-align: center;
  white-space: nowrap;
  transition: background 0.3s, color 0.3s;
}
#service-category .cs-cta-outline:hover {
  background: #fff;
  color: #1A1A1F;
}
/* Tablet - 768px */
@media only screen and (min-width: 48rem) {
  #service-category {
    padding: 3.125rem 2.5rem 3.125rem;
    /* Grid cards: 2 columns on tablet */
  }
  #service-category .cs-card {
    padding: 3rem;
  }
  #service-category .cs-header-left {
    width: 30.625rem;
    flex-shrink: 0;
  }
  #service-category .cs-heading {
    font-size: 2.5rem;
  }
  #service-category .cs-main {
    padding: 3.125rem;
  }
  #service-category .cs-cta-content {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  #service-category .cs-cta-heading {
    font-size: 2rem;
    line-height: 2.75rem;
    max-width: 27.125rem;
  }
  #service-category .cs-cta-buttons {
    flex-direction: row;
    flex-shrink: 0;
  }
  #service-category .cs-cards-grid {
    grid-template-columns: 1fr 1fr;
  }
}
/* Desktop - 1024px */
@media only screen and (min-width: 64rem) {
  #service-category {
    padding: 6.25rem 0 3.125rem;
    /* Grid layout: wider cards area, narrower sidebar */
  }
  #service-category .cs-card {
    padding: 3rem;
  }
  #service-category .cs-header-row {
    flex-direction: row;
    gap: 1rem;
  }
  #service-category .cs-heading {
    font-size: 3rem;
    line-height: 3.5rem;
  }
  #service-category .cs-main {
    flex-direction: row;
    padding: 0;
  }
  #service-category .cs-wave {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    pointer-events: none;
    z-index: 0;
    opacity: 0.06;
  }
  #service-category .cs-sidebar {
    flex: 1;
    z-index: 1;
    order: 1;
    align-self: start;
    top: 10.75rem;
  }
  #service-category .cs-sidebar-content {
    position: sticky;
    border-bottom: none;
    padding-top: 0;
    max-height: calc(100vh - 12rem);
    overflow-y: auto;
    padding: 0 20px 0 0;
    margin: 0 0 20px 0;
  }
  #service-category .cs-cards {
    width: 35.375rem;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    order: 2;
  }
  #service-category .cs-service-card {
    padding-top: 6.25rem;
  }
  #service-category .cs-card-link {
    width: 3.5rem;
    height: 3.5rem;
  }
  #service-category .cs-card-arrow {
    width: 1.5rem;
    height: 1.5rem;
  }
  #service-category .cs-card-title {
    font-size: 1.5rem;
  }
  #service-category .cs-cta-heading {
    font-size: 2.25rem;
    line-height: 2.75rem;
  }
  #service-category .cs-main-grid {
    gap: 4rem;
  }
  #service-category .cs-main-grid .cs-sidebar {
    width: 20rem;
    flex: none;
  }
  #service-category .cs-cards.cs-cards-grid {
    width: auto;
    flex: 1;
    min-width: 0;
  }
}
