:root {
  --primary-color: #009639;
  --primary-dark: #007a2e;
  --accent-color: #FFC400;
  --secondary-accent-color: #FF8C00;
  --bg-light: #F5F5F5;
  --bg-white: #FFFFFF;
  --text-dark: #333333;
  --text-light: #666666;
  --border-color: #e0e0e0;
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.07), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --radius-md: 8px;
  --radius-lg: 16px;
  --transition: all 0.3s ease-in-out;
  --font-main: 'Roboto', sans-serif;
}

/* Base Styles & Typography */
*, *::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-dark);
  background-color: var(--bg-white);
  -webkit-font-smoothing: antialiased;
}

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

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

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

h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

h1 { font-size: clamp(2.5rem, 5vw, 3.5rem); }
h2 { font-size: clamp(2rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.5rem); }
h4 { font-size: 1.1rem; }

/* Layout */
.container {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.section {
  padding: 80px 0;
}

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

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px;
}

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

.section-title {
  font-weight: 900;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-light);
  line-height: 1.7;
}

.grid-2 { display: grid; gap: 30px; grid-template-columns: 1fr; }
.grid-3 { display: grid; gap: 30px; grid-template-columns: 1fr; }
.grid-4 { display: grid; gap: 24px; grid-template-columns: 1fr; }

@media (min-width: 768px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: 500;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--bg-white);
  border-color: var(--primary-color);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  color: var(--bg-white);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: transparent;
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-secondary:hover {
  background-color: var(--primary-color);
  color: var(--bg-white);
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1.1rem;
}

.btn-block {
    display: block;
    width: 100%;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.header.scrolled {
  box-shadow: var(--shadow-md);
}

.nav {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

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

.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-cta {
    display: none;
}

@media(min-width: 768px){
  .nav-cta {
    display: inline-flex;
  }
}

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

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

@media (max-width: 767px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background-color: var(--bg-white);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    transition: right 0.4s ease-in-out;
  }
  .nav-links.active {
    right: 0;
  }
  .nav-toggle {
    display: block;
  }
  .nav-cta {
    display: none;
  }
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 80vh;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  color: var(--bg-white);
  padding-top: 80px;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
}

.hero-content {
  position: relative;
  text-align: center;
  max-width: 800px;
}

.hero-title {
  color: var(--bg-white);
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-actions .btn-secondary {
    color: var(--bg-white);
    border-color: var(--bg-white);
}
.hero-actions .btn-secondary:hover {
    background-color: var(--bg-white);
    color: var(--primary-color);
}


/* Benefits Section */
.benefits-section {
    padding: 60px 0;
}
.benefit-card {
    text-align: center;
    padding: 20px;
}
.benefit-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    background-color: var(--primary-color);
    color: var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.benefit-icon svg {
    width: 32px;
    height: 32px;
}
.benefit-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}
.benefit-text {
    color: var(--text-light);
}

/* Cards */
.card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

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

.card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card-body {
  padding: 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.card-meta{
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}
.card-title {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

.card-text {
  color: var(--text-light);
  margin-bottom: 1rem;
  flex-grow: 1;
}

.card-button {
  margin-top: auto;
  align-self: flex-start;
  padding: 10px 20px;
  background: transparent;
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
  font-weight: 500;
  border-radius: var(--radius-md);
}

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

/* Media Object */
.media-object {
    display: grid;
    gap: 40px;
    align-items: center;
}
@media (min-width: 768px) {
    .media-object {
        grid-template-columns: 1fr 1fr;
    }
}
.media-image {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    width: 100%;
    height: auto;
    max-height: 450px;
    object-fit: cover;
}
.checklist {
    list-style: none;
    margin: 1.5rem 0;
}
.checklist li {
    padding-left: 28px;
    position: relative;
    margin-bottom: 0.75rem;
}
.checklist li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary-color);
    font-weight: 700;
}

/* Testimonials */
.testimonial-card {
    background: var(--bg-white);
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
}
.testimonial-text {
    font-style: italic;
    color: var(--text-light);
    flex-grow: 1;
    margin-bottom: 1.5rem;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: auto;
}
.avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}
.author-name {
    margin-bottom: 0.25rem;
}
.author-title {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* CTA Section */
.cta-section {
    background-color: var(--primary-color);
    color: var(--bg-white);
    padding: 60px 0;
}
.cta-content {
    display: grid;
    gap: 40px;
    align-items: center;
}
@media (min-width: 992px) {
    .cta-content { grid-template-columns: 1fr 1fr; }
}
.cta-content .section-title,
.cta-content .section-subtitle {
    color: var(--bg-white);
}
.cta-form-container {
    background: var(--bg-white);
    padding: 30px;
    border-radius: var(--radius-lg);
}
.form-privacy-notice {
    font-size: 0.8rem;
    color: var(--text-light);
    text-align: center;
    margin-top: 1rem;
}
.form-privacy-notice a {
    color: var(--primary-color);
    text-decoration: underline;
}
.form-control {
    width: 100%;
    padding: 14px;
    font-size: 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
}
.form-label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

/* Footer */
.footer {
  background-color: #1a1a1a;
  color: #a0a0a0;
  padding: 60px 0 30px;
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  gap: 40px;
  margin-bottom: 40px;
}
@media (min-width: 576px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 992px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.5fr; } }


