/* Homepage Benefits Section Professional Enhancement */
/* This file enhances the "Transform Your Farm with Solar Power" section */

/* Enhanced Benefits Section */
.benefits-section-enhanced {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 50%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
    padding: 6rem 0;
}

.benefits-section-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="benefits-pattern" width="80" height="80" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="2" fill="%23660099" opacity="0.03"/><circle cx="60" cy="60" r="1.5" fill="%23e98e39" opacity="0.02"/><polygon points="40,10 50,20 40,30 30,20" fill="%23b0d7ab" opacity="0.02"/></pattern></defs><rect width="100" height="100" fill="url(%23benefits-pattern)"/></svg>');
    z-index: 1;
}

.benefits-section-enhanced .container {
    position: relative;
    z-index: 2;
}

/* Enhanced Section Header */
.benefits-section-enhanced .section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.benefits-section-enhanced .section-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent-orange) 0%, #F5A623 100%);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 25px rgba(233, 142, 57, 0.3);
    backdrop-filter: blur(10px);
}

.benefits-section-enhanced .section-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--dark-gray);
}

.benefits-section-enhanced .section-subtitle {
    font-size: 1.2rem;
    color: var(--medium-gray);
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

/* Enhanced Benefits Content */
.benefits-section-enhanced .benefits-content {
    padding-right: 3rem;
}

.benefits-section-enhanced .benefits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

/* Enhanced Benefit Items */
.benefits-section-enhanced .benefit-item {
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.08),
        0 8px 25px rgba(102, 0, 153, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(102, 0, 153, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.benefits-section-enhanced .benefit-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.benefits-section-enhanced .benefit-item:hover::before {
    transform: scaleX(1);
}

.benefits-section-enhanced .benefit-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 30px 80px rgba(0, 0, 0, 0.15),
        0 12px 35px rgba(102, 0, 153, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border-color: rgba(102, 0, 153, 0.2);
}

/* Enhanced Benefit Icons */
.benefits-section-enhanced .benefit-icon {
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--accent-green) 100%);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.8rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(102, 0, 153, 0.3);
}

.benefits-section-enhanced .benefit-item:hover .benefit-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 35px rgba(102, 0, 153, 0.4);
}

/* Enhanced Benefit Content */
.benefits-section-enhanced .benefit-content {
    flex: 1;
    min-width: 0;
}

.benefits-section-enhanced .benefit-content h5 {
    font-family: var(--font-header);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.benefits-section-enhanced .benefit-content p {
    color: var(--medium-gray);
    line-height: 1.6;
    margin: 0;
    font-size: 1rem;
}

/* Enhanced Visual Section */
.benefits-section-enhanced .benefits-visual {
    position: relative;
    width: 100%;
    height: 500px;
    min-height: 500px;
    overflow: hidden;
}

.benefits-section-enhanced .image-stack {
    position: relative;
    width: 100%;
    height: 500px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.15);
}

.benefits-section-enhanced .stack-item {
    position: absolute;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.2);
    transition: all 0.4s ease;
}

.benefits-section-enhanced .stack-item.item-1 {
    top: 20px;
    left: 20px;
    width: 65%;
    height: 55%;
    z-index: 3;
}

.benefits-section-enhanced .stack-item.item-2 {
    bottom: 20px;
    right: 20px;
    width: 55%;
    height: 45%;
    z-index: 2;
}

.benefits-section-enhanced .stack-item img {
    width: 100%;
    height: 100%;
    object-fit: scale-down;
    object-position: center;
    transition: all 0.4s ease;
    display: block;
    border-radius: 16px;
    background: rgba(248, 249, 250, 0.5);
}

.benefits-section-enhanced .stack-item:hover {
    transform: scale(1.05);
    z-index: 4;
}

/* Enhanced Stats Overlay */
.benefits-section-enhanced .stats-overlay {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
    z-index: 5;
}

.benefits-section-enhanced .stat-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 1.25rem 1.5rem;
    border-radius: 16px;
    text-align: center;
    backdrop-filter: blur(15px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.4);
    transition: all 0.3s ease;
    min-width: 120px;
    max-width: 140px;
}

.benefits-section-enhanced .stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.benefits-section-enhanced .stat-card h3 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-purple);
    margin: 0 0 0.5rem 0;
    line-height: 1.2;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.benefits-section-enhanced .stat-card p {
    font-size: 0.9rem;
    color: var(--dark-gray);
    margin: 0;
    font-weight: 600;
    line-height: 1.3;
}

/* Enhanced CTA Section */
.benefits-section-enhanced .benefits-cta {
    text-align: center;
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(102, 0, 153, 0.1);
}

.benefits-section-enhanced .cta-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 1rem;
}

