﻿* {
  box-sizing: border-box;
}

:root {
  --primary-color: #1a5f3f;
  --secondary-color: #f4c430;
  --accent-color: #1e3a8a;
  --text-color: #2d3748;
  --bg-color: #f7fdf9;
  --bg-secondary: #e8f5e8;
  --dark-bg: #1a202c;
  --light-text: #ffffff;
  --muted-text: #6b7280;
  --success-color: #10b981;
  --warning-color: #f59e0b;
  --danger-color: #ef4444;
  --border-color: #d1d5db;
}

body {
  margin: 0;
  font-family: 'Nunito Sans', sans-serif;
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--bg-color);
}

h1, h2, h3, h4, h5, h6 {
  margin-top: 0;
  margin-bottom: 0;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text-color);
}

h1 { font-size: calc(2.5rem + 1.5vw); }
h2 { font-size: calc(1.425rem + 1.1vw); }
h3 { font-size: calc(1.375rem + .8vw); }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.375rem; }
h6 { font-size: 1.125rem; }

p {
  margin-top: 0;
  margin-bottom: 1.25rem;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--accent-color);
  transform: translateY(-1px);
}

img {
  vertical-align: middle;
  max-width: 100%;
  height: auto;
}

.display-3 {
  font-size: calc(1.675rem + 4.2vw);
  font-weight: 700;
  line-height: 1.15;
}

.display-5 {
  font-size: calc(1.525rem + 2.4vw);
  font-weight: 600;
  line-height: 1.15;
}

.container {
  width: 100%;
  padding-right: 1rem;
  padding-left: 1rem;
  margin-right: auto;
  margin-left: auto;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin-right: -1rem;
  margin-left: -1rem;
}

.row > * {
  flex-shrink: 0;
  width: 100%;
  max-width: 100%;
  padding-right: 1rem;
  padding-left: 1rem;
}

.col-1 { flex: 0 0 auto; width: 8.33333333%; }
.col-2 { flex: 0 0 auto; width: 16.66666667%; }
.col-3 { flex: 0 0 auto; width: 25%; }
.col-4 { flex: 0 0 auto; width: 33.33333333%; }
.col-5 { flex: 0 0 auto; width: 41.66666667%; }
.col-6 { flex: 0 0 auto; width: 50%; }
.col-7 { flex: 0 0 auto; width: 58.33333333%; }
.col-8 { flex: 0 0 auto; width: 66.66666667%; }
.col-9 { flex: 0 0 auto; width: 75%; }
.col-10 { flex: 0 0 auto; width: 83.33333333%; }
.col-11 { flex: 0 0 auto; width: 91.66666667%; }
.col-12 { flex: 0 0 auto; width: 100%; }

.btn {
  display: inline-block;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  cursor: pointer;
  user-select: none;
  border: 2px solid transparent;
  padding: .925rem 1.375rem;
  font-size: 1.0625rem;
  border-radius: 0.75rem;
  transition: all 0.3s ease;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}

.btn:hover::before {
  left: 100%;
}

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

.btn-primary:hover {
  background-color: #145239;
  border-color: #145239;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(26, 95, 63, 0.3);
}

.btn-accent {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
  color: var(--text-color);
  font-weight: 700;
}

.btn-accent:hover {
  background-color: #e6b429;
  border-color: #e6b429;
  color: var(--text-color);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(244, 196, 48, 0.4);
}

.btn-outline-light {
  border-color: rgba(255,255,255,0.5);
  color: white;
}

.btn-outline-light:hover {
  background-color: white;
  border-color: white;
  color: var(--primary-color);
}

