* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Montserrat", Sans-serif;
    color: white;
    background: black;
    overflow-x: hidden;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
}

/* ====== HEADER ====== */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 100;
    backdrop-filter: blur(5px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1300px;
    margin: auto;
    padding: 15px 25px;
}

.logo {
    font-weight: 700;
    font-size: 14px;
}

.nav .menu {
    display: flex;
    gap: 25px;
    list-style: none;
}

.nav a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.nav a:hover {
    color: #00adef;
}

/* ====== DROPDOWN ====== */
.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    background: rgba(20, 20, 20, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    list-style: none;
    padding: 10px 0;
    min-width: 220px;
    z-index: 99;
}

.dropdown-menu li a {
    display: block;
    padding: 10px 15px;
    color: #ddd;
}

.dropdown-menu li a:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #00adef;
}

/* Подменю */
.dropdown-sub {
    position: relative;
}

.dropdown-sub .sub-menu {
    display: none;
    position: absolute;
    top: 0;
    left: 100%;
    background: rgba(20, 20, 20, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    list-style: none;
    padding: 10px 0;
    min-width: 200px;
}

.dropdown-sub:hover .sub-menu {
    display: block;
}

/* hover эффект */
.dropdown:hover .dropdown-menu {
    display: block;
    animation: dropdownShow 0.3s ease forwards;
}

@keyframes dropdownShow {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ====== BUTTON ====== */
.join-btn {
    background: #007bff;
    padding: 8px 18px;
    border-radius: 6px;
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: 0.3s;
}

.join-btn:hover {
    background: #00adef;
}

/* ====== HERO SECTION ====== */
.hero {
    height: 90vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: -1;
}

.hero-content {
    max-width: 1300px;
    width: 100%;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 56px;
    max-width: 760px;
    text-align: left;
    margin-bottom: 25px;
    color: #fefefe;
    font-weight: bold;
}

.hero-content p {
    font-size: 20px;
    line-height: 1.6;
    max-width: 760px;
    text-align: left;
    margin-bottom: 10px;
    color: #fefefe;
    font-weight: 500;
}

.hero-content .small {
    font-size: 18px;
    color: #ccc;
    max-width: 760px;
    margin-left: auto;
}

/* ===== ABOUT SECTION ===== */
.about {
    background: white;
    color: black;
    padding: 50px 0;
}

.about h2 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 10px;
    text-align: center;
}

.about .subtitle {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
    font-size: 18px;
    color: #555;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(440px, 1fr));
    gap: 20px;
    max-width: 1300px;
    margin: 0 auto;
    background: url('../images/bg2.jpg') center/cover no-repeat;
    border-radius: 16px;
    padding: 40px 20px;
}

.stat {
    background: rgba(0, 0, 0, 0.55);
    color: white;
    border-radius: 12px;
    padding: 25px 20px;
    text-align: left;
    backdrop-filter: blur(4px);
    opacity: 0.25;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transform: translateY(40px);
    transition: all 0.8s ease;
}

.stat.visible {
    opacity: 1;
    transform: translateY(0);
}

.stat .number {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 8px;
}

.stat .desc {
    font-size: 18px;
    color: #ddd;
}

/* 1024px ↓ */
@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
        padding: 30px 15px;
    }

    .stat .number {
        font-size: 42px;
    }
}

/* 768px ↓ — планшеты */
@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 15px;
    }

    .stat {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .stat .number {
        font-size: 38px;
    }

    .stat .desc {
        font-size: 16px;
        max-width: 100%;
    }
}

/* 480px ↓ — маленькие телефоны */
@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
        padding: 25px 10px;
        gap: 12px;
    }

    .stat {
        padding: 20px 15px;
    }

    .stat .number {
        font-size: 32px;
    }

    .stat .desc {
        font-size: 15px;
    }
}

/* 380px ↓ — очень маленькие экраны */
@media (max-width: 380px) {
    .stats-grid {
        padding: 20px 8px;
    }

    .stat {
        flex-direction: column;
        text-align: center;
        padding: 16px 10px;
    }

    .stat .number {
        font-size: 26px;
    }

    .stat .desc {
        font-size: 14px;
        line-height: 1.3;
    }
}


/* ===== НОВОСТИ ===== */
.news {
    background: #174fa3;
    color: white;
    padding: 100px 0;
}

.news h2 {
    text-align: center;
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 60px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
    gap: 30px;
    max-width: 1300px;
    margin: 0 auto;
}

.news-card {
    background: #1e1e1e86;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
    opacity: 0.25;
    transform: translateY(40px);
    transition: all 0.8s ease;
}

.news-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.news-card img {
    width: 100%;
    height: 210px;
    object-fit: cover;
    display: block;
}

.news-content {
    padding: 20px 22px 28px;
}

