/* Gire Benefits Grid Widget Styles */

.benefits-container {
    max-width: 1200px;
    margin: 0 auto;
}

.benefits-section-title {
    font-size: 32px;
    font-weight: 600;
    text-align: center;
    color: #0168B0;
    margin: 0 0 30px 0;
    line-height: 1.2;
}

.benefits-section-description {
    font-size: 1.1rem;
    text-align: center;
    color: #5c6470;
    line-height: 1.6;
    margin: 0 auto 50px auto;
    max-width: 900px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.benefit-card {
    background: white;
    border: 2px solid #0168B0;
    border-radius: 15px;
    padding: 30px 25px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(1, 104, 176, 0.05), transparent);
    transition: left 0.6s;
}

.benefit-card:hover::before {
    left: 100%;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(1, 104, 176, 0.15);
    border-color: #014a7a;
}

.benefit-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    color: #0168B0;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
}

.benefit-icon svg {
    width: 60px;
    height: 60px;
    fill: #0168B0;
    transition: all 0.3s ease;
}

.benefit-card:hover .benefit-icon {
    color: #014a7a;
    transform: scale(1.1);
}

.benefit-card:hover .benefit-icon svg {
    fill: #014a7a;
    transform: scale(1.1);
}

.benefit-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #222;
    margin: 0 0 15px 0;
    line-height: 1.3;
}

.benefit-description {
    font-size: 1rem;
    color: #5c6470;
    line-height: 1.6;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .benefits-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        gap: 20px;
    }
    
    .benefits-section-title {
        font-size: 28px;
    }
    
    .benefits-section-description {
        font-size: 1rem;
        margin-bottom: 40px;
    }
}

@media (max-width: 900px) {
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .benefits-section-title {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .benefits-section-description {
        font-size: 0.95rem;
        margin-bottom: 35px;
        padding: 0 10px;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
    }

    .benefit-card {
        padding: 25px 20px;
    }
    
    .benefit-icon {
        width: 50px;
        height: 50px;
        font-size: 50px;
        margin-bottom: 15px;
    }
    
    .benefit-icon svg {
        width: 50px;
        height: 50px;
    }
    
    .benefit-title {
        font-size: 1.2rem;
        margin-bottom: 12px;
    }
    
    .benefit-description {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .benefits-section-title {
        font-size: 22px;
        margin-bottom: 15px;
    }

    .benefits-section-description {
        font-size: 0.9rem;
        padding: 0 15px;
    }
    
    .benefit-card {
        padding: 20px 15px;
    }
    
    .benefit-icon {
        width: 45px;
        height: 45px;
        font-size: 45px;
    }
    
    .benefit-icon svg {
        width: 45px;
        height: 45px;
    }
    
    .benefit-title {
        font-size: 1.1rem;
    }
    
    .benefit-description {
        font-size: 0.9rem;
    }
}

/* Animation Classes */
.benefit-card.elementor-animation-fade {
    opacity: 0;
    animation: fadeIn 0.6s ease-out forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.benefit-card.elementor-animation-slideInUp {
    transform: translateY(30px);
    opacity: 0;
    animation: slideInUp 0.6s ease-out forwards;
}

@keyframes slideInUp {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.benefit-card.elementor-animation-zoomIn {
    transform: scale(0.8);
    opacity: 0;
    animation: zoomIn 0.6s ease-out forwards;
}

@keyframes zoomIn {
    to {
        transform: scale(1);
        opacity: 1;
    }
}
