/* PRICING SECTION - RESTORE ORIGI  text-decoration: underline;NAL DYNAMIC PRICING */
/* Force mobile menu button to show on mobile screens */
.cesis_mobile_menu_switch {
  display: flex !important;
}

@media only screen and (min-width: 1161px) {
  .cesis_mobile_menu_switch {
    display: none !important;
  }
}
.pricing-section {
  background: var(--white);
}

.pricing-highlight {
  text-align: center;
  background: var(--secondary-yellow-light);
  color: var(--gray-900);
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-lg);
  font-weight: 600;
  font-size: var(--text-sm);
  margin-top: var(--space-4);
  display: inline-block;
}

.pricing-highlight a {
  color: inherit;
  text-decoration: none;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--space-6);
  margin-top: var(--space-12);
}

.pricing-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  text-align: center;
  position: relative;
  transition: all var(--transition-medium);
  display: flex;
  flex-direction: column;
  grid-column: span 12;
}

@media (min-width: 640px) {
  .pricing-card {
    grid-column: span 6;
  }
}

@media (min-width: 1024px) {
  .pricing-card {
    grid-column: span 3;
  }
}

.pricing-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-green);
}

.pricing-card.featured {
  border: 2px solid var(--primary-green);
  transform: scale(1.02);
  position: relative;
  z-index: 1;
  background: rgba(41, 155, 142, 0.02);
}

.pricing-card.featured::after {
  content: 'Most Popular';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-green);
  color: var(--white);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-lg);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  z-index: 2;
  white-space: nowrap;
}

.pricing-title {
  color: var(--primary-green);
  margin-bottom: var(--space-4);
  font-size: var(--text-lg);
}

/* RESTORE ORIGINAL PRICING STRUCTURE */
.pricing-price {
  font-size: var(--text-3xl);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: var(--space-2);
  font-family: var(--font-display);
}

#team-plus-price {
  font-size: var(--text-3xl);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: var(--space-2);
  font-family: var(--font-display);
}

.pricing-period {
  color: var(--text-tertiary);
  margin-bottom: var(--space-6);
  font-size: var(--text-sm);
}

.billing-dropdown {
  background: none;list-style: none;
  list-style-type: none;
  border: none;
  color: var(--text-tertiary);
  font-size: var(--text-sm);
  cursor: pointer;
}

.pricing-features {
  list-style: none;
  list-style-type: none;
  margin-bottom: var(--space-6);
  text-align: left;
  flex-grow: 1;
}

.pricing-features li {
  padding: var(--space-2) 0;
  position: relative;
  padding-left: var(--space-5);
  font-size: var(--text-sm);
  color: var(--text-secondary);
  list-style: none;
  list-style-type: none;
}

.pricing-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary-green);
  font-weight: 700;
}

.pricing-cta {
  display: block;
  background: var(--primary-green);
  color: var(--white);
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-lg);
  text-decoration: none;
  font-weight: 600;
  transition: all var(--transition-medium);
  margin-top: auto;
}

.pricing-cta:hover {
  background: var(--primary-green-dark);
  transform: translateY(-1px);
}

.users-country, .discount-code {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  margin: var(--space-2) 0;
}

/* Add discount styling */
.discount-code.discount-active {
  background: rgba(41, 155, 142, 0.1);
  color: var(--primary-green);
  padding: var(--space-2);
  border-radius: var(--radius-sm);
  font-weight: 600;
}

/* Bloom Landing Page - Clean Bento Grid Design */

/* ===== RESET & BASE STYLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Brand Colors - Staying true to Bloom */
  --primary-green: #299b8e;
  --primary-green-dark: #237a70;
  --primary-green-light: #3fb5a8;
  --secondary-yellow: #f7b801;
  --secondary-yellow-light: #ffd43b;
  --secondary-orange: #d8a442;
  --accent-navy: #03365c;
  --accent-navy-light: #1a4a6e;
  --accent-navy-dark: #012a47;
  
  /* Neutral Colors */
  --white: #ffffff;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  
  /* Semantic Colors */
  --background: var(--white);
  --text-primary: var(--gray-900);
  --text-secondary: var(--gray-700);
  --text-tertiary: var(--gray-500);
  --border: var(--gray-200);
  --surface: var(--gray-50);
  
  /* Shadows */
  --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  
  /* Brand-focused colored shadows */
  --shadow-green: 0 8px 25px -5px rgba(41, 155, 142, 0.2);
  --shadow-yellow: 0 8px 25px -5px rgba(247, 184, 1, 0.2);
  
  /* Typography */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  
  /* Font Families */
  --font-primary: 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Montserrat', 'Inter', system-ui, sans-serif;
  
  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  
  /* Border Radius */
  --radius-sm: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-2xl: 2rem;
  
  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-medium: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Animation Duration - for reduced motion */
  --animation-duration: 300ms;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--background);
  overflow-x: hidden;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: var(--space-4);
}

