/* Services Page Styles */
li {
  list-style: none;
}

.services-page {
  padding: 0 0 80px;
  background-color: var(--light-color);
}

/* Hero Section */
.hero-clean {
  background-color: #fff;
  padding: 100px 0;
  position: relative;
  margin-top: 15px;
}

.hero-clean::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(42, 91, 215, 0.03) 0%,
    rgba(255, 255, 255, 0) 100%
  );
  z-index: 0;
}

.hero-clean-content {
  max-width: 800px;
  margin: 15px auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.hero-clean-title {
  font-size: 2.8rem;
  line-height: 1.2;
  color: var(--dark-color);
  margin: 0 auto 20px;
  font-weight: 700;
}

.hero-clean-highlight {
  color: var(--primary-color);
  position: relative;
}

.hero-clean-highlight::after {
  content: "";
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 100%;
  height: 10px;
  background-color: rgba(42, 91, 215, 0.15);
  z-index: -1;
  transform: skewY(-1deg);
}

.hero-clean-divider {
  width: 80px;
  height: 3px;
  background: var(--accent-color);
  margin: 30px auto;
}

.hero-clean-text {
  font-size: 1.2rem;
  line-height: 1.7;
  color: var(--text-color);
  max-width: 700px;
  margin: 0 auto;
}

/* Service Cards - Consolidated Styles */
.service-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  will-change: transform;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.service-icon {
  background: var(--primary-color);
  color: white;
  font-size: 2rem;
  padding: 25px 0;
  text-align: center;
}

.service-card h3 {
  padding: 20px 20px 10px;
  color: var(--primary-color);
  font-size: 1.4rem;
}

.service-details {
  padding: 0 20px 20px;
}

.service-details p {
  margin-bottom: 15px;
  font-weight: 500;
  color: var(--dark-color);
}

.service-details ul {
  margin-left: 20px;
  margin-bottom: 20px;
}

.service-details li {
  margin-bottom: 8px;
  color: var(--text-color);
  line-height: 1.5;
}

/* Service Categories */
.service-category {
  margin-bottom: 80px;
}

.category-title {
  font-size: 2rem;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 15px;
}

.category-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: var(--accent-color);
}

.category-description {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 40px;
  font-size: 1.1rem;
  color: var(--text-color);
}

/* Grid Layouts */
.services-2col-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

/* Assessment Dropdowns */
.assessment-dropdowns {
  margin: 40px auto;
  max-width: 900px;
}

.assessment-dropdown {
  margin-bottom: 20px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  background: white;
}

.assessment-dropdown:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.assessment-toggle {
  width: 100%;
  padding: 20px 25px;
  text-align: left;
  background: var(--primary-color);
  color: white;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.1rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.assessment-toggle:hover {
  background: var(--primary-dark-color);
  color: var(--primary-color);
}

.assessment-title {
  flex-grow: 1;
}

.dropdown-icon {
  font-size: 1.3rem;
  transition: transform 0.3s ease;
  margin-left: 15px;
}

.assessment-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.content-wrapper {
  padding: 25px;
  animation: fadeIn 0.3s ease-out;
}

.assessment-dropdown.active .assessment-content {
  max-height: 2000px;
}

.assessment-dropdown.active .dropdown-icon {
  transform: rotate(45deg);
}

.assessment-features {
  columns: 2;
  column-gap: 30px;
  margin: 15px 0;
}

.assessment-features li {
  margin-bottom: 12px;
  break-inside: avoid;
  position: relative;
  padding-left: 25px;
  line-height: 1.5;
}

.assessment-features li:before {
  content: "•";
  color: var(--primary-color);
  font-weight: bold;
  position: absolute;
  left: 10px;
}

.assessment-purpose {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 6px;
  margin-top: 25px;
}

.assessment-purpose h4 {
  color: var(--primary-color);
  margin-bottom: 15px;
  font-size: 1.1rem;
  font-weight: 600;
}

.assessment-purpose ul {
  list-style-type: none;
  padding-left: 0;
}

.assessment-purpose li {
  margin-bottom: 10px;
  padding-left: 30px;
  position: relative;
  line-height: 1.5;
}

.assessment-purpose li i {
  position: absolute;
  left: 0;
  top: 3px;
  color: var(--primary-color);
  font-size: 1rem;
}

.highlight-text {
  font-weight: 600;
  color: var(--primary-color);
  margin: 15px 0 10px;
  display: inline-block;
}

/* Approach Section */
.approach-section {
  background: var(--primary-color);
  padding: 60px 0;
  margin-top: 60px;
  color: white;
}

.approach-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 40px;
  color: white;
}

.approach-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.approach-card {
  text-align: center;
  padding: 30px 20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.approach-card:hover {
  transform: translateY(-5px);
}

.approach-card i {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--accent-color);
}

.approach-card h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
}

.approach-card p {
  line-height: 1.6;
  font-size: 0.95rem;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Accessibility */
.assessment-toggle:focus {
  outline: 2px solid var(--accent-color);
  outline-offset: 2px;
}

/* Touch targets */
.service-card,
.assessment-card,
.approach-card {
  min-height: 44px;
  min-width: 44px;
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

section[id] {
  scroll-margin-top: 80px;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .hero-clean {
    padding: 80px 0;
    margin-top: 0;
  }

  .hero-clean-title {
    font-size: 2.2rem;
  }

  .hero-clean-text {
    font-size: 1.1rem;
    padding: 0 15px;
  }

  .services-2col-grid,
  .service-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .service-card:hover {
    transform: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  }

  .category-title {
    font-size: 1.8rem;
  }

  .category-description {
    padding: 0 15px;
  }

  .approach-section {
    padding: 40px 0;
    margin-top: 40px;
  }

  .approach-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }

  .approach-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 15px;
  }

  .approach-card {
    padding: 25px 15px;
  }

  section[id] {
    scroll-margin-top: 60px;
  }
}

@media (max-width: 768px) {
  .hero-clean {
    padding: 70px 0 50px;
  }

  .hero-clean-title {
    font-size: 2rem;
  }

  .hero-clean-highlight::after {
    height: 8px;
    bottom: 3px;
  }

  .hero-clean-divider {
    margin: 20px auto;
  }

  .service-icon {
    padding: 20px 0;
    font-size: 1.8rem;
  }

  .service-card h3 {
    font-size: 1.3rem;
    padding: 15px 15px 10px;
  }

  .service-details {
    padding: 0 15px 15px;
  }

  .assessment-dropdowns {
    margin: 30px 15px;
  }

  .assessment-toggle {
    padding: 16px 20px;
    font-size: 1rem;
  }

  .content-wrapper {
    padding: 20px;
  }

  .assessment-features {
    columns: 1;
  }

  .assessment-purpose {
    padding: 15px;
  }

  .assessment-purpose li {
    padding-left: 25px;
  }

  .approach-card i {
    font-size: 2rem;
    margin-bottom: 15px;
  }

  .approach-card h3 {
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  .hero-clean-title {
    font-size: 1.8rem;
  }

  .hero-clean-text {
    font-size: 1rem;
  }

  .category-title {
    font-size: 1.6rem;
  }

  .category-description {
    font-size: 1rem;
  }

  .service-card h3 {
    font-size: 1.2rem;
  }

  .service-details p,
  .service-details li,
  .assessment-content p,
  .assessment-content li {
    font-size: 0.95rem;
  }

  .approach-title {
    font-size: 1.6rem;
  }

  .assessment-toggle {
    padding: 14px 18px;
  }

  .content-wrapper {
    padding: 18px;
  }
}
