/* ========================================
   PUBLIC/LANDING THEME
   ======================================== */

/* Public theme overrides for landing pages */
.theme-public {
  /* Brand colors for public pages */
  --primary-color: #0DCEDA;
  --primary-dark: #0BA8B3;
  --primary-light: #6EF3D6;
  --primary-rgb: 13, 206, 218;
  
  /* Warm, welcoming colors */
  --accent-color: #FF6B6B;
  --accent-dark: #E55A5A;
  --accent-light: #FF8B8B;
  
  /* Background colors */
  --bg-primary: #F8FAFC;
  --bg-secondary: #F1F5F9;
  --bg-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  
  /* Typography */
  --font-family-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-family-display: 'Patrick Hand', cursive;
  
  /* Spacing */
  --section-padding: 4rem 0;
  --container-padding: 2rem;
  
  /* Animations */
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Border colors */
  --border-color: #E5E7EB;
  --border-width: 1px;
}

/* Fix: remove gap under navbar on public pages (margin-collapsing from first child) */
main.container > nav.main-program-nav:first-child { margin-top: 0 !important; }
.main-program-nav { margin: 0; padding: 0.5rem 0; display: flow-root; }
.program-nav-list { list-style: none; margin: 0; padding: 0; display: flex; gap: 1rem; align-items: center; }
.program-nav-list .nav-link { text-decoration: none; padding: .25rem .5rem; border-radius: 6px; }
.program-nav-list .nav-link.nav-link-disabled { opacity: .6; pointer-events: none; }

/* Hero section styles */
.hero-section {
  background: var(--bg-gradient);
  color: white;
  padding: var(--section-padding);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.3;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Feature cards */
.feature-card {
  background: white;
  border-radius: var(--border-radius-xl);
  padding: 2rem;
  text-align: center;

  transition: var(--transition-smooth);
  border: 1px solid var(--border-color);
}

.feature-card:hover {
  transform: translateY(-8px);

}

.feature-icon {
  width: 80px;
  height: 80px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: white;
  font-size: 2rem;
}

/* CTA buttons */
.cta-button {
  background: var(--primary-color);
  color: white;
  padding: 1rem 2rem;
  border-radius: var(--border-radius-lg);
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  transition: var(--transition-smooth);
  border: none;
  cursor: pointer;
}

.cta-button:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);

  color: white;
  text-decoration: none;
}

.cta-button-secondary {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.cta-button-secondary:hover {
  background: var(--primary-color);
  color: white;
}

/* Testimonials */
.testimonial-card {
  background: white;
  border-radius: var(--border-radius-lg);
  padding: 2rem;

  border-left: 4px solid var(--primary-color);
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

.testimonial-author {
  font-weight: 600;
  color: var(--text-primary);
}

/* Responsive design */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .feature-card {
    padding: 1.5rem;
  }
  
  .section-padding {
    padding: 2rem 0;
  }
} 