/* Enhanced 9 Reasons Grid Boxes */
.enhanced-features-section {
    padding: 60px 0;
}

.enhanced-feature-box {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
    height: 100%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.enhanced-feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #e9ecef 0%, #f8f9fa 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    position: relative;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.enhanced-feature-icon svg {
    width: 30px;
    height: 30px;
    color: #495057;
}

.enhanced-feature-title {
    font-size: 20px;
    font-weight: 600;
    color: #212529;
    margin-bottom: 15px;
    line-height: 1.4;
}

.enhanced-feature-desc {
    font-size: 14px;
    color: #6c757d;
    line-height: 1.6;
    margin: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .enhanced-feature-box {
        padding: 25px;
        margin-bottom: 20px;
    }
    
    .enhanced-feature-icon {
        width: 50px;
        height: 50px;
    }
    
    .enhanced-feature-title {
        font-size: 18px;
    }
}

/* Background pattern for the section */
.features-grid-wrapper {
    position: relative;
}

/* Enhanced styling for existing feature boxes */
.row-features .col-lg-4,
.row-features .col-sm-6 {
    margin-bottom: 30px;
}

.row-features .feature {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 16px;
    padding: 30px;
    position: relative;
    overflow: hidden;
    height: 100%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
}

.row-features .feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #e9ecef 0%, #f8f9fa 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.row-features .feature-icon svg {
    width: 30px;
    height: 30px;
    color: #495057;
    max-width: 100%;
    max-height: 100%;
}

.row-features .feature-title {
    font-size: 20px;
    font-weight: 600;
    color: #212529 !important;
    margin-bottom: 15px;
    line-height: 1.4;
}

.row-features .feature-desc {
    font-size: 14px;
    color: #6c757d !important;
    line-height: 1.6;
    margin: 0;
}

/* Section background enhancement */
.site-section:has(.row-features) {
    position: relative;
    padding: 80px 0;
}

/* Fix layout for mobile */
@media (max-width: 768px) {
    .row-features .feature {
        padding: 25px;
    }
    
    .row-features .feature-icon {
        width: 50px;
        height: 50px;
    }
    
    .row-features .feature-title {
        font-size: 18px;
    }
}

/* Override any conflicting styles from template */
.row-features .feature.feature-xs-left {
    flex-direction: column !important;
    text-align: center;
}

.row-features .feature-content {
    width: 100%;
}
