/* ===== SERVICES CATEGORIZED SECTION ===== */
.services-categorized-section {
  padding: 0;
  position: relative;
  overflow-x: hidden;
  width: 100%;
  box-sizing: border-box;
  background: #ffffff;
}

.theme-dark .services-categorized-section {
  background: var(--bg-dark);
}

.services-categorized-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px 100px;
  padding-right: calc(40px + 80px);
}

/* Section Header - Simplified */
.services-categorized-section .facilities-hero {
  padding: 80px 40px 70px;
  padding-left: 120px;
  padding-right: calc(40px + 80px);
  text-align: left;
  max-width: 100%;
  margin: 0;
  margin-right: -80px;
  position: relative;
  background: #f8f8f8;
  overflow: hidden;
  width: calc(100% + 80px);
}

.theme-dark .services-categorized-section .facilities-hero {
  background: rgba(var(--bg-dark-alt-rgb), 0.5);
}

/* Remove decorative overlays for simplicity */
.services-categorized-section .facilities-hero::before,
.services-categorized-section .facilities-hero::after {
  display: none;
}

/* Badge/Subtitle - Simplified */
.services-categorized-section .facilities-subtitle {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
  display: inline-block;
  font-family: 'Inter', sans-serif;
}

.theme-dark .services-categorized-section .facilities-subtitle {
  color: rgba(var(--text-dark-rgb), 0.6);
}

/* Main Title - Simplified */
.services-categorized-section .facilities-title {
  font-size: 3rem;
  font-weight: 600;
  font-family: 'Cormorant Garamond', serif;
  color: #1a1a1a;
  margin-bottom: 0;
  padding: 0;
  position: relative;
  z-index: 1;
  line-height: 1.4;
  letter-spacing: -0.5px;
}

.theme-dark .services-categorized-section .facilities-title {
  color: var(--text-dark);
}

/* Decorative Line - Removed */
.services-categorized-section .facilities-hero .decorative-line {
  display: none;
}

/* Grid Layout */
.services-categorized-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 60px;
}

/* Card Design - Simplified */
.service-category-card {
  background: #ffffff;
  border-radius: 8px;
  padding: 2.5rem;
  transition: all 0.2s ease;
  border: 1px solid #e5e5e5;
  position: relative;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.theme-dark .service-category-card {
  background: rgba(var(--bg-dark-alt-rgb), 0.6);
  border-color: rgba(255, 255, 255, 0.1);
}

/* Remove first card highlight for consistency */
.service-category-card:first-child {
  background: #ffffff;
  border-color: #e5e5e5;
}

.theme-dark .service-category-card:first-child {
  background: rgba(var(--bg-dark-alt-rgb), 0.6);
  border-color: rgba(255, 255, 255, 0.1);
}

/* Remove all effects */
.service-category-card::before,
.service-category-card::after,
.card-glow {
  display: none;
}

.service-category-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border-color: rgba(var(--accent-dark-rgb), 0.3);
}

.theme-dark .service-category-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  border-color: rgba(var(--accent-dark-rgb), 0.4);
}

/* Category Header - Not used in simple design */
.category-header {
  display: none;
}

/* Category Icon - Simplified */
.category-icon {
  width: 50px;
  height: 50px;
  border-radius: 8px;
  background: rgba(var(--accent-dark-rgb), 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-dark);
  font-size: 1.75rem;
  flex-shrink: 0;
  box-shadow: none;
  transition: all 0.2s ease;
  position: relative;
  margin-bottom: 1.5rem;
}

.service-category-card:hover .category-icon {
  background: rgba(var(--accent-dark-rgb), 0.12);
  transform: scale(1.05);
}

.category-icon::before {
  display: none;
}

/* Category Title - Simplified */
.category-title {
  font-size: 1.35rem;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0 0 1rem 0;
  letter-spacing: -0.3px;
  transition: none;
  font-family: 'Cormorant Garamond', serif;
  line-height: 1.4;
}

.theme-dark .category-title {
  color: var(--text-dark);
}

