
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
  padding: 20px 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.header__content {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 4;
}

.header__logo {
  display: flex;
  align-items: center;
}

.header__logo img {
  max-width: 60px;
}

.header__nav {
  display: none;
}

.burger-menu {
  display: block;
  cursor: pointer;
  padding: 10px;
}

.burger-line {
  display: block;
  width: 30px;
  height: 3px;
  background: #fff;
  margin: 5px 0;
  transition: all 0.3s ease;
}

.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #000000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease-in-out, visibility 0s linear 0.5s;
  z-index: 100;
}

.menu-overlay.open {
  opacity: 1;
  visibility: visible;
  transition-delay: 0s;
}

.menu {
  background-color: #000000;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 20px;
  position: relative;
  transform: translateY(-100%);
  transition: transform 0.5s ease-in-out;
}

.menu.open {
  transform: translateY(0);
}

.menu__close {
  cursor: pointer;
  position: absolute;
  top: 20px;
  right: 20px;
  width: 25px;
  height: 25px;
}

.close-line {
  position: absolute;
  width: 100%;
  height: 3px;
  background: #fff;
  top: 50%;
  transition: all 0.3s ease;
}

.close-line-1 {
  transform: rotate(45deg);
}

.close-line-2 {
  transform: rotate(-45deg);
}

.menu__links {
  list-style: none;
  padding: 0;
  margin-top: 80px;
}

.menu__links li {
  margin-bottom: 20px;
}

.menu__links a {
  text-decoration: none;
  color: #faf9f9;
  font-size: 20px;
  padding: 15px 0;
  display: block;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: color 0.5s ease, background-color 0.5s ease;
}

.menu__links a:hover {
  background-color: #714aff;
  color: #faf9f9;
}

@media (min-width: 768px) {
  .header {
    background-color: #010101f9;
  }

  .header__nav {
    display: flex;
    align-items: center;
  }

  .header__nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .header__nav ul li {
    margin-right: 20px;
  }

  .header__nav ul li:last-child {
    margin-right: 0;
  }

  .header__nav a {
    text-decoration: none;
    color: #e6dfdf;
    font-size: 16px;
    padding: 10px 15px;
    border-radius: 4px;
    transition: color 0.5s ease, background-color 0.5s ease;
  }

  .header__nav a:hover {
    background-color: #5e5e5eb0;
    color: #ffffff;
  }

  .burger-menu {
    display: none;
  }

  .menu-overlay {
    display: none !important;
  }
}

@media (min-width: 1440px) {
  .header__logo img {
    max-width: 60px;
  }

  .header__nav a {
    font-size: 18px;
  }
}




/* Unique Footer Styles */
.unique-footer {
  position: relative;
  background-color: #0d0d0d;      /* Dark background */
  color: #e0e0e0;               /* Light text */
  padding: 40px 20px;
  text-align: center;
  font-family: 'Arial', sans-serif;
}

.unique-footer-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.05);  /* Light overlay for subtle effect */
  z-index: 1;
}

.unique-footer-container {
  position: relative;
  z-index: 2;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 10px;
  box-sizing: border-box;
}

.unique-footer-info p {
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 20px;
}

/* Footer Buttons */
.footer-buttons {
  margin-bottom: 20px;
}

.footer-btn {
  display: inline-block;
  margin: 0 10px;
  padding: 8px 16px;
  background-color: #333;  /* Dark button background */
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.footer-btn:hover {
  background-color: #555;
}

.unique-footer-copy p {
  font-size: 14px;
  border-top: 1px solid rgba(224, 224, 224, 0.2);
  padding-top: 10px;
  margin: 0;
  opacity: 0.85;
} .hero-glass { position: relative; width: 100%; min-height: 90vh; background-size: cover; background-position: center; display: flex; align-items: center; padding: 60px 20px; }
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.8); z-index: 1; }

.container { position: relative; z-index: 2; max-width: 1200px; margin: 0 auto; text-align: center; }

.hero-glass-content { display: inline-block; padding: 40px 30px; background: rgba(255, 255, 255, 0.1); backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, 0.3); border-radius: 15px; color: var(--text-color); }

.hero-title { font-family: var(--font-secondary); font-size: 3rem; text-transform: uppercase; margin-bottom: 20px; color: var(--primary-color); animation: fadeInDown 1s ease; }

