@font-face {
    font-display: swap;
    font-family: 'Assistant';
    font-style: normal;
    font-weight: 200;
    src: url('../fonts/Assistant/assistant-v19-latin-200.woff2') format('woff2'),
}

@font-face {
    font-display: swap;
    font-family: 'Assistant';
    font-style: normal;
    font-weight: 300;
    src: url('../fonts/Assistant/assistant-v19-latin-300.woff2') format('woff2'),
}

@font-face {
    font-display: swap;
    font-family: 'Assistant';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/Assistant/assistant-v19-latin-regular.woff2') format('woff2'),
}

@font-face {
    font-display: swap;
    font-family: 'Assistant';
    font-style: normal;
    font-weight: 500;
    src: url('../fonts/Assistant/assistant-v19-latin-500.woff2') format('woff2'),
}

@font-face {
    font-display: swap;
    font-family: 'Assistant';
    font-style: normal;
    font-weight: 600;
    src: url('../fonts/Assistant/assistant-v19-latin-600.woff2') format('woff2'),
}

@font-face {
    font-display: swap;
    font-family: 'Assistant';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/Assistant/assistant-v19-latin-700.woff2') format('woff2'),
}

@font-face {
    font-display: swap;
    font-family: 'Assistant';
    font-style: normal;
    font-weight: 800;
    src: url('../fonts/Assistant/assistant-v19-latin-800.woff2') format('woff2'),
}

@font-face {
    font-display: swap;
    font-family: 'Source Sans 3';
    font-style: normal;
    font-weight: 200;
    src: url('../fonts/Source-Sans3/source-sans-3-v15-latin-200.woff2') format('woff2'),
}

@font-face {
    font-display: swap;
    font-family: 'Source Sans 3';
    font-style: normal;
    font-weight: 300;
    src: url('../fonts/Source-Sans3/source-sans-3-v15-latin-300.woff2') format('woff2'),
}

@font-face {
    font-display: swap;
    font-family: 'Source Sans 3';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/Source-Sans3/source-sans-3-v15-latin-regular.woff2') format('woff2'),
}

@font-face {
    font-display: swap;
    font-family: 'Source Sans 3';
    font-style: normal;
    font-weight: 500;
    src: url('../fonts/Source-Sans3/source-sans-3-v15-latin-500.woff2') format('woff2'),
}

@font-face {
    font-display: swap;
    font-family: 'Source Sans 3';
    font-style: normal;
    font-weight: 600;
    src: url('../fonts/Source-Sans3/source-sans-3-v15-latin-600.woff2') format('woff2'),
}

@font-face {
    font-display: swap;
    font-family: 'Source Sans 3';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/Source-Sans3/source-sans-3-v15-latin-700.woff2') format('woff2'),
}

@font-face {
    font-display: swap;
    font-family: 'Source Sans 3';
    font-style: normal;
    font-weight: 800;
    src: url('../fonts/Source-Sans3/source-sans-3-v15-latin-800.woff2') format('woff2'),
}

@font-face {
    font-display: swap;
    font-family: 'Source Sans 3';
    font-style: normal;
    font-weight: 900;
    src: url('../fonts/Source-Sans3/source-sans-3-v15-latin-900.woff2') format('woff2'),
}

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

ul li {
    list-style: none;
}

a {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

html,
body {
    height: 100%;
    scroll-behavior: smooth;
    font-family: 'Assistant';
}

.wrapper {
    min-height: 100%;
    display: flex;
    flex-direction: column;
    overflow: clip;
}

main {
    flex-grow: 1;
}

[class*="__container"] {
    max-width: 1110px;
    padding-left: 15px;
    padding-right: 15px;
    margin: 0 auto;
}

.header,
.hero-section,
.page-section {
    background: linear-gradient(to left, #e8ebff 80%, #eee5ff 100%);
}

.header-menu a:hover,
.footer-menu a:hover {
    color: #04C7B9;
}

/* Header */

.header {
    border-bottom: 1px solid #cad4e8;
}

.header__container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding-block: 24px;
}

.header-logo img {
    width: 140px;
}

.header-menu {
    display: flex;
    flex-direction: row;
    gap: 16px;
}

.active {
    color: #c704b7;
}

.header-menu a {
    font-size: 16px;
    font-weight: 700;
}

.menu-toggle {
    font-size: 30px;
    background: none;
    border: none;
    color: #000;
    cursor: pointer;
    display: none;
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to left, #eae8ff 80%, #e5e6ff 100%);
    color: #000;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 1000;
    padding: 20px;
    display: none;
}

.mobile-menu.open {
    transform: translateX(0);
}

.menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-right: 20px;
}