h1 {
  font-size: var(--text-4xl);
  letter-spacing: -0.025em;
}

h2 {
  font-size: var(--text-3xl);
  letter-spacing: -0.025em;
}

h3 {
  font-size: var(--text-2xl);
  font-weight: 600;
}

h4 {
  font-size: var(--text-xl);
  font-weight: 600;
}

p {
  margin-bottom: var(--space-4);
  color: var(--text-secondary);
  max-width: 65ch;
}

/* ===== LAYOUT UTILITIES ===== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}

@media (max-width: 768px) {
  .container {
    padding: 0 var(--space-4);
  }
}

/* Only apply section padding to main content sections */
main section,
.container section,
section:not([class*="footer"]):not([class*="widget"]):not([class*="cesis"]) {
  padding: var(--space-16) 0;
}

main section:first-child,
.container section:first-child,
section:not([class*="footer"]):not([class*="widget"]):not([class*="cesis"]):first-child {
  padding-top: var(--space-12);
}

/* ===== SECTION HEADERS ===== */
.section-header {
  margin-bottom: var(--space-12);
}

.section-header.centered {
  text-align: center;
  max-width: 800px;
  margin: 0 auto var(--space-12);
}

.section-title {
  margin-bottom: var(--space-4);
}

.section-subtitle {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  margin-bottom: 0;
  max-width: 60ch;
}

/* ===== BUTTONS & CTA ===== */
.cta-primary, .cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-lg);
  text-decoration: none;
  font-weight: 600;
  font-size: var(--text-base);
  transition: all var(--transition-medium);
  border: 2px solid transparent;
  cursor: pointer;
  min-height: 44px;
}

