/* Homepage Specific Styles */

/* Services/Rehabilitation Preview */
.service-icon-box {
  text-align: center;
  padding: var(--space-xl) var(--space-md);
  background-color: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition);
  height: 100%;
}

.service-icon-box:hover {
  transform: translateY(-4px);
}

.service-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-md);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

/* About Preview */
/* About Preview Image Stack - Simple Vertical Column */
.about-image-stack {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.about-img-main,
.about-img-sub {
  position: static !important;
  width: 100% !important;
  max-width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  margin: 0 !important;
  
  /* Initial state for animation */
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), 
              transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1),
              box-shadow var(--transition);
}

/* Trigger animation when parent section has .animated class */
.animate-on-scroll.animated .about-img-main {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.1s;
}

.animate-on-scroll.animated .about-img-sub {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.3s;
}

.about-image-stack img:hover {
  transform: translateY(-5px) !important;
  box-shadow: var(--shadow-lg);
}

.about-text-col {
  padding: 0 var(--space-lg);
}

.about-text-col h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.25rem); /* Slightly smaller than global H2 for harmony */
}

.check-list {
  padding-left: 0 !important;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 36px;
  margin-bottom: 12px;
  font-weight: 500;
  color: var(--primary-dark);
  line-height: 1.3;
}

.check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: -1px;
  color: var(--success);
  font-size: 1.125rem;
  font-weight: 800;
}

/* CTA Block moved to components/cta.css */

