* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background: var(--main-dark-blue);
    color: var(--main-white);
}

.header .container {
    max-width: 100%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}


.header {
    background-color: var(--main-dark-blue);
    padding: 10px 0;
    box-shadow: 0 2px 8px rgba(26, 43, 71, 0.10);
}

.header__wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.header__logo img {
    height: 45px;
}

.nav__list {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav__list a {
    color: var(--main-white);
    background: transparent;
    font-weight: 500;
    transition: color 0.3s, background 0.3s;
    padding: 8px 18px;
    border-radius: 8px;
    text-decoration: none;
}

.nav__list a:hover,
.nav__list a.active {
    background: var(--accent-yellow);
    color: var(--main-dark-blue);
}

.header__desktop-buttons {
    display: flex;
    gap: 15px;
}

.header__mobile-buttons {
    display: none;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
    width: 100%;
}

.header__mobile-buttons .btn {
    width: 100%;
    text-align: center;
    border-radius: 8px;
}

.btn {
    padding: 12px 32px;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    background: var(--accent-yellow);
    color: var(--main-dark-blue);
    border: none;
    box-shadow: 0 4px 24px rgba(255, 193, 7, 0.15);
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}

.btn:hover,
.btn:focus {
    background: var(--main-white);
    color: var(--main-dark-blue);
    box-shadow: 0 6px 32px rgba(255, 193, 7, 0.18);
    transform: translateY(-2px) scale(1.04);
    border: 2px solid var(--accent-yellow);
}

.btn--login {
    background: transparent;
    color: var(--main-white);
    border: 2px solid var(--main-white);
}

.btn--login:hover {
    background: var(--main-white);
    color: var(--main-dark-blue);
    border: 2px solid var(--main-white);
}

.btn--register {
    background: var(--accent-yellow);
    color: var(--main-dark-blue);
    border: 2px solid var(--accent-yellow);
}

.btn--register:hover {
    background: var(--main-white);
    color: var(--main-dark-blue);
    border: 2px solid var(--accent-yellow);
}

.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #fff;
    margin: 5px 0;
    transition: all 0.3s;
}


.banner {
    max-height: 100vh;
    overflow: hidden;
}

