/* Основные настройки */

* {
    box-sizing: border-box;
  }
  
html, body {
    max-width: 100%;
    overflow-x: hidden;
  }

html {
  scroll-padding-top: 100px; /* высота фиксированного header */
}

body {
    font-family: 'Segoe UI', sans-serif;
    background-color: #f8f9fa;
    color: #212529;
  }
  /* CTA btn */
  .btn-warning {
    color: #1F2937;
    background-color: #FFC107;
    border: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
  }

  .btn-warning:hover {
    background-color: #e0a800;
    transform: scale(1.05);
  }
  
  /* Навбар */
  .navbar {
    background-color: rgba(31, 41, 55, 0.9); /* Тёмно-серый с прозрачностью */
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000; /* чтобы была поверх остальных элементов */
    backdrop-filter: blur(6px); /* мягкое размытие фона (по желанию) */
  }

  .navbar-brand img {
    height: 45px; /* увеличь по вкусу */
    object-fit: contain;
  }

  .navbar-brand {
    color: #fff;
    font-weight: bold;
    font-size: 1.5rem;
  }
  .navbar-nav .nav-link {
    color: #fff;
    font-size: 1.1rem;
    padding: 0.5rem 1rem;
  }
  .navbar-nav .nav-link:hover {
    color: #aad4ff;
  }
  
  /* Hero */
  .hero {
    background: linear-gradient(to right, rgba(31, 41, 55, 0.7), rgba(31, 41, 55, 0.5)),
                url('../img/IMG_20250621_231927.jpg') no-repeat center center/cover;
    height: 100vh;
  }
  .hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    animation: fadeInDown 1s ease-out;
  }
  .hero p.lead {
    font-size: 1.5rem;
    animation: fadeInUp 1.2s ease-out;
  }
  .hero .btn {
    background-color: #FFC107;
    color: #1F2937;
    border: none;
  }
  .hero .btn:hover {
    background-color: #e0a800;
  }
  
  /* Анимации */
  @keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-30px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  @keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  @keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
  }
  
  /* mobile */
  @media (max-width: 576px) {
    .section-title {
      font-size: 1.5rem;
    }
    .final-cta-section h2 {
      font-size: 1.5rem;
    }
    .final-cta-section p {
      font-size: 1rem;
    }
  }

/* Advantages */
section.bg-light {
    background-color: #F3F4F6 !important;
  }
  
  .card {
    border: none;
    background: linear-gradient(135deg, #ffffff, #f9fafb);
    transition: all 0.3s ease;
    border-radius: 16px;
    box-shadow: 0 0 0 rgba(0,0,0,0);
  }
  .card:hover {
    background: linear-gradient(135deg, #f9fafb, #e5e5e6);
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
  }
  .card .icon-box {
    background-color: #1F2937;
    color: #FFC107;
    font-size: 2rem;
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .card-title {
    font-weight: 600;
    color: #1F2937;
    margin-top: 1rem;
  }
  .card-text {
    color: #4B5563;
    font-size: 0.95rem;
  }

    /* subscription */
  .subscription-item {
    background-color: #ffffff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #E5E7EB;
  }
  .section-title {
    font-weight: 700;
    color: #111827;
    position: relative;
    display: inline-block;
    margin-bottom: 2rem;
    font-size: 1.75rem;
  }
  .section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: #FFC107;
    border-radius: 2px;
  }
  
  .subscription-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  }
      
      
  
  /* Contact form */
  .contact-form-section {
    background: linear-gradient(135deg, rgba(54, 70, 92, 0.9), #121820);
    color: #ffffff;
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .contact-form-section ul li {
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #f1f5f9;
  }
  
  .contact-form-section .form-control {
    border-radius: 8px;
    padding: 0.75rem 1rem;
    border: 1px solid #dee2e6;
    box-shadow: none;
  }

  .contact-form-section .form-control::placeholder {
    color: #adb5bd;
  }
  
  .contact-form-section textarea.form-control {
    resize: vertical;
  }
  
  .contact-form-section .form-control:focus {
    outline: none;
    box-shadow: 0 0 0 0.25rem rgba(255, 193, 7, 0.4);
    border-color: #FFC107;
  }
  
  .contact-form-section .btn-warning {
    color: #1F2937;
    background-color: #FFC107;
    border: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
  }

  .contact-form-section .btn-warning:hover {
    background-color: #e0a800;
    transform: scale(1.05);
  }
  
  .contact-form-section h2 {
    font-size: 2rem;
  }
  
  .contact-form-section p {
    font-size: 1.2rem;
    color: #EDEDED;
  }
  
  /* Footer */
  .footer {
    background-color: #0f172a;
    color: white;
    padding: 20px 0;
    text-align: center;
  }

  .footer-logo {
    height: 45px;
    max-width: 180px;
  }

  .social-icons .social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #FFC107; /* Bootstrap blue как базовый фон */
    color: #1F2937;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 1.25rem;
    transition: all 0.3s ease;
  }

  .social-icons .social-icon:hover {
    background-color: #FFC107; /* акцент */
    color: #ffffff; /* текст на жёлтом */
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
  }

.navbar-offset {
  height: 80px; /* равна высоте твоей фиксированной шапки */
}

@media (max-width: 576px) {
    .contact-form-section h2 {
        font-size: 1.6rem;
      }
}


#about ul {
  list-style: disc;
  padding-left: 1.5rem;
  color: #1F2937;
}

#about p {
  font-size: 1.05rem;
  color: #4B5563;
  line-height: 1.7;
}

#about .bg-white {
  background-color: #ffffff;
  border-left: 4px solid #FFC107;
}

@media (max-width: 576px) {
  #about p {
    font-size: 1rem;
  }
}


.video-wrapper {
  background-color: #f9fafb;
  transition: transform 0.3s ease;
}

.video-wrapper:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.skiptranslate {
  display: none !important;
  height: 0 !important;
  visibility: hidden !important;
}

.VIpgJd-yAWEb-VIpgJd-fmcmS-sn54Q {
  background: inherit !important;
  box-shadow: inherit !important;
}

.language {
  position: relative;
  display: inline-block;
  cursor: pointer;
}

.select-lang {
  cursor: pointer;
  display: flex;
    align-items: center;
    justify-content: center;
}

.language__selected {
  display: flex;
  align-items: center;
  gap: 5px;

  img {
    max-width: 25px;
  }
}

.language__dropdown {
  position: absolute;
  top: 25px;
  left: -20px;
  display: none;
  flex-direction: column;

  padding: 5px;
  z-index: 1000;

  color: white;

  background: rgba(31, 41, 55, 0.95);
  border-radius: 8px;

  gap: 10px;

  p {
    display: flex;
    align-items: center;
    margin-bottom: 0;
    padding: 3px 6px;
  }
}

.language__dropdown img {
  max-width: 40px;
  padding: 5px;
  cursor: pointer;
  transition: background 0.2s;
}

.language__dropdown p:hover {
  border-radius: 8px;
  background: #f0f0f02e;
}

.language.open .language__dropdown {
  display: flex;
}
