:root {
  /* Основная монохромная палитра */
  --primary-color: #2b3d4f;
  --primary-light: #3e5267;
  --primary-dark: #192633;
  --primary-bg: #f7f9fc;
  --secondary-bg: #e9ecf2;
  
  /* Акцентные оттенки */
  --accent-color: #4a6b8a;
  --accent-light: #698baa;
  --accent-dark: #355270;
  
  /* Нейтральные оттенки */
  --text-dark: #212529;
  --text-medium: #495057;
  --text-light: #6c757d;
  --text-white: #ffffff;
  
  /* Функциональные цвета */
  --success: #4c9f70;
  --error: #e05263;
  --warning: #f0ad4e;
  --info: #56a3f5;
  
  /* Тени */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.1);
  
  /* Радиусы */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  
  /* Переходы */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  /* Размеры */
  --container-width: 1200px;
  --header-height: 80px;
}

/* Базовые стили */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--text-medium);
  line-height: 1.6;
  background-color: var(--primary-bg);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 1rem;
  line-height: 1.3;
}

h1 {
  font-size: 3.5rem;
}

h2 {
  font-size: 2.5rem;
}

h3 {
  font-size: 1.75rem;
}

h4 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1.5rem;
}

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

a:hover {
  color: var(--accent-dark);
  text-decoration: underline;
}

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

.container {
  max-width: var(--container-width);
  width: 90%;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Секционный заголовок */
.section-title {
  text-align: center;
  margin-bottom: 0.5rem;
  position: relative;
  font-weight: 700;
  color: var(--primary-color);
}

.section-title::after {
  content: '';
  position: absolute;
  width: 60px;
  height: 3px;
  background-color: var(--accent-color);
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
}

.section-subtitle {
  text-align: center;
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 3rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Кнопки */
.btn {
  display: inline-block;
  padding: 0.8rem 1.8rem;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 500;
  font-size: 1rem;
  text-align: center;
  text-decoration: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-normal);
  border: none;
  outline: none;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.1);
  transition: width var(--transition-normal);
  z-index: -1;
}

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

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

.btn-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  text-decoration: none;
  color: white;
}

.btn-secondary {
  background-color: var(--accent-color);
  color: white;
}

.btn-secondary:hover {
  background-color: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  text-decoration: none;
  color: white;
}

button, input[type="submit"] {
  cursor: pointer;
  font-family: 'Space Grotesk', sans-serif;
  transition: all var(--transition-normal);
}

/* Хедер */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  z-index: 1000;
  padding: 1rem 0;
  transition: all var(--transition-normal);
}

.header.scrolled {
  padding: 0.7rem 0;
  box-shadow: var(--shadow-md);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo a {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--primary-color);
  text-decoration: none;
}

.logo a:hover {
  text-decoration: none;
}

.nav-menu ul {
  display: flex;
  list-style: none;
}

.nav-menu li {
  margin-left: 1.5rem;
}

.nav-menu a {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 500;
  color: var(--text-medium);
  text-decoration: none;
  transition: all var(--transition-normal);
  position: relative;
  padding: 0.5rem 0;
}

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

.nav-menu a:hover {
  color: var(--primary-color);
  text-decoration: none;
}

.nav-menu a:hover::after {
  width: 100%;
}

.burger-menu {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
}

.burger-menu span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--primary-color);
  transition: all var(--transition-normal);
}

