* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: sans-serif;
}

body {
    height: 100vh;
    display: flex;
    flex-direction: column;
}

footer {
    margin-top: auto;
}

.header__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px 40px;
    position: relative;
    height: 90px;
    border-bottom: 1.5px solid #e4e4e4;
    z-index: 100;
}

.logo__link {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
}

.logo__img {
    height: 68px;
    width: auto;
    border-radius: 10px;
}

.logo__text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo__num {
    font-size: 22px;
    font-weight: 700;
    color: #1d4b8f;
}

.logo__sub {
    font-size: 11px;
    font-weight: 500;
    color: #888;
    letter-spacing: 0.3px;
}

.nav__list {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav__item {
    list-style: none;
    position: relative;
}

.nav-link {
    text-decoration: none;
    color: #1d4b8f;
    font-weight: 700;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #e8651a;
}

.link__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.link__row:hover .nav-link {
    color: #e8651a;
}

.link__row:hover .arrow-icon {
    transform: rotate(180deg);
    color: #e8651a;
}

.link__row .arrow-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.arrow-icon {
    width: 20px;
    height: 20px;
    display: block;
    color: #888;
    transition: transform 0.3s ease, color 0.3s ease;
}

.link-dropdown {
    list-style: none;
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    min-width: 250px;
    z-index: 100;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

@media (min-width: 1001px) {
    .nav__item:hover .link-dropdown {
        max-height: 400px;
    }
}

.link-dropdown li a {
    display: block;
    padding: 10px 20px;
    text-decoration: none;
    color: #252525;
    font-weight: 550;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.link-dropdown li a:hover {
    background-color: #f8eee8;
    color: #e8651a;
}

.buttons {
    display: none;
}

.burger-btn {
    display: none;
    align-items: center;
    justify-content: center;
    border: none;
    background: none;
    cursor: pointer;
    padding: 6px;
    width: 40px;
    height: 40px;
}

.close-btn {
    display: none;
    align-items: center;
    justify-content: center;
    border: none;
    background: none;
    cursor: pointer;
    padding: 6px;
    width: 40px;
    height: 40px;
}

.burger-icon {
    width: 24px;
    height: 24px;
    color: #1d4b8f;
    transition: all 0.2s;
}

.close-icon {
    width: 24px;
    height: 24px;
    color: #e8651a;
    transition: all 0.2s;
}

.burger-icon.animate {
    transform: rotate(180deg);
}

.close-icon.animate {
    transform: rotate(-180deg);
}

footer {
    background-color: #1d4b8f;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 30px;
}

.footer__container {
    width: 70%;
    color: white;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer__row {
    margin: 10px;
    width: 300px;
}

.footer__row h3 {
    margin-bottom: 10px;
    font-size: 19px;
    color: white;
}

.footer__row p {
    margin: 5px 0;
    font-size: 16px;
    font-weight: 700;
    font-family: sans-serif;
}

.footer__row a {
    margin: 5px 0;
    font-size: 16px;
    text-decoration: none;
    display: block;
    color: white;
    transition: color 0.2s ease;
    font-weight: 700;
    font-family: sans-serif;
}

.footer__row a:hover {
    color: #e8651a;
}

.pdf-toggle-btn {
    background-color: white;
    color: #1d4b8f;
    border: 1.5px solid #1d4b8f;
    padding: 10px 24px;
    font-weight: 700;
    font-size: 14px;
    border-radius: 6px;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.pdf-toggle-btn:hover {
    background-color: #e8651a;
    border-color: #e8651a;
    color: white;
}

.pdf-viewer {
    margin-top: 16px;
    border-radius: 10px;
    overflow: hidden;
    border: 1.5px solid #e4e4e4;
    display: none;
}

.pdf-viewer.open {
    display: block;
}

@media (max-width: 1000px) {

    .buttons {
        display: flex;
    }

    .burger-btn {
        display: flex;
    }

    .nav__list {
        background-color: white;
        display: flex;
        flex-direction: column;
        position: absolute;
        align-items: flex-start;
        top: 90px;
        gap: 0;
        left: 0;
        right: 0;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
    }

    .nav__list.flex {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .nav__item {
        width: 100%;
        border-bottom: 1.5px solid #e4e4e4;
        transition: border-color 0.25s ease;
    }

    .nav-link {
        width: 100%;
        display: inline-block;
        padding: 14px 30px;
        font-size: 15px;
        transition: color 0.25s ease;
    }

    .nav-link:hover {
        color: #e8651a;
    }

    .link__row {
        width: 100%;
        padding: 0 30px 0 0;
    }

    .link__row:hover .arrow-icon {
        transform: none;
        color: #888;
    }

    .arrow-btn {
        margin-left: auto;
        padding: 14px 10px;
    }

    .arrow-icon.rotated {
        transform: rotate(180deg) !important;
        color: #e8651a !important;
    }

    .link-dropdown {
        position: static;
        box-shadow: none;
        min-width: unset;
        max-height: 0;
        overflow: hidden;
        background-color: #f9f9f9;
        border-top: 0px solid transparent;
        transition: max-height 0.35s ease;
    }

    .link-dropdown.open {
        max-height: 400px;
        border-top: 1.5px solid #e4e4e4;
    }

    .link-dropdown li a {
        padding: 12px 30px 12px 45px;
        font-size: 14px;
        color: #1d4b8f;
        transition: color 0.2s ease, background-color 0.2s ease;
    }

    .link-dropdown li a:hover {
        background-color: #f0f0f0;
        color: #e8651a;
    }

    .link-dropdown li {
        border-bottom: none;
    }

    .footer__container {
        width: 100%;
        gap: 20px;
        justify-content: start;
    }
}