

/* Why Us Page css */

section.why_us {
    background: #fff url('../images/whyus/bg_sec.png') no-repeat right top;
    background-size: cover;
    background-position: center;
    padding: 40px 0;
}

p.sec_para {
    font-size: 20px;
    font-weight: 500;
    margin: 20px 10px;
}

h2.why_us-title.aos-init.aos-animate {
    font-size: 40px;
    font-weight: 700;
    color: #000;
}

h2.why_us-title span {
    color: #006efe;
    font-size: 46px;
}

.list-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.card {
    display: flex;
    align-items: center;
    flex-direction: row;
    padding: 15px 20px;
    border-radius: 10px;
    background-color: transparent;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    border: none;
}

.card:hover {
    background-color: #ffffff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.card-icon {
    width: 50px;
    height: 50px;
    margin-right: 20px;
    transition: transform 0.6s ease;
    transform-style: preserve-3d;
    position: relative;
}

img.card-icon::after {
    content: "";
    position: absolute;
    top: 0;
    right: -10px;
    width: 2px;
    height: 100%;
    background-color: #fff;
}

.card:hover .card-icon {
    transform: rotateY(180deg);
}

.card-content {
    display: flex;
    flex-direction: column;
}

.card-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 5px 0;
}

.card-description {
    font-size: 14px;
    color: #555;
    margin: 0;
}

.col-md-6.sec_img {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    height: 100%;
}

.col-md-6.sec_img img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    position: relative;
}

@keyframes rotateStar {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.col-md-6.sec_img:before {
    content: "";
    position: absolute;
    top: 69px;
    left: 98px;
    width: 118px;
    height: 118px;
    background: url('../images/Home/star.png') no-repeat center center;
    background-size: cover;
    border-radius: 42px;
    animation: rotateStar 5s linear infinite;
}

.moving-gradient {
    position: absolute;
    bottom: 6px;
    right: 66px;
    width: 299px;
    height: 171px;
    background: linear-gradient(126deg, #2872d1, #35dbb7);
    border-radius: 12px;
    z-index: 1;
    padding: 56px 16px 6px;
    animation: moveGradient 4s ease-in-out infinite alternate;
}

@keyframes moveGradient {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(40px);
    }
}

.moving-gradient::before {
    content: "";
    position: absolute;
    top: -59px;
    left: -5px;
    width: 106px;
    height: 106px;
    background: #fff url('../images/whyus/success.png') no-repeat center center;
    background-size: 40px 40px;
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.6);
    z-index: 2;
}

.moving-gradient h6 {
    color: #fff;
    font-size: 19px;
}

.reveal-text {
    color: #000;
    line-height: 28px;
    font-size: 21px;
    font-weight: 700;
    letter-spacing: 1px;
    display: inline-block;
    transform: translateY(8px);
}

section.idea_sec {
    background: #fff url('../images/whyus/bg_two.png') no-repeat right top;
    background-size: cover;
    background-position: center;
    padding: 40px 0px;
}

p.idea_text {
    font-size: 18px;
}

.text_area {
    margin-top: 28px;
}

.idea_image.text-center {
    position: relative;
}

.idea_image.text-center::after {
    content: "";
    position: absolute;
    top: -25px;
    right: 139px;
    width: 110px;
    height: 150px;
    background: url('../images/whyus/social-image.png') no-repeat center center;
    background-size: cover;
    z-index: 2;
    animation: slideLR 8s ease-in-out infinite alternate;
}

@keyframes slideLR {
    0% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(50px);
    }

    100% {
        transform: translateX(0);
    }
}

.stats_section {
    background: #fff url('../images/whyus/bg_sec.png') no-repeat right top;
    background-size: cover;
    background-position: center;
    padding: 100px 0;
}

.stats_section .row.justify-content-center.g-4 {
    row-gap: 82px;
}

.stat_card {
    background: #fff;
    border-radius: 0 0 40px 40px;
    padding: 40px 20px 30px;
    position: relative;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat_card::before {
    content: '';
    position: absolute;
    top: -67px;
    left: 0;
    right: 0;
    margin: auto;
    width: 79px;
    height: 34px;
    background: #2872d1;
    clip-path: polygon(0 0, 100% 0, 50% 100%);
    border-radius: 10px 10px 0 0;
    animation: floatUpDown 2s ease-in-out infinite alternate;
}

@keyframes floatUpDown {
    0% {
        top: -67px;
    }

    50% {
        top: -77px;
    }

    100% {
        top: -67px;
    }
}

.stat_icon {
    width: 88px;
    background: linear-gradient(126deg, #2872d1, #35dbb7);
    height: 88px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    font-size: 28px;
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
}

.stat_number {
    font-size: 2rem;
    font-weight: 700;
    color: #000;
    margin-top: 40px;
}

.stat_text {
    font-size: 1rem;
    color: #555;
}

.stat_card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

@media (max-width: 1024px) {
    h2.why_us-title.aos-init.aos-animate{
        font-size: 30px;
    }   

    h2.why_us-title span{
        font-size: 30px;
    }
}

@media (max-width: 991px) {
    .col-md-6.sec_img:before {
        top: 30px;
        left: 65px;
    }
}

@media (max-width: 767px) {
    .col-md-6.sec_img:before {
        top: 65px;
        left: 90px;
        height: 150px;
        width: 150px;
    }
}

@media (max-width: 667px) {
    .idea_image.text-center::after{
        top: 0;
    }
}

@media (max-width: 568px) {
    .col-md-6.sec_img:before {
        top: 25px;
        left: 70px;
    }
}

@media (max-width: 479px) {
    .idea_image.text-center::after {
        right: 50px;
    }
    
    .col-md-6.sec_img:before {
        height: 110px;
        width: 110px;
    }
}

@media (max-width: 414px) {
    .col-md-6.sec_img:before {
        top: 25px;
        left: 65px;
        height: 100px;
        width: 100px;
    }
    
    h2.why_us-title.aos-init.aos-animate {
        font-size: 22px;
    }
    
    h2.why_us-title span {
        font-size: 22px;
    }
    
    .stat_number{
        font-size: 22px;
    }
    
    .moving-gradient::before{
        width: 90px;
        height: 90px;
    }
}

@media (max-width: 360px) {
    .col-md-6.sec_img:before {
        top: 15px;
        left: 45px;
        height: 100px;
        width: 100px;
    }
}