.close-button {
    font-size: 30px;
    background: none;
    border: none;
    color: #000;
    cursor: pointer;
}

.nav-mobile a {
    display: block;
    padding: 10px 0;
    font-size: 18px;
    color: #000;
    text-decoration: none;
    transition: color 0.3s;
}

.nav-mobile a:hover {
    color: #041bc7;
}

.nav-mobile a.active {
    color: #0431c7;
}

/* Hero */

.triangle-divider {
    position: relative;
    width: 100%;
    height: 0;
    border-left: 70vw solid transparent;
    border-right: 40vw solid transparent;
    border-top: 70px solid #e8ebff;
    margin-top: -0px;
    left: 150px;
    z-index: 1;
}

.hero__container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding-top: 64px;
    padding-bottom: 64px;
    position: relative;
    z-index: 10;
}

.text-block-hero {
    width: 50%;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.text-block-hero h1 {
    color: #222;
    font-size: 72px;
    font-weight: 600;
    line-height: 75px;
}

.text-block-hero h2 {
    color: #222;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.text-block-hero a {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    line-height: 24px;
    text-transform: uppercase;
    background-color: #041ec7;
    padding: 16px 24px;
    align-items: center;
    border-radius: 16px;
    justify-content: center;
    max-width: 200px;
    text-align: center;
}

.text-block-hero a:hover {
    background: linear-gradient(to bottom left, #032ad9, #00C7BE);
}

.img-block-hero {
    width: 50%;
    position: relative;
}

.img-block-hero::before {
    content: "";
    position: absolute;
    top: -40px;
    right: -30px;
    width: 100%;
    height: 404px;
    z-index: 1;
    background: linear-gradient(to bottom left, #034ad9, #00C7BE);
    border-radius: 200px 50px 120px 50px;
}

.img-block-hero img {
    border-radius: 24px;
    width: 100%;
    position: relative;
    z-index: 2;
    top: 0;
    left: 0;

}

/* About */

.about-section {
    padding-top: 30px;
    padding-bottom: 50px;
}

.about__container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
}

.text-block-about {
    display: flex;
    flex-direction: column;
    width: 50%;
    gap: 32px;
}

.text-block-about h2 {
    font-size: 55px;
    font-weight: 600;
    line-height: 60px;
}

.text-block-about p {
    font-size: 16px;
    font-family: "Source Sans Pro", sans-serif;
    font-weight: 400;
    line-height: 28px;
}

span {
    color: #04C7B9;
}

.img-block-about {
    width: 50%;
}

.img-block-about img {
    width: 100%;
    border-radius: 16px;
}

/* Info */

.info-section {
    padding-top: 50px;
    padding-bottom: 100px;
    background: linear-gradient(to top, #eae8ff 40%, #fff 100%);
}

.info__container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.info-block {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.text-block-info {
    background-color: #fff;
    color: #000;
    padding: 16px;
    border-radius: 16px 16px 0 0;
}

.text-block-info p {
    font-size: 14px;
    line-height: 24px;
}

.img-block-info img {
    width: 100%;
    border-radius: 0px 0px 16px 16px;
}

.reverse {
    flex-direction: column-reverse;
}

.img-reverse img {
    border-radius: 16px 16px 0 0;
}

.text-reserse {
    border-radius: 0px 0px 16px 16px;
}

/* footer */

.footer {
    padding-block: 32px;
    background-color: #e8efff;
    border-top: 1px solid #cbcae8;
}

.footer__container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.footer-info {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 16px;
}

.footer-logo img {
    width: 140px;
}

.footer-menus {
    display: flex;
    flex-direction: row;
    gap: 24px;
}


.footer-menu {
    display: flex;
    flex-direction: column;
    gap: 12px;
}


.footer-disclaimer {
    flex: 2.5;
    gap: 16px;
    display: flex;
    flex-direction: column;
}

.footer-disclaimer h3 {
    font-size: 18px;
    font-weight: 600;
    line-height: 28px;
}

.footer-disclaimer p {
    font-family: "Source Sans Pro", sans-serif;
    line-height: 24px;
    font-weight: 400;
}

.footer-disclaimer img {
    width: 50px;
}

.copiright__container {
    padding-top: 24px;
    font-size: 14px;
    text-align: center;
    font-family: "Source Sans Pro", sans-serif;
    line-height: 24px;
}

/* Page */

.page__container {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 32px;
    padding-block: 64px;
}

.page__container h1 {
    font-size: 72px;
    font-weight: 600;
    line-height: 75px;
}

.page__container h2 {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Contant */

.contant-section {
    margin-block: 64px;
}

.contant__container {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contant__container h3 {
    font-size: 55px;
    font-style: normal;
    font-family: "Assistant", sans-serif;
    font-weight: 600;
    line-height: 60px;
    text-align: center;
}

.contant__container img {
    width: 100%;
    border-radius: 16px;
}

.contant__container p {
    font-size: 16px;
    font-family: "Source Sans Pro", sans-serif;
    font-weight: 400;
    line-height: 28px;
}

/* Table */

.table-section {
    margin-block: 64px;
}

.table-heading {
    font-size: 18px;
    font-weight: 900px;
    color: #000;
    background-color: #EBFFE8;
    text-align: center
}

table {
    width: 90%;
    margin: 0 auto;
    border-collapse: collapse
}

th,
td {
    border: 1px solid #000;
    padding: 8px;
    text-align: left
}

/* Contact */

.contact-section {
    margin-block: 64px;
}

.contact__container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.contact-info {
    display: flex;
    flex-direction: column;
    margin-left: 32px;
    flex: 1;
}

.contact-info h3 {
    color: #04c7b9;
    font-size: 55px;
    font-weight: 600;
    line-height: 60px;
    margin-bottom: 56px;
}

.p-contact {
    margin-bottom: 32px;
    font-size: 18px;
    font-family: "Source Sans Pro", sans-serif;
    font-weight: 400;
    line-height: 28px;
    padding-right: 30px;
}

.contact-svg {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-svg p {
    font-size: 18px;
    font-family: "Source Sans Pro", sans-serif;
    font-weight: 400;
    line-height: 28px;
}

.contact-form h2 {
    font-size: 36px;
    font-weight: 700;
    line-height: 48px;
}

.contact-form p {
    font-size: 18px;
    line-height: 28px;
}

.contact-form {
    background: linear-gradient(to right, #F9FFE5, #EBFFE8);
    padding: 24px 32px 24px 32px;
    margin-right: 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    border-radius: 16px;
    width: 460px;
    height: 492px;
    position: relative;
    z-index: 2;
}

.img-contact__container {
    width: 100%;
    margin-top: -100px;
    position: relative;
    z-index: 1;
}

.img-contact__container img {
    width: 100%;
    border-radius: 16px;
}

.form {
    border-radius: 5px;
    flex: 1;
}

input[type="text"],
input[type="tel"],
textarea {
    width: 100%;
    padding: 16px;
    margin-bottom: 16px;
    border-radius: 16px;
    font-size: 16px;
}

textarea {
    resize: vertical;
}

form button {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    line-height: 24px;
    text-transform: uppercase;
    background-color: #04C7B9;
    padding: 16px 24px;
    align-items: center;
    border-radius: 16px;
    justify-content: center;
    width: 100%;
    cursor: pointer;
}

form button:hover {
    background: linear-gradient(to bottom left, #B1D903, #00C7BE);
}

/* Politic */

.politic-section {
    margin-block: 64px;
}

.politic__container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Popup */

.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, .7);
    z-index: 1000;
    display: none
}

.popup-content {
    background-image: url(../../images/popup.png);
    width: 486px;
    height: 486px;
    padding: 24px 16px 24px 16px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 16px;
    text-align: center;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.popup-content h2 {
    font-weight: 700;
    line-height: 48px;
    font-size: 36px;
}

.popup-buttons {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 16px;
}

.yes {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    line-height: 24px;
    text-transform: uppercase;
    background-color: #04C7B9;
    padding: 16px 24px;
    align-items: center;
    border-radius: 16px;
    justify-content: center;
    cursor: pointer;
    width: 50%;
    border: 1px solid #04C7B9;
}

.no {
    color: #04C7B9;
    font-size: 18px;
    font-weight: 700;
    line-height: 24px;
    text-transform: uppercase;
    background-color: #04c7ba00;
    padding: 16px 24px;
    border: 1px solid #04C7B9;
    align-items: center;
    border-radius: 16px;
    justify-content: center;
    cursor: pointer;
    width: 50%;
}

.no:hover {
    background-color: #04C7B9;
    color: #FFF;
}

.yes:hover {
    background: linear-gradient(to bottom left, #B1D903, #00C7BE);
}

/* Media */

@media (max-width: 600px) {

    /* Hero */

    .triangle-divider {
        border-left: 30vw solid transparent;
        border-right: 80vw solid transparent;
        border-top: 30px solid #EBFFE8;
    }

    .hero__container {
        flex-direction: column;
        padding-top: 32px;
    }

    .text-block-hero {
        width: 100%;
    }

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

    .text-block-hero a {
        max-width: 100%;
    }

    .img-block-hero {
        width: 100%;
    }

    .img-block-hero::before {
        top: 20px;
        right: -20px;
        height: 250px;
    }

    .img-block-hero img {
        left: 0;
        margin-top: 32px;
    }

    /* About */

    .about__container {
        flex-direction: column;
    }

    .text-block-about {
        width: 100%;
    }

    .text-block-about h2 {
        font-size: 40px;
    }

    .img-block-about {
        width: 100%;
    }


    /* Info */
    .info-section {
        padding-bottom: 24px;
    }

    .info__container {
        flex-direction: column;
    }

    /* footer */

    .footer__container {
        flex-direction: column;
        gap: 24px;
    }

    /* Page */

    .page__container {
        gap: 24px;
        padding-block: 32px;
    }

    .page__container h1 {
        font-size: 48px;
    }

    /* Contant */

    .contant-section {
        margin-block: 32px;
    }

    .contant__container {
        gap: 24px;
    }

    .contant__container h3 {
        font-size: 32px;
    }

    .contant__container img {
        width: 343px;
    }

    .contant__container p {
        font-size: 16px;
    }

    /* Table */

    .table-section {
        margin-block: 32px;
    }

    /* Contact */

    .contact-section {
        margin-block: 32px;
    }

    .contact__container {
        flex-direction: column;
    }

    .contact-info {
        margin-left: 0;
        margin-bottom: 24px;
    }

    .contact-info h3 {
        font-size: 32px;
        margin-bottom: 24px;
    }

    .p-contact {
        margin-bottom: 32px;
        font-size: 16px;
        padding-right: 0;
    }

    .contact-svg p {
        font-size: 16px;
    }

    .contact-form p {
        font-size: 16px;
    }

    .contact-form {
        margin-right: 0;
        gap: 16px;
        width: 100%;
    }

    .img-contact__container {
        width: 100%;
        margin-top: -20px;
    }

    /* Politic */

    .politic-section {
        margin-block: 32px;
    }
}


@media (max-width: 768px) {
    .header-menu {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .mobile-menu {
        display: block;
    }
}