:root {
  /* Основная цветовая палитра (аналоговая схема) */
  --primary-color: #3a7bd5;
  --primary-dark: #2c5fb0;
  --primary-light: #6294e0;
  --secondary-color: #5a3ad5;
  --secondary-dark: #4330a8;
  --accent-color: #3ad5c3;
  --accent-dark: #29a89a;
  
  /* Нейтральные цвета */
  --dark: #232a34;
  --medium-dark: #4a4f57;
  --medium: #8a8d93;
  --light-gray: #e0e2e5;
  --light: #f5f7fa;
  --white: #ffffff;
  
  /* Тени для нейроморфизма */
  --shadow-light: rgba(255, 255, 255, 0.7);
  --shadow-dark: rgba(174, 174, 192, 0.4);
  --shadow-darker: rgba(0, 0, 0, 0.2);
  
  /* Радиусы и отступы */
  --border-radius-sm: 8px;
  --border-radius-md: 12px;
  --border-radius-lg: 20px;
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 3rem;
  --spacing-xl: 5rem;
  
  /* Шрифты */
  --font-heading: 'Manrope', sans-serif;
  --font-body: 'Rubik', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  line-height: 1.6;
  color: var(--medium-dark);
  background-color: var(--light);
  overflow-x: hidden;
  position: relative;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: var(--spacing-sm);
  color: var(--dark);
}

h1 {
  font-size: 3.5rem;
}

h2 {
  font-size: 2.5rem;
}

h3 {
  font-size: 1.75rem;
}

h4 {
  font-size: 1.5rem;
}

h5 {
  font-size: 1.25rem;
}

h6 {
  font-size: 1rem;
}

p {
  margin-bottom: var(--spacing-md);
}

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

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

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

/* Утилиты */
.text-center {
  text-align: center;
}

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

.mb-sm {
  margin-bottom: var(--spacing-sm);
}

.mb-md {
  margin-bottom: var(--spacing-md);
}

.mb-lg {
  margin-bottom: var(--spacing-lg);
}

.mt-sm {
  margin-top: var(--spacing-sm);
}

.mt-md {
  margin-top: var(--spacing-md);
}

.mt-lg {
  margin-top: var(--spacing-lg);
}

.py-md {
  padding-top: var(--spacing-md);
  padding-bottom: var(--spacing-md);
}

.py-lg {
  padding-top: var(--spacing-lg);
  padding-bottom: var(--spacing-lg);
}

.py-xl {
  padding-top: var(--spacing-xl);
  padding-bottom: var(--spacing-xl);
}

/* Нейроморфные элементы */
.neuromorphic {
  background: var(--light);
  border-radius: var(--border-radius-md);
  box-shadow: 
    8px 8px 16px var(--shadow-dark),
    -8px -8px 16px var(--shadow-light);
  transition: all 0.3s ease;
}

.neuromorphic:hover {
  box-shadow: 
    12px 12px 20px var(--shadow-dark),
    -12px -12px 20px var(--shadow-light);
}

.neuromorphic-inset {
  background: var(--light);
  border-radius: var(--border-radius-md);
  box-shadow: 
    inset 4px 4px 8px var(--shadow-dark),
    inset -4px -4px 8px var(--shadow-light);
}

/* Кнопки */
.btn, button, input[type="submit"] {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 500;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius-md);
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  text-align: center;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
}

.btn-primary, .btn-primary:visited {
  background: var(--primary-color);
  color: var(--white);
  box-shadow: 
    4px 4px 8px var(--shadow-darker),
    -2px -2px 4px rgba(255, 255, 255, 0.1);
}

.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
  background: var(--primary-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 
    6px 6px 12px var(--shadow-darker),
    -3px -3px 6px rgba(255, 255, 255, 0.1);
}

.btn-outline-light {
  background: transparent;
  border: 2px solid var(--white);
  color: var(--white);
}