.hero-subtitle { font-family: var(--font-primary); font-size: 1.2rem; margin-bottom: 30px; line-height: 1.6; color: var(--text-color); animation: fadeInUp 1s ease; }

.hero-btn { padding: 12px 30px; font-size: 1rem; border-radius: 8px; background: var(--button-bg); color: var(--button-text); border: none; cursor: pointer; transition: background 0.3s ease, transform 0.3s ease; }

.hero-btn:hover { background: var(--button-hover-bg); transform: translateY(-3px); }

@keyframes fadeInDown { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }

@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 768px) { .hero-title { font-size: 2.5rem; } .hero-subtitle { font-size: 1rem; } .hero-btn { font-size: 0.9rem; padding: 10px 20px; } }

@media (max-width: 480px) { .hero-title { font-size: 2rem; } .hero-subtitle { font-size: 0.9rem; } .hero-btn { font-size: 0.8rem; padding: 8px 16px; } }

 * { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: var(--font-primary); background: var(--background-color); color: var(--text-color); padding: 50px 0; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; text-align: center; }

.section-title { font-size: 32px; font-weight: bold; margin-bottom: 10px; color: var(--text-color); }

.section-subtitle { font-size: 18px; margin-bottom: 30px; color: var(--text-color); opacity: 0.7; }

.cards-wrapper { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }

.card { position: relative; width: 280px; height: 380px; border-radius: 15px; overflow: hidden; cursor: pointer; transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out; }

.card-image { width: 100%; height: 100%; }

.card-image img { width: 100%; height: 100%; object-fit: cover; }

.card-overlay { position: absolute; bottom: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.7); display: flex; flex-direction: column; align-items: center; justify-content: center; opacity: 0; transform: translateY(100%); transition: transform 0.4s ease-in-out, opacity 0.4s ease-in-out; }

.card-title { font-size: 22px; font-weight: bold; margin-bottom: 10px; color: var(--text-color); }

.card-description { font-size: 14px; text-align: center; margin-bottom: 15px; padding: 0 20px; color: var(--text-color); opacity: 0.8; }

.btn { display: inline-block; padding: 10px 20px; font-size: 14px; font-weight: bold; text-transform: uppercase; color: var(--button-text); background: var(--button-bg); border: 2px solid var(--button-border); text-decoration: none; border-radius: 5px; transition: all 0.3s ease-in-out; }

.btn:hover { background: var(--button-hover-bg); color: var(--button-text); }

.card:hover { transform: scale(1.05); box-shadow: 0px 10px 20px rgba(255, 255, 255, 0.1); }

.card:hover .card-overlay { opacity: 1; transform: translateY(0); }

@media (max-width: 768px) { .cards-wrapper { flex-direction: column; align-items: center; } }


.metrics-section {
    padding: 120px 0;
    color: #fff;
    position: relative;
    overflow: hidden;
  }
  
  .metrics-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
  }
  
  .metrics-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    perspective: 1000px;
  }
  
  .metrics-visual {
    max-width: 600px;
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.5s ease;
  }
  
  .metrics-image {
    width: 100%;
    height: auto;
    display: block;
    border: 3px solid #00ffcc;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 255, 204, 0.3);
    transition: transform 0.3s ease;
  }
  
  .metrics-image:hover {
    transform: scale(1.05);
  }
  
  .metrics-details {
    max-width: 600px;
  }
  
  .metrics-header {
    text-align: left;
    margin-bottom: 40px;
  }
  
  .metrics-heading {
    font-size: 3.5rem;
    font-weight: 900;
    color: #00ffcc;
    text-transform: uppercase;
    margin-bottom: 15px;
    text-shadow: 0 0 20px rgba(0, 255, 204, 0.8), 0 0 40px rgba(0, 123, 255, 0.6);
    transition: color 0.3s ease;
  }
  
  .metrics-heading:hover {
    color: #007bff;
  }
  
  .metrics-text {
    font-size: 1.2rem;
    color: #d9d9d9;
    line-height: 1.6;
  }
  
  .metrics-display {
    display: flex;
    gap: 30px;
    margin-top: 30px;
  }
  
  .metric-item {
    flex: 1;
    padding: 25px;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 15px;
    border: 2px solid #00ffcc;
    box-shadow: 0 5px 15px rgba(0, 255, 204, 0.2);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .metric-item:hover {
    transform: translateZ(10px) scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 255, 204, 0.4);
  }
  
  .metric-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
    text-shadow: 0 0 10px rgba(0, 255, 204, 0.5);
    transition: color 0.3s ease;
  }
  
  .metric-value:hover {
    color: #007bff;
  }
  
  .metric-name {
    font-size: 1rem;
    color: #e6dfdf;
    text-transform: uppercase;
  }
  
  /* Адаптивність */
  @media (max-width: 1024px) {
    .metrics-layout {
      grid-template-columns: 1fr;
      gap: 40px;
    }
  
    .metrics-visual {
      max-width: 80%;
      margin: 0 auto;
    }
  
    .metrics-header {
      text-align: center;
    }
  
    .metrics-display {
      flex-direction: column;
      gap: 20px;
    }
  }
  
  @media (max-width: 768px) {
    .metrics-section {
      padding: 80px 0;
    }
  
    .metrics-heading {
      font-size: 2.5rem;
    }
  
    .metrics-text {
      font-size: 1rem;
    }
  
    .metric-value {
      font-size: 2rem;
    }
  
    .metric-name {
      font-size: 0.9rem;
    }
  
    .metrics-visual {
      max-width: 100%;
    }
  }
  
  @media (max-width: 480px) {
    .metrics-heading {
      font-size: 2rem;
    }
  
    .metrics-text {
      font-size: 0.9rem;
    }
  
    .metric-value {
      font-size: 1.5rem;
    }
  
    .metric-name {
      font-size: 0.8rem;
    }
  }


