/* 
   Patagonia Aventura - Style.css
   Футуристический дизайн с элементами эко-минимализма
   Цветовая схема: Дополнительная
   Анимации: Микроанимации
   Шрифты: Oswald для заголовков, Nunito для текста
*/

/* ===== ROOT VARIABLES ===== */
:root {
  /* Основные цвета */
  --primary-color: #0d8a6f;      /* Основной зеленый */
  --primary-dark: #076b56;       /* Темно-зеленый */
  --primary-light: #2ebe9e;      /* Светло-зеленый */
  
  /* Дополнительные цвета */
  --accent-color: #e84a5f;       /* Акцентный красный */
  --accent-dark: #c13547;        /* Темно-красный */
  --accent-light: #ff7686;       /* Светло-красный */
  
  /* Нейтральные цвета */
  --neutral-dark: #1a2a36;       /* Почти черный */
  --neutral-medium: #627281;     /* Средне-серый */
  --neutral-light: #dbe5ec;      /* Светло-серый */
  --white: #ffffff;              /* Белый */
  
  /* Цвета успеха/ошибки */
  --success: #4caf50;
  --error: #f44336;
  --warning: #ff9800;
  --info: #2196f3;
  
  /* Градиенты */
  --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  --gradient-accent: linear-gradient(135deg, var(--accent-color), var(--accent-light));
  --gradient-dark: linear-gradient(135deg, var(--neutral-dark), #384a5c);
  
  /* Тени */
  --shadow-small: 0 2px 5px rgba(0, 0, 0, 0.1);
  --shadow-medium: 0 4px 12px rgba(0, 0, 0, 0.15);
  --shadow-large: 0 10px 25px rgba(0, 0, 0, 0.2);
  --shadow-inset: inset 0 2px 5px rgba(0, 0, 0, 0.1);
  
  /* Скругления */
  --radius-small: 4px;
  --radius-medium: 8px;
  --radius-large: 16px;
  --radius-full: 9999px;
  
  /* Переходы */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  /* Размеры контейнера */
  --container-width: 1200px;
  --container-padding: 2rem;
  
  /* Z-индексы */
  --z-back: -1;
  --z-normal: 1;
  --z-tooltip: 10;
  --z-fixed: 100;
  --z-modal: 1000;
}

/* ===== BASE STYLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: 'Nunito', sans-serif;
  color: var(--neutral-dark);
  background-color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  padding-top: 0px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Oswald', sans-serif;
  color: var(--neutral-dark);
  font-weight: 600;
  line-height: 1.2;
}

h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 1.2rem;
}

h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

h4 {
  font-size: 1.4rem;
  margin-bottom: 0.8rem;
}

p {
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

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

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

ul {
  list-style: none;
}

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

section {
  padding: 5rem 0;
}

/* ===== UTILITY CLASSES ===== */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  width: 100%;
}

.section-title {
  text-align: center;
  margin-bottom: 1rem;
  color: var(--neutral-dark);
  position: relative;
}

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

.section-subtitle {
  text-align: center;
  color: var(--neutral-medium);
  font-size: 1.1rem;
  margin-bottom: 3rem;
}

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

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

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

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

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

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

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

.btn, button, input[type='submit'] {
  display: inline-block;
  padding: 0.8rem 1.8rem;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  text-transform: uppercase;
  border-radius: var(--radius-small);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-normal);
  letter-spacing: 0.5px;
  box-shadow: var(--shadow-small);
  font-family: 'Oswald', sans-serif;
  text-decoration: none;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-medium);
}

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

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

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

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

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

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

.btn-text {
  background: none;
  border: none;
  color: var(--primary-color);
  padding: 0.5rem 0;
  box-shadow: none;
  position: relative;
  text-transform: none;
  font-family: 'Nunito', sans-serif;
}

.btn-text:after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  bottom: 0.3rem;
  left: 0;
  transition: width var(--transition-normal);
}

.btn-text:hover {
  color: var(--primary-dark);
  transform: translateY(0);
  box-shadow: none;
}

.btn-text:hover:after {
  width: 100%;
}

/* ===== HEADER & NAVIGATION ===== */
.header {
  position: fixed;
  width: 100%;
  z-index: var(--z-fixed);
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: var(--shadow-small);
  padding: 1rem 0;
  transition: all var(--transition-normal);
}

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

.logo a {
  color: var(--neutral-dark);
  font-weight: 700;
  display: flex;
  align-items: center;
}

.logo h1 {
  font-size: 1.5rem;
  margin: 0;
}

.navigation {
  display: flex;
  align-items: center;
}

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

