:root {
  /* Основная цветовая схема */
  --primary: #FF4B2B;
  --primary-dark: #E43C1A;
  --primary-light: #FF7156;
  --secondary: #2B59FF;
  --secondary-dark: #1A45E4;
  --secondary-light: #5679FF;
  --accent: #FFD500;
  --accent-dark: #E6C000;
  --accent-light: #FFDF4D;
  
  /* Нейтральные цвета */
  --white: #FFFFFF;
  --light: #F8F9FA;
  --light-gray: #E9ECEF;
  --medium-gray: #CED4DA;
  --dark-gray: #495057;
  --dark: #212529;
  --black: #000000;
  
  /* Градиенты */
  --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  --gradient-secondary: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
  --gradient-accent: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
  --gradient-dark: linear-gradient(135deg, rgba(33, 37, 41, 0.95) 0%, rgba(33, 37, 41, 0.7) 100%);
  
  /* Тени */
  --shadow-sm: 0 2px 5px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 10px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
  
  /* Скругления */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-circle: 50%;
  
  /* Анимации */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  /* Шрифты */
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Merriweather', serif;
  
  /* Размеры шрифтов */
  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-md: 1rem;
  --fs-lg: 1.125rem;
  --fs-xl: 1.25rem;
  --fs-2xl: 1.5rem;
  --fs-3xl: 1.875rem;
  --fs-4xl: 2.25rem;
  --fs-5xl: 3rem;
  
  /* Межстрочные интервалы */
  --lh-tight: 1.2;
  --lh-normal: 1.5;
  --lh-loose: 1.8;
  
  /* Контейнеры */
  --container-width: 1200px;
  --container-padding: 2rem;
  --section-spacing: 5rem;
}

/* Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  font-size: var(--fs-md);
  line-height: var(--lh-normal);
  color: var(--dark);
  background-color: var(--white);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: var(--lh-tight);
  margin-bottom: 1rem;
  color: var(--dark);
}

h1 {
  font-size: var(--fs-5xl);
}

h2 {
  font-size: var(--fs-4xl);
}

h3 {
  font-size: var(--fs-3xl);
}

h4 {
  font-size: var(--fs-2xl);
}

h5 {
  font-size: var(--fs-xl);
}

h6 {
  font-size: var(--fs-lg);
}

p {
  margin-bottom: 1rem;
}

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

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

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

ul, ol {
  list-style-position: inside;
  margin-bottom: 1rem;
}

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

/* Buttons */
.btn, 
button,
input[type="submit"] {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--fs-md);
  line-height: 1;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  padding: 0.875rem 1.75rem;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-sm);
}

.btn:hover, 
button:hover,
input[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  text-decoration: none;
}

.btn:active, 
button:active,
input[type="submit"]:active {
  transform: translateY(1px);
  box-shadow: var(--shadow-sm);
}

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

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

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

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

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

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

.btn-full {
  width: 100%;
}

/* Section Styles */
.section-title {
  text-align: center;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

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

.section-description {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
  color: var(--dark-gray);
  font-size: var(--fs-lg);
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  box-shadow: var(--shadow-md);
  transition: var(--transition-normal);
}

.header.scrolled {
  padding: 0.75rem 0;
  background-color: rgba(255, 255, 255, 0.98);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 0;
}

.logo a {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--fs-2xl);
  color: var(--primary);
  text-decoration: none;
}

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

.logo h1 {
  margin: 0;
  font-size: var(--fs-2xl);
}

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

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

.main-nav .nav-list a {
  font-family: var(--font-heading);
  font-weight: 500;
  color: var(--dark);
  position: relative;
}

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

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

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

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

/* Hero Section */
.hero {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 200px 0 100px;
  color: var(--white);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.5) 100%);
  z-index: 1;
}

.hero .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-dark);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.hero-title {
  font-size: var(--fs-5xl);
  margin-bottom: 1.5rem;
  color: var(--white);
}

.hero-subtitle {
  font-size: var(--fs-xl);
  margin-bottom: 2.5rem;
  color: var(--white);
  font-weight: 300;
}

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

/* Courses Section */
.courses-section {
  padding: var(--section-spacing) 0;
  background-color: var(--light);
}

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