.btn-lg {
  padding: 1.125rem 2rem;
  font-size: 1.125rem;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.form-control, .form-select {
  display: block;
  width: 100%;
  padding: 0.925rem 1.375rem;
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.3;
  color: var(--text-color);
  background-color: white;
  border: 2px solid var(--border-color);
  border-radius: 0.75rem;
  transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
  outline: 0;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.3rem rgba(26, 95, 63, 0.1);
  transform: translateY(-1px);
}

.form-label {
  margin-bottom: 0.75rem;
  display: inline-block;
  font-weight: 600;
  color: var(--text-color);
}

.form-check-input {
  width: 1.75rem;
  height: 1.75rem;
  margin-top: 0;
  margin-right: 0.75rem;
  vertical-align: top;
  background-color: white;
  border: 2px solid var(--border-color);
  border-radius: 0.375rem;
  appearance: none;
  transition: all 0.3s ease;
}

.form-check-input:checked {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  background: rgba(26, 95, 63, 0.95);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.navbar-brand {
  font-size: 1.5rem;
  font-weight: 700;
  color: white !important;
  text-decoration: none;
}

.navbar-nav {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  color: rgba(255,255,255,0.8) !important;
  padding: 0.5rem 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: var(--secondary-color) !important;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: var(--secondary-color);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 80%;
}

.hero-section {
  min-height: 100vh;
  background: linear-gradient(135deg, rgba(26, 95, 63, 0.8), rgba(30, 58, 138, 0.7)), url('../snaps/4y68x1.webp');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  position: relative;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(26, 95, 63, 0.9), rgba(30, 58, 138, 0.8));
}

.hero-content {
  position: relative;
  z-index: 2;
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  font-size: 2rem;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  left: 0;
  top: 0;
}

.course-card {
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.course-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(26, 95, 63, 0.1);
  border-color: var(--primary-color);
}

.course-icon {
  font-size: 3rem;
  color: var(--primary-color);
}

.benefit-icon {
  width: 24px;
  height: 24px;
  background-color: var(--success-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.875rem;
}

.stats-card {
  background: linear-gradient(135deg, var(--bg-secondary), white);
  border-left: 5px solid var(--primary-color);
}

.stat-number {
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cta-section {
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: movePattern 20s linear infinite;
}

@keyframes movePattern {
  0% { transform: translate(0, 0); }
  100% { transform: translate(50px, 50px); }
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.25rem;
}

.contact-form {
  box-shadow: 0 10px 30px rgba(26, 95, 63, 0.1);
  border-left: 5px solid var(--primary-color);
}

.footer {
  background: linear-gradient(135deg, #1a202c, #2d3748);
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: rgba(255,255,255,0.7);
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: var(--secondary-color);
  padding-left: 5px;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--dark-bg);
  color: white;
  padding: 1rem 0;
  z-index: 1001;
  border-top: 3px solid var(--secondary-color);
}

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

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

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

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

.text-primary {
  color: var(--primary-color) !important;
}

.text-accent {
  color: var(--secondary-color) !important;
}

.text-muted {
  color: var(--muted-text) !important;
}

.text-success {
  color: var(--success-color) !important;
}

.text-white {
  color: white !important;
}

.text-light {
  color: rgba(255,255,255,0.8) !important;
}

.d-flex { display: flex !important; }
.d-block { display: block !important; }
.d-inline-block { display: inline-block !important; }
.d-none { display: none !important; }

.position-relative { position: relative !important; }
.position-absolute { position: absolute !important; }
.position-fixed { position: fixed !important; }

.w-100 { width: 100% !important; }
.h-100 { height: 100% !important; }

.flex-column { flex-direction: column !important; }
.flex-wrap { flex-wrap: wrap !important; }
.justify-content-center { justify-content: center !important; }
.justify-content-between { justify-content: space-between !important; }
.align-items-center { align-items: center !important; }

.text-center { text-align: center !important; }
.text-start { text-align: left !important; }
.text-end { text-align: right !important; }

.fw-bold { font-weight: 700 !important; }
.fw-normal { font-weight: 400 !important; }

.opacity-25 { opacity: 0.25 !important; }
.opacity-50 { opacity: 0.5 !important; }
.opacity-75 { opacity: 0.75 !important; }
.opacity-90 { opacity: 0.9 !important; }

.rounded { border-radius: 0.75rem !important; }
.rounded-2 { border-radius: 1rem !important; }

.gap-3 { gap: 1rem !important; }

.m-0 { margin: 0 !important; }
.m-4 { margin: 1.25rem !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-2 { margin-bottom: 0.75rem !important; }
.mb-3 { margin-bottom: 1rem !important; }
.mb-4 { margin-bottom: 1.25rem !important; }
.mb-5 { margin-bottom: 1.5rem !important; }
.mb-6 { margin-bottom: 1.75rem !important; }
.mb-7 { margin-bottom: 2rem !important; }
.mb-8 { margin-bottom: 2.25rem !important; }
.mb-9 { margin-bottom: 2.5rem !important; }
.mb-16 { margin-bottom: 4rem !important; }
.mt-4 { margin-top: 1.25rem !important; }
.mt-6 { margin-top: 1.75rem !important; }
.mt-8 { margin-top: 2.25rem !important; }
.me-2 { margin-right: 0.75rem !important; }
.me-3 { margin-right: 1rem !important; }
.me-4 { margin-right: 1.25rem !important; }
.ms-auto { margin-left: auto !important; }
.my-6 { margin-top: 1.75rem !important; margin-bottom: 1.75rem !important; }

.p-7 { padding: 2rem !important; }
.p-8 { padding: 2.25rem !important; }
.px-5 { padding-left: 1.5rem !important; padding-right: 1.5rem !important; }
.py-3 { padding-top: 1rem !important; padding-bottom: 1rem !important; }
.py-8 { padding-top: 2.25rem !important; padding-bottom: 2.25rem !important; }
.py-10 { padding-top: 2.75rem !important; padding-bottom: 2.75rem !important; }
.py-11 { padding-top: 3rem !important; padding-bottom: 3rem !important; }
.ps-13 { padding-left: 3.75rem !important; }

.fs-1 { font-size: 1.625rem !important; }
.fs-2 { font-size: 1.4375rem !important; }
.fs-3 { font-size: 1.3125rem !important; }

.list-unstyled {
  padding-left: 0;
  list-style: none;
}

@media (min-width: 576px) {
  .container { max-width: 560px; }
}

@media (min-width: 768px) {
  .container { max-width: 740px; }
  .col-md-3 { flex: 0 0 auto; width: 25%; }
  .col-md-4 { flex: 0 0 auto; width: 33.33333333%; }
  .col-md-5 { flex: 0 0 auto; width: 41.66666667%; }
  .col-md-6 { flex: 0 0 auto; width: 50%; }
  .col-md-7 { flex: 0 0 auto; width: 58.33333333%; }
  .col-md-8 { flex: 0 0 auto; width: 66.66666667%; }
  .col-md-9 { flex: 0 0 auto; width: 75%; }
  .col-md-10 { flex: 0 0 auto; width: 83.33333333%; }
  .col-md-11 { flex: 0 0 auto; width: 91.66666667%; }
  
  .flex-md-row { flex-direction: row !important; }
  .text-md-start { text-align: left !important; }
  .text-md-end { text-align: right !important; }
  .mb-md-0 { margin-bottom: 0 !important; }
  .py-md-21 { padding-top: 5.5rem !important; padding-bottom: 5.5rem !important; }
  .py-md-20 { padding-top: 5rem !important; padding-bottom: 5rem !important; }
  
  .navbar-nav {
    flex-direction: row;
  }
}

@media (min-width: 992px) {
  .container { max-width: 980px; }
  .col-lg-2 { flex: 0 0 auto; width: 16.66666667%; }
  .col-lg-3 { flex: 0 0 auto; width: 25%; }
  .col-lg-4 { flex: 0 0 auto; width: 33.33333333%; }
  .col-lg-5 { flex: 0 0 auto; width: 41.66666667%; }
  .col-lg-6 { flex: 0 0 auto; width: 50%; }
  .col-lg-7 { flex: 0 0 auto; width: 58.33333333%; }
  .col-lg-8 { flex: 0 0 auto; width: 66.66666667%; }
  .col-lg-9 { flex: 0 0 auto; width: 75%; }
  .col-lg-10 { flex: 0 0 auto; width: 83.33333333%; }
  
  .mb-lg-0 { margin-bottom: 0 !important; }
  .mb-lg-13 { margin-bottom: 3.75rem !important; }
  .py-lg-21 { padding-top: 5.5rem !important; padding-bottom: 5.5rem !important; }
  
  h2 { font-size: 2.125rem; }
  h3 { font-size: 1.875rem; }
  .display-3 { font-size: 4.75rem; }
  .display-5 { font-size: 3.25rem; }
}

@media (min-width: 1200px) {
  .container { max-width: 1160px; }
  .col-xl-5 { flex: 0 0 auto; width: 41.66666667%; }
  .col-xl-6 { flex: 0 0 auto; width: 50%; }
  .col-xl-7 { flex: 0 0 auto; width: 58.33333333%; }
  .col-xl-8 { flex: 0 0 auto; width: 66.66666667%; }
}

@media (min-width: 1400px) {
  .container { max-width: 1340px; }
  .col-xxl-4 { flex: 0 0 auto; width: 33.33333333%; }
  .col-xxl-5 { flex: 0 0 auto; width: 41.66666667%; }
  .col-xxl-6 { flex: 0 0 auto; width: 50%; }
  .col-xxl-7 { flex: 0 0 auto; width: 58.33333333%; }
}

@media (max-width: 768px) {
  .hero-section {
    background-attachment: scroll;
  }
  
  .navbar-toggler {
    background: none;
    border: 2px solid rgba(255,255,255,0.3);
    padding: 0.5rem;
    border-radius: 0.5rem;
  }
  
  .navbar-toggler-icon {
    width: 1.5em;
    height: 1.5em;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  }
  
  .navbar-collapse {
    background: rgba(26, 95, 63, 0.98);
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 0.75rem;
  }
  
  .navbar-nav {
    flex-direction: column;
  }
  
  .nav-link {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  
  .nav-link:last-child {
    border-bottom: none;
  }
}

.collapse:not(.show) {
  display: none;
}

.navbar-expand-lg .navbar-collapse {
  display: flex !important;
}

@media (max-width: 991.98px) {
  .navbar-expand-lg .navbar-collapse {
    display: none;
  }
  
  .navbar-expand-lg .navbar-collapse.show {
    display: block !important;
  }
}