:root {
  --primary-color: #21B13F;
  --primary-dark: #1a8a31;
  --secondary-color: #56C76E;
  --text-dark: #1a1a1a;
  --text-light: #555555;
  --text-muted: #666666;
  --bg-light: #f5f5f5;
  --bg-white: #ffffff;
  --border-color: #e0e0e0;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 30px rgba(0,0,0,0.12);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --transition: all 0.3s ease;
  --font-main: 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-light);
  background: var(--bg-white);
  -webkit-font-smoothing: antialiased;
}

img, svg {
  max-width: 100%;
  height: auto;
  display: block;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-dark);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.75rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.5rem); }

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary-dark);
}

ul {
  list-style: none;
}

.section {
  padding: 80px 0;
}

.section.light {
  background-color: var(--bg-light);
}

.section-inner {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.section-inner.centered {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-header {
  margin-bottom: 48px;
}

.section-header.centered {
  text-align: center;
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
}

.section-label, .badge {
  display: inline-block;
  background-color: var(--primary-color);
  color: white;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.section-title {
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 650px;
  margin: 0 auto;
}

.cta-button, .button-outline {
  display: inline-block;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-weight: 600;
  text-align: center;
  transition: var(--transition);
  border: 2px solid transparent;
}

.cta-button {
  background-color: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

.cta-button:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  color: white;
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.button-outline {
  background-color: transparent;
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.button-outline:hover {
  background-color: var(--primary-color);
  color: white;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition);
}

.header.scrolled {
  box-shadow: var(--shadow-md);
  background: rgba(255,255,255,0.98);
}

.nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-dark);
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  font-weight: 500;
  color: var(--text-dark);
  padding: 8px 0;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  margin: 6px 0;
  transition: var(--transition);
}

/* Hero */
.page-hero {
  padding-top: 150px;
  padding-bottom: 80px;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 48px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.hero-copy h1 {
  margin-bottom: 24px;
}

.hero-copy p {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 550px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 32px;
}

.tag-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.tag-pills span {
  background: var(--bg-light);
  color: var(--text-muted);
  font-size: 0.9rem;
  padding: 6px 12px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.hero-visual img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
}

/* Stats */
.stats-highlight {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.highlight-list li {
    font-size: 1.1rem;
    padding-left: 28px;
    position: relative;
    margin-bottom: 20px;
}

.highlight-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary-color);
    font-weight: 700;
}

.stats-numbers {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 32px;
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
}
.stat-caption {
    font-size: 1rem;
    color: var(--text-muted);
}
/* Cards */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  width: 100%;
}

.card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.card-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.card-text {
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.card-meta {
  font-size: 0.85rem;
  color: var(--primary-color);
  margin-bottom: 20px;
  font-weight: 500;
}

.card-button {
  align-self: flex-start;
  padding: 12px 24px;
}

.card.value-card {
  text-align: center;
}

.card-image-top {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.course-page-grid .card {
    padding: 0;
}
.course-page-grid .card-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

/* Media Object */
.media-object {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 48px;
}
.media-object.reverse {
  grid-template-columns: 1fr 1fr;
}
.media-object.reverse .media-visual { order: -1; }

.media-copy ul {
    list-style: none;
    margin-top: 24px;
    margin-bottom: 32px;
}
.media-copy ul li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
}
.media-copy ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}
.media-visual img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

/* Timeline */
.timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    position: relative;
    margin-top: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 24px;
    left: 5%;
    right: 5%;
    height: 2px;
    background: var(--border-color);
    z-index: 0;
}
.timeline-step {
    text-align: center;
    position: relative;
}
.timeline-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 24px;
    border: 4px solid var(--bg-light);
    z-index: 1;
    position: relative;
}
.timeline-title {
    margin-bottom: 8px;
}

/* Forms */
.form-card {
    background: white;
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
}
.form-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.form-group-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-dark);
}
.form-control {
    width: 100%;
    padding: 14px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-family: var(--font-main);
    transition: var(--transition);
}
.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(33, 177, 63, 0.2);
}
textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.form-submit-button {
    align-self: flex-start;
}

/* Subpage Hero */
.subpage-hero {
    background: var(--bg-light);
    padding: 120px 0 60px;
    text-align: center;
}