.about-alt2 {
  padding: 60px 20px;
  background: var(--background-color);
}

.about-alt2 .container {
  max-width: 1200px;
  margin: 0 auto;
}

.about-alt2-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.about-alt2-text {
  flex: 1;
  background: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(240,240,240,0.95));
  padding: 40px;
  border-radius: 8px;
  box-shadow: var(--box-shadow);
}

.about-alt2-title {
  font-family: var(--font-secondary);
  font-size: 2.8rem;
  color: var(--primary-color);
  margin-bottom: 20px;
  text-transform: uppercase;
}

.about-alt2-description {
  font-family: var(--font-primary);
  font-size: 1.1rem;
  color: var(--text-color);
  margin-bottom: 20px;
  line-height: 1.6;
}

.about-alt2-list {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.about-alt2-list li {
  font-family: var(--font-primary);
  font-size: 1rem;
  color: var(--text-color);
  margin-bottom: 10px;
}

.about-alt2-btn {
  display: inline-block;
  padding: 12px 30px;
  background: var(--button-bg);
  color: var(--button-text);
  border: none;
  border-radius: 8px;
  text-transform: uppercase;
  font-family: var(--font-primary);
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

.about-alt2-btn:hover {
  background: var(--button-hover-bg);
  transform: translateY(-3px);
}

.about-alt2-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-alt2-image img {
  width: 100%;
  max-width: 500px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: var(--box-shadow);
  transition: transform 0.3s ease;
}

.about-alt2-image img:hover {
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .about-alt2-wrapper {
    flex-direction: column;
    text-align: center;
  }
  .about-alt2-text, .about-alt2-image {
    width: 100%;
  }
  .about-alt2-text {
    margin-bottom: 20px;
  }
}


.faq-accordion {
  background: var(--background-color);
  padding: 60px var(--container-padding);
  color: var(--text-color);
}

.faq-section-title {
  font-family: var(--font-secondary);
  font-size: 2.5rem;
  text-align: center;
  color: var(--primary-color);
  margin-bottom: 30px;
}

.faq-item {
  border-bottom: 1px solid var(--secondary-color);
  overflow: hidden;
  transition: background 0.3s ease;
}

.faq-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  cursor: pointer;
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-color);
}

.faq-toggle {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0 20px;
}

.faq-item.open .faq-content {
  max-height: 500px;
  padding: 15px 20px;
}

.faq-content p {
  margin: 0;
  font-family: var(--font-primary);
  font-size: 0.95rem;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .faq-section-title {
    font-size: 2rem;
  }
  .faq-header {
    font-size: 0.95rem;
  }
  .faq-content {
    font-size: 0.9rem;
  }
}


.games-flip {
  padding: 80px 20px;
  background: var(--background-color);
  text-align: center;
  color: var(--text-color);
}

