/* Benefits Section */
.benefits-section {
    padding: 80px 20px;
    background-color: #f5f7f9;
    position: relative;
    overflow: hidden;
}

.benefits-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background-color: rgba(241, 146, 87, 0.1);
    border-radius: 50%;
    transform: translate(100px, -150px);
    z-index: 1;
}

.benefits-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200px;
    height: 200px;
    background-color: rgba(0, 31, 83, 0.1);
    border-radius: 50%;
    transform: translate(-80px, 80px);
    z-index: 1;
}

.benefits-container-reroofing {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.benefits-section h2 {
    font-size: 2.5rem;
    color: #001f53;
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    font-weight: 700;
}

.benefits-section h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #f19257;
    border-radius: 2px;
}

.benefits-grid-reroofing {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.benefit-card-reroofing {
    background-color: white;
    border-radius: 12px;
    padding: 30px 25px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.benefit-card-reroofing:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    background-color: rgba(5, 5, 5, 0.541);
    border-radius: 50%;
    padding: 15px;
}

.benefit-icon img {
    width: 100px;
    height: 100px;
    object-fit: contain;
}

.benefit-card-reroofing h3 {
    color: #001f53;
    font-size: 1.3rem;
    height: 50px;
    margin-bottom: 15px;
    font-weight: 600;
}

.benefit-card-reroofing li {
    color: #000000;
    font-size: 1rem;
    line-height: 1.6;
    text-align: left;
    margin-bottom: 15px; /* Adjust the value as needed */
}

/* Responsive styles */
@media screen and (max-width: 992px) {
    .benefits-grid-reroofing {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .benefits-section {
        padding: 60px 20px;
    }

    
    .benefits-section h2 {
        font-size: 2rem;
        margin-top: 10px;
    }

    .benefit-card-reroofing h3{
        margin-bottom: 5px;
    }

    .benefits-section li {
        font-size: 1rem;
    }
    
    .benefits-grid-reroofing {
        grid-template-columns: 1fr;
    }
    
    .benefit-card-reroofing {
        padding: 25px 20px;
    }
}