/* Основные стили */
body {
    font-family: 'Orbitron', sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: linear-gradient(135deg, #1a1a1a, #0d0d0d);
    color: #fff;
}

/* Контейнер для основного контента */
.container {
    flex: 1;
}

/* Стили для шапки */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: #1a1a1a;
    color: #fff;
}

/* Стили для логотипа */
.logo {
    display: flex;
    align-items: center;
    gap: 10px; /* Расстояние между изображением и текстом */
}

.logo img {
    height: 50px; /* Высота логотипа */
    width: auto; /* Ширина будет автоматически подстраиваться */
}

.logo span {
    font-size: 24px; /* Размер текста */
    font-weight: bold;
    color: #00ffcc; /* Цвет текста */
    font-family: 'Orbitron', sans-serif; /* Шрифт, как в дизайне */
}
.logo a {
    display: flex; /* Чтобы картинка и текст были в одной строке */
    align-items: center; /* Выравниваем по центру */
    gap: 10px; /* Расстояние между картинкой и текстом */
    text-decoration: none; /* Убираем подчёркивание */
    color: inherit; /* Наследуем цвет текста */
}

.logo a:hover {
    opacity: 0.8; /* Эффект при наведении */
}
/* Стили для навигации */
nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

nav ul li a:hover {
    color: #00ffcc;
}

/* Стили для мобильных устройств */
@media (max-width: 768px) {
    header {
        flex-direction: column; /* Меняем направление на вертикальное */
        align-items: flex-start; /* Выравниваем элементы по левому краю */
    }

    .logo {
        margin-bottom: 20px; /* Отступ между логотипом и меню */
    }

    nav ul {
        flex-direction: column; /* Меню становится вертикальным */
        gap: 10px; /* Уменьшаем расстояние между пунктами меню */
    }
}

/* Стили для блока с логотипом и слоганом */
.hero-logo {
    position: absolute;
    top: 65%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px; /* Увеличиваем ширину логотипа */
    height: auto; /* Сохраняем пропорции */
    opacity: 0.4; /* Делаем логотип полупрозрачным */
    z-index: 0;
}


.cta-button {
    background: linear-gradient(135deg, #00ffcc, #0099ff);
    color: #fff;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-size: 18px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-button:hover {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(0, 255, 204, 0.7);
}


/* Дополнительная секция с параллаксом */
.parallax-section {
    /*background: url('https://images.unsplash.com/photo-1518770660439-4636190af475') no-repeat center center/cover;*/
    height: 400px;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.parallax-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.05);
    z-index: 0;
}

.parallax-section h2 {
    font-size: 36px;
    position: relative;
    z-index: 1;
}
@media (max-width: 768px) {
    .hero {
        height: 300px; /* Уменьшаем высоту блока */
    }

    .hero-logo {
        width: 400px; /* Уменьшаем ширину логотипа */
        top: 60%; /* Корректируем позицию логотипа */
    }

    .hero h1 {
        font-size: 24px; /* Уменьшаем размер шрифта заголовка */
    }

    .hero p {
        font-size: 16px; /* Уменьшаем размер шрифта текста */
    }

    .cta-button {
        padding: 10px 20px; /* Уменьшаем отступы кнопки */
        font-size: 16px; /* Уменьшаем размер шрифта кнопки */
    }
}

/* Секции "О нас" и "Контакты" */
.about, .contacts {
    padding: 50px 20px;
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    margin: 20px;
    border-radius: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.about h2, .contacts h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #00ffcc;
}

.contacts ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contacts ul li {
    margin: 15px 0;
    font-size: 18px;
}

.contacts ul li i {
    margin-right: 10px;
    color: #00ffcc;
}

/* Футер */
footer {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    text-align: center;
    padding: 20px;
    margin-top: auto;
}

footer p {
    margin: 0;
    color: #00ffcc;
}

/* Анимации */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
#recaptchaContainer {
    transition: opacity 0.3s ease, transform 0.3s ease;
    opacity: 0;
    transform: translateY(10px);
}

