:root {
  --primary-color: #2D3748;
  --soft-bg: #F8F9FA;
  --main-bg: #FEFEFE;
  --text-color: #718096;
  --border-radius: 12px;
  --box-shadow: 0 4px 12px rgba(45, 55, 72, 0.08);
  --transition: all 0.3s ease;
  --primary-bg: #FEFEFE;
  --secondary-bg: #F8F9FA;
  --accent-purple: #2D3748;
  --accent-purple-hover: #4A5568;
  --accent-yellow: #1A202C;
  --accent-yellow-light: #A0AEC0;
  --text-primary: #2D3748;
  --text-secondary: #718096;
  --border-radius: 8px;
  --transition: all 0.3s ease;
  --shadow: 0 4px 12px rgba(45, 55, 72, 0.05);
  --graphite-dark: #2D3748;
  --asphalt-dark: #4A5568;
  --steel-gray: #718096;
  --silver-gray: #A0AEC0;
  --pearl-light: #E2E8F0;
  --anthracite: #1A202C;
  --smoke-border: #CBD5E0;
  --white-bg: #FFFFFF;
}

* {
  box-sizing: border-box;
}

body {
  font-family: "Montserrat", sans-serif;
  color: var(--text-color);
  line-height: 1.6;
  background-color: var(--main-bg);
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Noto Sans", sans-serif;
  font-weight: 600;
}

/* Header Styles */
.header-fixed {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1030;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(138, 30, 105, 0.1);
}

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

.navbar-nav .nav-link {
  font-weight: 500;
  color: var(--text-color) !important;
  transition: var(--transition);
  padding: 0.5rem 1rem !important;
}

.navbar-nav .nav-link:hover {
  color: var(--primary-color) !important;
}
/* Page Header */
.page-header {
  background-color: var(--soft-bg);
  padding: 140px 0 80px;
  text-align: center;
}

.page-header h1 {
  color: var(--primary-color);
  font-size: 2.5rem;
  margin-bottom: 0;
}

/* Buttons */
.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  border-radius: var(--border-radius);
  font-weight: 500;
  padding: 12px 24px;
  transition: var(--transition);
}

.btn-primary:hover {
  background-color: #2D3748;
  border-color: #2D3748;
  transform: translateY(-2px);
}

.btn-outline-primary {
  color: var(--primary-color);
  border-color: var(--primary-color);
  border-radius: var(--border-radius);
  font-weight: 500;
  padding: 12px 24px;
  transition: var(--transition);
}

.btn-outline-primary:hover {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  transform: translateY(-2px);
}

/* Form */
.form-control {
  border-radius: var(--border-radius);
  border: 1px solid #e5e7eb;
  padding: 12px 15px;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(138, 30, 105, 0.25);
}

/* Footer */
.footer {
  background-color: var(--text-color);
  color: white;
  padding: 60px 0 30px;
}

.footer h5 {
  color: #f1d9fb;
  margin-bottom: 1rem;
}

.footer a {
  color: #d1d5db;
  text-decoration: none;
  transition: var(--transition);
}

.footer a:hover {
  color: #8E44AD;
}

/* Cookie Popup */
.cookie-popup {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: white;
  padding: 20px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  z-index: 1050;
  border-left: 4px solid var(--primary-color);
}

.cookie-popup.d-none {
  display: none !important;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .page-header h1 {
    font-size: 2rem;
  }

  .cookie-popup {
    left: 10px;
    right: 10px;
  }
}

@media (max-width: 576px) {
  .page-header {
    padding: 120px 0 60px;
  }
}

/* new styles  */
.section-spacer {
  padding: 120px 0;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  position: relative;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 600px;
}

.btn-primary-custom {
  background-color: var(--accent-purple);
  color: white;
  border: none;
  padding: 12px 28px;
  border-radius: var(--border-radius);
  font-weight: 500;
  transition: var(--transition);
  text-decoration: none;
  display: inline-block;
}

.btn-primary-custom:hover {
  background-color: var(--accent-purple-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  color: white;
}

/* Стилі для головного екрану */
.hero-section {
  position: relative;
  overflow: hidden;
  background-color: var(--primary-bg);
  min-height: 85vh;
  display: flex;
  align-items: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  right: 0;
  width: 55%;
  height: 100%;
  clip-path: polygon(100px 0, 100% 0, 100% 100%, 0 100%);
  overflow: hidden;
  z-index: 1;
}

.hero-overlay::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(45, 55, 72, 0.7) 0%, rgba(45, 55, 72, 0.4) 100%);
  z-index: 2;
}

.hero-image {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 5;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  max-width: 600px;
}

