* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
    background-color: #F3F3F3;
}

a {
    color: inherit;
    text-decoration: none;
    display: inline-block;
}

.container {
    width: 85%;
    margin: auto;
}

/* ABOUT */

.back{
    background-color: rgba(5, 0, 78, 1);
    padding: 20px;
    position: fixed;
    width: 100%;
    z-index: 100;
    top: 0;
    display: flex;
    justify-content: space-between;
    align-items: center
}

.about {
    display: flex;
    justify-content: space-between;
    align-items: start;
    padding-top: 20px;
    margin-top: 75px;
}

.social {
    width: 50%;
}

.address {
    width: 50%;
    text-align: right;
}

/* HEADER */

.header2{
    display: none;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 50px !important;
}

.logo {
    width: 30%;
}

.logo img {
    width: 30%;
    border-radius: 20px;
}

nav {
    width: 50%;
}

nav a {
    padding-right: 10px;
}

.call {
    width: 20%;
    text-align: right;
}

.call a {
    background-color: #0F62C5;
    padding: 10px 15px;
    color: white;
    border-radius: 10px;
}

/* COVER */

.cover {
    position: relative;
    text-align: right;
}

.cover-content {
    position: absolute;
    top: 10%;
    left: 0;
    text-align: left;
}

.cover-content h1 {
    font-size: 90px;
    font-weight: 900;
    line-height: 100px;
    margin-bottom: 10px;
}

.cover-content p {
    color: gray;
    font-size: 18px;
    font-weight: 400;
    line-height: 28px;
}

.cover-content input {
    width: 45%;
    height: 40px;
    border-radius: 5px;
    border: 1px solid lightgray;
}

.cover-content input::placeholder {
    padding-left: 10px;
}

.cover-content a {
    padding: 10px 15px;
    font-size: 14px;
    color: white;
    background-color: #0F62C5;
    border-radius: 10px;
    margin-left: 10px;
}

.cover-des {
    display: flex;
    justify-content: start;
    align-items: start;
    margin-top: 50px;
}

.cover-des h3 {
    font-size: 18px;
    font-weight: 600;
    line-height: 23px;
}

.cover-des p {
    color: gray;
    font-size: 16px;
    line-height: 26px;
    font-weight: 400;
}

.cover-left {
    margin-right: 50px;
}

/* ADVANTAGES */

.advantages {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-top: 200px;
}

.advantages h3 {
    font-size: 18px;
    font-weight: 600;
    line-height: 29px;
    color: #0F62C5;
}

.advantages h2 {
    font-size: 46px;
    line-height: 64px;
    font-weight: 600;
    margin: 10px 0 10px 0;
}

.advantages p {
    font-size: 16px;
    color: gray;
    font-weight: 400;
    line-height: 26px;
}

.advantages h4 {
    font-size: 18px;
    font-weight: 600;
    line-height: 29px;
    margin-bottom: 0;
}

.advantages-img {
    width: 38%;
}

.advantages-des {
    width: 52%;
}

.advantages-item {
    display: flex;
    justify-content: space-between;
    align-items: start;
}

.advantages-item img {
    width: 5%;
}

.advantages-item a {
    display: block;
    padding-top: 20px;
    color: gray;
}

/* GALLERY */

.gallery-title {
    text-align: center !important;
    margin-top: 100px;
}

.gallery-title h3 {
    font-size: 18px;
    font-weight: 600;
    color: #0F62C5;
    line-height: 29px;
}

.gallery-title h2 {
    font-size: 46px;
    font-weight: 600;
    line-height: 64px;
    margin: 10px 0 10px 0;
}

.gallery-title p {
    font-size: 16px;
    font-weight: 400;
    line-height: 26px;
    color: gray;
}

.gallery {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-top: 50px;
}

.gallery img {
    width: 24%;
}

/* SERVICES */

.services {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-top: 100px;
}

.services-card {
    width: 31%;
    background-color: white;
    padding: 20px;
    border-radius: 5px;
}

.services-card h2 {
    font-size: 25px;
    line-height: 26px;
}

.services-card p {
    font-size: 16px;
    line-height: 26px;
    font-weight: 400;
    color: gray;
}

.services-card span {
    color: #0F62C5;
}

.services-card:hover {
    color: white !important;
    background-color: #0F62C5;
}

.services-card:hover p {
    color: white;
}

.services-card:hover span {
    color: white !important;
}

#down {
    margin-top: 50px;
    margin-bottom: 100px;
}

