.cards-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    width: 100%;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.card-item {
    display: flex;
    width: 100%;
}



.card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    width: 100%;
    height: 100%;
}

.card-link:hover {
    border-radius: 10px;
}

.card-wrapper {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    overflow: hidden;
    background-color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: box-shadow 0.3s ease;
    cursor: pointer;
}

.card-wrapper:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.55);
}

.card-image {
    width: 100%;
    height: auto;
    max-height: 250px;
    object-fit: contain;
    aspect-ratio: 16/9;
    margin-top: 12%;
}

.card-content {
    padding: 1.75rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-heading {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #333333;
    word-wrap: break-word;
}

.card-description {
    margin-bottom: 1.5rem;
    color: #6c757d;
    line-height: 1.6;
    flex-grow: 1;
    font-size: 1.8rem;
}

.card-button {
    display: inline-block;
    color: #ffffff;
    padding: 0.75rem 1.25rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    align-self: center;
    border: solid 1px black;
    width: 80%;
    font-size: 1.5rem;
    letter-spacing: 1px;
    background-color: #4361ee;
    pointer-events: none;
}

.card-wrapper:hover .card-button {
    background-color: #3a56d4;
}

@media (min-width: 768px) {
    .cards-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .card-heading {
        font-size: 1.6rem;
    }

    .card-description {
        font-size: 1.1rem;
    }

    .card-image {
        max-height: 280px;
    }
}

@media (min-width: 992px) {
    .cards-container {
        grid-template-columns: repeat(3, 1fr);
    }

    .card-image {
        max-height: 300px;
    }
}

@media (min-width: 1200px) {
    .cards-container {
        grid-template-columns: repeat(5, 1fr);
    }
}

img[src=""], img:not([src]) {
    visibility: hidden;
}

@media (max-width: 576px) {
    .card-image {
        max-height: 150px;
    }
}

.analytics-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.analytics-tabs {
    display: flex;
    border-bottom: 1px solid #ccc;
    margin-bottom: 20px;
}

.tab-button {
    background-color: #f1f1f1;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 12px 24px;
    font-size: 16px;
    transition: 0.3s;
    border-radius: 5px 5px 0 0;
    margin-right: 5px;
}

.tab-button:hover {
    background-color: #ddd;
}

.tab-button.active {
    background-color: #4a6fdc;
    color: white;
}

.tab-content {
    display: none;
    padding: 15px;
    border: 1px solid #ccc;
    border-top: none;
    border-radius: 0 0 5px 5px;
}

.tab-content.active {
    display: block;
}

.report-container {
    width: 100%;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    border-radius: 5px;
    overflow: hidden;
}

h2 {
    margin-top: 0;
    margin-bottom: 20px;
    color: #333;
}