.games-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.games-heading {
  font-family: var(--font-secondary);
  font-size: 2.8rem;
  text-transform: uppercase;
  margin-bottom: 10px;
  color: var(--primary-color);
}

.games-subheading {
  font-family: var(--font-primary);
  font-size: 1.2rem;
  margin-bottom: 40px;
  opacity: 0.8;
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.flip-card {
  perspective: 1000px;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 320px;
  transition: transform 0.6s;
  transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 12px;
  overflow: hidden;
}

.flip-card-front {
  background: var(--games-card-bg, #fff);
}

.card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.flip-card-inner:hover .card-image {
  transform: scale(1.05);
}

.flip-card-back {
  background: rgba(0, 0, 0, 0.85);
  color: var(--button-text, #fff);
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.game-title {
  font-family: var(--font-secondary, sans-serif);
  font-size: 1.8rem;
  margin-bottom: 10px;
  text-transform: uppercase;
  color: var(--primary-color);
}

.game-description {
  font-family: var(--font-primary, sans-serif);
  font-size: 1rem;
  margin-bottom: 20px;
  color: var(--button-text, #fff);
}

.game-button {
  display: inline-block;
  padding: 10px 20px;
  background: var(--button-bg, #e91e63);
  color: var(--button-text, #fff);
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 6px;
  transition: background 0.3s ease, transform 0.2s ease;
}

.game-button:hover {
  background: var(--button-hover-bg, #d81b60);
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .games-heading {
    font-size: 2.2rem;
  }
  .games-subheading {
    font-size: 1rem;
  }
  .flip-card-inner {
    height: 280px;
  }
  .game-title {
    font-size: 1.6rem;
  }
  .game-description {
    font-size: 0.9rem;
  }
  .game-button {
    font-size: 0.9rem;
    padding: 8px 16px;
  }
}


/* Cookie Consent Modal Variant 2 Styles */
.cookie-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);  /* затемнение фона */
  display: none;  /* показывается через JS */
  align-items: center;
  justify-content: center;
  z-index: 1200;
}

.cookie-modal {
  background: var(--background-color);
  color: var(--text-color);
  border: 2px solid var(--accent-color);
  border-radius: 12px;
  padding: 30px;
  max-width: 500px;
  width: 90%;
  text-align: center;
  position: relative;
  font-family: var(--font-primary);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.cookie-modal-close {
  position: absolute;
  top: 10px;
  right: 15px;
  background: transparent;
  border: none;
  font-size: 28px;
  color: var(--text-color);
  cursor: pointer;
}

.cookie-modal h2 {
  margin-top: 0;
  font-family: var(--font-secondary);
  color: var(--primary-color);
}

.cookie-modal p {
  font-size: 16px;
  margin: 20px 0;
}

.cookie-modal-actions {
  display: flex;
  gap: 15px;
  justify-content: center;
}

.cookie-modal-actions .btn {
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 15px;
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  transition: background 0.3s ease;
  background: var(--button-bg);
  color: var(--button-text);
  box-shadow: 0 4px 8px var(--button-shadow);
}

.cookie-modal-actions .btn:hover {
  background: var(--button-hover-bg);
}

.cookie-modal-actions .btn.secondary {
  background: var(--button-secondary-bg);
  color: var(--button-secondary-text);
}


.testimonials-zone-angled {
    position: relative;
    padding: 100px 20px;
    overflow: hidden;
  }
  .testimonials-zone-angled::before {
    content: "";
    position: absolute;
    top: -60px;
    left: -50%;
    width: 200%;
    height: 300px;
    transform: rotate(5deg);
    transform-origin: top center;
    z-index: 1;
  }
  .testimonials-frame {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
  }
  .testimonials-header {
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 10px;
    font-weight: 700;
  }
  .testimonials-blurb {
    font-size: 1.2rem;
    color: #ccc;
    margin-bottom: 40px;
  }
  .testimonials-carousel {
    position: relative;
    width: 100%;
  }
  .testimonials-showcase {
    display: flex;
    gap: 20px;
    justify-content: center;
    overflow: hidden;
  }
  .testimonial-panel {
    min-width: 300px;
    background: #1f1f1f;
    border-radius: 10px;
    padding: 20px;
    text-align: left;
    margin: 0 auto;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
    display: none;
  }
  .testimonial-panel:hover {
    transform: translateY(-4px);
  }
  .testimonial-portrait {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 10px;
  }
  .testimonial-identity {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 5px;
  }
  .testimonial-words {
    color: #ccc;
    font-size: 1rem;
    line-height: 1.6;
  }
  .controls-1,
  .controls-2,
  .controls-3,
  .controls-4 {
    display: none;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    pointer-events: none;
  }
  .testimonial-prev,
  .testimonial-next {
    background: #0af;
    color: #fff;
    border: none;
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s ease;
    pointer-events: auto;
    position: absolute;
  }
  .testimonial-prev:hover,
  .testimonial-next:hover {
    background: #08c;
  }
  .testimonial-prev {
    left: 10px;
  }
  .testimonial-next {
    right: 10px;
  }
  #testimonial-1:checked ~ .testimonials-frame .testimonials-carousel .testimonials-showcase .testimonial-panel:nth-child(1) {
    display: block;
  }
  #testimonial-2:checked ~ .testimonials-frame .testimonials-carousel .testimonials-showcase .testimonial-panel:nth-child(2) {
    display: block;
  }
  #testimonial-3:checked ~ .testimonials-frame .testimonials-carousel .testimonials-showcase .testimonial-panel:nth-child(3) {
    display: block;
  }
  #testimonial-4:checked ~ .testimonials-frame .testimonials-carousel .testimonials-showcase .testimonial-panel:nth-child(4) {
    display: block;
  }
  #testimonial-1:checked ~ .testimonials-frame .testimonials-carousel .controls-1 {
    display: block;
  }
  #testimonial-2:checked ~ .testimonials-frame .testimonials-carousel .controls-2 {
    display: block;
  }
  #testimonial-3:checked ~ .testimonials-frame .testimonials-carousel .controls-3 {
    display: block;
  }
  #testimonial-4:checked ~ .testimonials-frame .testimonials-carousel .controls-4 {
    display: block;
  }
  @media (max-width: 768px) {
    .testimonials-header {
      font-size: 2rem;
    }
    .testimonials-blurb {
      font-size: 1rem;
      margin-bottom: 30px;
    }
    .testimonial-panel {
      margin: 0 auto;
      width: 80%;
    }
    .testimonial-portrait {
      margin: 0 auto 10px;
      display: block;
    }
    .testimonial-text {
      text-align: center;
    }
  }