.banner__desktop {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.banner__mobile {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
}


.main {
    padding: 50px 0;
    background: var(--main-dark-blue);
    color: var(--main-white);
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(26, 43, 71, 0.10);
}

.main h1,
.main h2,
.main h3,
.main p,
.main ul li,
.main ol li {
    color: var(--main-white);
}

.main h1 {
    margin-bottom: 20px;
}


.footer {
    background: var(--main-dark-blue);
    color: var(--main-white);
    padding: 30px 0;
    border-top: 4px solid var(--accent-yellow);
    box-shadow: 0 2px 12px rgba(26, 43, 71, 0.10);
}

.footer__top {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    padding: 30px 0 20px 0;
    flex-wrap: wrap;
    flex-direction: row;
}

.footer__info {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 2;
}

.footer__icon {
    height: 65px;
    margin-right: 10px;
}

.footer__text {
    line-height: 1.5;
}

.footer__partners {
    display: flex;
    align-items: center;
    gap: 25px;
    flex: 3;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 25px;
}

.footer__partners img {
    background: transparent;
    object-fit: contain;
    display: flex;
    align-items: center;
    max-width: 100%;
}

.footer__divider {
    border: none;
    border-top: 1px solid var(--accent-yellow);
    margin: 0 auto 20px auto;
    max-width: 1200px;
}

.footer__bottom {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    padding: 30px 0 10px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.footer__logo {
    height: 50px;
    margin-bottom: 10px;
}

.footer__aware img {
    height: 20px;
    margin-bottom: 10px;
}

.footer__menu {
    list-style: none;
    display: flex;
    gap: 20px;
    justify-content: center;
    margin: 0;
    padding: 0;
}

.footer__menu li a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.2s, background 0.2s;
    padding: 6px 14px;
    border-radius: 6px;
}

.footer__menu li a:hover {
    background: var(--accent-yellow);
    color: var(--main-dark-blue);
}

.footer__copyright {
    color: var(--accent-yellow);
    font-size: 14px;
    margin-top: 10px;
}

.footer__img {
    display: flex;
}

a.btn {
    text-decoration: none;
}

ul.nav__list {
    margin: 0px;
}

.nav__list li {
    margin: 0px;
    font-size: 18px;
}

.page-button {
    margin: 15px;
    display: flex;
    justify-content: center;
    gap: 25px;
}

main img {
    height: auto;
    margin-bottom: 20px;
    margin: 0 auto;
    display: block;
    max-width: 100%;
}

@media (max-width: 900px) {
    .footer__top {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }

    .footer__partners {
        margin-top: 10px;
        height: auto;
    }

    .footer__info {
        flex-direction: column;
        gap: 10px;
    }

    .footer__partners img {
        height: 32px;
    }
}

@media (max-width: 600px) {
    .footer__partners img {
        height: 24px;
    }
}


@media (max-width:1000px) {

    .header__nav,
    .header__desktop-buttons {
        display: none;
    }

    .header__nav.active {
        display: block !important;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--main-dark-blue);
        padding: 20px;
        z-index: 1000;
    }

    .header__nav.active .nav__list {
        flex-direction: column;
        gap: 15px;
    }

    .header__nav.active .header__mobile-buttons {
        display: flex;
    }

    .hamburger {
        display: block;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
}

@media (max-width: 768px) {


    .footer__wrapper {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer__nav ul {
        flex-direction: column;
        gap: 10px;
    }

    .banner {
        margin-top: 0;
        height: auto;
        display: block;
        position: relative;
        overflow: hidden;
    }

    .banner__desktop {
        display: none;
    }

    .banner__mobile {
        display: block;
        width: 100%;
        height: auto;
        object-fit: contain;
        object-position: top;
        background: var(--main-dark-blue);
    }
}


h1 {
    font-size: 2.2rem;
    font-weight: 700;
    margin: 32px 0 20px 0;
    line-height: 1.2;
    color: var(--main-white);
}

h2 {
    font-size: 1.8rem;
    font-weight: 600;
    margin: 28px 0 18px 0;
    line-height: 1.25;
    color: var(--main-white);
}

h3 {
    font-size: 1.4rem;
    font-weight: 500;
    margin: 24px 0 14px 0;
    line-height: 1.3;
    color: var(--main-white);
}

p,
ul li,
ol li {
    font-size: 1rem;
    line-height: 1.7;
    margin: 0 0 16px 0;
    color: var(--main-white);
}

ul,
ol {
    margin: 0 0 20px 24px;
    padding: 0 0 0 18px;
}

ul {
    list-style-type: disc;
}

ol {
    list-style-type: decimal;
}

ul li,
ol li {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 8px;
    color: var(--main-white);
}

ul li:last-child,
ol li:last-child {
    margin-bottom: 0;
}


.table-wrapper {
    background: var(--card-bg);
    box-shadow: 0 2px 12px rgba(26, 43, 71, 0.08);
    width: 100%;
    overflow-x: auto;
    margin-bottom: 24px;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: var(--card-bg);
    color: var(--main-dark);
    font-size: 1rem;
    overflow: hidden;
}

th,
td {
    padding: 14px 18px;
    border: 1px solid var(--accent-yellow);
    text-align: left;
}

th {
    background: var(--accent-yellow);
    color: var(--main-dark-blue);
    font-weight: 700;
}

tr:nth-child(even) {
    background: var(--card-bg);
}

tr:nth-child(odd) {
    background: var(--card-bg);
}

@media (max-width: 768px) {
    .table-wrapper {
        -webkit-overflow-scrolling: touch;
        background: var(--main-dark-blue);
    }

    table {
        font-size: 0.95rem;
    }

    th,
    td {
        padding: 10px 8px;
    }
}

::-webkit-scrollbar {
    width: 10px;
    background: var(--main-dark-blue);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-yellow);
    border-radius: 8px;
}


@media (max-width: 768px) {
    .header__nav.active {
        background: var(--main-dark-blue) !important;
    }

    .banner__mobile {
        background: var(--main-dark-blue);
    }

    .table-wrapper {
        background: var(--main-dark-blue);
    }
}

:root {
    --main-dark-blue: #1A2B47;
    --main-white: #fff;
    --main-bg: #2A3B57;
    --main-dark: #222;
    --accent-yellow: #FFC107;
    --accent-red: #DC3545;
    --accent-black: #000;
    --card-bg: #2A3B57;
    --card-border: #e0e0e0;
    --main-blue: #1A2B47;
    --accent-green: #1bb76e;
    --accent-green-light: #2ed47a;
}