.card {
  background-color: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: 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;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

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

.card-content {
  padding: 1.5rem;
  text-align: center;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

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

/* Statistics Section */
.statistics-section {
  padding: var(--section-spacing) 0;
  background: var(--gradient-primary);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.statistics-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('image/stat-pattern.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0.1;
  z-index: 1;
}

.statistics-section .section-title,
.statistics-section .section-description {
  color: var(--white);
  position: relative;
  z-index: 2;
}

.statistics-section .section-title::after {
  background: var(--white);
}

.statistics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  position: relative;
  z-index: 2;
}

.statistic-item {
  text-align: center;
  padding: 2rem;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  backdrop-filter: blur(5px);
  transition: var(--transition-normal);
}

.statistic-item:hover {
  transform: translateY(-10px);
  background-color: rgba(255, 255, 255, 0.2);
}

.statistic-number {
  font-family: var(--font-heading);
  font-size: var(--fs-5xl);
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--white);
}

.statistic-label {
  font-size: var(--fs-lg);
  color: var(--white);
  margin-bottom: 0;
}

/* Projects Section */
.projects-section {
  padding: var(--section-spacing) 0;
  background-color: var(--white);
}

.projects-gallery {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.project-item {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
  background-color: var(--light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
}

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

.project-item:nth-child(even) {
  flex-direction: row-reverse;
}

.image-container {
  flex: 1;
  min-width: 300px;
  height: 350px;
  overflow: hidden;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  display: flex;
  justify-content: center;
  align-items: center;
}

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

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

.project-content {
  flex: 1;
  min-width: 300px;
}

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

.project-content p {
  color: var(--dark-gray);
  margin-bottom: 0;
}

/* External Resources Section */
.external-resources {
  padding: var(--section-spacing) 0;
  background-color: var(--light);
}

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

.resource-card {
  background-color: var(--white);
  padding: 2rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  transition: var(--transition-normal);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

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

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

.resource-card p {
  color: var(--dark-gray);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.resource-link {
  display: inline-block;
  color: var(--secondary);
  font-weight: 600;
  position: relative;
  padding-bottom: 5px;
}

.resource-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--secondary);
  transition: var(--transition-normal);
}

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

/* Testimonials Section */
.testimonials-section {
  padding: var(--section-spacing) 0;
  background-color: var(--white);
  position: relative;
}

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

.testimonial-item {
  display: none;
  opacity: 0;
  transition: opacity var(--transition-slow);
}

.testimonial-item.active {
  display: flex;
  flex-wrap: wrap;
  opacity: 1;
  align-items: center;
  gap: 2rem;
}

.testimonial-image {
  flex: 0 0 150px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.testimonial-image img {
  width: 150px;
  height: 150px;
  border-radius: var(--radius-circle);
  object-fit: cover;
  border: 5px solid var(--primary);
  box-shadow: var(--shadow-md);
}

.testimonial-content {
  flex: 1;
  min-width: 300px;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 1.5rem;
  color: var(--dark-gray);
  position: relative;
  padding-left: 2rem;
}

.testimonial-text::before {
  content: '"';
  position: absolute;
  left: 0;
  top: -10px;
  font-size: 4rem;
  color: var(--primary);
  opacity: 0.3;
}

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

.testimonial-author p {
  color: var(--dark-gray);
  margin-bottom: 0;
}

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

.testimonial-controls button {
  background-color: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
  width: 50px;
  height: 50px;
  border-radius: var(--radius-circle);
  font-size: var(--fs-xl);
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: var(--transition-normal);
  padding: 0;
}

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

/* Case Studies Section */
.case-studies-section {
  padding: var(--section-spacing) 0;
  background-color: var(--light);
}

.case-studies-accordion {
  max-width: 900px;
  margin: 0 auto;
}

.accordion-item {
  margin-bottom: 1rem;
  border-radius: var(--radius-md);
  overflow: hidden;
  background-color: var(--white);
  box-shadow: var(--shadow-sm);
}

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

.accordion-header:hover {
  background-color: var(--light-gray);
}

.accordion-header h3 {
  margin-bottom: 0;
  color: var(--dark);
}

.accordion-icon {
  font-size: var(--fs-2xl);
  font-weight: 700;
  color: var(--primary);
  transition: var(--transition-normal);
}

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

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow);
}

.accordion-item.active .accordion-content {
  max-height: 1000px;
}

.case-content {
  padding: 0 1.5rem 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
}

.case-image {
  flex: 1;
  min-width: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.case-image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.case-description {
  flex: 1;
  min-width: 300px;
}

.case-description p {
  color: var(--dark-gray);
}

/* Awards Section */
.awards-section {
  padding: var(--section-spacing) 0;
  background-color: var(--white);
}

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

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

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

.timeline-year {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--primary);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-md);
  font-weight: 700;
  z-index: 1;
}

.timeline-content {
  width: 45%;
  background-color: var(--light);
  padding: 2rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  margin-top: 2rem;
  position: relative;
  transition: var(--transition-normal);
}

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

.timeline-item:nth-child(odd) .timeline-content {
  margin-left: auto;
}

.timeline-item:nth-child(odd) .timeline-content::before {
  content: '';
  position: absolute;
  top: 20px;
  left: -10px;
  width: 20px;
  height: 20px;
  background-color: var(--light);
  transform: rotate(45deg);
}

.timeline-item:nth-child(even) .timeline-content::before {
  content: '';
  position: absolute;
  top: 20px;
  right: -10px;
  width: 20px;
  height: 20px;
  background-color: var(--light);
  transform: rotate(45deg);
}

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

.timeline-content p {
  color: var(--dark-gray);
  margin-bottom: 1.5rem;
}

.timeline-image {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.timeline-image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

/* Customer Stories Section */
.customer-stories-section {
  padding: var(--section-spacing) 0;
  background-color: var(--light);
}

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

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

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

.story-card .card-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

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

.story-card .card-content {
  padding: 1.5rem;
  text-align: center;
}

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

.story-title {
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: 1rem;
}

.story-text {
  color: var(--dark-gray);
  margin-bottom: 1.5rem;
}

.story-quote {
  font-style: italic;
  position: relative;
  padding-left: 1rem;
  color: var(--dark-gray);
  border-left: 3px solid var(--primary);
}

/* Contact Section */
.contact-section {
  padding: var(--section-spacing) 0;
  background-color: var(--white);
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
}

.contact-info {
  flex: 1;
  min-width: 300px;
}

.info-item {
  margin-bottom: 2rem;
}

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

.info-item p {
  color: var(--dark-gray);
  margin-bottom: 0;
}

.map {
  margin-top: 2rem;
  width: 100%;
  height: 300px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  display: flex;
  justify-content: center;
  align-items: center;
}

.map img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-form {
  flex: 1;
  min-width: 300px;
  background-color: var(--light);
  padding: 2rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.contact-form h3 {
  color: var(--primary);
  margin-bottom: 1.5rem;
  text-align: center;
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--medium-gray);
  border-radius: var(--radius-md);
  background-color: var(--white);
  color: var(--dark);
  font-family: var(--font-body);
  font-size: var(--fs-md);
  transition: var(--transition-normal);
}

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

.form-checkbox {
  display: flex;
  align-items: center;
}

.form-checkbox input {
  width: auto;
  margin-right: 0.5rem;
}

.form-checkbox label {
  margin-bottom: 0;
  font-weight: 400;
}

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

.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-logo {
  flex: 1;
  min-width: 200px;
}

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

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

.footer-links {
  flex: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.link-group {
  flex: 1;
  min-width: 150px;
}

.link-group h3 {
  color: var(--white);
  margin-bottom: 1.5rem;
  font-size: var(--fs-lg);
}

.link-group ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.link-group ul li {
  margin-bottom: 0.75rem;
}

.link-group ul li a {
  color: var(--light-gray);
  transition: var(--transition-normal);
}

.link-group ul li a:hover {
  color: var(--primary);
  text-decoration: none;
}

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

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

.social-links li:nth-child(1) a::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cpath fill='%23CED4DA' d='M12 0C5.373 0 0 5.373 0 12c0 6.016 4.432 10.984 10.206 11.852V15.18H7.237v-3.154h2.969V9.927c0-3.475 1.693-5 4.581-5 1.383 0 2.115.103 2.461.149v2.753h-1.97c-1.226 0-1.654 1.163-1.654 2.473v1.724h3.593l-.487 3.154h-3.106v8.697C19.481 23.083 24 18.075 24 12c0-6.627-5.373-12-12-12z'/%3E%3C/svg%3E");
}

.social-links li:nth-child(2) a::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cpath fill='%23CED4DA' d='M12 0C8.74 0 8.333.015 7.053.072 5.775.132 4.905.333 4.14.63c-.789.306-1.459.717-2.126 1.384S.935 3.35.63 4.14C.333 4.905.131 5.775.072 7.053.012 8.333 0 8.74 0 12s.015 3.667.072 4.947c.06 1.277.261 2.148.558 2.913.306.788.717 1.459 1.384 2.126.667.666 1.336 1.079 2.126 1.384.766.296 1.636.499 2.913.558C8.333 23.988 8.74 24 12 24s3.667-.015 4.947-.072c1.277-.06 2.148-.262 2.913-.558.788-.306 1.459-.718 2.126-1.384.666-.667 1.079-1.335 1.384-2.126.296-.765.499-1.636.558-2.913.06-1.28.072-1.687.072-4.947s-.015-3.667-.072-4.947c-.06-1.277-.262-2.149-.558-2.913-.306-.789-.718-1.459-1.384-2.126C21.319 1.347 20.651.935 19.86.63c-.765-.297-1.636-.499-2.913-.558C15.667.012 15.26 0 12 0zm0 2.16c3.203 0 3.585.016 4.85.071 1.17.055 1.805.249 2.227.415.562.217.96.477 1.382.896.419.42.679.819.896 1.381.164.422.36 1.057.413 2.227.057 1.266.07 1.646.07 4.85s-.015 3.585-.074 4.85c-.061 1.17-.256 1.805-.421 2.227-.224.562-.479.96-.897 1.382-.419.419-.824.679-1.38.896-.42.164-1.065.36-2.235.413-1.274.057-1.649.07-4.859.07-3.211 0-3.586-.015-4.859-.074-1.171-.061-1.816-.256-2.236-.421-.569-.224-.96-.479-1.379-.897-.421-.419-.69-.824-.9-1.38-.165-.42-.359-1.065-.42-2.235-.045-1.26-.061-1.649-.061-4.844 0-3.196.016-3.586.061-4.861.061-1.17.255-1.814.42-2.234.21-.57.479-.96.9-1.381.419-.419.81-.689 1.379-.898.42-.166 1.051-.361 2.221-.421 1.275-.045 1.65-.06 4.859-.06l.045.03zm0 3.678c-3.405 0-6.162 2.76-6.162 6.162 0 3.405 2.76 6.162 6.162 6.162 3.405 0 6.162-2.76 6.162-6.162 0-3.405-2.76-6.162-6.162-6.162zM12 16c-2.21 0-4-1.79-4-4s1.79-4 4-4 4 1.79 4 4-1.79 4-4 4zm7.846-10.405c0 .795-.646 1.44-1.44 1.44-.795 0-1.44-.646-1.44-1.44 0-.794.646-1.439 1.44-1.439.793-.001 1.44.645 1.44 1.439z'/%3E%3C/svg%3E");
}

.social-links li:nth-child(3) a::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cpath fill='%23CED4DA' d='M23.953 4.57a10 10 0 01-2.825.775 4.958 4.958 0 002.163-2.723c-.951.555-2.005.959-3.127 1.184a4.92 4.92 0 00-8.384 4.482C7.69 8.095 4.067 6.13 1.64 3.162a4.822 4.822 0 00-.666 2.475c0 1.71.87 3.213 2.188 4.096a4.904 4.904 0 01-2.228-.616v.06a4.923 4.923 0 003.946 4.827 4.996 4.996 0 01-2.212.085 4.936 4.936 0 004.604 3.417 9.867 9.867 0 01-6.102 2.105c-.39 0-.779-.023-1.17-.067a13.995 13.995 0 007.557 2.209c9.053 0 13.998-7.496 13.998-13.985 0-.21 0-.42-.015-.63A9.935 9.935 0 0024 4.59z'/%3E%3C/svg%3E");
}