.footer-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--bg-white);
  margin-bottom: 1rem;
  display: inline-block;
}

.footer-description { margin-bottom: 1rem; }

.footer-heading {
  font-size: 1rem;
  font-weight: 600;
  color: var(--bg-white);
  margin-bottom: 1.5rem;
}

.footer-links, .footer-contact {
  list-style: none;
}

.footer-links li, .footer-contact li {
  margin-bottom: 0.75rem;
}

.footer-links a, .footer-contact a {
  color: #a0a0a0;
}

.footer-links a:hover, .footer-contact a:hover {
  color: var(--bg-white);
}
.footer-contact li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}
.footer-contact svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 3px;
    color: var(--primary-color);
}

.footer-bottom {
  border-top: 1px solid #333;
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-social {
  display: flex;
  gap: 15px;
}

.footer-social a {
  color: #a0a0a0;
  display: block;
}
.footer-social a:hover {
    color: var(--bg-white);
}
.footer-social svg {
  width: 24px;
  height: 24px;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #1a1a1a;
  color: var(--bg-white);
  padding: 20px;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  z-index: 2000;
  flex-wrap: wrap;
}

.cookie-banner p { margin: 0; }
.cookie-banner a { color: var(--accent-color); text-decoration: underline; }
.cookie-buttons { display: flex; gap: 10px; }


/* About Page */
.page-header-section {
    background-color: var(--bg-light);
    text-align: center;
    padding: 120px 0 80px;
}
.values-section .value-card {
    background-color: var(--bg-white);
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    text-align: center;
}
.values-section .value-card p {
    color: var(--text-light);
}

.team-card {
    text-align: center;
}
.team-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1.5rem;
    box-shadow: var(--shadow-md);
}
.team-name {
    margin-bottom: 0.25rem;
}
.team-title {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 0.5rem;
}
.team-bio {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Services page */
.course-filters {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}
.course-filters select {
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background-color: var(--bg-white);
    font-family: var(--font-main);
    font-size: 1rem;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}
.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background-color: var(--primary-color);
    top: 0;
    bottom: 0;
    left: 30px;
    margin-left: -2px;
}
.timeline-item {
    padding: 10px 40px 30px 80px;
    position: relative;
}
.timeline-number {
    position: absolute;
    width: 60px;
    height: 60px;
    left: 0;
    background-color: var(--bg-white);
    border: 4px solid var(--primary-color);
    top: 0;
    border-radius: 50%;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}
.timeline-content p {
    color: var(--text-light);
}

/* Contact Page */
.contact-grid {
    display: grid;
    gap: 40px;
}
@media (min-width: 992px) {
    .contact-grid { grid-template-columns: 1fr 1.2fr; }
}
.contact-heading {
    margin-bottom: 2rem;
}
.contact-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}
.contact-item-icon {
    background-color: var(--primary-color);
    color: var(--bg-white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.contact-item-icon svg {
    width: 20px;
    height: 20px;
}
.contact-item h4 {
    margin-bottom: 0.25rem;
}
.contact-item p, .contact-item a {
    color: var(--text-light);
}
.contact-item a:hover {
    color: var(--primary-color);
}
.contact-form-container {
    background-color: var(--bg-light);
    padding: 30px;
    border-radius: var(--radius-lg);
}
.form-group-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1rem;
}
.form-group-checkbox label {
    font-size: 0.9rem;
    color: var(--text-light);
}
.form-group-checkbox a{
    text-decoration: underline;
}

.map-section {
    padding-bottom: 0;
}
.map-container {
    height: 500px;
    background-color: var(--bg-light);
}

/* Thank You Page */
.thank-you-section {
    text-align: center;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.thank-you-icon {
    color: var(--primary-color);
    margin-bottom: 2rem;
}
.thank-you-icon svg {
    width: 80px;
    height: 80px;
    margin: 0 auto;
}

/* Legal Pages */
.legal-page {
    padding-top: 120px;
}
.legal-page .container {
    max-width: 800px;
}
.legal-page h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}
.legal-page p, .legal-page li {
    color: var(--text-light);
    margin-bottom: 1rem;
}
.legal-page ul {
    padding-left: 20px;
}
.table-container{
    overflow-x: auto;
}
.legal-page table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
}
.legal-page th, .legal-page td {
    border: 1px solid var(--border-color);
    padding: 12px;
    text-align: left;
}
.legal-page th {
    background-color: var(--bg-light);
}