/* Секция Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 6rem 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--text-white);
  margin-top: var(--header-height);
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.hero-content h1 {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  color: var(--text-white);
  line-height: 1.1;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content p {
  font-size: 1.5rem;
  margin-bottom: 2.5rem;
  color: var(--text-white);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
}

.hero-stats {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-white);
  font-family: 'Space Grotesk', sans-serif;
}

.stat-text {
  font-size: 1rem;
  color: var(--text-white);
  opacity: 0.9;
}

.particles-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

/* Services Section */
.services {
  padding: 6rem 0;
  background-color: var(--primary-bg);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

.card {
  background-color: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.card-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
  position: relative;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.card:hover .card-image img {
  transform: scale(1.05);
}

.card-content {
  padding: 2rem;
  text-align: center;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.card-content h3 {
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.card-content p {
  color: var(--text-medium);
  margin-bottom: 1.5rem;
}

/* Insights/Timeline Section */
.insights {
  padding: 6rem 0;
  background-color: var(--secondary-bg);
}

.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 0;
}

.timeline::before {
  content: '';
  position: absolute;
  width: 2px;
  background-color: var(--primary-color);
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  margin-bottom: 3rem;
  width: 100%;
}

.timeline-item:nth-child(odd) {
  padding-right: calc(50% + 2rem);
}

.timeline-item:nth-child(even) {
  padding-left: calc(50% + 2rem);
}

.timeline-dot {
  position: absolute;
  width: 20px;
  height: 20px;
  background-color: var(--accent-color);
  border-radius: 50%;
  top: 15px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  box-shadow: var(--shadow-md);
}

.timeline-content {
  padding: 1.5rem;
  background-color: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  position: relative;
}

.timeline-content::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  background-color: white;
  top: 15px;
  transform: rotate(45deg);
  box-shadow: var(--shadow-sm);
  z-index: -1;
}

.timeline-item:nth-child(odd) .timeline-content::after {
  right: -10px;
}

.timeline-item:nth-child(even) .timeline-content::after {
  left: -10px;
}

.timeline-content h3 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.timeline-date {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 1rem;
}

/* Instructors Section */
.instructors {
  padding: 6rem 0;
  background-color: var(--primary-bg);
}

.instructors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

.position {
  font-size: 1.1rem;
  color: var(--accent-color);
  font-weight: 500;
  margin-bottom: 1rem;
}

/* Testimonials Section */
.testimonials {
  padding: 6rem 0;
  background-color: var(--secondary-bg);
}

.testimonial-carousel {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.carousel-container {
  overflow: hidden;
  position: relative;
  margin-bottom: 2rem;
  border-radius: var(--radius-lg);
}

.carousel-track {
  display: flex;
  transition: transform var(--transition-slow);
}

.testimonial-item {
  min-width: 100%;
  padding: 0 1rem;
}

.testimonial-content {
  background-color: white;
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  position: relative;
  text-align: center;
}

.testimonial-content::before {
  content: """;
  position: absolute;
  top: 0;
  left: 2rem;
  font-size: 6rem;
  color: var(--accent-light);
  opacity: 0.2;
  line-height: 1;
  font-family: Georgia, serif;
}

.testimonial-content p {
  font-style: italic;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.testimonial-author img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: var(--shadow-sm);
}

.author-info {
  text-align: left;
}

.author-info h4 {
  margin-bottom: 0.2rem;
  color: var(--primary-color);
}

.author-info p {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 0;
}

.carousel-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

.carousel-dots {
  display: flex;
  gap: 0.5rem;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--text-light);
  opacity: 0.5;
  transition: all var(--transition-normal);
  cursor: pointer;
}

.carousel-dot.active {
  opacity: 1;
  background-color: var(--accent-color);
  transform: scale(1.2);
}

.prev-btn, .next-btn {
  background-color: transparent;
  border: 2px solid var(--accent-color);
  color: var(--accent-color);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-normal);
  font-size: 1.2rem;
}

.prev-btn:hover, .next-btn:hover {
  background-color: var(--accent-color);
  color: white;
}

/* Resources Section */
.resources {
  padding: 6rem 0;
  background-color: var(--primary-bg);
}

.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 2rem;
}

.resource-item {
  background-color: white;
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.resource-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.resource-item h3 {
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.resource-item ul {
  list-style: none;
  padding: 0;
}

.resource-item li {
  margin-bottom: 0.7rem;
}

.resource-item a {
  color: var(--accent-color);
  transition: color var(--transition-normal);
  display: inline-block;
  position: relative;
}

.resource-item a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 1px;
  bottom: -2px;
  left: 0;
  background-color: var(--accent-dark);
  transition: width var(--transition-normal);
}

.resource-item a:hover {
  color: var(--accent-dark);
}

.resource-item a:hover::after {
  width: 100%;
}

/* Portfolio Section */
.portfolio {
  padding: 6rem 0;
  background-color: var(--secondary-bg);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2.5rem;
}

/* Media Section */
.media {
  padding: 6rem 0;
  background-color: var(--primary-bg);
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2.5rem;
}

/* Events Calendar Section */
.events-calendar {
  padding: 6rem 0;
  background-color: var(--secondary-bg);
}

.events-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.event-item {
  background-color: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  display: flex;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.event-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.event-date {
  background-color: var(--primary-color);
  color: white;
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  text-align: center;
}

.day {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
  font-family: 'Space Grotesk', sans-serif;
}

.month {
  font-size: 1.2rem;
  text-transform: uppercase;
  font-family: 'Space Grotesk', sans-serif;
}

.event-content {
  padding: 2rem;
  flex-grow: 1;
}

.event-content h3 {
  margin-bottom: 0.5rem;
}

.event-time, .event-location {
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

/* Contact Section */
.contact {
  padding: 6rem 0;
  background-color: var(--primary-bg);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
  margin-top: 3rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-item {
  background-color: white;
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.contact-item h3 {
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.contact-item h3::after {
  content: '';
  position: absolute;
  width: 50px;
  height: 2px;
  background-color: var(--accent-color);
  bottom: 0;
  left: 0;
}

.contact-form {
  background-color: white;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid #ddd;
  border-radius: var(--radius-md);
  font-family: 'DM Sans', sans-serif;
  transition: border var(--transition-fast), box-shadow var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(74, 107, 138, 0.1);
  outline: none;
}

.checkbox-container {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  position: relative;
  padding-left: 30px;
}

.checkbox-container input {
  position: absolute;
  /*opacity: 0;*/
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 20px;
  width: 20px;
  background-color: #eee;
  border-radius: var(--radius-sm);
  transition: all var(--transition-normal);
}

.checkbox-container:hover input ~ .checkmark {
  background-color: #ccc;
}

.checkbox-container input:checked ~ .checkmark {
  background-color: var(--accent-color);
}

.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

.checkbox-container input:checked ~ .checkmark:after {
  display: block;
}

.checkbox-container .checkmark:after {
  left: 7px;
  top: 3px;
  width: 6px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* Footer */
.footer {
  background-color: var(--primary-dark);
  color: white;
  padding-top: 5rem;
}

.footer-top {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-info h3,
.footer-links h3,
.footer-services h3,
.footer-newsletter h3 {
  color: white;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-info h3::after,
.footer-links h3::after,
.footer-services h3::after,
.footer-newsletter h3::after {
  content: '';
  position: absolute;
  width: 40px;
  height: 3px;
  background-color: var(--accent-color);
  bottom: 0;
  left: 0;
}

.footer-info p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1rem;
}

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

.footer-links li,
.footer-services li {
  margin-bottom: 0.8rem;
}

.footer-links a,
.footer-services a {
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition-normal);
  display: inline-block;
  position: relative;
}

.footer-links a::after,
.footer-services a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 1px;
  bottom: -2px;
  left: 0;
  background-color: white;
  transition: width var(--transition-normal);
}

.footer-links a:hover,
.footer-services a:hover {
  color: white;
  text-decoration: none;
}

.footer-links a:hover::after,
.footer-services a:hover::after {
  width: 100%;
}

.footer-newsletter form {
  display: flex;
  margin-top: 1.5rem;
}

.footer-newsletter input {
  flex-grow: 1;
  padding: 0.8rem 1rem;
  border: none;
  border-radius: var(--radius-md) 0 0 var(--radius-md);
  font-family: 'DM Sans', sans-serif;
}

.footer-newsletter button {
  background-color: var(--accent-color);
  color: white;
  border: none;
  padding: 0 1.5rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  transition: background-color var(--transition-normal);
}

.footer-newsletter button:hover {
  background-color: var(--accent-dark);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.copyright {
  color: rgba(255, 255, 255, 0.6);
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--transition-normal);
}

.footer-legal a:hover {
  color: white;
  text-decoration: none;
}

.social-links {
  display: flex;
  gap: 1.5rem;
}

.social-links a {
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--transition-normal);
}

.social-links a:hover {
  color: white;
  text-decoration: none;
}

/* Success Page */
.success-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}

.success-container {
  max-width: 600px;
  background-color: white;
  padding: 3rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.success-container h1 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.success-container p {
  color: var(--text-medium);
  margin-bottom: 2rem;
}

/* Внутренние страницы */
.page-content {
  padding-top: 120px;
  padding-bottom: 4rem;
}

/* Анимации при прокрутке */
.animate-on-scroll {
  /*opacity: 0;*/
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

/* Анимация частиц */
@keyframes particlesAnimation {
  0% {
    transform: translateY(0) rotate(0deg);
  }
  100% {
    transform: translateY(-1000px) rotate(720deg);
  }
}

.particles {
  position: absolute;
  width: 10px;
  height: 10px;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  animation: particlesAnimation 25s linear infinite;
}

/* Media Queries */
@media (max-width: 1200px) {
  h1 {
    font-size: 3rem;
  }
  
  h2 {
    font-size: 2.2rem;
  }
  
  .hero-content h1 {
    font-size: 3.5rem;
  }
}

@media (max-width: 992px) {
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-content h1 {
    font-size: 3rem;
  }
  
  .hero-content p {
    font-size: 1.3rem;
  }
  
  .timeline::before {
    left: 40px;
  }
  
  .timeline-item:nth-child(odd),
  .timeline-item:nth-child(even) {
    padding-left: 80px;
    padding-right: 0;
  }
  
  .timeline-dot {
    left: 40px;
  }
  
  .timeline-item:nth-child(odd) .timeline-content::after,
  .timeline-item:nth-child(even) .timeline-content::after {
    left: -10px;
    right: auto;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background-color: white;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /*opacity: 0;*/
    pointer-events: none;
    transition: all var(--transition-normal);
    transform: translateY(20px);
  }
  
  .nav-menu.active {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
  }
  
  .nav-menu ul {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }
  
  .nav-menu li {
    margin-left: 0;
  }
  
  .burger-menu {
    display: flex;
    z-index: 1001;
  }
  
  .burger-menu.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }
  
  .burger-menu.active span:nth-child(2) {
    /*opacity: 0;*/
  }
  
  .burger-menu.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }
  
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .hero-content p {
    font-size: 1.1rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }
  
  .hero-buttons .btn {
    width: 100%;
    margin-bottom: 1rem;
  }
  
  .hero-stats {
    flex-direction: column;
    gap: 1rem;
  }
  
  .footer-top {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }
  
  .event-item {
    flex-direction: column;
  }
  
  .event-date {
    width: 100%;
    padding: 1rem;
    flex-direction: row;
    justify-content: center;
    gap: 0.5rem;
  }
  
  .day, .month {
    font-size: 1.5rem;
  }
}

@media (max-width: 576px) {
  .section-title {
    font-size: 2rem;
  }
  
  .section-subtitle {
    font-size: 1rem;
  }
  
  .hero-content h1 {
    font-size: 2.2rem;
  }
  
  .services-grid,
  .instructors-grid,
  .portfolio-grid,
  .media-grid,
  .resources-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
}

/* Terms and Privacy Pages */
.terms-page, .privacy-page {
  padding-top: 100px;
  padding-bottom: 4rem;
}

.terms-page h1, .privacy-page h1 {
  color: var(--primary-color);
  margin-bottom: 2rem;
}

.terms-page h2, .privacy-page h2 {
  color: var(--primary-color);
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.terms-page p, .privacy-page p {
  color: var(--text-medium);
  margin-bottom: 1rem;
}

.terms-page ul, .privacy-page ul {
  margin-left: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--text-medium);
}

.terms-page li, .privacy-page li {
  margin-bottom: 0.5rem;
}
@media (max-width: 768px) {
  .particles-container, .burger-menu, .nav-menu{
    display: none!important;
  }

}