body {
    color: var(--blue);
    background-color: var(--blue);
}

/* Page title styling */
h1 {
    text-align: center;
    font-size: 2.5rem;
    margin: 2rem 0;
    color: var(--white);
    text-shadow: 0 0 10px rgba(255,255,255,0.7);
    font-weight: 800;
}

/* Actions grid layout */
.actions-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem;
    max-width: var(--max-width);
    margin: 0 auto;
}

/* Action card styling */
.action-card {
    position: relative;
    height: 300px;
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: block;
    text-decoration: none;
}

.action-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Action card image */
.action-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.action-card:hover img {
    transform: scale(1.05);
}

/* Action card title overlay */
.action-card h2 {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0;
    padding: 1.5rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: var(--white);
    font-size: 1.25rem;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

#background-image-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.3;
    z-index: -1;
    transition: background-image 0.3s ease; /* Smooth transition between images */
    pointer-events: none; /* Ensures the overlay doesn't interfere with clicks */
}


/* Responsive adjustments */
@media (max-width: 768px) {
    .actions-list {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        padding: 1rem;
        gap: 1rem;
    }

    .action-card {
        height: 250px;
    }

    h1 {
        font-size: 2rem;
        margin: 1.5rem 0;
    }
}

@media (min-width: 767px) {
    .footer {
        display: grid;
        grid-template-columns: repeat(4, auto);
        justify-content: center;
        gap: 6rem;
    }
}