.social-links li:nth-child(4) a::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cpath fill='%23CED4DA' d='M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433c-1.144 0-2.063-.926-2.063-2.065 0-1.138.92-2.063 2.063-2.063 1.14 0 2.064.925 2.064 2.063 0 1.139-.925 2.065-2.064 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0h.003z'/%3E%3C/svg%3E");
}

.social-links li a:hover::before {
  filter: invert(44%) sepia(58%) saturate(3461%) hue-rotate(343deg) brightness(98%) contrast(95%);
}

.footer-bottom {
  padding: 2rem 0;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  color: var(--light-gray);
  margin-bottom: 0.5rem;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 2000;
  justify-content: center;
  align-items: center;
  overflow: auto;
}

.modal-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
  background-color: var(--white);
  padding: 2rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.close-modal {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 2rem;
  color: var(--dark);
  cursor: pointer;
  transition: var(--transition-normal);
}

.close-modal:hover {
  color: var(--primary);
}

#modalImage {
  max-width: 100%;
  max-height: 70vh;
  margin-bottom: 1rem;
}

#modalCaption {
  color: var(--dark);
  font-style: italic;
}

/* Cookie Consent */
.cookie-consent {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--dark);
  color: var(--white);
  padding: 1.5rem 0;
  z-index: 1000;
  box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1);
}

