/* General Page Styling */
body {
    font-family: Arial, sans-serif;
    text-align: center;
    background: linear-gradient(135deg, #1D1B59, #26358C);
    color: white;
    margin: 0;
    padding: 0;
}

/* Centered Container */
.container {
    margin-top: 50px;
    padding: 20px;
}

/* Cards Layout */
.cards {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap; /* Allows wrapping */
}

/* Card Styling */
.card {
    background: white;
    color: #1D1B59;
    border-radius: 10px;
    padding: 20px;
    width: 280px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

/* Logo Images */
.card img {
    width: 80px;
    height: auto;
    margin-bottom: 15px;
}

/* Hover Effects */
.card:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

/* Button Styling */
button {
    background: #3F731A;
    color: white;
    border: none;
    padding: 10px 15px;
    margin-top: 10px;
    cursor: pointer;
    border-radius: 5px;
    transition: background 0.3s ease;
}

button:hover {
    background: #2A4D14;
}

/* Entrance Animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.card {
    animation: fadeIn 0.8s ease-in-out;
}
/* Responsive Design - Stack Cards on Small Screens */
@media (max-width: 600px) {
    .cards {
        flex-direction: column;
        align-items: center;
    }

    .card {
        width: 90%; /* Adjusts width for smaller screens */
        max-width: 350px;
    }
}

.chart-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(33,150,243,0.08);
    padding: 2rem 2rem 1rem 2rem;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    box-sizing: border-box;
    display: block;
}

@media (max-width: 700px) {
    .chart-card {
        max-width: 95vw;
        padding: 1rem 0.5rem 1rem 0.5rem;
    }
}

@media (max-width: 600px) {
    .chart-card {
        max-width: 99vw;
        padding: 1rem 0.25rem 1rem 0.25rem;
    }
}