body {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    background: #f7f4ec;
    color: #2e3b2f;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px;
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: #4a715a;
    letter-spacing: 1px;
    animation: fadeIn 0.8s ease;
}

.actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.action-card {
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    opacity: 0;
    animation: slideUp 0.8s forwards;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.action-card img {
    width: 100%;
    max-height: 400px;
    object-fit: contain;
    border-radius: 15px;
    margin-bottom: 15px;
}

.action-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #355f47;
    text-align: center;
}

.read-more {
    background: #6bbf74;
    border: none;
    color: white;
    padding: 10px 18px;
    border-radius: 12px;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
}

.read-more:hover {
    background: #5ca765;
    transform: scale(1.04);
}

.details-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.45);
    display: none;
    justify-content: center;
    align-items: center;
    padding: 20px;
    z-index: 50;
    overflow-y: auto;
    animation: fadeIn 0.4s ease;
}

.details-panel {
    background: #ffffff;
    width: 100%;
    max-width: 800px;
    border-radius: 25px;
    padding: 25px;
    position: relative;
    box-shadow: 0 6px 24px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.details-panel img {
    width: 100%;
    max-width: 350px;
    max-height: 500px;
    object-fit: contain;
    border-radius: 18px;
}

@media(min-width: 768px) {
    .details-panel {
        flex-direction: row;
        gap: 25px;
        align-items: flex-start;
    }
    .details-panel img.vertical {
        order: 2;
    }
    .details-panel .details-text {
        flex: 1;
    }
}

.details-title {
    font-size: 26px;
    font-weight: 700;
    color: #355f47;
    margin-bottom: 15px;
    text-align: center;
}

.details-desc {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
    text-align: center;
}

.btn-organizer {
    background: #4a8bdc;
    color: white;
    padding: 10px 18px;
    border-radius: 12px;
    font-size: 14px;
    text-decoration: none;
    display: inline-block;
    margin-right: 10px;
    transition: opacity 0.3s ease;
}

.btn-organizer:hover {
    opacity: 0.8;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 26px;
    cursor: pointer;
    color: #666;
    transition: 0.2s;
}

.close-btn:hover {
    color: #222;
}

@keyframes slideUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

@keyframes zoomIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

@keyframes zoomOut {
    from { transform: scale(1); opacity: 1; }
    to { transform: scale(0.8); opacity: 0; }
}