/* PLANS */

.plans-bg {
    background-color: #0F62C5;
    padding: 30px 0 30px 0;
}

.palns {
    display: flex;
    justify-content: start;
    align-items: start;
    margin-top: 70px;
    color: white;
}

.plans-des {
    margin-left: 50px;
}

.plans-des h3 {
    font-size: 18px;
    font-weight: 600;
    line-height: 29px;
}

.plans-des h2 {
    font-size: 80px;
    font-weight: 600;
    line-height: 90px;
    margin: 10px 0 10px 0;
}

.plans-des p {
    font-size: 16px;
    font-weight: 400;
    line-height: 26px;
    color: lightgray
}

.plans-cards {
    background-color: #0F62C5;
    display: flex;
    justify-content: space-between;
    align-items: start;
}

.plans-card {
    background-color: white;
    width: 31%;
    border-radius: 5px;
    padding: 20px;
    padding-bottom: 10px;
}

.plans-card h2 {
    font-size: 25px;
    line-height: 26px;
}

.plans-card p {
    font-size: 16px;
    line-height: 26px;
    font-weight: 400;
    color: gray;
}

/* INVESTMENTES */

.Insvestments {
    text-align: center !important;
    margin-top: 100px;
}

.Insvestments h3 {
    font-size: 18px;
    font-weight: 600;
    color: #0F62C5;
    line-height: 29px;
}

.Insvestments h2 {
    font-size: 46px;
    font-weight: 600;
    line-height: 64px;
    margin: 10px 0 10px 0;
}

.Insvestments p {
    font-size: 16px;
    font-weight: 400;
    line-height: 26px;
    color: gray;
}

.investments-cards {
    display: flex;
    justify-content: space-between;
    align-items: start;
}

.investments-card {
    width: 22%;
    text-align: center;
    margin-top: 50px;
}

.investments-card span {
    width: 60px;
    height: 60px;
    background-color: #EAEAEA;
    color: #0F62C5;
    font-size: 38px;
    line-height: 85px;
    font-weight: 700;
    padding: 20px;
    border-radius: 50%;
}

.investments-card h3 {
    font-size: 18px;
    font-weight: 600;
    line-height: 23px;
    margin: 10px 0 10px 0;
}

.investments-card p {
    font-size: 16px;
    font-weight: 400;
    color: gray;
    line-height: 26px;
}

/* QUESTION */

.question {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-top: 100px;
}

.question-left {
    width: 50%;
}

.question-left h2 {
    font-size: 46px;
    font-weight: 600;
    color: #0F62C5;
    margin-top: 0;
    margin-bottom: 10px;
}

.question-left p {
    font-size: 18px;
    font-weight: 700;
    line-height: 28px;
}

.question-right {
    width: 44%;
    display: flex;
    justify-content: start;
    align-items: start;
}

.question-right a {
    background-color: #0F62C5;
    color: white;
    font-size: 14px;
    font-weight: 600;
    line-height: 17px;
    padding: 15px;
    border-radius: 5px;
}

.question-right div {
    margin-left: 70px;
}

.question-right span {
    font-size: 14px;
    font-weight: 400;
    color: gray;
    line-height: 14px;
}

.question-right h2 {
    font-size: 26px;
    line-height: 36px;
    font-weight: 600;
    margin-bottom: 0;
    margin-top: 5px;
}

/* FOOTER */

.footerbg {
    background-color: #0F62C5;
    margin-top: 100px;
}

footer {
    display: flex;
    justify-content: space-between;
    align-items: start;
    text-align: center;
    padding: 30px 0 30px 0;
}

footer h3 {
    font-weight: 600;
    color: white;
    font-size: 18px;
    margin-bottom: 10px;
    line-height: 25px;
}

footer p {
    color: lightgray;
    font-size: 18px;
    line-height: 29px;
}

footer a {
    display: block;
    color: lightgray;
    font-size: 18px;
    line-height: 29px;
}

.second-footer {
    background-color: #0F62C5;
    text-align: center;
    padding: 30px 0 10px 0;
    border-top: 1px solid lightgray;
}

.second-footer P {
    color: white;
}

