/* Explore::ProgramsPromoComponent Styles */

.programs-promo-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding: var(--section-spacing-xl) var(--size-4);
  /* Add component spacing */
}

.programs-promo-header {
  text-align: center;
  margin-bottom: var(--section-spacing-md);
}

.promo-section-title {
  font-size: var(--text-2xl);
  font-weight: var(--font-bold);
  color: var(--color-text);
  margin-bottom: var(--size-4);
  line-height: var(--line-height-tight);
}

.programs-promo-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--size-6);
  width: 100%;
  max-width: 1200px;
}

.program-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--size-6);
  background: var(--color-primary-light);
  border: 1px solid var(--color-border);
  border-radius: var(--rounded-lg);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.program-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary);
}

.program-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  background: var(--color-accent); /* Red background for icons */
  color: var(--color-text-reversed);
  border-radius: var(--rounded-full);
  margin-bottom: var(--size-4);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-sm);
}

.program-card:hover .program-card-icon {
  transform: scale(1.1) rotate(5deg);
  background: var(--color-accent-light); /* Lighter red on hover */
  box-shadow: var(--shadow-md);
}

.program-card-title {
  font-size: var(--text-xl);
  font-weight: var(--font-bold);
  color: var(--color-text);
  margin-bottom: var(--size-3);
  line-height: var(--line-height-tight);
}

.program-card-text {
  font-size: var(--text-base);
  line-height: var(--line-height-normal);
  margin-bottom: var(--size-6);
  flex-grow: 1;
}

/* Responsive Design - Mobile First */
@media (min-width: 768px) {
  .programs-promo-section {
    padding: var(--section-spacing-md) var(--size-6); /* Reduced from xl to md */
    margin: var(--section-spacing-sm) 0; /* Reduced from md to sm */
  }

  .programs-promo-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--size-6); /* Reduced from 8 to 6 */
  }
  
  .promo-section-title {
    font-size: var(--text-3xl);
  }
  
  .program-card {
    padding: var(--size-6); /* Reduced from 8 to 6 */
  }
  
  .program-card-title {
    font-size: var(--text-2xl);
  }
  
  .program-card-text {
    font-size: var(--text-lg);
  }
}

@media (min-width: 1024px) {
  .programs-promo-section {
    padding: var(--section-spacing-lg) var(--size-8); /* Reduced from xl to lg */
    margin-bottom: var(--section-spacing-md); /* Reduced from lg to md */
  }
  
  .programs-promo-grid {
    gap: var(--size-8); /* Reduced from 10 to 8 */
  }
  
  .program-card {
    padding: var(--size-8); /* Reduced from 10 to 8 */
  }
}

@media (min-width: 1280px) {
  .programs-promo-grid {
    gap: var(--size-12);
  }
}

@media (min-width: 1440px) {  
  .promo-section-title {
    font-size: var(--text-4xl);
  }
  
  .program-card-title {
    font-size: var(--text-3xl);
  }
  
  .program-card-text {
    font-size: var(--text-xl);
  }
}

/* Accessibility */
.programs-promo-section:focus-within {
  outline: 2px solid var(--color-selected-light);
  outline-offset: 2px;
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
  .program-card,
  .program-card-icon {
    transition: none;
  }
  
  .program-card:hover {
    transform: none;
  }
  
  .program-card:hover .program-card-icon {
    transform: none;
  }
}

@media (prefers-contrast: high) {
  .program-card {
    border: 2px solid var(--color-border-dark);
  }
  
  .program-card-icon {
    border: 2px solid var(--color-primary);
  }
} 