.cta-primary {
  background: var(--primary-green);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.cta-primary:hover {
  background: var(--primary-green-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-green);
}

.cta-secondary {
  background: transparent;
  color: var(--primary-green);
  border-color: var(--border);
}

.cta-secondary:hover {
  background: var(--surface);
  border-color: var(--primary-green);
  transform: translateY(-1px);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.animate-in {
  animation: fadeInUp 0.6s ease forwards;
}

.slide-in-left {
  animation: slideInLeft 0.6s ease forwards;
}

.slide-in-right {
  animation: slideInRight 0.6s ease forwards;
}

/* ===== HERO SECTION ===== */
.hero {
  min-height: 70vh;
  display: flex;
  align-items: center;
  padding: var(--space-16) 0;
}

.hero-content {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: var(--space-12);
  align-items: center;
  width: 100%;
}

.hero-text {
  text-align: left;
}

.hero-text h1 {
  margin-bottom: var(--space-6);
  text-align: left;
}

@media (max-width: 768px) {
  .hero {
    padding: var(--space-8) 0;
    overflow-x: hidden;
  }
  
  .hero-content {
    gap: var(--space-8);
    padding: 0 var(--space-4);
    max-width: 100%;
    overflow-x: hidden;
  }
  
  .hero-text {
    overflow-x: hidden;
    max-width: 100%;
  }
  
  .hero-text h1 {
    line-height: 1.3;
    margin-bottom: var(--space-8);
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
    max-width: 100%;
    font-size: clamp(1.8rem, 8vw, 3rem);
  }
}

.hero-subtitle {
  font-size: var(--text-lg);
  margin-bottom: var(--space-8);
  color: var(--text-secondary);
  max-width: none;
  text-align: left;
}

.highlight {
  background: linear-gradient(135deg, var(--secondary-yellow-light), var(--secondary-yellow));
  padding: 0 var(--space-2);
  border-radius: var(--radius-sm);
  color: var(--gray-900);
  font-weight: 600;
}

@media (max-width: 768px) {
  .highlight {
    padding: 0 var(--space-1);
    font-size: 0.9em;
    border-radius: calc(var(--radius-sm) * 0.8);
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-bottom: var(--space-10);
  justify-content: flex-start;
}

@media (max-width: 768px) {
  .hero-cta-group {
    gap: var(--space-3);
    margin-bottom: var(--space-6);
    width: 100%;
    max-width: 100%;
  }
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-10);
}

.stat-item {
  text-align: center;
  padding: var(--space-4);
  background: rgba(41, 155, 142, 0.05);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(41, 155, 142, 0.1);
  transition: all var(--transition-medium);
}

.stat-item:hover {
  transform: translateY(-2px);
  background: rgba(41, 155, 142, 0.08);
  border-color: rgba(41, 155, 142, 0.3);
  box-shadow: var(--shadow-green);
}

.stat-number {
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--primary-green);
  font-family: var(--font-display);
  line-height: 1.1;
}

.stat-label {
  font-size: var(--text-sm);
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
}

.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-sunflower {
  max-width: 85%;
  height: auto;
  animation: float 8s ease-in-out infinite;
  filter: drop-shadow(var(--shadow-lg));
}

@media (max-width: 968px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }
  
  .hero-stats {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
}

/* Additional mobile overflow protection */
@media (max-width: 768px) {
  .hero-subtitle {
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
    max-width: 100%;
    font-size: clamp(1rem, 4vw, var(--text-lg));
  }
  
  .stat-number {
    font-size: clamp(var(--text-xl), 6vw, var(--text-2xl));
  }
  
  .stat-label {
    font-size: clamp(var(--text-xs), 3vw, var(--text-sm));
  }
}
/* ===== TRUST BAR ===== */
.trust-bar {
  padding: var(--space-6) 0;
  background: var(--surface);
  border: 1px solid var(--border);
	border-radius: 25px; 
}

.trust-content {
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  padding: var(--space-4);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-4);
  align-items: center;
  box-shadow: var(--shadow-sm);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  justify-content: center;
  padding: var(--space-3);
  font-size: var(--text-sm);
  color: var(--text-secondary);
  font-weight: 500;
}

.trust-icon {
  width: 20px;
  height: 20px;
  color: var(--primary-green);
  flex-shrink: 0;
}

.trust-item a {
  color: var(--primary-green);
  text-decoration: underline;
  text-decoration-color: var(--primary-green-light);
  text-underline-offset: 3px;
  font-weight: 600;
  transition: all var(--transition-medium);
}

.trust-item a:hover {
  color: var(--primary-green-dark);
  text-decoration-color: var(--primary-green-dark);
}

@media (max-width: 768px) {
  .trust-content {
    grid-template-columns: 1fr;
    gap: var(--space-3);
  }
  
  .trust-item {
    justify-content: flex-start;
  }
}

/* ===== VALUE SECTION ===== */
.value-section {
  background: var(--white);
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: var(--space-6);
  margin-top: var(--space-12);
}

/* Reduce fixed row height but keep some structure */
@media (min-width: 1024px) {
  .value-grid {
    grid-auto-rows: minmax(140px, auto); /* Smaller minimum, can grow */
  }
}

.value-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all var(--transition-medium);
  min-width: 0;
  display: flex;
  flex-direction: column;
  grid-column: span 12;
  align-self: start; /* Prevent excessive stretching */
}

@media (min-width: 768px) {
  .value-card:nth-child(1) {
    grid-column: span 7;
    grid-row: span 1; /* Reduced from span 2 */
    background: rgba(41, 155, 142, 0.03);
    border-color: rgba(41, 155, 142, 0.1);
    align-self: stretch; /* Force same height as row */
  }
  
  .value-card:nth-child(2) {
    grid-column: span 5;
    grid-row: span 1; /* Reduced from span 2 */
    background: rgba(247, 184, 1, 0.03);
    border-color: rgba(247, 184, 1, 0.1);
    align-self: stretch; /* Force same height as row */
  }
  
  .value-card:nth-child(3) {
    grid-column: span 12;
    grid-row: span 1;
    background: rgba(41, 155, 142, 0.02);
    border-color: rgba(41, 155, 142, 0.08);
    padding: var(--space-8) var(--space-6);
  }
}