.second-footer a {
    color: lightgray;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .social {
        width: 40%;
        font-size: 14px;
    }

    .social a {
        margin-left: 5px;
    }

    .address {
        width: 60%;
        font-size: 14px;
    }

    /* HEADER */

    .logo {
        width: 20%;
    }

    .logo img {
        width: 80%;
        border-radius: 20px;
    }

    nav {
        width: 60%;
    }

    nav a {
        padding-right: 5px;
        font-size: 14px;
    }

    .call {
        width: 20%;
        text-align: right;
    }

    .call a {
        background-color: #0F62C5;
        padding: 8px 10px;
        color: white;
        border-radius: 10px;
        font-size: 14px;
    }

    /* COVER */

    .cover {
        position: relative;
        text-align: right;
    }

    .cover img {
        width: 45%;
    }

    .cover-content {
        position: absolute;
        top: 0%;
        left: 0;
        text-align: left;
    }

    .cover-content h1 {
        font-size: 40px;
        font-weight: 900;
        line-height: 40px;
        margin-bottom: 10px;
    }

    .cover-content p {
        color: gray;
        font-size: 12px;
        font-weight: 400;
        line-height: 28px;
    }

    .cover-content input {
        width: 30%;
        height: 40px;
        border-radius: 5px;
        border: 1px solid lightgray;
    }

    .cover-content input::placeholder {
        padding-left: 5px;
    }

    .cover-content a {
        padding: 8px 10px;
        font-size: 14px;
        color: white;
        background-color: #0F62C5;
        border-radius: 10px;
        margin-left: 10px;
    }

    .cover-des {
        display: flex;
        justify-content: start;
        align-items: start;
        margin-top: 50px;
    }

    .cover-des h3 {
        font-size: 16px;
        font-weight: 600;
        line-height: 23px;
    }

    .cover-des p {
        color: gray;
        font-size: 14px;
        line-height: 26px;
        font-weight: 400;
    }

    .cover-left {
        margin-right: 50px;
    }

    /* ADVANTAGES */

    .advantages {
        display: flex;
        justify-content: space-between;
        align-items: start;
        margin-top: 200px;
    }

    .advantages h3 {
        font-size: 16px;
        font-weight: 600;
        line-height: 29px;
        color: #0F62C5;
        margin: 0;
    }

    .advantages h2 {
        font-size: 30px;
        line-height: 64px;
        font-weight: 600;
        margin: 0px 0 0px 0 !important;
    }

    .advantages p {
        font-size: 14px;
        color: gray;
        font-weight: 400;
        line-height: 26px;
        margin: 0;
    }

    .advantages h4 {
        font-size: 18px;
        font-weight: 600;
        line-height: 29px;
        margin: 10px 0 0 0;
    }

    .advantages-img {
        width: 55%;
    }

    .advantages-img img {
        width: 100%;
    }

    .advantages-des {
        width: 43%;
        padding-left: 20px;
    }

    .advantages-item {
        display: flex;
        justify-content: space-between;
        align-items: start;
    }

    .advantages-item img {
        width: 5%;
    }

    .advantages-item a {
        display: block;
        padding-top: 10px;
        color: gray;
    }

    /* SERVICES */

    .services-card {
        width: 31%;
        height: 350px;
        background-color: white;
        padding: 20px;
        border-radius: 5px;
    }

    .services-card h2 {
        font-size: 25px;
        line-height: 26px;
    }

    .services-card p {
        font-size: 16px;
        line-height: 22px;
        font-weight: 400;
        color: gray;
    }

    .services-card span {
        color: #0F62C5;
    }

    .services-card:hover {
        color: white !important;
        background-color: #0F62C5;
    }

    .services-card:hover p {
        color: white;
    }

    .services-card:hover span {
        color: white !important;
    }

    #down {
        margin-top: 50px;
        margin-bottom: 100px;
    }

    /* PLANS */

    .plans-img {
        width: 60%;
    }

    .plans-img img {
        width: 100%;
    }

    .plans-des {
        width: 40%;
        margin-left: 50px;
    }

    .plans-des h3 {
        font-size: 16px;
        font-weight: 600;
        line-height: 29px;
    }

    .plans-des h2 {
        font-size: 35px;
        font-weight: 600;
        line-height: 50px;
        margin: 10px 0 10px 0;
    }

    .plans-des p {
        display: none;
    }

    .plans-cards {
        background-color: #0F62C5;
        display: flex;
        justify-content: space-between;
        align-items: start;
    }

    .plans-card {
        background-color: white;
        width: 31%;
        border-radius: 5px;
        padding: 20px;
        padding-bottom: 10px;
    }

    .plans-card h2 {
        font-size: 20px;
        line-height: 26px;
    }

    .plans-card p {
        font-size: 14px;
        line-height: 22px;
        font-weight: 400;
        color: gray;
    }

    /* INVESTMENTS */

    .investments-cards {
        display: block;
    }

    .investments-card {
        display: inline-block;
        width: 49%;
        text-align: center;
        margin-top: 50px;
    }

    /* QUESTION */

    .question {
        display: flex;
        justify-content: space-between;
        align-items: start;
        margin-top: 100px;
    }

    .question-left {
        width: 50%;
    }

    .question-left h2 {
        font-size: 36px;
        font-weight: 600;
        color: #0F62C5;
        margin-top: 0;
        margin-bottom: 10px;
    }

    .question-left p {
        font-size: 16px;
        font-weight: 700;
        line-height: 28px;
    }

    .question-right {
        width: 44%;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .question-right a {
        background-color: #0F62C5;
        color: white;
        font-size: 14px;
        font-weight: 600;
        line-height: 17px;
        padding: 8px 10px;
        border-radius: 5px;
        width: 49%;
    }

    .question-right div {
        width: 49%;
        margin: 0px;
    }

    .question-right span {
        font-size: 14px;
        font-weight: 400;
        color: gray;
        line-height: 14px;
    }

    .question-right h2 {
        font-size: 20px;
        line-height: 36px;
        font-weight: 600;
        margin-bottom: 0;
        margin-top: 5px;
    }


    /* FOOTER */

    .footer-left {
        width: 40%;
        padding-top: 20px;
    }

    .footer-left img {
        width: 70%;
    }

    .footer-left p {
        display: none;
    }

    .footer-right {
        width: 60%;
    }

    .footer-right h3 {
        font-size: 15px;
    }

    .footer-right a {
        font-size: 14px;
    }

    .footer-posts {
        display: none;
    }

    .links {
        width: 32%;
    }

    .secondfooter {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .social {
        width: 40%;
        font-size: 14px;
    }

    .social a {
        margin-left: 5px;
    }

    .address {
        width: 60%;
        font-size: 14px;
    }

    /* HEADER */

    /* .container{
        width: 100%;
    } */

    header{
        display: none;
    }

    .about{
        display: none;
    }

    .header2 {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0 20px 0 20px;
        text-align: center;
        margin-top: 100px;
    }

    .logo2 {
        width: 50%;
    }

    .logo2 img {
        width: 40%;
    }

    .header2 nav {
        width: 50%;
        position: relative;
    }

    .header2 nav div {
        display: none;
        position: absolute;
        top: -160%;
        left: -10%;
        z-index: 1;
        width: 220px !important;
        height: 700px;
        background-color: #0F62C5;
        color: white;
        text-align: left;
        padding-top: 50px;
    }

    .header2 nav div a {
        display: block;
        padding-left: 20px;
        padding-top: 10px;
        padding-bottom: 10px;
        border-bottom: 1px solid #F3F3F3;
    }

    .close {
        z-index: 2 !important;
        color: white;
        position: absolute;
        top: -70%;
        right: 10%;
    }

    .active {
        display: inline-block !important;
    }

    /* COVER */

    .cover {
        position: relative;
        text-align: right;
    }

    .cover img {
        width: 45%;
    }

    .cover-content {
        position: absolute;
        top: 0%;
        left: -5%;
        text-align: left;
    }

    .cover-content h1 {
        font-size: 30px;
        font-weight: 900;
        line-height: 40px;
        margin-bottom: 10px;
    }

    .cover-content p {
        color: gray;
        font-size: 9px;
        font-weight: 400;
        line-height: 20px;
    }

    .cover-content input {
        width: 25%;
        height: 30px;
        border-radius: 5px;
        border: 1px solid lightgray;
    }

    .cover-content input::placeholder {
        padding-left: 5px;
        font-size: 10px;
    }

    .cover-content a {
        padding: 5px 7px;
        font-size: 10px;
        color: white;
        background-color: #0F62C5;
        border-radius: 10px;
        margin-left: 10px;
    }

    .cover-des {
        display: flex;
        justify-content: start;
        align-items: start;
        margin-top: 50px;
        margin-left: 40px;
        text-align: center;
    }

    .cover-des h3 {
        font-size: 16px;
        font-weight: 600;
        line-height: 23px;
    }

    .cover-des p {
        color: gray;
        font-size: 12px;
        line-height: 26px;
        font-weight: 400;
    }

    .cover-left {
        margin-right: 50px;
    }

    /* ADVANTAGES */

    .advantages {
        display: block;
        margin-top: 300px;
    }

    .advantages h3 {
        font-size: 16px;
        font-weight: 600;
        line-height: 29px;
        color: #0F62C5;
        margin: 0;
    }

    .advantages h2 {
        font-size: 30px;
        line-height: 64px;
        font-weight: 600;
        margin: 0px 0 0px 0 !important;
    }

    .advantages p {
        font-size: 14px;
        color: gray;
        font-weight: 400;
        line-height: 26px;
        margin: 0;
    }

    .advantages h4 {
        font-size: 18px;
        font-weight: 600;
        line-height: 29px;
        margin: 10px 0 0 0;
    }

    .advantages-img {
        width: 100%;
    }

    .advantages-img img {
        width: 100%;
    }

    .advantages-des {
        width: 100%;
        padding-left: 20px;
        margin-top: 20px;
    }

    .advantages-item {
        display: flex;
        justify-content: space-between;
        align-items: start;
    }

    .advantages-item img {
        width: 5%;
    }

    .advantages-item a {
        display: block;
        padding-top: 10px;
        color: gray;
    }

    /* SERVICES */

    .services{
        display: block;
    }

    .services-card {
        display: inline-block;
        width: 49%;
        height: 290px;
        background-color: white;
        padding: 20px;
        border-radius: 5px;
        margin-top: 20px;
    }

    .services-card h2 {
        font-size: 16px;
        line-height: 26px;
    }

    .services-card p {
        font-size: 12px;
        line-height: 22px;
        font-weight: 400;
        color: gray;
    }

    .services-card span {
        color: #0F62C5;
    }

    .services-card:hover {
        color: white !important;
        background-color: #0F62C5;
    }

    .services-card:hover p {
        color: white;
    }

    .services-card:hover span {
        color: white !important;
    }

    #down {
        margin-top: 0px;
        margin-bottom: 100px;
    }

    /* PLANS */

    .plans-img {
        width: 60%;
    }

    .plans-img img {
        width: 100%;
    }

    .plans-des {
        width: 40%;
        margin-left: 50px;
    }

    .plans-des h3 {
        font-size: 12px;
        font-weight: 600;
        line-height: 29px;
    }

    .plans-des h2 {
        font-size: 25px;
        font-weight: 600;
        line-height: 30px;
        margin: 10px 0 10px 0;
    }

    .plans-des p {
        display: none;
    }

    .plans-cards {
        background-color: #0F62C5;
        display: block;
    }

    .plans-card {
        background-color: white;
        display: inline-block;
        width: 49%;
        border-radius: 5px;
        padding: 20px;
        padding-bottom: 10px;
        margin-top: 20px;
    }

    .plans-card h2 {
        font-size: 20px;
        line-height: 26px;
    }

    .plans-card p {
        font-size: 14px;
        line-height: 22px;
        font-weight: 400;
        color: gray;
    }

    /* INVESTMENTS */

    .investments-cards {
        display: flex;
        text-align: center;
        align-items: start;
        flex-wrap: wrap;
    }

    .investments-card {
        display: inline-block;
        width: 49%;
        text-align: center;
        margin-top: 20px;
        height: 300px;
        text-align: left;
    }

    /* QUESTION */

    .question {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-top: 100px;
    }

    .question-left {
        width: 50%;
    }

    .question-left h2 {
        font-size: 36px;
        font-weight: 600;
        color: #0F62C5;
        margin-top: 0;
        margin-bottom: 10px;
    }

    .question-left p {
        font-size: 16px;
        font-weight: 700;
        line-height: 28px;
    }

    .question-right {
        width: 44%;
        display: block;
    }

    .question-right a {
        background-color: #0F62C5;
        color: white;
        font-size: 14px;
        font-weight: 600;
        line-height: 17px;
        padding: 8px 10px;
        border-radius: 5px;
        width: 49%;
    }

    .question-right div {
        width: 100%;
        margin: 0px;
    }

    .question-right span {
        font-size: 14px;
        font-weight: 400;
        color: gray;
        line-height: 14px;
    }

    .question-right h2 {
        font-size: 20px;
        line-height: 36px;
        font-weight: 600;
        margin-bottom: 0;
        margin-top: 5px;
    }


    /* FOOTER */

    footer{
        display: block;
    }

    footer div{
        width: 50%;
        display: inline-block;
        margin-top: 20px;
    }
}