﻿@import url('https://fonts.googleapis.com/css2?family=Exo:ital,wght@0,100..900;1,100..900&display=swap');


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    height: 100vh;
    width: 100%;
    font-family: "Exo", sans-serif;
}

/* buttons */
.primary-btn {
    color: white;
    background-image: linear-gradient(90deg, #377EF3, #003893);
    border: none;
    padding: 15px 40px;
    border-radius: 35px;
    font-size: 15px;
    font-weight: 600;
}

/* banner section */
.banner-sec {
    display: flex;
}

.left-side {
    align-content: center;
}

.banner-sec .left-side h3 {
    font-size: 50px;
    font-weight: 600;
    color: #223A66;
    margin-bottom: 50px
}

    .banner-sec .left-side h3::before {
        content: "";
        border-radius: 146.285px;
        background: #0e3f99;
        filter: blur(204.79920959472656px);
        display: block;
        margin-bottom: 10px;
        height: 300px;
        position: absolute;
        width: 300px;
    }
.hero-line {
    width: 90%;
    border-top: 1px solid #c1b3b3;
}
.banner-sec .left-side p {
    color: #6D6C74;
    font-size: 20px;
    margin-bottom: 30px;
    width: 92%;
}

    .banner-sec .left-side p::before {
        content: "";
       /* background-image: url(../image/comma.png);*/
        background-image: url('../assets/homepage/comma.png');
        display: block;
        width: 43px;
        height: 33px;
        margin-bottom: 10px;
    }

button.explore-btn {
    background: #223A66;
    color: white;
    padding: 15px 40px;
    border-radius: 16px;
    border: 1px solid #223A66;
    transition: ease 0.3s;
}

    button.explore-btn:hover {
        background: #111e38;
    }

    button.explore-btn:active {
        transition: ease 0.3s;
        scale: 0.9;
    }

.banner-image {
    position: relative;
}

    .banner-image::before {
        content: "";
        position: absolute;
        top: 30%;
        left: -20%;
        width: 52px;
        height: 112px;
        /*background-image: url(../image/background-design.png);*/
        background-image: url('../assets/homepage/background-design.png');
    }

    .banner-image::after {
        content: "";
        position: absolute;
        bottom: 12%;
        left: -40%;
        width: 155px;
        height: 155px;
       /* background-image: url(../image/background-design2.png);*/
        background-image: url('../assets/homepage/background-design2.png');
    }

    .banner-image .back-design {
        position: absolute;
        z-index: -1;
        top: 20%;
        left: 13%;
    }

/* why choose section */
.why-choose-sec {
    /*background-image: url(../image/why-choose.png);*/
    background-image: url('../assets/homepage/why-choose.png');
    background-size: cover;
    background-repeat: no-repeat;
    padding: 70px 0;
}

    .why-choose-sec .head-title {
        text-align: center;
    }

        .why-choose-sec .head-title h3 {
            color: white;
            font-size: 44px;
            font-weight: 600;
        }

            .why-choose-sec .head-title h3::after {
                content: "";
                display: block;
                background: #223A66;
                width: 50px;
                height: 6px;
                justify-self: center;
                margin: 20px 0;
            }

        .why-choose-sec .head-title p {
            color: white;
            font-size: 22px;
            width: 40%;
            justify-self: center;
            margin-bottom: 5rem;
        }

.why-choose-card {
    background: #1B152C;
    border-radius: 200px 200px 30px 110px;
    overflow: hidden;
    width: min-content;
    height: 557px;
    position: relative;
}

    .why-choose-card .card-img {
        border-bottom-left-radius: 100px;
        position: relative;
        margin-bottom: 20px;
        z-index: 2;
    }

        .why-choose-card .card-img img {
            transition: all 300ms ease;
        }

    .why-choose-card .card-content {
        padding: 40px 40px 10px 40px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        height: 313px;
    }

        .why-choose-card .card-content .card-inner-content {
            z-index: 2;
        }

        .why-choose-card .card-content h4 {
            color: white;
            font-size: 22px;
        }

        .why-choose-card .card-content p {
            color: #6D6C74;
            line-height: 2;
        }

button.discover-btn {
    background: transparent;
    border: none;
    color: white;
    font-weight: 500;
    text-transform: uppercase;
    position: relative;
}

.card-img .card-icon {
    position: absolute;
    right: 0px;
    bottom: -20%;
    width: 116px;
    height: 116px;
    align-content: center;
    text-align: center;
    border-radius: 50%;
    background-image: linear-gradient(90deg, #377EF3, #003893);
}

.cards-sec {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    flex-wrap: wrap;
}

.button-design {
    position: absolute;
    z-index: 1;
    bottom: 0;
    right: 0;
    width: 116px;
    height: 50px;
    border-top-left-radius: 100px;
    border-bottom-right-radius: 52px;
}

.discover-button {
    text-align: end;
    position: relative;
    z-index: 2;
}

    .discover-button::before {
        content: "";
        position: absolute;
        bottom: -13px;
        right: -40px;
        width: 190px;
        height: 57px;
        transform: translateX(100%);
        border-top-left-radius: 50px;
        background-color: #1b152c;
        transition: all 300ms ease;
    }

.why-choose-card::before {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    border-top-left-radius: 60%;
    transform: scaleX(0.3) scaleY(0.1);
    transform-origin: bottom right;
    background: linear-gradient(90deg, #377EF3, #003893);
    transition: all 500ms ease;
    z-index: 1;
}

.why-choose-card:hover::before {
    transform: scaleX(2) scaleY(1);
}

.why-choose-card:hover .card-content p {
    color: #fff;
}

.card-img .card-icon:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    border-radius: 50%;
    background-color: #1B152C;
    transition: all 300ms ease;
    transform: scale(0.5);
    opacity: 0;
}

.why-choose-card:hover .card-img .card-icon:before {
    transform: scale(1);
    opacity: 1;
}

.why-choose-card:hover .card-img img {
    transform: scale(1.1);
}

.why-choose-card:hover .card-img .card-icon img {
    position: relative;
}

.why-choose-card:hover .discover-button::before {
    transform: translateX(0);
    transition-delay: 0.1s;
}

/* compliance section */
.compliance-sec .head-title {
    text-align: center;
}

    .compliance-sec .head-title h3 {
        color: #223A66;
        font-size: 44px;
        font-weight: 600;
    }

        .compliance-sec .head-title h3::after {
            content: "";
            display: block;
            background: #E12454;
            width: 50px;
            height: 6px;
            justify-self: center;
            margin: 20px 0;
        }

    .compliance-sec .head-title p {
        color: #5C6676;
        font-size: 22px;
        width: 40%;
        justify-self: center;
        margin-bottom: 5rem;
    }

.compliance-sec {
    margin: 60px 0;
}

.compliance-contents {
    display: flex;
    gap: 8rem;
    background-image: linear-gradient(90deg, #FFFFFE, #E3EDFE);
    padding-bottom: 30px;
}

.compliance-content-outer {
    display: flex;
}

    .compliance-content-outer:hover {
        background-color: #FFF;
    }

    .compliance-content-outer .compliance-img {
        padding: 30px 20px;
        border-right: 1px solid #fff;
        display: flex;
        align-items: center;
    }

/* .compliance-content-outer img {
    height: 100%;
} */
.compliance-inner-content {
    padding: 30px 20px;
}

    .compliance-inner-content span {
        color: #24201F;
        font-size: 18px;
        font-weight: 600;
    }

    .compliance-inner-content p {
        color: #6D6C74;
        line-height: 2;
        margin: 0;
    }

.compliance-right {
    align-content: center;
    padding: 20px;
}

.compliance-left {
    position: relative;
}

.compliance- img {
    width: 100%;
}

.com-more-btn {
    margin-top: 30px;
}

    .com-more-btn:hover {
        background-color: unset;
    }

.compliance-img-caption {
    position: absolute;
    width: 313px;
    height: 206px;
    bottom: 15rem;
    right: -5rem;
    background: #ffffff;
    border-radius: 30px;
}

    .compliance-img-caption span {
        font-size: 14px;
        color: #ED8A33;
        font-weight: 500;
        text-transform: uppercase;
    }

    .compliance-img-caption p {
        font-size: 20px;
        color: #1B152C;
    }

.compliance-img-caption-icon {
    position: absolute;
    top: -4rem;
    left: 0;
    width: 116px;
    height: 116px;
    align-content: center;
    text-align: center;
    border-radius: 50%;
    background-image: linear-gradient(90deg, #377EF3, #003893);
}

.compliance-img-caption .caption-content {
    margin-top: 2rem;
    padding: 30px;
}

/* preparing for electronic voting section */
.preparing-sec .head-title {
    text-align: center;
}

    .preparing-sec .head-title h3 {
        color: #223A66;
        font-size: 44px;
        font-weight: 600;
    }

        .preparing-sec .head-title h3::after {
            content: "";
            display: block;
            background: #E12454;
            width: 50px;
            height: 6px;
            justify-self: center;
            margin: 20px 0;
        }

    .preparing-sec .head-title p {
        color: #5C6676;
        font-size: 22px;
        width: 43%;
        justify-self: center;
        margin-bottom: 5rem;
    }

.preparing-sec {
    margin: 60px 0;
}

.preparing-inner-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6rem;
    margin-bottom: 4rem;
    position: relative;
    margin-top: 10rem;
}

.preparing-outer-content {
    text-align: center;
}

.preparing-left-sec img,
.preparing-right-sec img {
    height: 180px;
    margin-bottom: 30px;
}

.preparing-left-sec h3,
.preparing-right-sec h3 {
    color: #0F172A;
    font-weight: 24px;
    font-weight: 600;
}

.preparing-left-sec p,
.preparing-right-sec p {
    color: #566593;
}

.back-vector-img {
    position: absolute;
    top: -3.4rem;
    z-index: -1;
}


/* home Responive css*/

/*  banner section  */

/*@media (min-width: 1400px) {
    .container{
        max-width: 1320px;
    }
}*/
@media (max-width: 1024px) {
    .banner-image {
        width: 100%;
    }

        .banner-image::before {
            display: none;
        }

        .banner-image::after {
            display: none;
        }
}

@media (max-width: 992px) {
    .banner-sec .left-side h3 {
        font-size: 30px;
        height: auto;
    }

    .banner-sec .left-side p {
        font-size: 16px;
    }

    .why-choose-sec .head-title h3 {
        font-size: 30px;
    }

    .compliance-sec .head-title h3 {
        font-size: 30px;
    }

    .preparing-sec .head-title h3 {
        font-size: 30px;
    }
}

@media (max-width: 767px) {
    .banner-image img {
        display: none;
        padding: 30px 20px;
    }

    .banner-sec {
        padding: 30px 20px;
    }
}
/*  Why Choose  */
@media (max-width: 1024px) {
    .why-choose-sec .head-title p {
        width: 100%;
    }
}

/*  compliance section  */
@media (max-width: 1440px) {
    .compliance-contents {
        gap: 2rem;
    }

    .compliance-left > img {
        width: 100%;
    }

    .compliance-img-caption {
        right: 4rem;
        /* bottom: 2rem; */
    }

    .compliance-sec .head-title p {
        width: 100%;
    }

    .preparing-sec .head-title p {
        width: 100%;
    }
}

@media (max-width: 1024px) {
    .compliance-contents {
        flex-wrap: wrap;
        justify-content: center;
    }

    .compliance-img-caption {
        bottom: 2rem;
    }

    .com-more-btn {
        justify-content: center;
    }
}
/*  preparing for electronic voting section */
@media (max-width: 1115px) {
    .back-vector-img {
        display: none;
    }
}