/* Hover effects - preserved exactly as original */
.value-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-green);
}

.value-card:nth-child(2):hover {
  border-color: var(--secondary-yellow);
  box-shadow: var(--shadow-yellow);
}

.value-icon {
  font-size: 2.5rem;
  margin-bottom: var(--space-4);
  line-height: 1;
}

.value-card h3 {
  margin-bottom: var(--space-4);
  color: var(--text-primary);
}

.value-card p {
  color: var(--text-secondary);
  max-width: none;
  /* Restore flex-grow for the first two cards to fill equal heights */
  flex-grow: 1; /* Back to 1 for equal height distribution */
}/* ===== FEATURES SECTION ===== */
.features-section {
  background: var(--surface);
  border-radius: var(--radius-xl);
  margin: var(--space-8) 0;
  padding: var(--space-12);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-6);
  margin-top: var(--space-12);
}

.feature-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all var(--transition-medium);
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-green);
}

.feature-image {
  width: 100%;
  height: 180px;
  object-fit: contain;
  object-position: center;
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-4);
  background: var(--gray-50);
  padding: var(--space-2);
}

.DiagnosticAssessment{
 text-decoration: underline;
	text-decoration-line: underline;
}
.feature-card h3 {
  margin-bottom: var(--space-3);
  font-size: var(--text-lg);
  color: var(--text-primary);
  transition: color var(--transition-medium);
}

.feature-card h3 a {
  color: var(--text-primary);
  text-decoration: none;
  transition: color var(--transition-medium);
}

.feature-card h3 a:hover {
  color: var(--primary-green);
  text-decoration: underline;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: var(--text-sm);
  max-width: none;
  flex-grow: 1;
}

/* ===== SDG SECTION ===== */
.sdg-section {
  background: var(--surface);
  border-radius: var(--radius-xl);
  margin: var(--space-8) 0;
  padding: var(--space-12);
}

.impact-bento-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--space-6);
  margin-top: var(--space-12);
}

.impact-bento-box {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all var(--transition-medium);
  min-width: 0;
  grid-column: span 12;
}

@media (min-width: 768px) {
  .impact-bento-box:first-child {
    grid-column: span 7;
  }
  
  .impact-bento-box:last-child {
    grid-column: span 5;
  }
}

.impact-bento-box:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-green);
}

.impact-bento-box h3 {
  color: var(--primary-green);
  margin-bottom: var(--space-6);
  font-size: var(--text-xl);
}

.sdg-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
  gap: var(--space-3);
  margin: var(--space-6) 0;
}

.sdg-icon img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
  transition: transform var(--transition-fast);
}

.sdg-icon img:hover {
  transform: scale(1.05);
}

.doughnut-image-link {
  display: block;
  margin: var(--space-6) auto;
  text-align: center;
}

.doughnut-image-link img,
.doughnut-diagram {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  max-width: 400px;
  transition: all var(--transition-medium);
}

.doughnut-image-link:hover img,
.doughnut-diagram:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-md);
}

.impact-bento-box p {
  color: var(--text-secondary);
  font-size: var(--text-sm);
  max-width: none;
}

.impact-bento-box a {
  color: var(--primary-green);
  text-decoration: none;
  font-weight: 600;
}

/* ===== EVENTS SECTION ===== */
.events-section {
  background: var(--surface);
  border-radius: var(--radius-xl);
  margin: var(--space-8) 0;
  padding: var(--space-12);
}

.events-section .section-header {
  text-align: center;
}

.events-section .section-subtitle {
  text-align: center;
  margin: 0 auto;
}

.events-calendar-container {
  max-width: 1000px;
  margin: 0 auto;
}

.events-calendar-embed {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  margin-bottom: var(--space-8);
  transition: all var(--transition-medium);
  height: 600px;
  position: relative;
}

.events-calendar-embed:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-1px);
}

.events-calendar-embed iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.events-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  justify-content: center;
}