#recaptchaContainer.show {
    opacity: 1;
    transform: translateY(0);
}


.technologies {
    padding: 50px 20px;
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    margin: 20px;
    border-radius: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.tech-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
}

.tech-item {
    flex: 1 1 300px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tech-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 255, 204, 0.3);
}

.tech-item i {
    font-size: 48px;
    color: #00ffcc;
    margin-bottom: 20px;
}

.tech-item h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #00ffcc;
}

.tech-item p {
    font-size: 16px;
    color: #ccc;
}
.projects {
    padding: 50px 20px;
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    margin: 20px;
    border-radius: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.project-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
}

.project-item {
    flex: 1 1 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 255, 204, 0.3);
}

.project-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.project-item h3 {
    font-size: 24px;
    margin: 20px 0 10px;
    color: #00ffcc;
}

.project-item p {
    font-size: 16px;
    color: #ccc;
    padding: 0 20px 20px;
}
/* Блок "Партнёры" */
.partners {
    padding: 50px 10px;
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    margin: 20px;
    border-radius: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.partner-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
}

.partner-item {
    flex: 1 1 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 5px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.partner-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 255, 204, 0.3);
}

.partner-item img {
    width: 300px;
    height: 300px;
    object-fit: contain;
    margin-bottom: 20px;

}
.partner-item h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #00ffcc;
}

.partner-item p {
    font-size: 16px;
    color: #ccc;
}
/* Стили для мобильных устройств */
@media (max-width: 768px) {
    .partners {
        padding: 50px 10px; /* Уменьшаем отступы */
        margin: 10px; /* Уменьшаем внешние отступы */
    }

    .partner-grid {
        flex-direction: column; /* Карточки в одну колонку */
        gap: 10px; /* Уменьшаем расстояние между карточками */
    }

    .partner-item {
        flex: 1 1 auto; /* Карточки занимают всю ширину */
        padding: 15px; /* Уменьшаем внутренние отступы */
    }

    .partner-item img {
        width: 150px; /* Уменьшаем размер изображений */
        height: 150px;
    }

    .partner-item h3 {
        font-size: 20px; /* Уменьшаем размер заголовка */
    }

    .partner-item p {
        font-size: 14px; /* Уменьшаем размер текста */
    }

    .partner-item:hover {
        transform: none; /* Убираем эффект наведения на мобильных устройствах */
        box-shadow: none;
    }
}

.news {
    padding: 50px 20px;
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    margin: 20px;
    border-radius: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.news-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
}

.news-item {
    flex: 1 1 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 255, 204, 0.3);
}

.news-item h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #00ffcc;
}

.news-item p {
    font-size: 16px;
    color: #ccc;
    margin-bottom: 20px;
}

.news-link {
    color: #00ffcc;
    text-decoration: none;
    font-weight: bold;
}
footer {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 40px 20px;
    text-align: center;
    margin-top: auto;
}

.footer-content {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

.footer-section {
    flex: 1 1 300px;
    text-align: left;
}

.footer-section h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #00ffcc;
}

.footer-section p {
    font-size: 16px;
    color: #ccc;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-links a {
    color: #00ffcc;
    font-size: 24px;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #0099ff;
}
/* Секция Hero с частицами */
.hero {
    position: relative;
    color: #fff;
    padding: 150px 20px;
    text-align: center;
    overflow: hidden;
}

#particles-js {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    animation: fadeIn 2s ease-in-out;
}

.hero p {
    font-size: 24px;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
    animation: fadeIn 2.5s ease-in-out;
}

