:root {
  /* Пастельная цветовая схема */
  --primary-color: #f8b195;
  --secondary-color: #f67280;
  --accent-color: #c06c84;
  --dark-accent: #6c5b7b;
  --neutral-color: #355c7d;
  
  /* Оттенки для текста и фона */
  --text-dark: #333333;
  --text-light: #ffffff;
  --text-muted: #6c757d;
  --bg-light: #f8f9fa;
  --bg-dark: #212529;
  
  /* Тени и эффекты */
  --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  --text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
  --transition-speed: 0.3s;
  
  /* Градиенты */
  --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  --gradient-overlay: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));
}

/* Основные стили */
body {
  font-family: 'Open Sans', sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

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

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

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

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

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

.mb-5 {
  margin-bottom: 3rem;
}

.py-5 {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

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

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

/* Параллакс и эффекты */
.parallax-section {
  position: relative;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  color: var(--text-light);
}

/* Частицы */
.particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

/* Навигация */
header {
  transition: background-color var(--transition-speed) ease;
}

.navbar {
  padding: 1rem 0;
  transition: all var(--transition-speed) ease;
}

.navbar-brand {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--primary-color) !important;
}

.navbar-light .navbar-nav .nav-link {
  color: var(--text-dark);
  font-weight: 500;
  padding: 0.5rem 1rem;
  transition: color var(--transition-speed) ease;
}

.navbar-light .navbar-nav .nav-link:hover {
  color: var(--accent-color);
}

/* Глобальные стили кнопок */
.btn, button, input[type='submit'] {
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 30px;
  transition: all var(--transition-speed) ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: var(--box-shadow);
  border: none;
}

.btn:hover, button:hover, input[type='submit']:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--text-dark);
  border: none;
}

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

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

.btn-outline-light:hover {
  background-color: var(--text-light);
  color: var(--accent-color);
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 0;
  margin-top: -76px; /* Компенсация высоты фиксированного хедера */
}

.hero-section h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-light);
  text-shadow: var(--text-shadow);
  position: relative;
  z-index: 3;
}

.hero-section p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: var(--text-light);
  text-shadow: var(--text-shadow);
  position: relative;
  z-index: 3;
}

.hero-section .btn {
  position: relative;
  z-index: 3;
}

/* Section Headers */
.section-title {
  position: relative;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--dark-accent);
  text-align: center;
}

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

/* Features/Services Section */
.features-section {
  background-color: var(--bg-light);
  padding: 5rem 0;
}

.feature-card {
  background-color: white;
  border-radius: 10px;
  border: none;
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: transform var(--transition-speed) ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.feature-card:hover {
  transform: translateY(-10px);
}

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

.feature-card .card-img-top {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-speed) ease;
}

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

.feature-card .card-body {
  padding: 1.5rem;
  text-align: center;
}

.feature-card .card-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--accent-color);
  margin-bottom: 1rem;
}

.feature-card .card-text {
  color: var(--text-dark);
}

/* About Section */
.about-section {
  background-color: var(--bg-light);
  padding: 5rem 0;
}

.about-section h3 {
  color: var(--accent-color);
  margin-bottom: 1.5rem;
  font-size: 1.75rem;
}

.about-section .image-container {
  overflow: hidden;
  border-radius: 10px;
  box-shadow: var(--box-shadow);
}

.about-section .image-container img {
  transition: transform var(--transition-speed) ease;
}

.about-section .image-container:hover img {
  transform: scale(1.03);
}

.stat-widget {
  background-color: white;
  padding: 1rem;
  border-radius: 8px;
  text-align: center;
  box-shadow: var(--box-shadow);
}