/* ===== PROGRAMS SECTION ===== */
.programs-section {
  background: var(--surface);
  border-radius: var(--radius-xl);
  margin: var(--space-6) 0; /* Reduced from space-8 */
  padding: var(--space-8); /* Reduced from space-12 */
}

.programs-carousel {
  position: relative;
  margin-top: var(--space-6); /* Reduced from space-12 */
  padding: var(--space-4) var(--space-2); /* Reduced significantly */
  overflow: visible;
}

.programs-container {
  display: flex;
  gap: var(--space-4); /* Reduced from space-5 */
  overflow-x: scroll;
  overflow-y: visible;
  scroll-behavior: smooth;
  padding-bottom: var(--space-8);
  padding-top: var(--space-8);
  scrollbar-width: auto;
  scrollbar-color: var(--primary-green) var(--border);
  margin-left: 0; /* Removed left margin */
  margin-right: 0; /* Removed right margin */
}

.programs-container::-webkit-scrollbar {
  height: 12px;
  -webkit-appearance: none; /* Remove default styling */
}

.programs-container::-webkit-scrollbar-track {
  background: var(--border);
  border-radius: var(--radius-sm);
  -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.1); /* Force track visibility */
}

.programs-container::-webkit-scrollbar-thumb {
  background: var(--primary-green);
  border-radius: var(--radius-sm);
  -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.1);
}

.programs-container::-webkit-scrollbar-thumb:hover {
  background: #228b7d;
}

/* For Firefox - force scrollbar visibility */
@supports (scrollbar-width: auto) {
  .programs-container {
    scrollbar-width: auto;
    scrollbar-color: var(--primary-green) var(--border);
  }
}

.program-card {
  background: var(--white) !important;
  border-radius: var(--radius-xl) !important;
  padding: var(--space-6) !important;
  min-width: 280px !important;
  max-width: 280px !important;
  height: 450px !important;
  box-shadow: var(--shadow-sm) !important;
  border: 1px solid var(--border) !important;
  transition: all var(--transition-medium) !important;
  display: flex !important;
  flex-direction: column !important;
  flex-shrink: 0 !important;
  position: relative !important;
  flex: none !important;
  margin: var(--space-2);
}

.program-card:hover {
  transform: translateY(-6px) scale(1.03) !important;
  box-shadow: var(--shadow-xl) !important;
  border-color: var(--primary-green) !important;
  z-index: 10 !important;
}

.program-header {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
  align-items: center;
}

.program-badge {
  background: var(--primary-green-light);
  color: var(--white);
  padding: calc(var(--space-1) * 0.7) calc(var(--space-2) * 0.7);
  border-radius: var(--radius-md);
  font-size: calc(var(--text-xs) * 0.7);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  order: 1;
}

.program-badge.accelerator {
  background: var(--primary-green-light);
}

.program-badge.workshop {
  background: var(--secondary-orange);
}

.program-badge.partner {
  background: var(--secondary-yellow-light);
  color: var(--gray-900);
}

.program-logo {
  height: 100px;
  width: auto;
  max-width: 250px;
  object-fit: contain;
  order: 2;
}

.program-body {
  flex-grow: 1;
  margin-bottom: var(--space-5);
  overflow: hidden;
}

.program-body p {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  max-width: none;
  line-height: 1.4;
}

.program-cta {
  color: var(--white);
  padding: var(--space-3);
  border-radius: var(--radius-lg);
  text-decoration: none;
  text-align: center;
  font-weight: 600;
  font-size: var(--text-sm);
  transition: all var(--transition-medium);
  margin-top: auto;
  display: block;
  background: var(--primary-green-light);
}

.program-cta:hover {
  background: var(--primary-green);
  transform: translateY(-1px);
}

.scroll-hint {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--white);
  border: 1px solid var(--border);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-medium);
  z-index: 15;
  font-weight: 600;
  color: var(--text-secondary);
}

.scroll-hint:hover {
  background: var(--primary-green);
  color: var(--white);
}

.scroll-hint.left {
  left: var(--space-6);
}

.scroll-hint.right {
  right: var(--space-6);
}