.btn-outline-light:hover, .btn-outline-light:focus {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  transform: translateY(-2px);
}

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

/* Хедер */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1rem 0;
  transition: all 0.3s ease;
  background-color: rgba(245, 247, 250, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header.scrolled {
  padding: 0.5rem 0;
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
  display: flex;
  align-items: center;
}

.logo-text {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.8rem;
  color: var(--primary-color);
  letter-spacing: -0.5px;
  transition: all 0.3s ease;
}

.navbar-nav .nav-link {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--medium-dark);
  padding: 0.5rem 1rem;
  margin: 0 0.25rem;
  border-radius: var(--border-radius-sm);
  transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus,
.navbar-nav .nav-link.active {
  color: var(--primary-color);
  background-color: rgba(58, 123, 213, 0.1);
}

.navbar-toggler {
  border: none;
  background-color: transparent;
  padding: 0.5rem;
}

.navbar-toggler:focus {
  box-shadow: none;
  outline: none;
}

.navbar-toggler-icon {
  width: 1.5em;
  height: 1.5em;
}

/* Hero секция */
.hero-section {
  position: relative;
  padding: 120px 0 80px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 80vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

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

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

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 2rem;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  animation: fadeInUp 1s ease-out 0.4s both;
}

/* Features секция */
.features-section {
  padding: var(--spacing-xl) 0;
  background-color: var(--light);
  position: relative;
  overflow: hidden;
}

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

.section-title::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: var(--primary-color);
  margin: 1rem auto 0;
  border-radius: 2px;
}

.section-subtitle {
  text-align: center;
  font-size: 1.1rem;
  color: var(--medium);
  max-width: 700px;
  margin: 0 auto 3rem;
}

.feature-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem;
  background: var(--white);
  border-radius: var(--border-radius-lg);
  box-shadow: 
    10px 10px 20px var(--shadow-dark),
    -10px -10px 20px var(--shadow-light);
  transition: all 0.3s ease;
  margin-bottom: 2rem;
  height: 100%;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 
    15px 15px 30px var(--shadow-dark),
    -15px -15px 30px var(--shadow-light);
}

.feature-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--light);
  box-shadow: 
    4px 4px 8px var(--shadow-dark),
    -4px -4px 8px var(--shadow-light);
}

.feature-icon img {
  width: 60%;
  height: auto;
  object-fit: contain;
}

.feature-card h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  text-align: center;
  color: var(--primary-dark);
}

.feature-card p {
  text-align: center;
  color: var(--medium-dark);
  line-height: 1.7;
}

/* Success Stories секция */
.success-stories-section {
  padding: var(--spacing-xl) 0;
  background-color: var(--white);
  position: relative;
}

.success-story-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--light);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: 
    10px 10px 20px var(--shadow-dark),
    -10px -10px 20px var(--shadow-light);
  transition: all 0.3s ease;
  margin-bottom: 2rem;
  height: 100%;
}

.success-story-card:hover {
  transform: translateY(-5px);
  box-shadow: 
    15px 15px 30px var(--shadow-dark),
    -15px -15px 30px var(--shadow-light);
}

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

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

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

.card-content h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--primary-dark);
}

.story-subtitle {
  font-size: 1rem;
  color: var(--medium);
  margin-bottom: 1.5rem;
  font-style: italic;
}

.story-text {
  color: var(--medium-dark);
  line-height: 1.7;
}

/* Customer Stories секция */
.customer-stories-section {
  padding: var(--spacing-xl) 0;
  background-color: var(--light);
  position: relative;
}

.customer-story-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 3rem 2rem;
  background: var(--white);
  border-radius: var(--border-radius-lg);
  box-shadow: 
    10px 10px 20px var(--shadow-dark),
    -10px -10px 20px var(--shadow-light);
  margin: 0 auto;
  max-width: 800px;
}

.customer-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 1.5rem;
  box-shadow: 
    4px 4px 8px var(--shadow-dark),
    -4px -4px 8px var(--shadow-light);
}

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

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

