#tipsSection {
    margin-top: 40px;
    padding: 30px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(232, 236, 240, 0.95));
    border-radius: 18px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.14);
}

#tipsSection h2 {
    margin-top: 0;
    color: dodgerblue;
    text-align: center;
    font-size: 34px;
}

#tipsIntro {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 28px auto;
    font-size: 18px;
    color: #254b63;
}

/* css grid */
#tipsGrid {
    display: grid;
    /* brede schermen: meerdere kolommen naast elkaar */
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.tipCard {
    background: white;
    padding: 22px;
    border-radius: 16px;
    border-top: 6px solid dodgerblue;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tipCard:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.12);
}

.tipCard h3 {
    margin-top: 0;
    color: #0b4f8a;
    font-size: 20px;
}

.tipCard p {
    color: #254b63;
    line-height: 1.6;
    margin-bottom: 0;
}

/* css tablet */
@media (max-width: 768px) {
    #tipsSection {
        padding: 20px;
        border-radius: 12px;
    }

    #tipsSection h2 {
        font-size: 26px;
    }

    #tipsIntro {
        font-size: 16px;
    }

    #tipsGrid {
        /* twee kolommen op tablet */
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .tipCard {
        padding: 16px;
    }

    .tipCard h3 {
        font-size: 17px;
    }
}

/* css voor gsm */
@media (max-width: 640px) {
    #tipsSection {
        padding: 14px;
        border-radius: 10px;
        margin-top: 20px;
    }

    #tipsSection h2 {
        font-size: 22px;
    }

    #tipsIntro {
        font-size: 15px;
        margin-bottom: 18px;
    }

    #tipsGrid {
        /* 1 kolom op gsm: elke kaart op volle breedte */
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .tipCard {
        padding: 14px;
        border-radius: 12px;
    }

    .tipCard h3 {
        font-size: 16px;
    }

    .tipCard p {
        font-size: 14px;
    }
}