:root {
  /* Основная монохромная палитра */
  --primary-color: #2a4a64;
  --primary-light: #3a6180;
  --primary-dark: #1a3a54;
  --secondary-color: #f0f4f8;
  --secondary-dark: #d0d8e0;
  --accent-color: #64a0c8;
  --accent-light: #86b8d8;
  --accent-dark: #4888b8;
  
  /* Нейтральные цвета */
  --dark: #333333;
  --light: #ffffff;
  --gray-100: #f8f9fa;
  --gray-200: #e9ecef;
  --gray-300: #dee2e6;
  --gray-400: #ced4da;
  --gray-500: #adb5bd;
  --gray-600: #6c757d;
  --gray-700: #495057;
  --gray-800: #343a40;
  --gray-900: #212529;
  
  /* Эффекты гласморфизма */
  --glass-bg: rgba(255, 255, 255, 0.1);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  --glass-border: 1px solid rgba(255, 255, 255, 0.18);
  --glass-blur: 10px;
  
  /* Типографика */
  --heading-font: 'Raleway', sans-serif;
  --body-font: 'Open Sans', sans-serif;
  
  /* Тени */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.15);
  
  /* Анимации */
  --transition-speed: 0.3s;
  --transition-timing: ease-in-out;
}

/* Base Styles */
html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--body-font);
  color: var(--gray-800);
  background-color: var(--gray-100);
  line-height: 1.6;
  overflow-x: hidden;
}

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

p {
  margin-bottom: 1.5rem;
}

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

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

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

.section-padding {
  padding: 5rem 0;
}

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

.section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 3px;
  background: var(--accent-color);
  margin: 1rem auto;
}

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