.nav-list li {
  margin-left: 2rem;
}

.nav-list a {
  color: var(--neutral-dark);
  font-weight: 600;
  position: relative;
  padding: 0.5rem 0;
}

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

.nav-list a:hover {
  color: var(--primary-color);
}

.nav-list a:hover:before {
  width: 100%;
}

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

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

/* ===== HERO SECTION ===== */
.hero {
  height: 100vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0.4), rgba(0,0,0,0.7));
  z-index: var(--z-back);
}

.hero-content {
  text-align: center;
  max-width: 800px;
  padding: 2rem;
  z-index: var(--z-normal);
}

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

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

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

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

.scroll-arrow {
  width: 30px;
  height: 30px;
  border-right: 3px solid var(--white);
  border-bottom: 3px solid var(--white);
  transform: rotate(45deg);
}

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

/* ===== HISTORY SECTION ===== */
.history-section {
  background-color: var(--white);
}

.history-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
}

.history-image {
  flex: 1;
  min-width: 300px;
}

.image-container {
  border-radius: var(--radius-medium);
  overflow: hidden;
  box-shadow: var(--shadow-medium);
  position: relative;
}

.image-container img {
  transition: transform var(--transition-normal);
  width: 100%;
  height: 400px;
  object-fit: cover;
}

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

.history-content {
  flex: 2;
  min-width: 300px;
}

.progress-indicator {
  display: flex;
  justify-content: space-between;
  margin-bottom: 2rem;
  position: relative;
}

.progress-indicator:before {
  content: '';
  position: absolute;
  top: 15px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--neutral-light);
  z-index: var(--z-back);
}

.progress-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  cursor: pointer;
  z-index: var(--z-normal);
}

.progress-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: var(--white);
  border: 2px solid var(--neutral-light);
  margin-bottom: 0.5rem;
  transition: all var(--transition-normal);
}

.progress-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--neutral-medium);
  transition: color var(--transition-normal);
}

.progress-item.active .progress-dot {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  transform: scale(1.2);
}

.progress-item.active .progress-label {
  color: var(--primary-color);
  font-weight: 700;
}

.progress-item:hover .progress-dot {
  border-color: var(--primary-color);
}

.progress-item:hover .progress-label {
  color: var(--primary-color);
}

.history-text h3 {
  margin-bottom: 1rem;
  color: var(--neutral-dark);
}

/* ===== SERVICES SECTION ===== */
.services-section {
  background-color: var(--neutral-light);
  position: relative;
  overflow: hidden;
}

.services-section:before {
  content: '';
  position: absolute;
  top: -50px;
  left: 0;
  width: 100%;
  height: 100px;
  background: linear-gradient(to top right, var(--neutral-light) 49%, transparent 51%);
}

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

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

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

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

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

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

.services-section .card-content {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.services-section .card-content h3 {
  margin-bottom: 0.8rem;
  color: var(--neutral-dark);
}

.services-section .card-content p {
  margin-bottom: 1.5rem;
  flex: 1;
}

/* ===== SUCCESS STORIES SECTION ===== */
.success-stories-section {
  background: var(--gradient-primary);
  color: var(--white);
}

.success-stories-section .section-title,
.success-stories-section .section-subtitle {
  color: var(--white);
}

.testimonials-slider {
  position: relative;
  overflow: hidden;
}

.testimonial-slide {
  display: flex;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-large);
  padding: 2rem;
  margin: 0 1rem;
  box-shadow: var(--shadow-medium);
}

.testimonial-image {
  flex-shrink: 0;
  margin-right: 2rem;
}

.testimonial-image img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid rgba(255, 255, 255, 0.3);
}

.testimonial-content {
  flex: 1;
}

.rating {
  color: var(--accent-light);
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
}

blockquote {
  font-style: italic;
  margin-bottom: 1rem;
  color: var(--white);
}

.testimonial-author {
  font-weight: 700;
  text-align: right;
}

