/* Global  */

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


/* body fonts */

body {
    font-size: 62.5%;
    background-color: #ecf0f1;
}


/* Header Styling  */

header {
    background-color: #4617fe;
    display: flex;
    height: 70vh;
    padding: 0 90px;
}


/* Navigation */

nav {
    order: 2;
    margin-left: auto;
    height: 12vh;
    display: flex;
    gap: 30px;
    align-items: center;
    color: #FFFFFF;
    font-size: 13px;
}

nav .nav-item {
    cursor: pointer;
    font-size: 16px;
}

nav .nav-item-active {
    background-color: #FFFFFF;
    color: #4617fe;
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
}

header div .logo {
    order: 1;
    margin-top: 50px;
}

header .header-text {
    position: absolute;
    margin-top: 180px;
    color: #FFFFFF;
}

header .header-text p {
    font-size: 16px;
}

header .header-text h2 {
    font-size: 2.5rem;
    letter-spacing: 2px;
    margin: 20px 0px;
}

header div:last-child {
    position: absolute;
    right: 0;
    width: 640px;
    height: 500px;
    top: 90px;
}

header div .header-image {
    width: 100%;
}


/* company Section */

.companies {
    padding: 3rem 0 0 8rem;
}

.company-items {
    font-size: 18px;
    text-decoration: none;
    color: #000;
    font-family: Montserrat;
}

.company-items:not(:last-child) {
    margin-right: 2.5rem;
}


/* Api section Style */

.api {
    padding: 0 9rem;
    margin-top: 5rem;
}

.api-heading {
    font-size: 1.8rem;
}

.cards {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 2rem;
}

.card {
    padding: 1rem 1.5rem;
}

.card-head {
    font-weight: 400;
    font-size: 1.5rem;
    margin: 10px 0px;
}

.card-body {
    margin: 10px 0px;
    font-size: .8rem;
    line-height: 20px;
    color: #757575;
}

.card-active {
    background-color: #fff;
    border-radius: 1rem;
    padding: 1rem 1.5rem;
}

.card-head-active {
    color: #4416fe;
    font-weight: 400;
    font-size: 1.5rem;
}


/* Blog Section Style */

.blog-heading h1 {
    font-size: 1.8rem;
    font-weight: bold;
    margin: 20px 8rem;
}

.blog-cards {
    display: flex;
    justify-content: space-between;
    margin: 10px 8rem;
}

.blog-card {
    background-color: #fff;
    border-top-left-radius: 45px;
    margin-right: 30px;
    display: flex;
    box-shadow: rgba(100, 100, 111, 0.3) 0px 7px 29px 0px;
}

.blog-bottom {
    position: relative;
    top: 235px;
    right: 119px;
}

.blog-content {
    padding-left: 20px;
    line-height: 16px;
}

.blog-content h6 {
    color: #5f37fc;
    margin-top: 25px;
}

.blog-content h3 {
    font-weight: bold;
    margin-top: 10px;
    margin-bottom: 20px;
}

.blog-content small {
    font-weight: lighter;
    margin-top: 10px;
    text-align: left;
}

.blog-author {
    position: relative;
    top: 8rem;
    right: 3.5rem;
    padding: 0px;
}


/* ---faq section--- */

.faq-section {
    margin-top: 3rem;
    padding-left: 8rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #ccd5fc;
}

.faq-content h2 {
    font-size: 26px;
    margin: 20px 0px;
}

.faq-content h4 {
    font-size: 1rem;
    color: #757575;
    font-weight: 300;
}

.faq-content h3 {
    font-size: 1.2rem;
    color: #000;
    font-weight: 600;
    margin: 2rem 0;
}

.faq-content button {
    background-color: #4416fe;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: .6rem 1.1rem;
}

.download-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #fff;
    padding: 3rem 8rem;
}

.download-content h1 {
    font-size: 1.3rem;
}


/* Form Section */

form {
    background-color: #ccd5fc;
    border-radius: 88px;
    width: 25rem;
    height: 4rem;
    padding: 0.6rem 2rem;
}

form input {
    border: none;
    font-size: 16px;
    color: #000;
    padding: .7rem 2.2rem;
    text-align: start;
    background: transparent;
    ;
}

.footer-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #4416fe;
    color: #fff;
    padding: 3rem 8rem;
}

.footer-left img {
    height: 2.3rem;
}

.footer-left .list {
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
    padding: 0;
    margin-top: 1.5rem;
}

.list-items {
    margin-right: 1rem;
    font-size: .8rem;
}

.footer-logos {
    margin-right: 1rem;
    height: 1.8rem;
}

.logos-list {
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
    padding: 0;
    margin-top: 1.5rem;
}

@media screen and (max-width:1100px) {
    .blog-cards {
        flex-wrap: wrap;
        justify-content: space-between;
    }
    header div .header-image {
        display: none;
    }
    .blog-card {
        margin-top: 2rem;
    }
    .cards {
        flex-wrap: wrap;
    }
    .faq-image {
        display: none;
    }
}

@media only screen and (max-width: 950px) {
    nav {
        overflow-x: hidden;
    }
    header {
        justify-content: center;
        padding: 0 20px;
    }
    header div:last-child {
        display: none;
    }
    nav {
        margin-top: 20px;
        overflow-x: auto;
    }
    .blog-bottom {
        display: none;
    }
    .blog-author {
        display: none;
    }
    header div .logo {
        order: 1;
        margin-top: 50px;
        width: 100px;
        margin-right: 40px;
    }
    .blog-image img {
        width: 177px;
        height: 100%;
    }
    .header-text {
        padding: 0 20px;
    }
    nav .nav-item-active {
        background-color: #FFFFFF;
        color: #4617fe;
        padding: 5px 20px;
        border-radius: 4px;
        min-width: 50px;
        margin: 0 20px 0 20px;
        cursor: pointer;
    }
}

@media screen and (max-width: 700px) {
    nav {
        margin-top: 20px;
        overflow-x: hidden;
    }
}

@media screen and (max-width: 640px) {
    nav {
        margin-top: 20px;
        overflow-x: hidden;
    }
    .nav-item-active {
        display: none;
    }
    .header-text {
        margin-top: 1rem;
        text-align: center;
    }
    .header-text h2 {
        letter-spacing: 1px;
        font-size: 16px;
        line-height: 1;
    }
    .header-text p {
        font-size: 1rem;
        margin-top: 1rem;
    }
    .header-image {
        display: none;
    }
    .companies {
        margin: 0px 20px;
        display: flex;
        padding: 3rem 0 0 0rem;
    }
    .api {
        width: 100vw;
    }
    .card-active {
        margin: 10px 0px;
    }
    .blog-cards {
        margin-left: 3.5rem;
    }
    .blog-card {
        margin-top: 2rem;
        margin-right: -81px;
    }
    .download-section {
        flex-direction: column;
    }
    form {
        margin-top: 2rem;
        width: 20rem;
        height: 3rem;
        padding: 0rem 2rem;
    }
    .footer-section {
        flex-direction: column;
    }
    .footer-left {
        margin: 20px 0px;
    }
    .footer-left img {
        margin-left: 5rem;
    }
    .faq-content {
        margin-right: 5rem;
    }
    .faq-image img {
        display: none;
    }
    .faq-content h2 {
        font-size: 1.2rem;
    }
    .faq-content button {
        margin-bottom: 1rem;
    }
    .download-content span {
        margin-left: 2rem;
    }
    .blog-section-hide {
        display: none;
    }
}