.quote {
  font-size: 1.1rem;
  font-style: italic;
  color: var(--medium-dark);
  margin-bottom: 1.5rem;
  line-height: 1.8;
  position: relative;
}

.quote::before,
.quote::after {
  content: '"';
  font-size: 2rem;
  color: var(--primary-color);
  opacity: 0.3;
  position: absolute;
}

.quote::before {
  top: -1.5rem;
  left: -1rem;
}

.quote::after {
  bottom: -2rem;
  right: -1rem;
}

.customer-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--dark);
  margin-bottom: 0.25rem;
}

.customer-title {
  font-size: 0.9rem;
  color: var(--medium);
  font-style: italic;
}

.carousel-control-prev,
.carousel-control-next {
  width: 5%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  width: 3rem;
  height: 3rem;
  background-color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Resources секция */
.resources-section {
  padding: var(--spacing-xl) 0;
  background-color: var(--white);
  position: relative;
}

.resource-card {
  background: var(--light);
  border-radius: var(--border-radius-md);
  padding: 2rem;
  box-shadow: 
    8px 8px 16px var(--shadow-dark),
    -8px -8px 16px var(--shadow-light);
  transition: all 0.3s ease;
  height: 100%;
  margin-bottom: 2rem;
}

.resource-card:hover {
  transform: translateY(-5px);
  box-shadow: 
    12px 12px 24px var(--shadow-dark),
    -12px -12px 24px var(--shadow-light);
}

.resource-title {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--primary-dark);
}

.resource-title a {
  color: inherit;
  transition: color 0.3s ease;
}

.resource-title a:hover {
  color: var(--primary-color);
}

.resource-description {
  color: var(--medium-dark);
  line-height: 1.7;
}

/* Media секция */
.media-section {
  padding: var(--spacing-xl) 0;
  background-color: var(--light);
  position: relative;
}

.media-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem;
  background: var(--white);
  border-radius: var(--border-radius-lg);
  box-shadow: 
    10px 10px 20px var(--shadow-dark),
    -10px -10px 20px var(--shadow-light);
  transition: all 0.3s ease;
  height: 100%;
  margin-bottom: 2rem;
}

.media-card:hover {
  transform: translateY(-5px);
  box-shadow: 
    15px 15px 30px var(--shadow-dark),
    -15px -15px 30px var(--shadow-light);
}

.media-logo {
  height: 80px;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.media-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.media-quote {
  font-style: italic;
  text-align: center;
  color: var(--medium-dark);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.media-source {
  font-weight: 600;
  color: var(--primary-dark);
  text-align: center;
  font-size: 0.9rem;
}

/* Contact секция */
.contact-section {
  padding: var(--spacing-xl) 0;
  background-color: var(--white);
  position: relative;
}

.contact-info {
  background: var(--light);
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  box-shadow: 
    10px 10px 20px var(--shadow-dark),
    -10px -10px 20px var(--shadow-light);
  height: 100%;
}

.contact-info h3 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: var(--primary-dark);
}

.contact-details {
  list-style: none;
  padding: 0;
  margin-bottom: 2rem;
}

.contact-details li {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  color: var(--medium-dark);
}

.contact-details li i {
  font-size: 1.2rem;
  color: var(--primary-color);
  margin-right: 1rem;
  width: 20px;
  text-align: center;
}

.contact-hours h4 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: var(--primary-dark);
}

.contact-hours p {
  margin-bottom: 0.5rem;
  color: var(--medium-dark);
}

.contact-form-container {
  background: var(--white);
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  box-shadow: 
    10px 10px 20px var(--shadow-dark),
    -10px -10px 20px var(--shadow-light);
  height: 100%;
}

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

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

.contact-form .form-control {
  display: block;
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--medium-dark);
  background-color: var(--light);
  border: none;
  border-radius: var(--border-radius-md);
  box-shadow: 
    inset 3px 3px 6px var(--shadow-dark),
    inset -3px -3px 6px var(--shadow-light);
  transition: all 0.3s ease;
}