.benefits-section-enhanced .cta-subtitle {
    font-size: 1.1rem;
    color: var(--medium-gray);
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.benefits-section-enhanced .cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.benefits-section-enhanced .cta-buttons .btn {
    padding: 1rem 2rem;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.benefits-section-enhanced .cta-buttons .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* Responsive Design */
@media (max-width: 991.98px) {
    .benefits-section-enhanced {
        padding: 4rem 0;
    }
    
    .benefits-section-enhanced .section-title {
        font-size: 2.8rem;
    }
    
    .benefits-section-enhanced .benefits-content {
        padding-right: 0;
        margin-bottom: 3rem;
    }
    
    .benefits-section-enhanced .benefits-grid {
        gap: 1.5rem;
    }
    
    .benefits-section-enhanced .benefit-item {
        padding: 1.5rem;
        gap: 1rem;
    }
    
    .benefits-section-enhanced .benefit-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .benefits-section-enhanced .benefit-content h5 {
        font-size: 1.2rem;
    }
    
    .benefits-section-enhanced .benefits-visual {
        height: 400px;
        min-height: 400px;
        overflow: hidden;
    }
    
    .benefits-section-enhanced .image-stack {
        height: 400px;
        overflow: hidden;
    }
    
    .benefits-section-enhanced .stack-item.item-1 {
        top: 15px;
        left: 15px;
        width: 65%;
        height: 55%;
    }
    
    .benefits-section-enhanced .stack-item.item-2 {
        bottom: 15px;
        right: 15px;
        width: 55%;
        height: 45%;
    }
    
    .benefits-section-enhanced .stats-overlay {
        bottom: 0.75rem;
        left: 0.75rem;
        right: 0.75rem;
        gap: 0.75rem;
    }
    
    .benefits-section-enhanced .stat-card {
        padding: 1rem 1.25rem;
        min-width: 100px;
        max-width: 120px;
    }
    
    .benefits-section-enhanced .stat-card h3 {
        font-size: 1.5rem;
    }
    
    .benefits-section-enhanced .stat-card p {
        font-size: 0.8rem;
    }
}

@media (max-width: 767.98px) {
    .benefits-section-enhanced .section-title {
        font-size: 2.2rem;
    }
    
    .benefits-section-enhanced .section-subtitle {
        font-size: 1rem;
    }
    
    .benefits-section-enhanced .benefit-item {
        padding: 1.25rem;
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .benefits-section-enhanced .benefit-icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
        margin: 0 auto;
    }
    
    .benefits-section-enhanced .benefit-content h5 {
        font-size: 1.1rem;
    }
    
    .benefits-section-enhanced .benefit-content p {
        font-size: 0.9rem;
    }
    
    .benefits-section-enhanced .benefits-visual {
        height: 350px;
        min-height: 350px;
        overflow: hidden;
    }
    
    .benefits-section-enhanced .image-stack {
        height: 350px;
        overflow: hidden;
    }
    
    .benefits-section-enhanced .stack-item.item-1 {
        top: 12px;
        left: 12px;
        width: 65%;
        height: 55%;
    }
    
    .benefits-section-enhanced .stack-item.item-2 {
        bottom: 12px;
        right: 12px;
        width: 55%;
        height: 45%;
    }
    
    .benefits-section-enhanced .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .benefits-section-enhanced .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 575.98px) {
    .benefits-section-enhanced {
        padding: 3rem 0;
    }
    
    .benefits-section-enhanced .section-title {
        font-size: 1.8rem;
    }
    
    .benefits-section-enhanced .benefits-grid {
        gap: 1rem;
    }
    
    .benefits-section-enhanced .benefit-item {
        padding: 1rem;
    }
    
    .benefits-section-enhanced .benefit-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .benefits-section-enhanced .benefit-content h5 {
        font-size: 1rem;
    }
    
    .benefits-section-enhanced .benefit-content p {
        font-size: 0.85rem;
    }
    
    .benefits-section-enhanced .stats-overlay {
        bottom: 0.5rem;
        left: 0.5rem;
        right: 0.5rem;
        gap: 0.5rem;
        justify-content: center;
    }
    
    .benefits-section-enhanced .stat-card {
        padding: 0.75rem 1rem;
        min-width: 80px;
        max-width: 100px;
    }
    
    .benefits-section-enhanced .stat-card h3 {
        font-size: 1.25rem;
    }
    
    .benefits-section-enhanced .stat-card p {
        font-size: 0.7rem;
    }
    
    .benefits-section-enhanced .benefits-visual {
        height: 300px;
        min-height: 300px;
        overflow: hidden;
    }
    
    .benefits-section-enhanced .image-stack {
        height: 300px;
        overflow: hidden;
    }
    
    .benefits-section-enhanced .stack-item.item-1 {
        top: 10px;
        left: 10px;
        width: 65%;
        height: 55%;
    }
    
    .benefits-section-enhanced .stack-item.item-2 {
        bottom: 10px;
        right: 10px;
        width: 55%;
        height: 45%;
    }
}
