@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");

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

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
    background: #2F4B8C;
}

.full-width-wrap {
    padding: 0;
}

section {
    width: 100%;
    display: flex;
    justify-content: center;
}

.content-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin: 0 auto;
}

.hero-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-bottom: -130px;
}

.hero-bg {
    width: 100%;
    height: 100%;
}

.buttons-container {
    display: flex;
    gap: 20px;
    align-items: center;
}

.buttons-container a {
    cursor: pointer;
    display: flex;
}

.buttons-container div {
    display: flex;
}

.text-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    width: 100%;
    position: relative;
    top: -176px;
}

.heading1 {
    color: #FFF;
    text-align: center;
    font-family: Montserrat;
    font-size: 48px !important;
    font-weight: 800;
    line-height: 52.8px;
    letter-spacing: -0.48px;
    margin: 0 !important;
    color: #FFF !important;
}

.hero-section .heading1 {
    max-width: 420px;
}

.subheading {
    color: #FFF;
    text-align: center;
    font-family: Montserrat;
    font-size: 17px !important;
    font-weight: 700;
    line-height: 24px;
    margin: 0 !important;
    color: #FFF !important;
}

.hero-section .subheading {
    max-width: 490px;
}

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

.main-section {
    padding: 80px 173px 40px;
    background: linear-gradient(180deg, rgba(19, 48, 136, 0.00) 0%, #133088 100%);
}

.main-section-wrapper {
    max-width: 1440px;
    margin: 0 auto;
}

.items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 40px;
    width: 100%;
}

.grid-item {
    width: 100%;
    border-radius: 10px;
    background: #0A1523;
    box-shadow: 0px -4px 0px 0px rgba(0, 0, 0, 0.25) inset;
    overflow: hidden;
}

.grid-item img {
    width: 100%;
}

.grid-item-text {
    color: #FFF !important;
    text-align: center;
    font-family: Montserrat;
    font-size: 17px !important;
    font-style: normal;
    font-weight: 800;
    line-height: 20px;
    padding: 24px !important;
    width: 100%;
    margin: 0 !important;
}

.img-wrapper {
    display: flex;
}

.footer-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.footer-text {
    position: absolute;
    top: 40px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    width: 100%;
}

.footer-section .heading1 {
    padding: 24px 0;
    max-width: 700px;
    color: #FFF !important;
}

.footer-section .buttons-container {
    padding: 0;
}

.footer-section .footer-bg {
    width: 100%;
    object-fit: cover !important;
    object-position: top !important;
}

@media screen and (max-width: 1440px) {
    .text-container {
        top: -130px;
    }

    .hero-section {
        margin-bottom: -130px;
    }

    .footer-bg {
        min-height: 960px;
    }

    .buttons-container {
        padding-top: 44px;
    }
}

@media screen and (max-width: 1100px) {
    .items-grid {
        grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
    }

    .main-section {
        padding: 40px;
    }

    .text-container {
        top: -70px;
    }

    .hero-section {
        margin-bottom: -70px;
    }
}

@media screen and (max-width: 768px) {
    .text-container {
        top: -30px;
    }

    .hero-section {
        margin-bottom: -30px;
    }

    .buttons-container .qr {
        display: none;
    }

    .text-container {
        width: 80%;
    }

    .footer-text {
        width: 100%;
    }

    .footer-section .footer-bg {
        min-height: unset;
        height: 664px !important;
        width: auto;
    }

    .items-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    }

    .footer-section .heading1 {
        padding: 0 40px;
    }
}

@media screen and (max-width: 540px) {
    .buttons-container {
        flex-direction: column;
        align-items: center;
        padding-top: 4px;
    }

    .text-container {
        width: 100%;
    }

    .main-section {
        padding: 20px 40px 20px;
    }

    .items-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .footer-text {
        top: 20px;
        gap: 4px;
    }

    .hero-section .heading1 {
        font-size: 31px !important;
        line-height: normal;
        letter-spacing: -0.31px;
        width: 100%;
        max-width: 350px;
        padding: 0 40px;
    }

    .hero-section .subheading {
        color: #FFF;
        text-align: center;
        font-size: 16px !important;
        font-weight: 700;
        line-height: 24px;
        width: 100%;
        padding: 0 40px;
    }

    .grid-item-text {
        font-size: 16px !important;
        padding: 16px;
    }

    .footer-section .heading1 {
        font-size: 24px !important;
        line-height: normal;
        letter-spacing: -0.24px;
        line-height: 24px;
        width: 100%;
        max-width: 100%;
        padding: 0 40px;
    }

}

@media screen and (max-width: 360px) {
    .text-container {
        top: 0px;
    }

    .hero-section {
        margin-bottom: 0px;
    }
}