.cookie-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.cookie-content p {
  margin-bottom: 0;
  flex: 1;
  min-width: 300px;
}

.cookie-btn {
  background-color: var(--primary);
  color: var(--white);
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition-normal);
}

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

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

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

.success-title {
  margin-bottom: 1rem;
}

.success-description {
  max-width: 600px;
  margin-bottom: 2rem;
}

/* Privacy and Terms Pages */
.content-page {
  padding-top: 130px;
  padding-bottom: 5rem;
}

.content-page .container {
  max-width: 800px;
}

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

.content-page h2 {
  margin-top: 3rem;
  margin-bottom: 1.5rem;
  color: var(--primary);
}

.content-page p {
  margin-bottom: 1.5rem;
  line-height: var(--lh-loose);
}

.content-page ul, 
.content-page ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.content-page li {
  margin-bottom: 0.5rem;
}

/* Media Queries */
@media (max-width: 1200px) {
  :root {
    --container-width: 100%;
    --container-padding: 1.5rem;
  }
}

@media (max-width: 992px) {
  :root {
    --section-spacing: 4rem;
  }
  
  h1 {
    font-size: calc(var(--fs-5xl) * 0.85);
  }
  
  h2 {
    font-size: calc(var(--fs-4xl) * 0.85);
  }
  
  .timeline-content {
    width: 100%;
    margin-top: 4rem;
  }
  
  .awards-timeline::before {
    left: 0;
  }
  
  .timeline-year {
    left: 0;
    transform: translateX(0);
  }
  
  .timeline-item:nth-child(odd) .timeline-content::before,
  .timeline-item:nth-child(even) .timeline-content::before {
    display: none;
  }
}