.contact-form .form-control:focus {
  outline: none;
  box-shadow: 
    inset 4px 4px 8px var(--shadow-dark),
    inset -4px -4px 8px var(--shadow-light),
    0 0 0 3px rgba(58, 123, 213, 0.1);
}

.contact-form textarea.form-control {
  resize: vertical;
}

.contact-form .form-check-input {
  margin-top: 0.25rem;
}

/* Footer */
.footer {
  background-color: var(--dark);
  color: var(--light-gray);
  padding: 4rem 0 2rem;
  position: relative;
}

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

.footer-logo {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.8rem;
  color: var(--white);
  margin-bottom: 1rem;
}

.footer-info p {
  line-height: 1.7;
  color: var(--light-gray);
  margin-bottom: 1rem;
}

.footer-links h4, 
.footer-newsletter h4 {
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  position: relative;
}

.footer-links h4::after,
.footer-newsletter h4::after {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  background: var(--primary-color);
  margin-top: 0.5rem;
  border-radius: 2px;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

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

.footer-links ul li a {
  color: var(--light-gray);
  transition: all 0.3s ease;
}

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

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

.newsletter-form .input-group {
  box-shadow: 
    5px 5px 10px rgba(0, 0, 0, 0.2),
    -5px -5px 10px rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius-md);
  overflow: hidden;
}

.newsletter-form .form-control {
  background-color: rgba(255, 255, 255, 0.1);
  border: none;
  padding: 0.75rem 1rem;
  color: var(--white);
  border-radius: var(--border-radius-md) 0 0 var(--border-radius-md);
}

.newsletter-form .form-control::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.newsletter-form .form-control:focus {
  outline: none;
  box-shadow: none;
  background-color: rgba(255, 255, 255, 0.15);
}

.newsletter-form .btn {
  border-radius: 0 var(--border-radius-md) var(--border-radius-md) 0;
  background-color: var(--primary-color);
  color: var(--white);
  border: none;
  padding: 0.75rem 1.5rem;
  transition: all 0.3s ease;
}

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

.social-links {
  margin-top: 2rem;
}

.social-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.social-list li a {
  color: var(--light-gray);
  transition: all 0.3s ease;
  font-weight: 600;
}

.social-list li a:hover {
  color: var(--white);
}

/* Cookie Consent */
.cookie-consent {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem 2rem;
  background-color: rgba(35, 42, 52, 0.9);
  color: var(--white);
  z-index: 9999;
  box-shadow: 0 -5px 10px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
}

.cookie-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.cookie-content p {
  margin-bottom: 0;
  margin-right: 1rem;
}

.cookie-content a {
  color: var(--accent-color);
}

.cookie-content .btn {
  white-space: nowrap;
}

/* Success Modal */
.modal-content {
  border-radius: var(--border-radius-lg);
  box-shadow: 
    10px 10px 20px var(--shadow-dark),
    -10px -10px 20px var(--shadow-light);
  border: none;
  overflow: hidden;
}

.modal-header {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 1.5rem;
  border-bottom: none;
}

.modal-title {
  font-weight: 700;
}

.btn-close {
  color: var(--white);
  opacity: 0.8;
}

.modal-body {
  padding: 2rem;
}

.modal-footer {
  padding: 1.5rem;
  border-top: none;
}

/* Success Page */
.success-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: var(--spacing-xl) 0;
  text-align: center;
}

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

.success-message {
  max-width: 600px;
  margin: 0 auto 2rem;
}