.parallax-variant-3 {
  position: relative;
  overflow: hidden;
  height: 40rem;
  background-color: var(--background-color);
}

.parallax-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 120%;
  background-size: cover;
  background-position: center;
  will-change: transform;
  z-index: 1;
}

.parallax-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 2;
}

.parallax-inner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  text-align: center;
  padding: 1rem;
  color: var(--primary-color);
}

.parallax-heading {
  font-family: var(--font-secondary);
  font-size: 3rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.parallax-subtitle {
  font-family: var(--font-primary);
  font-size: 1.25rem;
  line-height: 1.4;
}

@media (max-width: 768px) {
  .parallax-heading {
    font-size: 2.5rem;
  }
  .parallax-subtitle {
    font-size: 1rem;
  }
}


/* === Глобальные переменные для Features === */
:root {
    --features-bg: var(--background-color); /* Фон секции */
    --features-text-color: var(--text-color); /* Цвет текста */
    --features-title-color: var(--primary-color); /* Цвет заголовка */
    --features-subtitle-color: var(--secondary-color); /* Цвет подзаголовка */
    --features-card-bg: var(--card-bg); /* Фон карточек */
    --features-card-shadow: var(--shadow-color); /* Тень карточек */
    --features-icon-bg: var(--primary-color); /* Фон иконки */
}

/* === Общие стили для секции Features === */
.features {
    background: var(--features-bg);
    color: var(--features-text-color);
    padding: 80px 20px;
    text-align: center;
}

/* Контейнер */
.features .container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Заголовки */
.features .section-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--features-title-color);
    margin-bottom: 10px;
    text-transform: uppercase;
}

.features .section-subtitle {
    font-size: 1.2rem;
    color: var(--features-subtitle-color);
    margin-bottom: 40px;
    line-height: 1.6;
}

/* === Grid Сетка === */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    width: 100%;
}