.cta-button {
    background: linear-gradient(135deg, #00ffcc, #0099ff);
    color: #fff;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-size: 18px;
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-button:hover {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(0, 255, 204, 0.7);
}
/* Основные стили */
body {
    font-family: 'Orbitron', sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    color: #fff;
    position: relative;
    overflow-x: hidden;
}

/* Контейнер для частиц */
#particles-js {
    position: fixed; /* Фиксируем частицы на фоне */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; /* Отправляем частицы на задний план */
}

/* Контейнер для основного контента */
.container {
    flex: 1;
    position: relative;
    z-index: 1; /* Контент поверх частиц */
}

/* Хедер */
header {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
}

header .logo {
    font-size: 24px;
    font-weight: bold;
    color: #00ffcc;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: flex-end;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #00ffcc;
}

/* Секция Hero */
.hero {
    color: #fff;
    padding: 150px 20px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    animation: fadeIn 2s ease-in-out;
}

.hero p {
    font-size: 24px;
    margin-bottom: 40px;
    animation: fadeIn 2.5s ease-in-out;
}

.cta-button {
    background: linear-gradient(135deg, #00ffcc, #0099ff);
    color: #fff;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-size: 18px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-button:hover {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(0, 255, 204, 0.7);
}


/* Футер */
footer {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 40px 20px;
    text-align: center;
    margin-top: auto;
    position: relative;
    z-index: 1;
}

.footer-content {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

.footer-section {
    flex: 1 1 300px;
    text-align: left;
}

.footer-section h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #00ffcc;
}

.footer-section p {
    font-size: 16px;
    color: #ccc;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-links a {
    color: #00ffcc;
    font-size: 24px;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #0099ff;
}

/* Анимации */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* Блок "Последние новости" */
.news {
    padding: 100px 20px;
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    margin: 20px;
    border-radius: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.news-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
}

.news-item {
    flex: 1 1 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 255, 204, 0.3);
}

.news-item h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #00ffcc;
}

.news-item p {
    font-size: 16px;
    color: #ccc;
    margin-bottom: 20px;
}

.news-link {
    color: #00ffcc;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

/* Блок "Последние новости" на главной странице */
.news {
    padding: 100px 20px;
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    margin: 20px;
    border-radius: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.news-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
}

.news-item {
    flex: 1 1 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 255, 204, 0.3);
}

.news-item h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #00ffcc;
}

.news-item p {
    font-size: 16px;
    color: #ccc;
    margin-bottom: 10px;
}

.news-item .news-date {
    font-size: 14px;
    color: #888;
    margin-bottom: 10px;
}

.news-item .news-link {
    color: #00ffcc;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.news-item .news-link:hover {
    color: #0099ff;
}

