/* Support Hero Section Styles */
/* Following site-grid-rails.css for layout and style.css for colors/fonts */

/* Performance-optimized animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Respect user's motion preferences */
@media (prefers-reduced-motion: reduce) {
  .support-hero__logo img,
  .support-hero__heading,
  .support-hero__column {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

.support-hero {
  background-color: var(--ica-green-deep);
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
  /* Core Web Vitals optimizations */
  contain: layout style paint;
  will-change: auto;
}

.support-hero__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
  box-sizing: border-box;
}

/* Row 1: Logo */
.support-hero__logo {
  flex-shrink: 0;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease-out 0.2s forwards;
  /* CLS Prevention: Reserve space */
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.support-hero__logo img {
  width: 200px;
  height: 200px;
  object-fit: contain;
  display: block;
}

/* Row 2: Main Heading */
.support-hero__heading {
  font-family: var(--font-ui);
  color: white;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 500;
  text-transform: uppercase;
  margin: 0;
  text-align: center;
  line-height: 1.2;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease-out 0.4s forwards;
  /* CLS Prevention: Reserve space */
  min-height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Row 3: Two Columns */
.support-hero__columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 4rem;
  width: 100%;
  max-width: 1000px;
}

.support-hero__column {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease-out 0.6s forwards;
  /* CLS Prevention: Reserve space */
  min-height: 200px;
  display: flex;
  flex-direction: column;
}

/* Section Headers */
.support-hero__section-header {
  margin-bottom: 2rem;
}

.support-hero__section-header h2 {
  font-family: var(--font-ui);
  font-size: 15px;
  font-weight: 500;
  text-transform: uppercase;
  text-align: center;
  margin: 0;
  padding: 1rem 1.5rem;
  border-radius: 0px;
}

/* Goals Column Styling */
.support-hero__goals .support-hero__section-header h2 {
  background-color: #D0E8E4;
  color: var(--ica-green-deep);
}

.support-hero__goals-list {
  margin-bottom: 2rem;
}

.support-hero__goal-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.support-hero__goal-icon {
  flex-shrink: 0;
  margin-top: 0.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.support-hero__goal-icon img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  display: block;
}

.support-hero__goal-item p {
  color: white;
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
}

.support-hero__goals-description p {
  color: white;
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.6;
  margin: 0;
}

/* Support Column Styling */
.support-hero__support .support-hero__section-header h2 {
  background-color: #D8BDE2;
  color: var(--ica-green-deep);
}

.support-hero__support-list {
  margin-bottom: 2rem;
}

.support-hero__support-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.support-hero__support-icon {
  flex-shrink: 0;
  margin-top: 0.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.support-hero__support-icon img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  display: block;
}

.support-hero__support-item p {
  color: white;
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
}

.support-hero__contact p {
  color: white;
  font-family: var(--font-ui);
  font-size: 12px;
  line-height: 1.6;
  margin: 0;
}

.support-hero__contact a {
  color: var(--ica-lime);
  text-decoration: none;
  transition: color 250ms ease;
}

.support-hero__contact a:hover {
  color: white;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
  .support-hero {
    padding: 3rem 0;
  }
  
  .support-hero__content {
    gap: 2rem;
  }
  
  .support-hero__logo img {
    width: 150px;
    height: 150px;
  }
  
  .support-hero__columns {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .support-hero__section-header h2 {
    font-size: 14px;
    padding: 0.75rem 1rem;
  }
  
  .support-hero__goal-item,
  .support-hero__support-item {
    gap: 0.75rem;
    margin-bottom: 1.25rem;
  }
  
  .support-hero__goal-icon img,
  .support-hero__support-icon img {
    width: 24px;
    height: 24px;
  }
}

@media (max-width: 480px) {
  .support-hero {
    padding: 2rem 0;
  }
  
  .support-hero__content {
    gap: 1.5rem;
  }
  
  .support-hero__logo img {
    width: 120px;
    height: 120px;
  }
  
  .support-hero__columns {
    gap: 2rem;
  }
  
  .support-hero__goal-item p,
  .support-hero__support-item p {
    font-size: 15px;
  }
  
  .support-hero__goals-description p {
    font-size: 13px;
  }
  
  .support-hero__contact p {
    font-size: 12px;
  }
}