/* Glassmorphism Card Styles */
.card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border-radius: 15px;
  border: var(--glass-border);
  box-shadow: var(--glass-shadow);
  overflow: hidden;
  transition: transform var(--transition-speed) var(--transition-timing),
              box-shadow var(--transition-speed) var(--transition-timing);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.card-image {
  width: 100%;
  height: 0;
  padding-bottom: 65%;
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

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

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

/* Buttons */
.btn {
  display: inline-block;
  font-weight: 600;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  cursor: pointer;
  user-select: none;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  line-height: 1.5;
  border-radius: 50px;
  transition: all var(--transition-speed) var(--transition-timing);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

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

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

.btn-primary {
  background-color: var(--primary-color);
  color: var(--light) !important;
  border: 2px solid var(--primary-color);
}

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

.btn-outline-primary {
  background-color: transparent;
  color: var(--primary-color) !important;
  border: 2px solid var(--primary-color);
}

.btn-outline-primary:hover {
  background-color: var(--primary-color);
  color: var(--light) !important;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

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

/* Header & Navigation */
header {
  transition: background-color 0.3s ease;
}

.navbar {
  padding: 1rem 0;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.navbar-brand {
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 1.75rem;
  color: var(--primary-color);
}

.navbar-nav .nav-link {
  font-weight: 600;
  padding: 0.5rem 1rem;
  color: var(--gray-700);
  position: relative;
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: var(--accent-color);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

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

.navbar-nav .nav-link:hover::after {
  width: 80%;
}

/* Hero Section */
.hero-section {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  margin-top: 0;
  padding-top: 76px;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6));
}

.hero-section h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  color: #FFFFFF;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-section p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: #FFFFFF;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* Our Process Section */
.timeline-container {
  position: relative;
  padding: 2rem 0;
}

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

.timeline-row {
  margin-bottom: 3rem;
  position: relative;
}

.timeline-row:last-child {
  margin-bottom: 0;
}

.timeline-card {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.timeline-card::before {
  content: '';
  position: absolute;
  top: 50%;
  width: 20px;
  height: 20px;
  background-color: var(--accent-color);
  border-radius: 50%;
  z-index: 1;
}

.timeline-row:nth-child(odd) .timeline-card::before {
  right: -30px;
  transform: translateY(-50%);
}

.timeline-row:nth-child(even) .timeline-card::before {
  left: -30px;
  transform: translateY(-50%);
}

.progress-wrapper {
  margin-top: 1.5rem;
}

.progress {
  height: 10px;
  border-radius: 5px;
  background-color: var(--gray-200);
  overflow: hidden;
}

.progress-bar {
  background-color: var(--accent-color);
  transition: width 1.5s ease;
}

/* Sustainability Section */
.sustainability-card {
  margin-bottom: 2rem;
  overflow: hidden;
}

.sustainability-card .card-image {
  height: 0;
  padding-bottom: 56.25%;
  position: relative;
}

.sustainability-card .card-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sustainability-card h3 {
  margin-top: 0;
  margin-bottom: 1rem;
  color: var(--primary-dark);
}

/* Team Section */
.team-card {
  margin-bottom: 2rem;
  text-align: center;
}

.team-card .card-image {
  width: 100%;
  height: 0;
  padding-bottom: 100%;
  position: relative;
  overflow: hidden;
  border-radius: 15px 15px 0 0;
}

.team-card .card-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  color: var(--primary-dark);
}

.team-role {
  color: var(--accent-color);
  font-weight: 600;
  margin-bottom: 1rem;
}

/* Behind the Scenes Section */
.bts-card {
  margin-bottom: 2rem;
  overflow: hidden;
}

.bts-card .card-image {
  height: 0;
  padding-bottom: 56.25%;
  position: relative;
}

.bts-card .card-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bts-card h3 {
  margin-top: 0;
  margin-bottom: 1rem;
  color: var(--primary-dark);
}

/* Press Section */
.press-card {
  margin-bottom: 2rem;
  height: 100%;
}

.press-card .card-image {
  height: 0;
  padding-bottom: 56.25%;
  position: relative;
}

.press-card .card-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.press-card h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  color: var(--primary-dark);
}

.press-date {
  color: var(--gray-600);
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

/* Clientele Section */
.clients-grid {
  margin-bottom: 3rem;
}

.client-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 150px;
  padding: 1.5rem;
  background-color: var(--light);
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

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

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

.testimonial-card {
  text-align: center;
  padding: 2rem;
  height: 100%;
}

.testimonial-image {
  width: 100px;
  height: 100px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

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

.testimonial-text {
  font-style: italic;
  margin-bottom: 1.5rem;
  position: relative;
}

.testimonial-text::before,
.testimonial-text::after {
  content: '"';
  font-size: 2rem;
  color: var(--accent-light);
  position: absolute;
  opacity: 0.5;
}

.testimonial-text::before {
  top: -10px;
  left: -5px;
}

.testimonial-text::after {
  bottom: -30px;
  right: -5px;
}

.testimonial-position {
  color: var(--accent-color);
  font-weight: 600;
}

/* Insights Section */
.insight-card {
  margin-bottom: 2rem;
  height: 100%;
}

.insight-card .card-image {
  height: 0;
  padding-bottom: 56.25%;
  position: relative;
}

.insight-card .card-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.insight-card h3 {
  margin-top: 0;
  margin-bottom: 1rem;
  color: var(--primary-dark);
}

/* Media (Blog) Section */
.featured-post {
  margin-bottom: 2rem;
}

.featured-post .card-image {
  height: 0;
  padding-bottom: 56.25%;
  position: relative;
}

.featured-post .card-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-category {
  display: inline-block;
  background-color: var(--accent-light);
  color: var(--light);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.post-meta {
  color: var(--gray-600);
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.recent-post-card {
  margin-bottom: 1.5rem;
  padding: 1.5rem;
}

.recent-post-card h4 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.recent-post-card .post-meta {
  margin-bottom: 0.5rem;
}

/* Contact Section */
.contact-info-card,
.contact-form-card {
  height: 100%;
}

.contact-item {
  margin-bottom: 1.5rem;
}

.contact-item h4 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
  color: var(--primary-dark);
}

.contact-item p {
  margin-bottom: 0;
}

.form-control {
  border-radius: 10px;
  padding: 0.75rem 1rem;
  border: 1px solid var(--gray-300);
  background-color: rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
}

.form-control:focus {
  box-shadow: none;
  border-color: var(--accent-color);
  background-color: var(--light);
}

.form-select {
  border-radius: 10px;
  padding: 0.75rem 1rem;
  border: 1px solid var(--gray-300);
  background-color: rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
}

.form-select:focus {
  box-shadow: none;
  border-color: var(--accent-color);
  background-color: var(--light);
}

.map-card {
  overflow: hidden;
  border-radius: 15px;
}

.map-card .card-image {
  height: 0;
  padding-bottom: 36.36%;
  position: relative;
}

.map-card .card-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

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

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

.footer-section p {
  color: var(--gray-300);
  margin-bottom: 1rem;
}

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

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

.footer-links a {
  color: var(--gray-300);
  transition: color 0.3s ease;
}

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

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

.social-links a {
  color: var(--gray-300);
  margin-right: 1rem;
  transition: color 0.3s ease;
}

.social-links a:hover {
  color: var(--light);
}

.copyright {
  color: var(--gray-400);
  margin-bottom: 0;
}

.footer-policy-link {
  color: var(--gray-400);
  transition: color 0.3s ease;
}

.footer-policy-link:hover {
  color: var(--light);
}

/* Resources Section */
.resource-card {
  height: 100%;
  margin-bottom: 2rem;
}

.resource-card .card-image {
  height: 0;
  padding-bottom: 56.25%;
  position: relative;
}

.resource-card .card-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.resource-card h3 {
  font-size: 1.25rem;
  margin-top: 0;
  margin-bottom: 1rem;
}

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

.success-content {
  max-width: 600px;
  padding: 3rem;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
}

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

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

.page-content h1 {
  margin-bottom: 2rem;
}

.page-content h2 {
  margin-top: 2.5rem;
  margin-bottom: 1.5rem;
}

/* Animation Classes */
.fade-in {
  animation: fadeIn 1s ease forwards;
}

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

.scale-in {
  animation: scaleIn 0.5s ease forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

@keyframes scaleIn {
  from {
    transform: scale(0.9);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* Background Patterns */
.bg-pattern {
  position: relative;
  overflow: hidden;
}

.bg-pattern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('image/pattern.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.05;
  z-index: -1;
}

/* Media Queries */
@media (max-width: 991.98px) {
  .section-title {
    font-size: 2rem;
  }
  
  .hero-section h1 {
    font-size: 2.5rem;
  }
  
  .timeline-container::before {
    left: 30px;
  }
  
  .timeline-row:nth-child(even) .timeline-card::before {
    left: 20px;
  }
  
  .timeline-row:nth-child(odd) .timeline-card::before {
    right: auto;
    left: 20px;
  }
}

@media (max-width: 767.98px) {
  .section-padding {
    padding: 4rem 0;
  }
  
  .hero-section {
    min-height: 500px;
  }
  
  .hero-section h1 {
    font-size: 2rem;
  }
  
  .hero-section p {
    font-size: 1rem;
  }
}

@media (max-width: 575.98px) {
  .section-padding {
    padding: 3rem 0;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
  
  .hero-section {
    min-height: 450px;
  }
  
  .btn {
    padding: 0.625rem 1.25rem;
  }
}