.platform-benefits {
    padding: 80px 0;
    background: linear-gradient(359deg, #1d222e 25%, #333945 80%);
    /* position: relative;
    padding: 100px 0;
    overflow: hidden; */
}


.platform-benefits .title-f {
    /* margin-bottom: 76px; */
    text-align: center;
}

.benefit-card {
    background-image: linear-gradient(326deg, rgb(29 34 46) -12.39%, rgba(51, 57, 69, 0.85) 40.31%, rgba(18, 102, 241, 0.4) 86.44%, rgba(44, 187, 255, 0.5) 134.26%);
    border-radius: 15px;
    padding: 25px;
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    transition: all 0.4s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
    background-image: linear-gradient(306deg, rgb(29 34 46) -12.39%, rgba(51, 57, 69, 0.95) 40.31%, rgba(18, 102, 241, 0.5) 86.44%, rgba(44, 187, 255, 0.6) 134.26%);
}

.benefit-card .feature-icon-fa {
    font-size: 24px;
    color: #3a7afe;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(58, 122, 254, 0.1);
    border-radius: 50%;
    margin-right: 20px;
    transition: all 0.3s ease;
}

.benefit-card:hover .feature-icon-fa {
    background: #3a7afe;
    color: #ffffff;
    transform: scale(1.1);
}

.benefit-icon {
    margin-right: 20px;
}

.benefit-icon img {
    width: 40px;
    height: 40px;
    transition: all 0.3s ease;
}

.benefit-card:hover .benefit-icon img {
    transform: scale(1.1);
}

.benefit-text h5 {
    color: var(--primary-color);
    margin: 0;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.benefit-card:hover .benefit-text h5 {
    color: #ffffff;
}

.platform-benefits .benefit-text h5::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 1px;
    left: 20px;
    top: 0;
    background: linear-gradient(
        to right,
        transparent,
        rgba(255, 255, 255, 0.1) 20%,
        rgba(255, 255, 255, 0.1) 80%,
        transparent
    );
}

.platform-benefits .benefit-text h5::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 1px;
    left: 20px;
    bottom: 0;
    background: linear-gradient(
        to right,
        transparent,
        rgba(255, 255, 255, 0.1) 20%,
        rgba(255, 255, 255, 0.1) 80%,
        transparent
    );
}

.platform-benefits .benefit-text h5 {
    font-weight: 400;
    font-size: 18px;
    text-align: left;
    padding: 20px 14px;
    padding-left: 47px;
    margin-left: -31px;
    position: relative;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.platform-benefits .benefit-card:hover .benefit-text h5 {
    color: #ffffff;
}

.platform-benefits .benefit-card:hover .benefit-text h5::before,
.platform-benefits .benefit-card:hover .benefit-text h5::after {
    background: linear-gradient(
        to right,
        transparent,
        rgba(58, 122, 254, 0.2) 20%,
        rgba(58, 122, 254, 0.2) 80%,
        transparent
    );
}

/*  CSS to icons: */

.benefit-card .feature-icon-fa {
    font-size: 24px;
    color: #ffca33d9; /* #3a7afe to #ffca33d9 */
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(58, 122, 254, 0.1);
    border-radius: 50%;
    margin-right: 20px;
    transition: all 0.3s ease;
}

.benefit-card:hover .feature-icon-fa {
    background: #3a7afe;
    color: white;
    transform: scale(1.1);
}


@media (max-width: 991px) {
    .platform-benefits .container {
        width: 92%;
        padding: 0;
    }
    
    .platform-benefits .col-md-4 {
        width: 50%;
        float: left;
        /* margin-bottom: 20px; */
    }
}

@media (max-width: 767px) {
    .platform-benefits {
        padding: 50px 0;
    }

    .platform-benefits .container {
        width: 92%;
    }

    .benefit-card {
        padding: 15px;
    }

    .benefit-text h5 {
        font-size: 16px;
    }
}

@media (max-width: 576px) {
    .platform-benefits .container {
        width: 92%;
    }
    
    .platform-benefits .col-md-4 {
        width: 100%;
        float: none;
    }
    
    .benefit-card .feature-icon-fa {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .benefit-text h5 {
        font-size: 14px;
        padding: 15px 10px;
        padding-left: 35px;
        margin-left: -25px;
    }
}