
  body {
    margin: 0; 
    color: white; 
    background-color: #121212; 
    font-family: 'Unbounded', sans-serif;
  }
  p {
    font-family: "Manrope", sans-serif;;
  }
  #latest-title {
    display: none;
  }




  /* Hero Section */
  .hero {
    position: relative; 
    height: 90vh; 
    overflow: hidden;
    display: flex;              
    justify-content: center;    
    align-items: center;        
    text-align: center;
  }
  .hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
  }
  .hero video {
    position: absolute; 
    top: 0; 
    left: 0; 
    min-width: 100%; 
    min-height: 100%; 
    object-fit: cover; 
    z-index: -2; 
    height: 100vh;
  }
  .hero-text {
    text-align: center;
    z-index: 1;
  }
  .hero-text h1{
    font-size: calc(22px + 5 * (100vw / 1920));

  }


  .hero-text button {
    padding: 10px 20px; 
    text-align: center;
    background-color: #006cb4; 
    border: none; 
    color: white; 
    cursor: pointer; 
    border-radius: 10px; 
    font-size: 20px;
  }

  .swiper {
    width: 100%;
    height: 500px;
    margin-top: 20px;
  }

  .testimonial-card {
    /* background-color: #1B1B1B; */
    color: white;
    font-family: 'Unbounded', sans-serif;
    padding: 30px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 500px;
    margin: auto;
    margin-top: 10%;
    height: 70%;
  }

  .caption-avatar {
    display: flex;
    align-items: center;
    gap: 20px;
  }


  .testimonial-card h3 {
    font-size: 23px;
    font-weight: 500;
    line-height: 1.3;
  }

  .testimonial-card img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
  }

  .testimonial-card p {
    font-size: 13px;
    line-height: 1.8;
    opacity: 0.85;
  }


  .events-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 30px;
    padding: 50px;
    background-color: #d8d8d8;
    max-width: 100vw;
    box-sizing: border-box;
    overflow: hidden;
  }

  .card {
    background-color: #2F2E2E;
    border-radius: 16px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-sizing: border-box;
    overflow: hidden;
    word-wrap: break-word;
  }

  .card h2 {
    font-size: 22px;
    margin-bottom: 10px;
  }

  .card p {
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 20px;
  }

  .btn-row {
    display: flex;
    gap: 30px;
    flex-wrap: wrap; 
  }

  .btn {
    display: inline-block;
    background: #417CFF;
    color: white;
    padding: 12px 20px;
    border-radius: 12px;
    text-decoration: none;
    font-size: 14px;
    transition: 0.2s ease;
    max-width: 35%;
  }

  .btn:hover {
    background: #2358e0;
  }

  .card-large {
    grid-column: span 2;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .card-large .card-text {
    max-width: 60%;
  }

  .card-large .card-image img {
    max-width: 250px;
    border-radius: 12px;
    height: auto;
    object-fit: cover;
  }

  .card-small {
    height: auto;
  }

  /* Контакты секция */
  .contacts {
    /* background-color: black; */
    background-color: #1C1C1C;
    color: #f1f1f1;
    font-family: 'Manrope', sans-serif;
    padding: 40px 0;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .map-container {
    margin-top: 50px;
    display: flex;
    flex-direction: row;
    width: 90%;
    max-width: 1400px;
    border-radius: 16px;
    overflow: hidden;
  }

  #map {
    flex: 2;
    border-right: 1px solid #333;
  }

  .info-text {
    flex: 1;
    padding: 30px;
    background-color: #2a2a2a;
    color: #f1f1f1;
    font-size: 1.1rem;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .info-text p {
    font-size: .9rem;
    margin-bottom: 20px;
  }
  .info-text a {
    font-size: 1.1rem;
    color: #417CFF;
    text-decoration: none;
  }

  .site-footer {
    background-color: #111;
    color: #aaa;
    padding: 40px 20px;
    text-align: center;
    font-family: 'Manrope', sans-serif;
    border-top: 1px solid #333;
  }

  .site-footer p {
    margin: 0;
    font-size: 14px;
    letter-spacing: 0.5px;
  }

  .footer-logos {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
  }

  .footer-logos img {
    height: 40px;
    filter: brightness(0.7);
    transition: filter 0.3s;
  }

  .footer-logos img:hover {
    filter: brightness(1);
  }
  /* 
  @media (max-width: 768px) {
    .hero video {
      width: 400px;
    }
    .events-container {
      margin: 0px;
      padding: 10px;
    }
    .btn {
      font-size: 10px;
    }
    .map-container {
      display: flex;
      flex-direction: column;
    }
    .info-text {
      font-size: 12px;
    }
    .card {
      padding: 15px;
    }
  } */
  

  /* Медиа-запрос для планшетов */
  @media (max-width: 1024px) and (min-width: 769px) {
    .events-container {
      grid-template-columns: 1fr;
      padding: 30px;
      gap: 25px;
    }

    .card-large {
      grid-column: span 1;
      flex-direction: column;
      gap: 20px;
    }

    .card-large .card-text {
      max-width: 100%;
    }

    .card-large .card-image img {
      max-width: 300px;
    }
  }

  /* Медиа-запрос для очень маленьких экранов */
  @media (max-width: 480px) {
    .events-container {
      padding: 10px;
      gap: 10px;
    }

    .card {
      padding: 15px;
    }

    .card h2 {
      font-size: 16px;
    }

    .card p {
      font-size: 12px;
    }

    .btn {
      font-size: 11px;
      padding: 8px 12px;
    }
  }

  @media (max-width: 768px) {
    .hero {
      height: 70vh;
      padding: 20px;
    }

    .hero-text h1 {
      font-size: 26px;
    }

    .hero-text button {
      font-size: 16px;
      padding: 8px 16px;
    }

    .swiper {
      height: auto;
    }

    .testimonial-card {
      margin-top: 40px;
      padding: 20px;
      height: auto;
    }

    .testimonial-card img {
      width: 100px;
      height: 100px;
    }

    .testimonial-card h3 {
      font-size: 18px;
    }

    .testimonial-card p {
      font-size: 12px;
    }

    .events-container {
      grid-template-columns: 1fr;
      padding: 15px;
      gap: 15px;
      margin: 0 auto;
      max-width: 100vw;
      box-sizing: border-box;
    }

    .card {
      width: 100%;
      max-width: 100%;
      box-sizing: border-box;
      padding: 20px;
      margin: 0;
    }

    .card-large {
      grid-column: span 1; /* Отменяем span 2 на мобильных */
      flex-direction: column;
      align-items: flex-start;
      gap: 15px;
      width: 100%;
      max-width: 100%;
      box-sizing: border-box;
    }

    .card-small {
      height: auto;
      width: 100%;
      max-width: 100%;
      box-sizing: border-box;
    }

    .card h2 {
      font-size: 18px;
      word-wrap: break-word;
      overflow-wrap: break-word;
      margin-bottom: 15px;
    }

    .card p {
      font-size: 13px;
      word-wrap: break-word;
      overflow-wrap: break-word;
      margin-bottom: 15px;
    }

    .card-large .card-text {
      max-width: 100%;
      width: 100%;
    }

    .card-large .card-image {
      width: 100%;
      text-align: center;
    }

    .card-large .card-image img {
      max-width: 100%;
      width: 100%;
      max-height: 200px;
      object-fit: cover;
    }

    .btn {
      font-size: 12px;
      padding: 10px 16px;
      width: 100%;
      max-width: none;
      text-align: center;
      box-sizing: border-box;
    }

    .btn-row {
      flex-direction: column;
      gap: 10px;
      width: 100%;
    }

    .map-container {
      flex-direction: column;
      width: 100%;
      margin-top: 20px;
    }

    #map {
      border-right: none;
      border-bottom: 1px solid #333;
    }

    .info-text {
      padding: 20px;
      font-size: 14px;
    }

    .site-footer {
      font-size: 12px;
      padding: 30px 10px;
    }

    .footer-logos {
      gap: 15px;
    }

    .footer-logos img {
      height: 30px;
    }

  }
