/******* SECTION - 1 *******/

.section1 {
    width: 100%;
    background-image: url(../../assets/app.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    height: 100vh;
}

.section1 .section_container {
    display: flex;
    float: right;
    flex-direction: column;
    width: 50%;
    padding: 0.7rem;
}

.section_container h2 {
    margin-top: 8rem;
    text-align: center;
    color: #FFFFFF;
    font-size: 2.2rem;
    font-weight: bold;
}

.section_container p {
    text-align: center;
    font-size: 15px;
    font-weight: 600;
}

.enquire-btn {
    font-size: 1rem;
    color: white;
    background-color: #4ebdff;
    width: 10rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    display: inline-block;
    margin-left: 2rem;
    margin-top: 1rem;
    cursor: default;
}

.enquire-btn:hover {
    background-color: #B7DAE0;
    color: black; /* Darker green */
}

@media (max-width: 768px) {
    .section1 .section_container {
        width: 45%;
        padding: 0.7rem;
    }

    .section_container h2 {
        margin-top: 7rem;
        font-size: 1.7rem;
    }

    .section_container p {
        margin-top: 1rem;
        font-size: 1.05rem;
        font-weight: bold;
    }
}

@media (max-width: 425px) {
    .section1 .section_container {
        float: left;
        width: 50%;
        padding: 0.5rem;
    }

    .section_container h2 {
        margin-top: 7rem;
        font-size: 1.3rem;
        text-align: left;
    }

    .section_container p {
        margin-top: 1rem;
        font-size: 0.8rem;
        font-weight: 600;
        color: #FFFFFF;
        text-align: left;
    }
}

/******* SECTION - 2 *******/

.section2 {
    background-color: #FFFFFF;
    margin-top: 100px;
}

.section2 h2 {
    text-align: center;
    padding: 0.7rem;
    font-weight: bold;
    color: rgb(202, 157, 240);
}

.card-container {
    background-color: rgb(202, 157, 240);
    display: flex;
    padding: 2rem;
    margin: 0;
    box-sizing: border-box;
    gap: 1rem;
    cursor: pointer;
}

.row {
    width: 100%;
    justify-content: center;
}

.card1,
.card2,
.card3,
.card4 {
    border-radius: 10px;
    filter: drop-shadow(0 5px 10px 0 #ffffff);
    width: 400px;
    height: 220px;
    background-color: #ffffff;
    padding: 20px;
    position: relative;
    z-index: 0;
    overflow: hidden;
    transition: 0.6s ease-in;
}

.card1::before,
.card2::before,
.card3::before,
.card4::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: -15px;
    right: -15px;
    height: 240px;
    width: 25px;
    border-radius: 32px;
    transform: scale(1);
    transform-origin: 50% 50%;
    transition: transform 0.25s ease-out;
}

.card1::before {
    background: #4c49ea;
}

.card2::before {
    background: #e44002;
}

.card3::before {
    background: #3ecd5e;
}

.card4::before {
    background: #cd3e94;
}

.card1:hover::before,
.card2:hover::before,
.card3:hover::before,
.card4:hover::before {
    transition-delay: 0.2s;
    transform: scale(40);
}

.card1:hover,
.card2:hover,
.card3:hover,
.card4:hover {
    color: #ffffff;

}

.card1 p,
.card2 p,
.card3 p,
.card4 p {
    padding: 10px 0;
}

@media (max-width: 768px) {
    .card-container {
        flex-direction: column;
        gap: 2rem;
    }

    .card1,
    .card2,
    .card3,
    .card4 {
        width: 70%;
        height: 200px;
        padding: 20px;
    }

    .card1 h4,
    .card2 h4,
    .card3 h4,
    .card4 h4 {
        font-size: 1.5rem;
        text-align: center;
        font-weight: 700;
        margin-top: 1rem;
    }

    .card1 p,
    .card2 p,
    .card3 p,
    .card4 p {
        padding: 5px 0;
        font-size: 1rem;
        text-align: center;
        margin-top: 1.5rem;
    }
}

@media (max-width: 425px) {
    .card-container {
        flex-direction: column;
    }

    .card1,
    .card2,
    .card3,
    .card4 {
        width: 400px;
        height: 210px;
        padding: 10px;
    }

    .card1 h4,
    .card2 h4,
    .card3 h4,
    .card4 h4 {
        font-size: 1.4rem;
        margin-top: 0;
    }

    .card1 p,
    .card2 p,
    .card3 p,
    .card4 p {
        padding: 5px 0;
        font-size: 1rem;
        margin-top: 1rem;
    }

    .section2 h2 {
        font-size: 1.5rem;
    }
}

/******* SECTION - 3 *******/

.section3 {
    background-color: #a2cef0;
}

.section3 h1 {
    width: 100%;
    text-align: center;
    background-color: #FFFFFF;
    color: #a2cef0;
    padding: 0.7rem;
    font-weight: bold;
}

.testimotional {
    display: flex;
    width: 100%;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
    padding: 2rem;
}

.testimotionals {
    width: 23%;
    overflow: hidden;
}


.testimotionals .card {
    height: 20rem;
    margin: 0 auto;
    background: #6495ED;
    text-align: center;
    padding: 1rem;
    cursor: pointer;
    box-shadow: 0 10px 40px rgba(0, 0, 0, .5);
}

.testimotionals .card .layer {
    z-index: 1;
    position: absolute;
    top: calc(100% - 2px);
    height: 100%;
    width: 100%;
    left: 0;
    transition: 0.5s;

}

.testimotionals .card .content {
    z-index: 2;
}

.testimotionals .card:hover .layer {
    top: 0;
}

.testimotionals .card .content p {
    font-size: 14px;
    line-height: 24px;
    color: #fff;
    margin-top: 2rem;
}

.testimotionals .card .content h2 {
    font-size: 18px;
    color: white;
    margin-top: 1rem;
}

.testimotionals .card:hover .content h2 {
    color: white;
}

@media (max-width: 768px) {
    .testimotional {
        flex-direction: column;
        align-items: center;
        padding: 1rem;
    }

    .testimotionals {
        width: 80%;
        margin-bottom: 2rem;
    }

    .testimotionals .card {
        height: 12rem;
        padding: 1.5rem;
    }

    .testimotionals .card .content h2 {
        font-size: 16px;
        margin-top: 0.5rem;
    }

    .testimotionals .card .content p {
        font-size: 12px;
    }
}

@media (max-width: 425px) {
    .testimotional {
        flex-direction: column;
        padding: 1rem;
    }

    .testimotionals {
        width: 100%;
        margin-bottom: 1.5rem;
    }

    .testimotionals .card {
        height: 12rem;
        padding: 1rem;
    }

    .testimotionals .card .content h2 {
        font-size: 14px;
        margin-top: 1rem;
    }

    .testimotionals .card .content p {
        font-size: 11px;
        margin-top: 1rem;
    }
}

/******* SECTION - 4 *******/

.section4 {
    width: 100%;
    background-color: #6658c2;
}

.head_title {
    font-size: 3rem;
    text-align: center;
    color: #dee2e6;
    margin-bottom: 2.5rem;
    padding: 1.5rem;
}

.section_our_solution .row {
    align-items: center;
}

.our_solution_category {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.our_solution_category .solution_cards_box {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.solution_cards_box .solution_card {
    flex: 0 50%;
    background: #fff;
    box-shadow: 0 2px 4px 0 rgba(136, 144, 195, 0.2),
    0 5px 15px 0 rgba(37, 44, 97, 0.15);
    border-radius: 15px;
    margin: 8px;
    padding: 10px 15px;
    position: relative;
    z-index: 1;
    overflow: hidden;
    min-height: 265px;
    transition: 0.7s;
}

.solution_cards_box .solution_card:hover {
    background: #6495ED;
    color: #fff;
    transform: scale(1.1);
    z-index: 9;
}

.solution_cards_box .solution_card:hover::before {
    background: rgb(85 108 214 / 10%);
}

.solution_cards_box .solution_card:hover .solu_title h3,
.solution_cards_box .solution_card:hover .solu_description p {
    color: #fff;
}

.solution_cards_box .solution_card:before {
    content: "";
    position: absolute;
    background: rgb(85 108 214 / 5%);
    width: 170px;
    height: 400px;
    z-index: -1;
    transform: rotate(42deg);
    right: -56px;
    top: -23px;
    border-radius: 35px;
}

.solution_cards_box .solution_card:hover .solu_description button {
    background: #fff !important;
    color: #309df0;
}

.solution_card .solu_title h3 {
    color: #212121;
    font-size: 1.5rem;
    margin-top: 1rem;
    text-align: center;
    font-weight: 600;
}

.solution_card .solu_description p {
    font-size: 1.1rem;
    text-align: center;
    margin-top: 2rem;
}

.hover_color_bubble {
    position: absolute;
    background: rgb(54 81 207 / 15%);
    width: 100rem;
    height: 100rem;
    left: 0;
    right: 0;
    z-index: -1;
    top: 16rem;
    border-radius: 50%;
    transform: rotate(-36deg);
    left: -18rem;
    transition: 0.7s;
}

.solution_cards_box .solution_card:hover .hover_color_bubble {
    top: 0rem;
}

.solution_cards_box .solution_card .so_top_icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #fff;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.solution_cards_box .solution_card .so_top_icon img {
    width: 40px;
    height: 50px;
    object-fit: contain;
}

@media screen and (min-width: 320px) {
    .sol_card_top_3 {
        position: relative;
        top: 0;
    }

    .our_solution_category {
        width: 100%;
        margin: 0 auto;
    }

    .our_solution_category .solution_cards_box {
        flex: auto;
    }
}

@media only screen and (min-width: 768px) {
    .our_solution_category .solution_cards_box {
        flex: 1;
    }
}

@media only screen and (min-width: 1024px) {
    .sol_card_top_3 {
        position: relative;
        top: -3rem;
    }

    .our_solution_category {
        width: 50%;
        margin: 0 auto;
    }
}