.hero-badge {
  display: inline-block;
  background-color: var(--pearl-light);
  color: var(--accent-purple);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 1.5rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.hero-decoration {
  position: absolute;
  width: 180px;
  height: 180px;
  border: 2px solid var(--pearl-light);
  border-radius: 50%;
  opacity: 0.6;
  z-index: 0;
}

.hero-decoration-1 {
  top: -90px;
  left: -90px;
}

.hero-decoration-2 {
  bottom: -90px;
  right: 10%;
}

@media (max-width: 991.98px) {
  .hero-overlay {
    width: 100%;
    clip-path: none;
    opacity: 0.15;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.125rem;
  }
  
  .section-spacer {
    padding: 80px 0;
  }
}

@media (max-width: 767.98px) {
  .hero-section {
    min-height: 70vh;
  }
  
  .hero-title {
    font-size: 2rem;
  }
}

 .section-padding {
  padding: 100px 0;
 }
 
 .title-underline {
  position: relative;
  padding-bottom: 15px;
 }
 
 
 .text-content {
  color: var(--text-secondary);
  line-height: 1.7;
 }
 
 .section-bg {
  background-color: var(--secondary-bg);
 }
 
 .stat-card {
  padding: 25px;
  border-radius: var(--border-radius);
  transition: var(--transition);
  height: 100%;
 }
 
 .stat-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
 }
 
 .stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent-purple);
  margin-bottom: 10px;
 }
 
 .img-wrapper {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
 }

 /* Стилі для нових блоків */
.direction-card {
  background-color: var(--white-bg);
  border-radius: var(--border-radius);
  padding: 30px;
  height: 100%;
  transition: var(--transition);
  border-top: 3px solid transparent;
 }
 
 .direction-card:hover {
  border-top-color: var(--accent-purple);
  box-shadow: var(--shadow);
  transform: translateY(-5px);
 }
 
 .testimonial-card {
  background-color: var(--white-bg);
  border-radius: var(--border-radius);
  padding: 25px;
  margin-bottom: 20px;
  position: relative;
  transition: var(--transition);
 }
 
 .testimonial-card:hover {
  box-shadow: var(--shadow);
 }
 
 .testimonial-avatar {
  width: 120px;
  height: 120px;
  border-radius: 4px;
  overflow: hidden;
  border: 3px solid var(--white-bg);
  box-shadow: var(--shadow);
 }
 
 .testimonial-quote {
  position: relative;
  padding-left: 20px;
  border-left: 3px solid var(--pearl-light);
 }
 
 .article-card {
  border-radius: var(--border-radius);
  overflow: hidden;
  height: 100%;
  transition: var(--transition);
  background-color: var(--white-bg);
 }
 
 .article-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-5px);
 }
 
 .article-img-container {
  height: 200px;
  overflow: hidden;
 }
 
 .article-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
 }
 
 .article-card:hover .article-img {
  transform: scale(1.05);
 }
 
 .article-content {
  padding: 20px;
 }
 
 .article-tag {
  display: inline-block;
  padding: 4px 10px;
  font-size: 0.75rem;
  border-radius: 50px;
  background-color: var(--pearl-light);
  color: var(--text-primary);
  margin-bottom: 10px;
 }
 
 .article-date {
  font-size: 0.85rem;
  color: var(--silver-gray);
  margin-bottom: 10px;
 }
 
 .article-title {
  margin-bottom: 15px;
  font-weight: 600;
 }
 /* Стилі для нових блоків */
.about-section {
  position: relative;
 }
 
 .about-image {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
 }
 
 .about-image::after {
  content: '';
  position: absolute;
  top: 15px;
  right: -15px;
  width: 100%;
  height: 100%;
  border: 2px solid var(--accent-purple);
  border-radius: var(--border-radius);
  z-index: -1;
 }
 
 .standard-list {
  list-style: none;
  padding-left: 0;
 }
 
 .standard-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 15px;
  color: var(--text-secondary);
 }
 
 .standard-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  background-color: var(--accent-purple);
  border-radius: 50%;
 }
 
 .values-card {
  padding: 20px;
  border-radius: var(--border-radius);
  transition: var(--transition);
  border-left: 3px solid var(--pearl-light);
  background-color: var(--white-bg);
  margin-bottom: 15px;
 }
 
 .values-card:hover {
  border-left-color: var(--accent-purple);
  box-shadow: var(--shadow);
  transform: translateX(5px);
 }
 
 .values-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--soft-bg);
  border-radius: 50%;
  margin-right: 15px;
 }
 
 .section-divider {
  height: 1px;
  background: linear-gradient(to right, transparent, var(--pearl-light), transparent);
  margin: 20px 0;
 }

 /* Стилі для нових блоків */