/* Mobile styles */
@media (max-width: 768px) {
    .scroll-hint {
        width: 36px !important;
        height: 36px !important;
        font-size: 14px !important;
    }
    .scroll-hint.left {
        left: 5px !important;
    }
    .scroll-hint.right {
        right: 5px !important;
    }
}

/* ===== EDUCATION SECTION ===== */
.education-section {
  background: var(--surface);
  border-radius: var(--radius-xl);
  margin: var(--space-8) 0;
  padding: var(--space-12);
}

.education-wrapper {
  margin-top: var(--space-12);
}

.education-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
}

.education-image img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

.education-content h3 {
  color: var(--primary-green);
  margin-bottom: var(--space-6);
}

.education-features {
  list-style: none;
  margin: var(--space-6) 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3) var(--space-8);
}

.education-features li {
	list-style: none;
  padding: var(--space-2) 0;
  position: relative;
  padding-left: var(--space-5);
  color: var(--text-secondary);
  font-size: var(--text-base);
}

.education-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary-green);
  font-weight: 700;
}

/* ===== NEWS SECTION ===== */
.news-section {
  background: var(--white);
	display: flex; 
	justify-content: space-around; 
	align-items: center; 
}

.news-grid {
 display: flex;
	justify-content: center; 
	align-items: center; 
 flex-wrap: wrap;
 gap: var(--space-6);
 margin-top: var(--space-12);
}

.news-grid > * {
 flex: 1 1 320px;
 min-width: 320px;
}

.news-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 0;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all var(--transition-medium);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  margin: var(--space-3);
  position: relative;
  opacity: 0;
  transform: translateY(20px);
}