/* Category Description - Simplified */
.category-description {
  font-size: 0.9rem;
  line-height: 1.7;
  color: #666666;
  margin: 0;
}

.theme-dark .category-description {
  color: rgba(var(--text-dark-rgb), 0.65);
}

/* Special Card */
.service-special-card {
  grid-column: 1 / -1;
  background: #ffffff;
  border: 1px solid rgba(var(--accent-dark-rgb), 0.2);
  padding: 3rem;
  text-align: center;
  position: relative;
  overflow: visible;
  justify-content: center;
}

.theme-dark .service-special-card {
  background: rgba(var(--bg-dark-alt-rgb), 0.8);
  border-color: rgba(var(--accent-dark-rgb), 0.3);
}

.service-special-card::before {
  display: none;
}

.service-special-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.theme-dark .service-special-card:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.service-special-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  border-radius: 0;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-dark);
  font-size: 3rem;
  box-shadow: none;
  transition: none;
  position: relative;
}

.service-special-icon::before {
  display: none;
}

.theme-dark .service-special-icon {
  color: var(--accent-dark);
}

.service-special-card:hover .service-special-icon {
  transform: none;
}

.service-special-title {
  font-size: 2rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
  letter-spacing: 0;
  font-family: 'Cormorant Garamond', serif;
}

.theme-dark .service-special-title {
  color: var(--text-dark);
}

.service-special-card:hover .service-special-title {
  transform: none;
}

.service-special-description {
  font-size: 0.95rem;
  color: #666666;
  line-height: 1.6;
  max-width: 100%;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.theme-dark .service-special-description {
  color: rgba(var(--text-dark-rgb), 0.7);
}

.service-special-card:hover .service-special-description {
  transform: none;
}

/* Responsive */
@media (max-width: 992px) {
  .services-categorized-section .facilities-hero {
    padding: 60px 30px 50px;
    padding-left: 80px;
    padding-right: calc(30px + 50px);
    margin-right: -50px;
    width: calc(100% + 50px);
  }

  .services-categorized-container {
    padding: 0 20px 80px;
    padding-right: calc(20px + 50px);
  }

  .services-categorized-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    margin-top: 50px;
  }

  .service-category-card {
    padding: 2rem;
  }

  .services-categorized-section .facilities-title {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .services-categorized-section .facilities-hero {
    padding: 50px 20px 40px;
    padding-left: 50px;
    padding-right: calc(20px + 50px);
    margin-right: -50px;
    width: calc(100% + 50px);
  }

  .services-categorized-container {
    padding: 0 20px 70px;
    padding-right: calc(20px + 50px);
  }

  .services-categorized-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 40px;
  }

  .service-category-card {
    padding: 2rem;
  }

  .services-categorized-section .facilities-title {
    font-size: 2.2rem;
  }

  .services-categorized-section .facilities-subtitle {
    font-size: 0.7rem;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
  }

  .category-icon {
    width: 48px;
    height: 48px;
    font-size: 1.6rem;
    margin-bottom: 1.25rem;
  }

  .category-title {
    font-size: 1.25rem;
  }
}

@media (max-width: 480px) {
  .services-categorized-section .facilities-hero {
    padding: 40px 15px 35px;
    padding-left: 20px;
    padding-right: calc(15px + 40px);
    margin-right: -40px;
    width: calc(100% + 40px);
  }

  .services-categorized-container {
    padding: 0 15px 60px;
    padding-right: calc(15px + 40px);
  }

  .services-categorized-grid {
    margin-top: 35px;
  }

  .service-category-card {
    padding: 1.75rem;
  }

  .services-categorized-section .facilities-title {
    font-size: 1.9rem;
  }

  .services-categorized-section .facilities-subtitle {
    font-size: 0.65rem;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
  }

  .category-icon {
    width: 44px;
    height: 44px;
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }

  .category-title {
    font-size: 1.15rem;
  }

  .category-description {
    font-size: 0.85rem;
  }
}
