/* SECTION */

.maxim-content-cards-section {
    padding: 20px;
    display: flex;
    justify-content: center;
}


/* CONTAINER */

.maxim-cards-container {
    width: 100%;
    max-width: 800px;
    box-sizing: border-box;
}


/* GRID */

.maxim-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}


/* CARD */

.maxim-card-square {

    position: relative;

    display: flex;
    flex-direction: column;
    align-items: flex-start;

    padding: 36px;

    min-height: 260px;

    border-radius: 28px;

    background: linear-gradient(
        180deg,
        #0b1736 0%,
        #040b1d 100%
    );

    box-shadow:
        inset 0 3px 0 rgba(40,100,255,0.7),
        0 10px 30px rgba(0,0,0,0.45);

    transition: transform 0.2s ease;
}


/* subtle hover */

.maxim-card-square:hover {
    transform: translateY(-4px);
}


/* ICON */

.maxim-card-icon {
    margin-bottom: 20px;
}

.maxim-card-icon img {
    width: 34px;
    height: auto;
    opacity: 0.95;
}


/* TITLE */

.maxim-card-title {

    font-size: 18px;
    font-weight: 600;

    color: #ffffff;

    margin-bottom: 10px;

    line-height: 1.2;
}


/* TEXT */

.maxim-card-description {

    font-size: 14px;
    line-height: 1.5;

    color: rgba(255,255,255,0.72);

    font-weight: 400;

    max-width: 320px;
}


/* MOBILE */

@media (max-width: 500px) {

    .maxim-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .maxim-card-square {
        padding: 20px;
        min-height: auto;
    }

    .maxim-card-icon img {
        width: 28px;
    }

    .maxim-card-title {
        font-size: 16px;
        margin-bottom: 6px;
    }

    .maxim-card-description {
        font-size: 12px;
        line-height: 1.4;
    }

}
