:root {
  /* Color Palette from Style Guide */
  --primary-500: #4A90E2;
  --primary-700: #357ABD;
  --primary-100: #D9E8FB;
  
  --secondary-500: #F5A623;
  --secondary-100: #FDEBC9;

  --neutral-900: #212121;
  --neutral-700: #616161;
  --neutral-500: #BDBDBD;
  --neutral-100: #F5F5F5;
  --white: #FFFFFF;

  /* Spacing */
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-xxl: 48px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Roboto', sans-serif;
  color: var(--neutral-900);
  background-color: var(--neutral-100);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Typography */
h1, h2, h3 {
  margin: 0;
  font-weight: 500;
}

h1 {
  font-size: 3rem; /* ~48px */
  line-height: 1.2;
}

h2 {
  font-size: 2rem; /* ~32px */
  margin-bottom: var(--space-md);
  color: var(--primary-700);
}

p {
  font-size: 1rem; /* 16px */
  color: var(--neutral-700);
  margin-bottom: var(--space-lg);
}

/* Layout */
.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
  position: relative;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-700) 100%);
  color: var(--white);
  padding: 100px 0 160px; /* Extra padding for overlap */
  text-align: center;
  margin-bottom: var(--space-xxl);
  clip-path: ellipse(150% 100% at 50% 0%);
  position: relative;
  overflow: hidden;
}

/* Decorative shapes in hero */
.hero::before {
  content: '';
  position: absolute;
  top: -50px;
  left: -50px;
  width: 300px;
  height: 300px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 50px;
  right: -20px;
  width: 200px;
  height: 200px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
}

.hero h1 {
  margin-bottom: var(--space-md);
  position: relative;
  z-index: 1;
}

.hero p {
  color: var(--primary-100);
  font-size: 1.25rem;
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* Content Sections */
.section {
  margin-bottom: 100px;
}

.mission-card {
  background: var(--white);
  border-left: 8px solid var(--secondary-500);
  padding: var(--space-xl);
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--neutral-900);
  margin-top: -100px; /* Overlap with hero */
  position: relative;
  z-index: 10;
}

.mission-card p {
  margin: 0;
  color: var(--neutral-900);
  font-style: italic;
}

/* Modules Grid */
.modules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

.module-card {
  background: var(--white);
  border-radius: 16px;
  padding: var(--space-lg);
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
  border: 1px solid var(--neutral-100);
  border-top: 6px solid var(--primary-500);
  position: relative;
  overflow: hidden;
}

.module-card:nth-child(even) {
  border-top-color: var(--secondary-500);
}

.module-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

/* Decorative circle in card */
.module-card::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(0,0,0,0.03) 0%, rgba(255,255,255,0) 70%);
  border-radius: 50%;
  transition: transform 0.4s ease;
}

.module-card:hover::before {
  transform: scale(1.5);
}

.module-card h3 {
  font-size: 1.2rem;
  color: var(--neutral-900);
  margin-bottom: var(--space-sm);
  font-weight: 700;
}

.module-card p {
  font-size: 0.95rem;
  margin-bottom: 0;
  color: var(--neutral-700);
}

/* Footer */
footer {
  background-color: var(--neutral-900);
  color: var(--neutral-500);
  padding: var(--space-xl) 0;
  text-align: center;
  font-size: 0.9rem;
  margin-top: auto;
}

/* Responsive */
@media (max-width: 768px) {
  h1 { font-size: 2.2rem; }
  .hero { padding: 60px 0; }
  .container { padding: 0 var(--space-md); }
}

/* CTA Button */
.cta-button {
    display: inline-block;
    background-color: var(--secondary-500);
    color: var(--neutral-900);
    padding: 12px 32px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    margin-top: var(--space-lg);
    transition: transform 0.2s, box-shadow 0.2s;
}
.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(245, 166, 35, 0.4);
}