.news-card.fade-in {
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.news-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.news-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.news-image {
  width: calc(100% - var(--space-8));
  height: 180px;
  object-fit: cover;
  display: block;
  border-radius: var(--radius-lg);
  margin: var(--space-4) var(--space-4) var(--space-3);
}

.news-content {
  padding: 0 var(--space-8) var(--space-5);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.news-date {
  font-size: var(--text-xs) !important;
  color: var(--text-tertiary) !important;
  margin-bottom: var(--space-2) !important;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.news-card h3 {
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: var(--space-3);
  margin-top: var(--space-2);
  color: var(--text-primary);
  line-height: 1.4;
}

.news-card p {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.5;
  max-width: none;
  margin-bottom: var(--space-4);
  flex-grow: 1;
}

.news-link {
  margin-top: auto;
  padding: var(--space-2) 0;
  font-size: var(--text-sm);
  color: var(--primary-green);
  text-decoration: none;
  font-weight: 600;
  text-align: center;
  display: block;
}

.news-link:hover {
  color: var(--primary-green-dark);
}

/* ===== PARTNERS SECTION ===== */
.partners-section {
  background: var(--white);
  border-radius: var(--radius-xl);
  margin: var(--space-8) 0;
  padding: var(--space-12);
}

.partners-carousel-wrapper {
  position: relative;
  overflow: hidden;
  margin-top: var(--space-12);
}

.logo-slider {
  width: 100%;
  overflow: hidden;
}

.slider-track {
  display: flex;
  animation: scroll 30s linear infinite;
  gap: var(--space-8);
  width: calc(200% + var(--space-8));
}

.slider-track:hover,
.slider-track.paused {
  animation-play-state: paused;
}

.partner-logo {
  height: 50px;
  width: auto;
  object-fit: contain;
  transition: all var(--transition-medium);
  flex-shrink: 0;
}

.partner-logo:hover {
  transform: scale(1.05);
}

.partners-scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--white);
    border: 1px solid var(--border);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    font-weight: 600;
    color: var(--text-secondary);
}

.partners-scroll-btn.left {
    left: var(--space-6);
}

.partners-scroll-btn.right {
    right: var(--space-6);
}

.partners-scroll-btn:hover {
  background: var(--primary-green);
  color: var(--white);
}
@media (max-width: 768px) {
    .partners-scroll-btn {
        width: 36px !important;
        height: 36px !important;
        font-size: 14px !important;
        left: 10px !important;
    }
    .partners-scroll-btn.right {
        right: 10px !important;
    }
}

/* ===== CTA SECTIONS ===== */
.demo-cta-section, .cta-section, .partner-section {
  background: linear-gradient(135deg, var(--primary-green), var(--accent-navy));
  border-radius: var(--radius-2xl);
  margin: var(--space-8) 0;
  padding: var(--space-12) var(--space-8);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.demo-cta-section::before, .cta-section::before, .partner-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(247, 184, 1, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.demo-cta-content, .cta-content, .partner-content {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.demo-cta-section h2, .cta-section h2, .partner-section h2 {
  color: var(--white);
  margin-bottom: var(--space-4);
  font-size: var(--text-3xl);
}

.demo-cta-content p, .cta-section .section-subtitle, .partner-section p {
  color: rgba(255, 255, 255, 0.95);
  font-size: var(--text-lg);
  max-width: 50ch;
  margin: 0 auto; /* Changed from 0px 15px to 0 auto for centering */
  line-height: 1.6;
}

/* Specific styling for the bottom disclaimer text */
.cta-content p[style*="margin-top"] {
  margin: 1.5rem auto 0 auto; /* Ensure the disclaimer text is also centered */
  max-width: none; /* Allow it to take full width if needed */
  text-align: center;
}

.demo-cta-buttons, .cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  justify-content: center;
  margin-bottom: var(--space-6);
}

.demo-cta-section .cta-primary, .cta-section .cta-primary {
  background: var(--white);
  color: var(--primary-green);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.demo-cta-section .cta-primary:hover, .cta-section .cta-primary:hover {
  background: var(--gray-100);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.demo-cta-section .cta-secondary, .cta-section .cta-secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
}

.demo-cta-section .cta-secondary:hover, .cta-section .cta-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--white);
  transform: translateY(-2px) scale(1.02);
}

/* Mobile responsiveness for CTA sections */
@media (max-width: 768px) {
  .demo-cta-section, .cta-section, .partner-section {
    margin: var(--space-6) 0;
    padding: var(--space-8) var(--space-4);
  }
  
  .demo-cta-content p, .cta-section .section-subtitle, .partner-section p {
    font-size: var(--text-base);
    max-width: 100%;
    padding: 0 var(--space-2);
  }
  
  .demo-cta-buttons, .cta-buttons {
    flex-direction: column;
    align-items: center;
    gap: var(--space-3);
  }
  
  .demo-cta-buttons a, .cta-buttons a {
    width: 100%;
    max-width: 280px;
  }
}
.partner-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
  margin: var(--space-8) 0;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.partner-feature {
  text-align: center;
  padding: var(--space-4);
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all var(--transition-medium);
}

.partner-feature:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}

.partner-icon {
  font-size: var(--text-3xl);
  margin-bottom: var(--space-4);
  line-height: 1;
}

.partner-feature h4 {
  color: var(--white);
  margin-bottom: var(--space-3);
  font-size: var(--text-lg);
}

.partner-feature p {
  color: rgba(255, 255, 255, 0.9);
  font-size: var(--text-sm);
  max-width: none;
  margin: 0;
  line-height: 1.5;
}

/* ===== TESTIMONIALS ===== */
.testimonials-section {
  background: linear-gradient(135deg, var(--surface), rgba(41, 155, 142, 0.03));
  border-radius: var(--radius-2xl);
  margin: var(--space-8) 0;
  padding: var(--space-16) var(--space-12);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: var(--space-8);
  margin-top: var(--space-12);
  align-items: stretch;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all var(--transition-medium);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.testimonial-card:hover {
  box-shadow: var(--shadow-lg);
}

.testimonial-text {
  font-size: var(--text-lg);
  line-height: 1.7;
  color: var(--text-primary);
  font-style: italic;
  max-width: none;
  flex-grow: 1;
  margin-bottom: var(--space-8);
  position: relative;
}

.testimonial-text::before {
  content: '"';
  font-size: 4rem;
  color: var(--primary-green);
  font-family: Georgia, serif;
  position: absolute;
  top: -20px;
  left: -10px;
  line-height: 1;
  opacity: 0.3;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-top: auto;
  padding-top: var(--space-4);
  border-top: 1px solid var(--border);
}

.author-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-green), var(--primary-green-light));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: var(--text-lg);
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

.author-info {
  flex-grow: 1;
}

