/* עיצוב סקשן אודות */
.about {
    background-color: #ffffff;
    padding: 20px 10px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    margin: 20px auto;
    position: relative;
    z-index: 3;
}

.about h2 {
    font-size: 2.5em; /* Increased size */
    font-weight: 600;
    margin-bottom: 15px;
    color: #0077b6;
    z-index: 1;
    position: relative;
    animation: fadeIn 1s ease-in-out;
}

.about p {
    font-size: 1.1em; /* Slightly larger */
    color: #333;
    margin-bottom: 30px;
    z-index: 1;
    position: relative;
    animation: fadeIn 1.5s ease-in-out;
}

/* Benefit Cards */
.benefits-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    justify-items: center;
    z-index: 1;
    position: relative;
    animation: fadeIn 2s ease-in-out;
}

.benefit-card {
    background-color: #f7f9fc;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 180px;
    height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
    animation: slideUp 1s ease;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.benefit-icon {
    color: #0077b6;
    font-size: 2em; /* Slightly larger */
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.benefit-card:hover .benefit-icon {
    color: #ffb703;
}

/* Benefit card text */
.benefit-card p {
    font-size: 1em;
    color: #333;
    margin: 0;
}

/* Adding simple animations */
@keyframes fadeIn {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes slideUp {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* רספונסיביות */
@media (max-width: 768px) {
    .benefits-container {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    }

    .benefit-card {
        width: 150px;
        height: 150px;
    }

    .benefit-icon {
        font-size: 1.5em;
    }

    .benefit-card p {
        font-size: 0.9em;
    }

    .about::before {
        width: 200px;
        height: 200px;
        right: -50px;
    }

    .about::after {
        width: 250px;
        height: 250px;
        left: -50px;
    }
}