.success-message h1 {
  color: var(--primary-dark);
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.success-message p {
  font-size: 1.1rem;
  color: var(--medium-dark);
  line-height: 1.7;
}

/* Terms and Privacy Pages */
.terms-page, .privacy-page {
  padding-top: 100px;
  padding-bottom: var(--spacing-xl);
}

.terms-content, .privacy-content {
  background: var(--white);
  border-radius: var(--border-radius-lg);
  padding: 3rem;
  box-shadow: 
    10px 10px 20px var(--shadow-dark),
    -10px -10px 20px var(--shadow-light);
}

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

.terms-content h2, .privacy-content h2 {
  font-size: 1.8rem;
  margin-top: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--primary-dark);
}

.terms-content p, .privacy-content p {
  margin-bottom: 1.5rem;
  line-height: 1.7;
  color: var(--medium-dark);
}

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

.terms-content ul li, .privacy-content ul li {
  margin-bottom: 0.75rem;
  color: var(--medium-dark);
}

/* About Page */
.about-page {
  padding-top: 100px;
  padding-bottom: var(--spacing-xl);
}

.about-content {
  background: var(--white);
  border-radius: var(--border-radius-lg);
  padding: 3rem;
  box-shadow: 
    10px 10px 20px var(--shadow-dark),
    -10px -10px 20px var(--shadow-light);
}

.team-section {
  padding: var(--spacing-xl) 0;
}

.team-member {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--light);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: 
    10px 10px 20px var(--shadow-dark),
    -10px -10px 20px var(--shadow-light);
  transition: all 0.3s ease;
  height: 100%;
  margin-bottom: 2rem;
}

.team-member:hover {
  transform: translateY(-5px);
  box-shadow: 
    15px 15px 30px var(--shadow-dark),
    -15px -15px 30px var(--shadow-light);
}

.team-member-image {
  width: 100%;
  height: 300px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.team-member-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.team-member-info {
  padding: 2rem;
  text-align: center;
}

.team-member-name {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--primary-dark);
}

.team-member-position {
  font-size: 1rem;
  color: var(--medium);
  margin-bottom: 1.5rem;
  font-style: italic;
}

.team-member-bio {
  color: var(--medium-dark);
  line-height: 1.7;
}

/* Анимации */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes morphing {
  0% {
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  }
  25% {
    border-radius: 58% 42% 75% 25% / 76% 46% 54% 24%;
  }
  50% {
    border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%;
  }
  75% {
    border-radius: 33% 67% 58% 42% / 63% 68% 32% 37%;
  }
  100% {
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  }
}

/* Адаптивность */
@media (max-width: 1199.98px) {
  h1 {
    font-size: 3rem;
  }
  
  h2 {
    font-size: 2.2rem;
  }
  
  .hero-title {
    font-size: 3rem;
  }
}

@media (max-width: 991.98px) {
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  h3 {
    font-size: 1.5rem;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }
  
  .hero-buttons .btn {
    width: 100%;
  }
  
  .cookie-content {
    flex-direction: column;
    text-align: center;
  }
  
  .cookie-content p {
    margin-right: 0;
    margin-bottom: 1rem;
  }
  
  .feature-card,
  .success-story-card,
  .media-card {
    margin-bottom: 2rem;
  }
}

@media (max-width: 767.98px) {
  h1 {
    font-size: 2.2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .hero-title {
    font-size: 2.2rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .section-subtitle {
    font-size: 1rem;
  }
  
  .hero-section {
    min-height: auto;
    padding: 100px 0 60px;
  }
  
  .feature-card,
  .success-story-card,
  .media-card,
  .resource-card {
    padding: 1.5rem;
  }
  
  .contact-form-container,
  .contact-info {
    margin-bottom: 2rem;
  }
  
  .terms-content, 
  .privacy-content,
  .about-content {
    padding: 2rem;
  }
}

@media (max-width: 575.98px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.6rem;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .hero-section {
    padding: 80px 0 50px;
  }
  
  .feature-icon {
    width: 60px;
    height: 60px;
  }
  
  .card-image {
    height: 220px;
  }
  
  .terms-content, 
  .privacy-content,
  .about-content {
    padding: 1.5rem;
  }
}