/* Import a nice font from Google Fonts (Optional but recommended) */

/* --- Root Variables for Easy Theme Management --- */
:root {
    --primary-blue: #0d2c54; /* Deep, professional blue from the logo */
    --accent-red: #d9232d;   /* Vibrant red from the 'Donate Us' button */
    --light-bg: #f4f7fa;      /* A very light grey for the section background */
    --white-color: #ffffff;
    --text-dark: #333333;
}

/* --- General Body Styles --- */


/* --- Quick Links Section Container --- */
.quick-links-section {
    width: 100%;
    max-width: 1200px;
    padding: 60px 20px;
    text-align: center;
    margin: auto;
}

/* --- Section Header Styling --- */
.section-header {
    background-color: var(--primary-blue);
    color: var(--white-color);
    padding: 15px 30px;
    margin-bottom: 50px;
    display: inline-block; /* Makes it fit the content width */
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(13, 44, 84, 0.2);
}

.section-header h2 {
    margin: 0;
    font-size: 2.2rem;
    font-weight: 600;
}

/* --- Grid Container for the Cards --- */
.links-grid {
    display: grid;
    /* This makes the grid responsive automatically! */
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

/* --- General Card Styling --- */
.quick-link-card {
    background: linear-gradient(145deg, #1a4a8a, var(--primary-blue));
    color: var(--white-color);
    padding: 30px;
    border-radius: 15px;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease-in-out;
    overflow: hidden;
    position: relative;
}

/* --- Card Hover Effect --- */
.quick-link-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
}

/* --- Card Icon Styling --- */
.card-icon {
    font-size: 4rem; /* Larger, more impactful icons */
    margin-bottom: 25px;
    transition: transform 0.3s ease;
}
.card-icon img{
    width: 100%;
    height: auto;
    aspect-ratio: 1/1;
}
.quick-link-card:last-child{
    background:  #eee;
}
.card-icon:last-child{
    margin-bottom: 0;
}

.quick-link-card:hover .card-icon {
    transform: scale(1.1);
}

/* --- Card Title Styling --- */
.card-title h3 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
}

/* --- Special Styling for the "Donate Us" Card --- */
.donate-card {
    background: linear-gradient(145deg, #e5535b, var(--accent-red));
}

/* --- Responsive Adjustments for smaller screens --- */
@media (max-width: 768px) {
    .quick-links-section {
        padding: 40px 15px;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .links-grid {
        gap: 20px;
    }
}