.stat-widget h4 {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.stat-widget p {
  margin-bottom: 0;
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* History Section / Timeline */
.timeline {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

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

.timeline-item {
  padding: 10px 40px;
  position: relative;
  width: 50%;
  box-sizing: border-box;
  margin-bottom: 2rem;
}

.timeline-item:nth-child(odd) {
  left: 0;
}

.timeline-item:nth-child(even) {
  left: 50%;
}

.timeline-marker {
  width: 20px;
  height: 20px;
  position: absolute;
  background-color: var(--secondary-color);
  border-radius: 50%;
  z-index: 1;
  right: -10px;
  top: 15px;
}

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

.timeline-content {
  padding: 20px;
  background-color: white;
  position: relative;
  border-radius: 8px;
  box-shadow: var(--box-shadow);
}

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

.timeline-content .image-container {
  margin-top: 1rem;
  overflow: hidden;
  border-radius: 8px;
}

@media (max-width: 767px) {
  .timeline::after {
    left: 31px;
  }
  
  .timeline-item {
    width: 100%;
    padding-left: 70px;
    padding-right: 25px;
  }
  
  .timeline-item:nth-child(even) {
    left: 0;
  }
  
  .timeline-marker {
    left: 21px;
    right: auto;
  }
  
  .timeline-item:nth-child(even) .timeline-marker {
    left: 21px;
  }
}

/* Team Section */
.team-section {
  padding: 5rem 0;
}

.team-card {
  background-color: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: transform var(--transition-speed) ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.team-card:hover {
  transform: translateY(-10px);
}

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

.team-card .card-img-top {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-speed) ease;
}

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

.team-card .card-body {
  padding: 1.5rem;
  text-align: center;
}

.team-card .card-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--accent-color);
  margin-bottom: 0.25rem;
}

.team-position {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

/* Portfolio Section */
.portfolio-section {
  padding: 5rem 0;
}

.portfolio-card {
  background-color: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: transform var(--transition-speed) ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.portfolio-card:hover {
  transform: translateY(-10px);
}

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

.portfolio-card .card-img-top {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-speed) ease;
}

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

.portfolio-card .card-body {
  padding: 1.5rem;
  text-align: center;
}

.portfolio-card .card-title {
  color: var(--accent-color);
  margin-bottom: 0.5rem;
}

/* Success Stories / Testimonials Section */
.success-stories-section {
  padding: 5rem 0;
  background-color: var(--bg-light);
}

.testimonial-card {
  background-color: white;
  border-radius: 10px;
  padding: 2rem;
  box-shadow: var(--box-shadow);
  transition: transform var(--transition-speed) ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.testimonial-card:hover {
  transform: translateY(-10px);
}

.testimonial-card .card-body {
  text-align: center;
}

.rating {
  color: var(--primary-color);
  font-size: 1.25rem;
}

.testimonial-author {
  margin-top: 1.5rem;
}

.testimonial-author h4 {
  font-size: 1.125rem;
  color: var(--accent-color);
  margin-bottom: 0.25rem;
}

.testimonial-author p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* Press Section */
.press-section {
  padding: 5rem 0;
}

.press-item {
  background-color: white;
  border-radius: 10px;
  padding: 1.5rem;
  box-shadow: var(--box-shadow);
  transition: transform var(--transition-speed) ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.press-item:hover {
  transform: translateY(-5px);
}

.press-item .image-container {
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.press-item img {
  transition: transform var(--transition-speed) ease;
}

.press-item:hover img {
  transform: scale(1.05);
}

.press-item h3 {
  color: var(--accent-color);
  margin-bottom: 0.25rem;
}

.press-item .text-muted {
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

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

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

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

.resource-card .card-body {
  text-align: center;
}

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

.resource-card .btn {
  margin-top: 1rem;
}

/* Contact Section */
.contact-section {
  padding: 5rem 0;
}

.contact-info {
  background-color: white;
  border-radius: 10px;
  padding: 2rem;
  box-shadow: var(--box-shadow);
  height: 100%;
}

.contact-info h3, .contact-form-container h3 {
  color: var(--accent-color);
  margin-bottom: 1rem;
}

.contact-info ul li {
  margin-bottom: 1rem;
}

.contact-info ul li strong {
  color: var(--dark-accent);
}

.map-container {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

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

.contact-form .form-control {
  border-radius: 8px;
  padding: 0.75rem 1rem;
  border: 1px solid #e9ecef;
  transition: all var(--transition-speed) ease;
}

.contact-form .form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.25rem rgba(248, 177, 149, 0.25);
}

.contact-form .form-label {
  color: var(--dark-accent);
  font-weight: 600;
}

/* Footer */
.footer {
  background-color: var(--bg-dark);
  color: var(--text-light);
  padding: 5rem 0 2rem;
}

.footer h4 {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
}

.footer p {
  color: rgba(255, 255, 255, 0.7);
}

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

.social-links a {
  color: var(--primary-color);
  font-weight: 600;
  transition: color var(--transition-speed) ease;
}

.social-links a:hover {
  color: var(--secondary-color);
  text-decoration: none;
}

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

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition-speed) ease;
}

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

.contact-info li {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.75rem;
}

.footer hr {
  background-color: rgba(255, 255, 255, 0.1);
}

.footer .list-inline-item:not(:last-child) {
  margin-right: 1.5rem;
}

/* Cookie Consent */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(33, 37, 41, 0.95);
  color: white;
  padding: 15px;
  z-index: 9999;
  display: none;
}

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

.cookie-content p {
  margin: 0;
  padding: 5px 0;
}

.btn-accept {
  background-color: #28a745;
  color: white;
  border: none;
  padding: 8px 20px;
  border-radius: 4px;
  cursor: pointer;
}

/* Страница успеха */
.success-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: var(--bg-light);
  padding-top: 76px; /* Компенсация высоты фиксированного хедера */
}

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

.success-content h1 {
  color: var(--accent-color);
  margin-bottom: 1.5rem;
}

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

/* Страницы terms и privacy */
.page-content {
  padding-top: 100px;
  padding-bottom: 3rem;
}

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

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

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

.fade-in-up {
  animation: fadeInUp 0.6s ease-out forwards;
}

/* Медиа-запросы */
@media (max-width: 1199px) {
  .hero-section h1 {
    font-size: 3rem;
  }
}

@media (max-width: 991px) {
  .hero-section {
    min-height: 80vh;
  }
  
  .hero-section h1 {
    font-size: 2.5rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
}

@media (max-width: 767px) {
  .hero-section {
    min-height: 70vh;
  }
  
  .hero-section h1 {
    font-size: 2rem;
  }
  
  .hero-section p {
    font-size: 1rem;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
  
  .section-subtitle {
    font-size: 1rem;
  }
  
  .timeline-content {
    padding: 15px;
  }
  
  .timeline-item {
    padding-left: 60px;
  }
  
  .cookie-content {
    flex-direction: column;
    text-align: center;
  }
  
  .btn-accept {
    margin-top: 10px;
    width: 100%;
  }
}

@media (max-width: 575px) {
  .hero-section {
    padding-top: 120px;
    min-height: auto;
    height: 100vh;
  }
  
  .btn, button, input[type='submit'] {
    padding: 0.625rem 1.25rem;
  }
}
.mb-3 { 
  color: #000 !important;
}