.testimonial-controls {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.testimonial-controls button {
  background-color: transparent;
  border: 2px solid var(--white);
  color: var(--white);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 0.5rem;
  cursor: pointer;
  transition: all var(--transition-normal);
  font-size: 1rem;
  padding: 0;
}

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

/* ===== EXTERNAL RESOURCES SECTION ===== */
.external-resources-section {
  background-color: var(--white);
}

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

.resource-card {
  background-color: var(--neutral-light);
  border-radius: var(--radius-medium);
  overflow: hidden;
  transition: transform var(--transition-normal);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.resource-card:hover {
  transform: translateY(-5px);
}

.resource-card .card-image {
  width: 100%;
  height: 180px;
  overflow: hidden;
}

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

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

.resource-card .card-content {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.resource-card h3 {
  margin-bottom: 0.8rem;
}

.resource-link {
  display: block;
  margin-top: 0.8rem;
  font-weight: 600;
  color: var(--primary-color);
}

.resource-link:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

/* ===== WEBINARS SECTION ===== */
.webinars-section {
  background-color: var(--neutral-light);
}

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

.webinars-section .card {
  background-color: var(--white);
  border-radius: var(--radius-medium);
  overflow: hidden;
  box-shadow: var(--shadow-medium);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.webinars-section .card-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

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

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

.webinars-section .card-content {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.webinar-date {
  font-size: 0.9rem;
  color: var(--accent-color);
  font-weight: 700;
  margin-bottom: 0.8rem;
}

.webinars-section .card-content h3 {
  margin-bottom: 0.8rem;
}

.webinars-section .card-content p {
  margin-bottom: 1.5rem;
  flex: 1;
}

/* ===== INSTRUCTORS SECTION ===== */
.instructors-section {
  background-color: var(--white);
}

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

.instructors-section .card {
  background-color: var(--neutral-light);
  border-radius: var(--radius-medium);
  overflow: hidden;
  box-shadow: var(--shadow-medium);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.instructors-section .card-image {
  width: 100%;
  height: 350px;
  overflow: hidden;
}

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

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

.instructors-section .card-content {
  padding: 1.5rem;
  flex: 1;
}

.instructor-title {
  font-size: 0.9rem;
  color: var(--primary-color);
  font-weight: 700;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.instructor-specialties {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.instructor-specialties span {
  background-color: var(--primary-light);
  color: var(--white);
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-small);
  font-size: 0.8rem;
  font-weight: 600;
}

/* ===== RESEARCH SECTION ===== */
.research-section {
  background: var(--gradient-dark);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.research-section .section-title,
.research-section .section-subtitle {
  color: var(--white);
}

.research-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 3rem;
}

.research-image {
  flex: 1;
  min-width: 300px;
  position: relative;
}

.research-image img {
  border-radius: var(--radius-medium);
  box-shadow: var(--shadow-large);
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.research-text {
  flex: 1;
  min-width: 300px;
}

.accordion-container {
  margin-top: 2rem;
}

.accordion-item {
  margin-bottom: 1rem;
  border-radius: var(--radius-small);
  overflow: hidden;
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
}

.accordion-header {
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: background-color var(--transition-normal);
}

.accordion-header:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.accordion-header h3 {
  margin-bottom: 0;
  font-size: 1.2rem;
  color: var(--white);
}

.accordion-icon {
  font-size: 1.5rem;
  font-weight: 700;
}

.accordion-content {
  padding: 0 1rem 1rem;
  display: none;
}

.accordion-item.active .accordion-content {
  display: block;
}

.accordion-item.active .accordion-icon {
  transform: rotate(45deg);
}

/* ===== NEWS SECTION ===== */
.news-section {
  background-color: var(--neutral-light);
}

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

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

.news-section .card:hover {
  transform: translateY(-5px);
}

.news-section .card-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

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

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

.news-section .card-content {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.news-date {
  font-size: 0.9rem;
  color: var(--neutral-medium);
  margin-bottom: 0.5rem;
}

.news-section .card-content h3 {
  margin-bottom: 0.8rem;
}

.news-section .card-content p {
  margin-bottom: 1rem;
  flex: 1;
}

/* ===== CONTACT SECTION ===== */
.contact-section {
  background-color: var(--white);
  position: relative;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
}

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

.contact-card {
  background-color: var(--neutral-light);
  padding: 2rem;
  border-radius: var(--radius-medium);
  box-shadow: var(--shadow-medium);
}

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

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

.contact-card ul {
  list-style: none;
  padding: 0;
}

.contact-card li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.contact-card .icon {
  margin-right: 1rem;
  font-size: 1.2rem;
}

.contact-image {
  border-radius: var(--radius-medium);
  overflow: hidden;
  box-shadow: var(--shadow-medium);
}

.contact-image img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.contact-form-container {
  background-color: var(--neutral-light);
  border-radius: var(--radius-medium);
  padding: 2rem;
  box-shadow: var(--shadow-medium);
}

.contact-form {
  display: grid;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.8rem;
  border: 1px solid var(--neutral-medium);
  border-radius: var(--radius-small);
  font-family: 'Nunito', sans-serif;
  transition: border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(13, 138, 111, 0.2);
}

/* ===== FOOTER ===== */
.footer {
  background-color: var(--neutral-dark);
  color: var(--white);
  padding: 4rem 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-logo h3 {
  color: var(--white);
  margin-bottom: 1rem;
}

.footer-logo p {
  color: var(--neutral-light);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
}

.footer-links-column h4 {
  color: var(--white);
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-links-column h4:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--primary-color);
}

.footer-links-column ul {
  padding: 0;
  margin: 0;
}

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

.footer-links-column a {
  color: var(--neutral-light);
  transition: color var(--transition-normal);
}

.footer-links-column a:hover {
  color: var(--primary-light);
}

.social-links a {
  display: flex;
  align-items: center;
}

.social-links a:before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 20px;
  margin-right: 10px;
  background-size: contain;
  background-repeat: no-repeat;
  transition: transform var(--transition-normal);
}

.social-links a:hover:before {
  transform: scale(1.2);
}

.social-links a[href*="facebook"]:before {
  background-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 512"><path fill="%230d8a6f" d="M279.14 288l14.22-92.66h-88.91v-60.13c0-25.35 12.42-50.06 52.24-50.06h40.42V6.26S260.43 0 225.36 0c-73.22 0-121.08 44.38-121.08 124.72v70.62H22.89V288h81.39v224h100.17V288z"/></svg>');
}

.social-links a[href*="twitter"]:before {
  background-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="%230d8a6f" d="M459.37 151.716c.325 4.548.325 9.097.325 13.645 0 138.72-105.583 298.558-298.558 298.558-59.452 0-114.68-17.219-161.137-47.106 8.447.974 16.568 1.299 25.34 1.299 49.055 0 94.213-16.568 130.274-44.832-46.132-.975-84.792-31.188-98.112-72.772 6.498.974 12.995 1.624 19.818 1.624 9.421 0 18.843-1.3 27.614-3.573-48.081-9.747-84.143-51.98-84.143-102.985v-1.299c13.969 7.797 30.214 12.67 47.431 13.319-28.264-18.843-46.781-51.005-46.781-87.391 0-19.492 5.197-37.36 14.294-52.954 51.655 63.675 129.3 105.258 216.365 109.807-1.624-7.797-2.599-15.918-2.599-24.04 0-57.828 46.782-104.934 104.934-104.934 30.213 0 57.502 12.67 76.67 33.137 23.715-4.548 46.456-13.32 66.599-25.34-7.798 24.366-24.366 44.833-46.132 57.827 21.117-2.273 41.584-8.122 60.426-16.243-14.292 20.791-32.161 39.308-52.628 54.253z"/></svg>');
}

.social-links a[href*="instagram"]:before {
  background-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="%230d8a6f" d="M224.1 141c-63.6 0-114.9 51.3-114.9 114.9s51.3 114.9 114.9 114.9S339 319.5 339 255.9 287.7 141 224.1 141zm0 189.6c-41.1 0-74.7-33.5-74.7-74.7s33.5-74.7 74.7-74.7 74.7 33.5 74.7 74.7-33.6 74.7-74.7 74.7zm146.4-194.3c0 14.9-12 26.8-26.8 26.8-14.9 0-26.8-12-26.8-26.8s12-26.8 26.8-26.8 26.8 12 26.8 26.8zm76.1 27.2c-1.7-35.9-9.9-67.7-36.2-93.9-26.2-26.2-58-34.4-93.9-36.2-37-2.1-147.9-2.1-184.9 0-35.8 1.7-67.6 9.9-93.9 36.1s-34.4 58-36.2 93.9c-2.1 37-2.1 147.9 0 184.9 1.7 35.9 9.9 67.7 36.2 93.9s58 34.4 93.9 36.2c37 2.1 147.9 2.1 184.9 0 35.9-1.7 67.7-9.9 93.9-36.2 26.2-26.2 34.4-58 36.2-93.9 2.1-37 2.1-147.8 0-184.8zM398.8 388c-7.8 19.6-22.9 34.7-42.6 42.6-29.5 11.7-99.5 9-132.1 9s-102.7 2.6-132.1-9c-19.6-7.8-34.7-22.9-42.6-42.6-11.7-29.5-9-99.5-9-132.1s-2.6-102.7 9-132.1c7.8-19.6 22.9-34.7 42.6-42.6 29.5-11.7 99.5-9 132.1-9s102.7-2.6 132.1 9c19.6 7.8 34.7 22.9 42.6 42.6 11.7 29.5 9 99.5 9 132.1s2.7 102.7-9 132.1z"/></svg>');
}

.social-links a[href*="youtube"]:before {
  background-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 576 512"><path fill="%230d8a6f" d="M549.655 124.083c-6.281-23.65-24.787-42.276-48.284-48.597C458.781 64 288 64 288 64S117.22 64 74.629 75.486c-23.497 6.322-42.003 24.947-48.284 48.597-11.412 42.867-11.412 132.305-11.412 132.305s0 89.438 11.412 132.305c6.281 23.65 24.787 41.5 48.284 47.821C117.22 448 288 448 288 448s170.78 0 213.371-11.486c23.497-6.321 42.003-24.171 48.284-47.821 11.412-42.867 11.412-132.305 11.412-132.305s0-89.438-11.412-132.305zm-317.51 213.508V175.185l142.739 81.205-142.739 81.201z"/></svg>');
}

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

.footer-bottom p {
  margin: 0;
  color: var(--neutral-light);
  font-size: 0.9rem;
}

.certifications {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.certifications span {
  color: var(--neutral-light);
  font-size: 0.8rem;
  display: flex;
  align-items: center;
}

.certifications span:before {
  content: '✓';
  display: inline-block;
  margin-right: 0.5rem;
  color: var(--primary-color);
  font-weight: 700;
}

/* ===== SUCCESS PAGE ===== */
.success-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background-color: var(--neutral-light);
  padding: 2rem;
}

.success-content {
  background-color: var(--white);
  max-width: 600px;
  padding: 3rem;
  border-radius: var(--radius-medium);
  box-shadow: var(--shadow-medium);
  text-align: center;
}

.success-icon {
  font-size: 5rem;
  color: var(--success);
  margin-bottom: 2rem;
}

.success-title {
  margin-bottom: 1.5rem;
  color: var(--neutral-dark);
}

.success-message {
  margin-bottom: 2rem;
  color: var(--neutral-medium);
}

/* ===== PRIVACY & TERMS PAGES ===== */
.privacy-page, 
.terms-page {
  padding-top: 100px;
}

.privacy-content,
.terms-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
}

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

.privacy-content h3,
.terms-content h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.8rem;
  color: var(--neutral-dark);
}

.privacy-content p,
.terms-content p {
  margin-bottom: 1rem;
  line-height: 1.7;
}

.privacy-content ul,
.terms-content ul {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.privacy-content li,
.terms-content li {
  margin-bottom: 0.5rem;
  position: relative;
  list-style-type: disc;
}

/* ===== MEDIA QUERIES ===== */
@media screen and (max-width: 992px) {
  h1 {
    font-size: 3rem;
  }
  
  h2 {
    font-size: 2.2rem;
  }
  
  .hero-title {
    font-size: 3.5rem;
  }
  
  .nav-list {
    display: none;
  }
  
  .burger-menu {
    display: flex;
  }
  
  .history-wrapper {
    flex-direction: column;
  }
  
  .testimonial-slide {
    flex-direction: column;
    text-align: center;
  }
  
  .testimonial-image {
    margin-right: 0;
    margin-bottom: 1.5rem;
  }
  
  .testimonial-author {
    text-align: center;
  }
  
  .research-content {
    flex-direction: column;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
  }
  
  .footer-links {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .certifications {
    justify-content: center;
  }
}

@media screen and (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  section {
    padding: 4rem 0;
  }
  
  .hero-title {
    font-size: 2.8rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }
  
  .contact-wrapper {
    grid-template-columns: 1fr;
  }
  
  .services-grid,
  .webinars-grid,
  .instructors-grid,
  .news-grid {
    grid-template-columns: 1fr;
  }
  
  .resources-grid {
    grid-template-columns: repeat(auto-fill, minmax(100%, 1fr));
  }
}

@media screen and (max-width: 576px) {
  h1 {
    font-size: 2.2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  section {
    padding: 3rem 0;
  }
  
  .container {
    padding: 0 1.5rem;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: 1rem;
  }
  
  .logo h1 {
    font-size: 1.2rem;
  }
  
  .progress-indicator {
    overflow-x: auto;
    padding-bottom: 1rem;
  }
  
  .progress-item {
    min-width: 70px;
  }
  
  .contact-form-container {
    padding: 1.5rem;
  }
  
  .footer {
    padding: 3rem 0 2rem;
  }
  
  .footer-links {
    grid-template-columns: 1fr;
  }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

.animate-fadeIn {
  animation: fadeIn 1s ease-in-out;
}

.animate-slideUp {
  animation: slideUp 0.5s ease-out;
}

.animate-pulse {
  animation: pulse 2s infinite;
}

.nav-list.active{
  display: flex;
  flex-direction: column;
  position: absolute;
  background-color: #fff;
  top: 50px;
  right: 0px;
  padding: 40px;
}