:root {
    --primary-green: #4cc609;
    --secondary-green: #3eb251;
    --light-green: #e9f8e5;
    --dark-text: #2d3748;
    --light-text: #718096;
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
}

:root {
    --primary: #22c55e;
    --primary-dark: #16a34a;
    --primary-light: #bbf7d0;
    --accent: #6366f1;
    --text-dark: #1f2937;
    --text-medium: #4b5563;
    --text-light: #6b7280;
    --background: #f9fafb;
    --card-bg: #ffffff;
    --border-radius: 16px;
    --shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
    --marketing-color: #f59e0b;
    --auth-color: #6366f1;
    --utility-color: #10b981;
    --service-color: #8b5cf6;
}

.features-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 20px;
    position: relative;
    overflow: hidden;
}

.features-section h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 60px;
    color: #2c7744;
    position: relative;
    padding-bottom: 15px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease-out forwards;
}

.features-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #2c7744, #5cd85a);
    border-radius: 2px;
}

.feature {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 100px;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(30px);
}

.feature:nth-child(even) {
    flex-direction: row-reverse;
}

.feature-text {
    flex: 1;
    min-width: 300px;
}

.feature-text h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #2c7744;
    font-weight: 600;
}

.feature-text p {
    margin-bottom: 25px;
    color: #555;
    font-size: 1.1rem;
    line-height: 1.7;
}

.feature-text .btn {
    display: inline-flex;
    align-items: center;
    padding: 14px 30px;
    background: linear-gradient(90deg, #25D366 0%, #128C7E 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4);
    position: relative;
    overflow: hidden;
}

.feature-text .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
                transparent, 
                rgba(255, 255, 255, 0.4), 
                transparent);
    transition: all 0.6s ease;
}

.feature-text .btn:hover::before {
    left: 100%;
}

.feature-text .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.5);
}

.btn-arrow {
    margin-left: 12px;
    transition: transform 0.3s ease;
}

.feature-text .btn:hover .btn-arrow {
    transform: translateX(4px);
}

.feature-img {
    flex: 1;
    min-width: 300px;
    text-align: center;
    position: relative;
}

.feature-img img {
    max-width: 84%;
    border-radius: 16px;
    transition: all 0.5s ease;
}

.feature-img:hover img {
    transform: scale(1.03);
}

/* Animation for feature elements */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Decorative elements */
.floating-element {
    position: absolute;
    border-radius: 50%;
    background: rgba(44, 119, 68, 0.1);
    z-index: 0;
}

.float-1 {
    width: 120px;
    height: 120px;
    top: 15%;
    left: 5%;
    animation: float 8s ease-in-out infinite;
}

.float-2 {
    width: 80px;
    height: 80px;
    bottom: 20%;
    right: 8%;
    animation: float 6s ease-in-out infinite 1s;
}

/* Responsive design */
@media (max-width: 992px) {
    .feature, .feature:nth-child(even) {
        flex-direction: column;
        text-align: center;
    }
    
    .feature-text, .feature-img {
        width: 100%;
    }
    
    .features-section h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .features-section {
        padding: 60px 20px;
    }
    
    .features-section h2 {
        font-size: 2rem;
    }
    
    .feature-text h3 {
        font-size: 1.6rem;
    }
}