/* Team Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}
.team-member-card {
    text-align: center;
}
.team-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 20px;
    border: 4px solid white;
    box-shadow: var(--shadow-md);
}
.team-name {
    margin-bottom: 4px;
}
.team-role {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 8px;
}
.team-bio {
    font-size: 0.9rem;
}

/* Contact Page */
.contact-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 48px;
}
.contact-heading {
    margin-bottom: 24px;
}
.contact-info-container {
    padding: 24px;
    background: var(--bg-light);
    border-radius: var(--radius-lg);
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}
.contact-info-item svg {
    color: var(--primary-color);
    flex-shrink: 0;
    margin-top: 3px;
}
.contact-info-item h4 {
    margin-bottom: 4px;
}
.contact-info-item p {
    margin: 0;
}
.map-section {
    padding: 0;
}
.map-section iframe {
    display: block;
    border: none;
}
/* Thank you page */
.thank-you-section {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.thank-you-content {
    text-align: center;
    max-width: 600px;
}
.thank-you-icon {
    width: 80px;
    height: 80px;
    color: var(--primary-color);
    margin: 0 auto 24px;
}
/* Legal Pages */
.legal-page .subpage-hero {
    padding-bottom: 40px;
}
.legal-content {
    max-width: 800px;
}
.legal-content h2 {
    margin-top: 40px;
    margin-bottom: 16px;
}
.legal-content h2:first-of-type {
    margin-top: 0;
}
.legal-content p, .legal-content ul {
    margin-bottom: 16px;
}
.legal-content ul {
    padding-left: 20px;
    list-style: disc;
}
.cookie-table-wrapper {
    overflow-x: auto;
}
.cookie-table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
}
.cookie-table th, .cookie-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}
.cookie-table th {
    background-color: var(--bg-light);
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: #a0a0a0;
    padding: 60px 0 30px;
    margin-top: 80px;
}
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}
.footer-brand {
    max-width: 280px;
}
.footer-logo {
    font-size: 1.75rem;
    font-weight: 700;
    color: white;
    margin-bottom: 16px;
    display: block;
}
.footer-description {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 20px;
}
.footer-heading {
    font-size: 1rem;
    font-weight: 600;
    color: white;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.footer-links li {
    margin-bottom: 12px;
}
.footer-links a, .footer-contact-item a {
    color: #a0a0a0;
    font-size: 0.9rem;
}
.footer-links a:hover, .footer-contact-item a:hover {
    color: white;
}
.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 0.9rem;
}
.footer-contact-item svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 3px;
    color: var(--primary-color);
}
.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}
.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}
.footer-social a:hover {
    background: var(--primary-color);
}
.footer-divider {
    height: 1px;
    background: rgba(255,255,255,0.1);
    margin: 30px 0;
}
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}
.footer-copyright {
    font-size: 0.85rem;
    color: #707070;
}
.footer-legal-links {
    display: flex;
    gap: 24px;
}
.footer-legal-links a {
    font-size: 0.85rem;
    color: #707070;
}
.footer-legal-links a:hover {
    color: white;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--text-dark);
    color: #e0e0e0;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    z-index: 1100;
    display: none;
}
.cookie-banner p {
    margin: 0;
}
.cookie-banner a {
    color: white;
    text-decoration: underline;
}
.cookie-buttons {
    display: flex;
    gap: 16px;
    flex-shrink: 0;
}
.cookie-buttons .button-outline {
    color: white;
    border-color: rgba(255,255,255,0.5);
}
.cookie-buttons .button-outline:hover {
    color: var(--text-dark);
    background: white;
    border-color: white;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-inner, .media-object, .stats-highlight {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .media-object.reverse .media-visual { order: 0; }
    .hero-copy p, .media-copy p {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-actions, .cta-buttons {
        justify-content: center;
    }
    .cards-grid, .team-grid, .timeline {
        grid-template-columns: repeat(2, 1fr);
    }
    .contact-layout {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .footer-brand {
        grid-column: 1 / -1;
        max-width: none;
        text-align: center;
    }
    .footer-social {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .nav-toggle { display: block; }
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        max-width: 300px;
        height: 100vh;
        background: white;
        flex-direction: column;
        padding: 100px 30px 30px;
        gap: 24px;
        box-shadow: var(--shadow-lg);
        transition: right 0.4s ease;
    }
    .nav-links.active {
        right: 0;
    }
    .page-hero {
        padding-top: 120px;
    }
    .tag-pills {
        justify-content: center;
    }
    .cookie-banner {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .cards-grid, .team-grid, .timeline, .stats-numbers {
        grid-template-columns: 1fr;
    }
    .form-group-grid {
        grid-template-columns: 1fr;
    }
    .timeline::before {
        display: none;
    }
    .hero-actions {
        flex-direction: column;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-bottom {
        flex-direction: column;
    }
    .footer-contact-item {
        justify-content: center;
        text-align: left;
    }
}