/* === Карточки (Feature Cards) === */
.feature-card {
    background: var(--features-card-bg);
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 10px var(--features-card-shadow);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 6px 15px var(--features-card-shadow);
}

/* === Иконки в карточках === */
.feature-card .icon {
    width: 90px;
    height: 90px;
    background: var(--features-icon-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    overflow: hidden; /* Обрезаем края */
    padding: 0; /* Убираем отступы */
}

.feature-card:hover .icon {
    transform: scale(1.1);
}

.feature-card .icon img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Заполняет весь круг */
    border-radius: 50%; /* Делаем изображение круглым */
}

/* === Текст в карточке === */
.feature-card h3 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 1rem;
    line-height: 1.5;
}

/* === Адаптивность === */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .features {
        padding: 60px 15px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .feature-card {
        padding: 20px;
    }

    .feature-card .icon {
        width: 70px;
        height: 70px;
    }

    .feature-card .icon img {
        width: 50px;
        height: 50px;
    }

    .features .section-title {
        font-size: 2rem;
    }

    .features .section-subtitle {
        font-size: 1rem;
    }
}



    /* Стили для формы */
    .contact-form {
      background: var(--bg-section);
      padding: 60px 30px;
      margin: 80px auto;
      max-width: 600px;
      border-radius: 12px;
      border: 2px solid var(--border-section);
      position: relative;
      overflow: hidden;
    }

    /* Затемнённый оверлей для всей секции */
    .contact-form::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: var(--overlay-bg);
      z-index: 0;
    }

    /* Контейнер внутри секции */
    .container {
      position: relative;
      z-index: 1;
      padding: 20px;
      box-sizing: border-box;
    }

    /* Основной блок с формой */
    .contact-form__content {
      background: var(--bg-content);
      padding: 40px;
      border-radius: 12px;
      box-shadow: 0 4px 10px var(--shadow-color);
    }

    /* Заголовок формы */
    .contact-form__title {
      font-family: var(--font-title);
      font-size: 2.5rem;
      color: var(--title-color);
      text-transform: uppercase;
      margin-bottom: 20px;
      text-align: center;
    }

    /* Метки для полей ввода */
    .contact-form label {
      display: block;
      font-family: var(--font-body);
      font-size: 1.1rem;
      color: var(--label-color);
      margin-bottom: 5px;
    }

    /* Поля ввода и textarea */
    .contact-form input,
    .contact-form textarea {
      width: 100%;
      padding: 12px;
      margin-bottom: 20px;
      font-family: var(--font-body);
      font-size: 1rem;
      color: var(--label-color);
      border: 1px solid var(--input-border);
      border-radius: 8px;
      outline: none;
      transition: border 0.3s ease;
    }

    /* Фокус на полях ввода */
    .contact-form input:focus,
    .contact-form textarea:focus {
      border-color: var(--input-focus);
    }

    /* Кнопка отправки */
    .submit-btn {
      display: block;
      width: 100%;
      padding: 14px 0;
      background: var(--button-bg);
      color: #FFFFFF;
      font-family: var(--font-body);
      font-size: 1.1rem;
      font-weight: bold;
      text-transform: uppercase;
      border: none;
      border-radius: 8px;
      cursor: pointer;
      transition: background 0.3s ease, transform 0.2s ease;
      box-shadow: 0 4px 8px rgba(255, 111, 97, 0.4);
    }

    /* Эффект при наведении на кнопку */
    .submit-btn:hover {
      background: var(--button-hover);
      transform: scale(1.05);
    }

    /* Сообщение об успешной отправке */
    #success-message {
      display: none;
      text-align: center;
      font-family: var(--font-body);
      font-size: 1.2rem;
      color: var(--success-color);
      margin-top: 20px;
      opacity: 0;
      animation: fadeIn 0.5s ease-in-out forwards;
    }

    /* Анимация появления сообщения */
    @keyframes fadeIn {
      from {
        opacity: 0;
        transform: translateY(-10px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    /* Адаптивность */
    @media (max-width: 768px) {
      .contact-form {
        padding: 60px 15px;
        margin: 40px auto;
      }

      .contact-form__content {
        padding: 30px;
      }

      .contact-form__title {
        font-size: 2rem;
      }

      .contact-form label {
        font-size: 1rem;
      }

      .submit-btn {
        font-size: 1rem;
        padding: 12px 20px;
      }
    }