.service-card {
  border-radius: var(--border-radius);
  background-color: var(--white-bg);
  overflow: hidden;
  height: 100%;
  transition: var(--transition);
 }
 
 .service-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-5px);
 }
 
 .service-img-container {
  height: 200px;
  overflow: hidden;
 }
 
 .service-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
 }
 
 .service-card:hover .service-img {
  transform: scale(1.05);
 }
 
 .service-content {
  padding: 20px;
 }
 
 .service-title {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
 }
 
 .service-title i {
  margin-right: 10px;
  color: var(--accent-purple);
 }
 
 .advantage-item {
  position: relative;
  background-color: var(--white-bg);
  border-radius: var(--border-radius);
  padding: 25px 20px 25px 70px;
  margin-bottom: 20px;
  transition: var(--transition);
 }
 
 .advantage-item:hover {
  box-shadow: var(--shadow);
  transform: translateX(5px);
 }
 
 .advantage-number {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--accent-purple);
  color: white;
  border-radius: 50%;
  font-weight: 600;
 }
 
 .step-card {
  position: relative;
  display: flex;
  align-items: center;
  margin-bottom: 30px;
 }
 
 .step-number {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--accent-purple);
  color: white;
  border-radius: 50%;
  font-size: 1.5rem;
  font-weight: 600;
  margin-right: 20px;
  flex-shrink: 0;
 }
 
 .step-content {
  padding: 15px;
  background-color: var(--white-bg);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  width: 100%;
  position: relative;
 }
 
 .step-content::before {
  content: '';
  position: absolute;
  left: -10px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-right: 10px solid var(--white-bg);
 }
 
 .steps-connection {
  position: absolute;
  left: 30px;
  top: 60px;
  bottom: 60px;
  width: 2px;
  background-color: var(--pearl-light);
  z-index: 0;
 }
 /* Стилі для нових блоків */
.project-card {
  background-color: var(--white-bg);
  border-radius: var(--border-radius);
  overflow: hidden;
  height: 100%;
  transition: var(--transition);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
 }
 
 .project-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-5px);
 }
 
 .project-img-container {
  position: relative;
  height: 250px;
  overflow: hidden;
 }
 
 .project-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
 }
 
 .project-card:hover .project-img {
  transform: scale(1.05);
 }
 
 .project-type {
  position: absolute;
  top: 15px;
  right: 15px;
  background-color: var(--accent-purple);
  color: white;
  font-size: 0.75rem;
  padding: 5px 12px;
  border-radius: 50px;
  font-weight: 500;
 }
 
 .project-content {
  padding: 20px;
 }
 
 .project-meta {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  font-size: 0.85rem;
  color: var(--text-secondary);
 }
 
 .project-meta i {
  font-size: 16px;
  margin-right: 5px;
 }
 
 .project-title {
  margin-bottom: 10px;
  font-weight: 600;
  font-size: 1.25rem;
 }
 
 .news-item {
  position: relative;
  padding: 20px;
  border-radius: var(--border-radius);
  background-color: var(--white-bg);
  margin-bottom: 15px;
  transition: var(--transition);
  border-left: 3px solid var(--pearl-light);
 }
 
 .news-item:hover {
  box-shadow: var(--shadow);
  border-left-color: var(--accent-purple);
 }
 
 .news-date {
  display: inline-block;
  font-size: 0.75rem;
  background-color: var(--pearl-light);
  padding: 4px 10px;
  border-radius: 50px;
  margin-bottom: 10px;
  color: var(--text-primary);
 }
 
 .news-title {
  font-weight: 600;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
 }
 
 .news-title i {
  margin-right: 10px;
  color: var(--accent-purple);
 }
 
 .news-badge {
  display: inline-block;
  margin-left: 10px;
  padding: 3px 8px;
  font-size: 0.75rem;
  border-radius: 4px;
  background-color: var(--accent-purple);
  color: white;
  font-weight: normal;
  vertical-align: middle;
 }
 /* Стилі для блоку контактної інформації */
.contact-section {
  position: relative;
 }
 
 .contact-card {
  background-color: var(--white-bg);
  border-radius: var(--border-radius);
  padding: 30px;
  height: 100%;
  box-shadow: var(--shadow);
  transition: var(--transition);
 }
 
 .contact-info-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
 }
 
 .contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background-color: var(--pearl-light);
  color: var(--accent-purple);
  border-radius: 50%;
  margin-right: 15px;
  flex-shrink: 0;
  transition: var(--transition);
 }
 
 .contact-info-item:hover .contact-icon {
  background-color: var(--accent-purple);
  color: white;
 }
 
 .contact-text h3 {
  font-size: 1rem;
  margin-bottom: 5px;
  color: var(--text-primary);
  font-weight: 600;
 }
 
 .contact-text p, .contact-text a {
  color: var(--text-secondary);
  margin-bottom: 0;
  text-decoration: none;
  transition: var(--transition);
 }
 
 .contact-text a:hover {
  color: var(--accent-purple);
 }
 
 .map-container {
  width: 100%;
  height: 100%;
  min-height: 350px;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
 }
 
 .map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
 }
 
 .social-links {
  display: flex;
  margin-top: 20px;
 }
 
 .social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: var(--pearl-light);
  color: var(--accent-purple);
  border-radius: 50%;
  margin-right: 10px;
  transition: var(--transition);
 }
 
 .social-link:hover {
  background-color: var(--accent-purple);
  color: white;
  transform: translateY(-3px);
 }
 
 .contact-form-container {
  background-color: var(--white-bg);
  border-radius: var(--border-radius);
  padding: 30px;
  box-shadow: var(--shadow);
 }
 
 .form-section-title {
  position: relative;
  margin-bottom: 30px;
  padding-bottom: 15px;
 }
 
 .form-section-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 60px;
  background-color: var(--accent-purple);
 }
 
 @media (max-width: 767.98px) {
  .contact-section .row > div {
    margin-bottom: 30px;
  }
  
  .map-container {
    min-height: 250px;
  }
 }