@media (max-width: 768px) {
  :root {
    --section-spacing: 3rem;
  }
  
  body {
    font-size: calc(var(--fs-md) * 0.95);
  }
  
  h1 {
    font-size: calc(var(--fs-5xl) * 0.7);
  }
  
  h2 {
    font-size: calc(var(--fs-4xl) * 0.7);
  }
  
  h3 {
    font-size: calc(var(--fs-3xl) * 0.8);
  }
  
  .header-inner {
    padding: 1rem 0;
  }
  
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--white);
    padding: 1rem;
    box-shadow: var(--shadow-md);
  }
  
  .main-nav.active {
    display: block;
  }
  
  .main-nav .nav-list {
    flex-direction: column;
  }
  
  .main-nav .nav-list li {
    margin: 0;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--light-gray);
  }
  
  .mobile-menu-toggle {
    display: flex;
  }
  
  .hero {
    padding: 150px 0 80px;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: 1rem;
  }
  
  .statistics-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }
  
  .project-item,
  .project-item:nth-child(even) {
    flex-direction: column;
  }
  
  .project-content {
    text-align: center;
  }
  
  .testimonial-item.active {
    flex-direction: column;
    text-align: center;
  }
  
  .testimonial-text {
    padding-left: 0;
  }
  
  .testimonial-text::before {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .case-content {
    flex-direction: column;
    text-align: center;
  }
  
  .story-card {
    min-width: 100%;
  }
  
  .footer-content {
    flex-direction: column;
    gap: 2rem;
  }
  
  .footer-links {
    flex-direction: column;
  }
}

@media (max-width: 576px) {
  :root {
    --section-spacing: 2.5rem;
    --container-padding: 1rem;
  }
  
  h1 {
    font-size: calc(var(--fs-5xl) * 0.6);
  }
  
  .hero-title {
    font-size: calc(var(--fs-4xl) * 0.8);
  }
  
  .hero-subtitle {
    font-size: var(--fs-lg);
  }
  
  .btn, 
  button,
  input[type="submit"] {
    padding: 0.75rem 1.5rem;
    font-size: var(--fs-sm);
  }
  
  .statistic-number {
    font-size: var(--fs-4xl);
  }
  
  .statistic-label {
    font-size: var(--fs-md);
  }
  
  .statistic-item {
    padding: 1.5rem 1rem;
  }
  
  .project-item {
    padding: 1.5rem;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
}

/* Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

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

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

.animate-slide-left {
  animation: slideInLeft 1s ease forwards;
}

.animate-slide-right {
  animation: slideInRight 1s ease forwards;
}

.animate-slide-up {
  animation: slideInUp 1s ease forwards;
}