/* Страница "Новости" */
.news-full {
    padding: 100px 20px;
    text-align: left;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    margin: 20px;
    border-radius: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.news-article {
    margin-bottom: 40px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.news-article h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #00ffcc;
}

.news-article p {
    font-size: 16px;
    color: #ccc;
    margin-bottom: 10px;
}

.news-article .news-date {
    font-size: 14px;
    color: #888;
    margin-bottom: 10px;
}

.news-article .news-link {
    color: #00ffcc;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.news-article .news-link:hover {
    color: #0099ff;
}
/* Стили для формы авторизации */
form {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    width: 300px;
    margin: 50px auto;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
}

form label {
    display: block;
    color: #00ffcc;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 10px;
    text-transform: uppercase;
}

form input[type="text"],
form input[type="password"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: none;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 16px;
    transition: background 0.3s ease;
}

form input[type="text"]:focus,
form input[type="password"]:focus {
    background: rgba(255, 255, 255, 0.2);
    outline: none;
}

form input[type="submit"] {
    background: linear-gradient(135deg, #00ffcc, #0099ff);
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 16px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

form input[type="submit"]:hover {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(0, 255, 204, 0.7);
}

.message {
    color: #ff4d4d;
    font-size: 14px;
    margin-top: 10px;
}

.img {
    margin-bottom: 20px;
}

.img img {
    width: 100px;
    height: auto;
}
/* Стили для страницы FTP */
.ftp-container {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    margin: 50px auto;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    max-width: 1200px;
    text-align: center;
}

.ftp-container h1 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #00ffcc;
}

.file-list ul {
    list-style-type: none;
    padding: 0;
    column-count: 3; /* Три столбца */
    column-gap: 20px; /* Расстояние между столбцами */
}

.file-list ul li {
    margin: 10px 0;
    break-inside: avoid; /* Предотвращаем разрыв элементов между столбцами */
}

.file-list ul li a {
    color: #00ffcc;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
}

.file-list ul li a:hover {
    color: #0099ff;
    text-decoration: underline;
}

.file-size {
    color: #ccc;
    font-size: 14px;
    margin-left: 10px;
}

.buttons-container {
    margin-top: 20px;
}

.buttons-container input[type="button"] {
    background: linear-gradient(135deg, #00ffcc, #0099ff);
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 16px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-right: 10px;
}

.buttons-container input[type="button"]:hover {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(0, 255, 204, 0.7);
}

.buttons-container input[type="button"]:last-child {
    margin-right: 0;
}

/* Стили для формы обратной связи */
.feedback-form {
    display: flex;
    flex-direction: column;
    align-items: center; /* Центрируем элементы по горизонтали */
    max-width: 600px; /* Ограничиваем ширину формы */
    margin: 0 auto; /* Центрируем форму на странице */
    padding: 20px; /* Добавляем отступы внутри формы */
    background: rgba(255, 255, 255, 0.05); /* Легкий фон для формы */
    border-radius: 10px; /* Скругляем углы */
    backdrop-filter: blur(10px); /* Размытие фона */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Тень для формы */
}

.feedback-form label {
    align-self: flex-start; /* Лейблы прижимаем к левому краю */
    margin-bottom: 5px;
    font-size: 16px;
    color: #00ffcc; /* Цвет лейблов */
}

.feedback-form input,
.feedback-form textarea {
    width: 100%; /* Ширина полей ввода на всю доступную ширину */
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1); /* Граница поля */
    border-radius: 5px;
    font-size: 16px;
    background: rgba(255, 255, 255, 0.1); /* Полупрозрачный фон */
    color: #fff; /* Цвет текста */
}

.feedback-form textarea {
    resize: vertical; /* Разрешаем изменение высоты текстового поля */
}

/* Стили для reCAPTCHA */
#recaptchaContainer {
    margin-bottom: 20px; /* Отступ снизу */
    text-align: center; /* Центрируем reCAPTCHA */
}

/* Стили для кнопки "Отправить" */
.submit {
    background: linear-gradient(135deg, #00ffcc, #0099ff);
    color: #fff;
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-size: 18px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.submit:hover {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(0, 255, 204, 0.7);
}
/* Стили для мобильных устройств */
@media (max-width: 768px) {
    .feedback-form {
        max-width: 90%; /* Уменьшаем ширину формы */
        padding: 15px; /* Уменьшаем отступы внутри формы */
    }

    .feedback-form label {
        font-size: 14px; /* Уменьшаем размер шрифта лейблов */
    }

    .feedback-form input,
    .feedback-form textarea {
        padding: 8px; /* Уменьшаем отступы внутри полей ввода */
        font-size: 14px; /* Уменьшаем размер шрифта в полях ввода */
    }

    .submit {
        padding: 10px 20px; /* Уменьшаем отступы кнопки */
        font-size: 16px; /* Уменьшаем размер шрифта кнопки */
    }

    #recaptchaContainer {
        margin-bottom: 15px; /* Уменьшаем отступ снизу для reCAPTCHA */
    }

    /* Адаптация reCAPTCHA для мобильных устройств */
    .g-recaptcha {
        transform: scale(0.85); /* Уменьшаем размер reCAPTCHA */
        transform-origin: left top; /* Сохраняем выравнивание */
    }
}
@media (max-width: 768px) {
    .hero h1 {
        font-size: 36px;
    }

    .hero p {
        font-size: 18px;
    }

    .tech-grid, .project-grid, .partner-grid, .news-grid {
        flex-direction: column;
    }

    .tech-item, .project-item, .partner-item, .news-item {
        flex: 1 1 100%;
    }

    .file-list ul {
        column-count: 1;
    }
}
/* Стили для модального окна */
.modal {
    display: none; /* Скрыто по умолчанию */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: #2a2a2a;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    color: #fff;
}

.loader {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #00ffcc;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
    margin: 10px auto;
    display: none; /* Скрыт по умолчанию */
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