.news-content h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: white;
}

.news-content p {
    font-size: 14px;
    line-height: 1.5;
    color: #ccc;
}

.benefits {
    background: #111;
    color: #fff;
    padding: 100px 0;
}

.benefits-title {
    font-size: 20px;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.1);
    padding: 14px 20px;
    border-radius: 10px;
    display: inline-block;
    margin-bottom: 50px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.benefit-card {
    position: relative;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 40px 30px;
    overflow: hidden;
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    transition: all 0.4s ease;
    opacity: 0.25;
    transform: translateY(40px);
}

.benefit-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.benefit-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
}

.benefit-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
}

.benefit-card p {
    font-size: 15px;
    line-height: 1.6;
    color: #ccc;
}

/* Иконка на фоне */
.icon-bg {
    position: absolute;
    bottom: 10px;
    right: 20px;
    font-size: 100px;
    opacity: 0.08;
    user-select: none;
}

/* Анимация появления */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}
.join-process {
    position: relative;
    padding: 120px 0;
    color: white;
    text-align: center;
    overflow: hidden;
}

.join-process .background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.join-process .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65);
    z-index: -1;
}

.join-process h2 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 60px;
    text-transform: uppercase;
}

/* ===== Основная сетка ===== */
.join-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 30px;
}

/* Карточки */
.join-card {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 30px 25px;
    text-align: left;
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    opacity: 0.25;
    transform: translateY(40px);
    transition: all 0.8s ease;
    width: 320px;
    flex: 1 1 320px;
    max-width: 400px;
}

.join-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.join-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
}

.join-card p {
    font-size: 15px;
    color: #ddd;
    line-height: 1.6;
}

/* ====== Форма ====== */
.join-card.card-full {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    text-align: center;
}

.join-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
}

.join-form input[type="text"],
.join-form input[type="tel"],
.join-form input[type="email"] {
    background: rgba(255, 255, 255, 0.12);
    border: none;
    border-radius: 25px;
    padding: 12px 18px;
    color: white;
    font-size: 15px;
    outline: none;
}

.join-form input::placeholder {
    color: #ccc;
}

.join-form .checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.join-form button {
    background: #fff;
    color: #000;
    border: none;
    border-radius: 25px;
    padding: 12px 0;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.join-form button:hover {
    background: #f0f0f0;
}

/* ===== Адаптивка ===== */

/* Планшеты */
@media (max-width: 992px) {
    .join-container {
        justify-content: center;
    }
}

/* Телефоны */
@media (max-width: 600px) {
    .join-card {
        width: 100%;
        max-width: 90%;
    }
    .join-card.card-full {
        order: -1; /* форма идёт первой */
    }
}

/* Очень маленькие экраны (380px ↓) */
@media (max-width: 380px) {
    .join-process h2 {
        font-size: 26px;
        margin-bottom: 40px;
    }
    .join-card {
        padding: 20px 15px;
    }
    .join-form input {
        font-size: 13px;
    }
    .join-form button {
        padding: 10px;
        font-size: 14px;
    }
}


.checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 10px 0;
    font-size: 13px;
}

.join-form button {
    background: #007bff;
    border: none;
    border-radius: 25px;
    padding: 10px 18px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    align-self: flex-start;
}

.join-form button:hover {
    background: #00adef;
}

/* ===== FOOTER ===== */
.footer {
    position: relative;
    background: rgba(0, 0, 0, 0.95);
    color: #ddd;
    padding: 80px 0 40px;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    font-size: 26px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 1px;
}

.footer-menu {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 20px 35px;
}

.footer-menu a {
    color: #ccc;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
}

.footer-menu a:hover {
    color: #00adef;
}

.footer-contacts {
    font-size: 14px;
    color: #aaa;
    line-height: 1.8;
}

.footer-contacts strong {
    color: #fff;
    font-weight: 600;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 25px;
    text-align: center;
    font-size: 13px;
    color: #999;
}

.footer-bottom a {
    color: #00adef;
    text-decoration: none;
    transition: 0.3s;
}

.footer-bottom a:hover {
    color: #fff;
}


/* Адаптив */
@media (max-width: 768px) {
    .nav .menu {
        display: none;
    }

    .hero-content h1 {
        font-size: 38px;
    }

    .join-btn {
        font-size: 13px;
    }

    .footer-top {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-menu {
        justify-content: center;
    }
}
@media (max-width: 468px) {
    .nav .menu {
        display: none;
    }

    .hero-content h1 {
        font-size: 28px;
        /* text-align: center; */
        line-height: 1.3;
    }
    .hero-content p{
        font-size: 20px;
        /* text-align: center; */
        line-height: 1.3;
    }

    .join-btn {
        font-size: 13px;
    }

    .footer-top {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-menu {
        justify-content: center;
    }
}