.author-info h4 {
  margin-bottom: var(--space-1);
  color: var(--text-primary);
  font-size: var(--text-base);
  font-weight: 600;
}

.author-info p {
  color: var(--text-tertiary);
  font-size: var(--text-sm);
  margin-bottom: 0;
  font-weight: 500;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
  .features-section,
  .sdg-section,
  .events-section,
  .programs-section,
  .education-section,
  .testimonials-section {
    padding: var(--space-8) var(--space-4);
  }
  
  .programs-carousel {
    padding: var(--space-4) var(--space-8);
  }
  
  .programs-container {
    margin-left: var(--space-2);
    margin-right: var(--space-2);
  }
  
  .program-card {
    min-width: 260px !important;
    max-width: 260px !important;
    height: 430px !important;
    margin: var(--space-1) !important;
  }
  
  .program-card:hover {
    transform: translateY(-3px) scale(1.01) !important;
  }
  
  .scroll-hint,
  .partners-scroll-btn {
    display: none;
  }
  
  .partner-logo {
    height: 40px;
  }
  
  .events-calendar-embed {
    height: 500px;
  }
  
  .sdg-grid {
    grid-template-columns: repeat(auto-fill, minmax(50px, 1fr));
  }
  
  .education-features {
    grid-template-columns: 1fr;
    gap: var(--space-3);
  }
  
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }
  
  .testimonial-card {
    padding: var(--space-6);
  }
  
  .news-section .section-header {
    text-align: center;
  }
  
  .news-section .section-title {
    text-align: center;
  }
  
  .news-section .section-subtitle {
    text-align: center;
    margin: 0 auto;
  }
  
  .news-content {
    padding: 0 var(--space-5) var(--space-4);
  }
  
  .demo-cta-section, .cta-section, .partner-section {
    padding: var(--space-8) var(--space-4);
  }
  
  .demo-cta-section h2, .cta-section h2, .partner-section h2 {
    font-size: var(--text-2xl);
  }
  
  .partner-features {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4);
  }
  
  .demo-cta-buttons, .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .demo-cta-buttons .cta-primary,
  .demo-cta-buttons .cta-secondary,
  .cta-buttons .cta-primary,
  .cta-buttons .cta-secondary {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }
  
  .cta-section .cta-content p:last-child,
  .cta-content p[style*="margin-top"] {
    white-space: normal !important;
    font-size: calc(var(--text-xs) * 0.9) !important;
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}

@media (max-width: 480px) {
  :root {
    --text-4xl: 2rem;
    --text-3xl: 1.5rem;
    --text-2xl: 1.25rem;
  }
  
  .cta-primary, .cta-secondary {
    width: 100%;
    justify-content: center;
  }
  
  .hero-cta-group {
    flex-direction: column;
  }
  
  .partner-features {
    grid-template-columns: 1fr;
  }
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: var(--animation-duration) !important;
    animation-iteration-count: 1 !important;
    transition-duration: var(--animation-duration) !important;
  }
  
  .slider-track {
    animation: none;
  }
  
  .hero-sunflower {
    animation: none;
  }
}

button:focus-visible, 
a:focus-visible, 
.cta-primary:focus-visible,
.cta-secondary:focus-visible {
  outline: 3px solid var(--secondary-yellow);
  outline-offset: 3px;
  border-radius: var(--radius-lg);
}

/* ===== UTILITY CLASSES ===== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-0 { margin-bottom: 0; }
.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-8 { margin-bottom: var(--space-8); }

.mt-0 { margin-top: 0; }
.mt-4 { margin-top: var(--space-4); }
.mt-6 { margin-top: var(--space-6); }
.mt-8 { margin-top: var(--space-8); }

/* ===== PRINT OPTIMIZATION ===== */
@media print {
  .hero-sunflower,
  .slider-track,
  .doughnut-diagram {
    animation-play-state: paused !important;
  }
  
  .events-calendar-embed {
    height: 200px;
  }
  
  .events-calendar-embed iframe {
    display: none;
  }
  
  .events-calendar-embed::after {
    content: "Visit https://lu.ma/bloom for live events calendar";
    display: flex;
    align-items: center;
    justify-content: center;
    height: 200px;
    font-size: var(--text-lg);
    color: var(--text-secondary);
  }
}