.mwt-bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    max-width: 1500px;
    margin: 50px auto;
    padding: 20px;
}

@media (max-width: 1024px) {
    .mwt-bento-grid {
        grid-template-columns: repeat(2, 1fr); 
    }
}

@media (max-width: 768px) {
    .mwt-bento-grid {
        gap: 20px;
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .mwt-bento-grid {
        grid-template-columns: 1fr; 
        margin: 30px auto;
    }
    .mwt-bento-card {
        text-align: center;
        align-items: center;
    }
    .icon-wrapper {
        margin-left: auto;
        margin-right: auto;
    }
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.mwt-bento-card {
    background: #ffffff;
    border-radius: 40px;
    padding: 40px;
    position: relative;
    border: 1px solid #e2e8f0;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
    animation: float 6s ease-in-out infinite;
}

.mwt-bento-card::after {
    content: "";
    position: absolute;
    top: 0; right: 0;
    width: 100px; height: 100px;
    background: #ff9f1c;
    border-radius: 0 40px 0 100px;
    opacity: 0.05;
    transition: 0.5s;
}

.mwt-bento-card:hover {
    animation-play-state: paused;
    transform: translateY(-15px) scale(1.02);
    background: #0f172a; 
    border-color: #ff9f1c;
    box-shadow: 0 30px 60px rgba(0,0,0,0.2);
}

.mwt-bento-card:hover::after { opacity: 0.1; }

.icon-wrapper {
    width: 50px;
    height: 50px;
    background: #fff3df;
    color: #ff9f1c;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    font-size: 20px;
    margin-bottom: 25px;
    transition: 0.5s;
}

.mwt-bento-card:hover .icon-wrapper {
    background: #ff9f1c;
    color: white;
    transform: rotate(360deg) scale(1.1);
}

.mwt-bento-card h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: #0f172a;
    transition: 0.5s;
    font-weight: bold !important;
    letter-spacing: 1px;
}

.mwt-bento-card:hover h3 { color: #fff; }

.mwt-bento-card p {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 25px;
    transition: 0.5s;
    font-weight: 500;
    letter-spacing: 1px;
}

.mwt-bento-card:hover p { color: #cbd5e1; }

.learn-more {
    display: inline-block;
    padding: 10px 20px;
    border: 1px solid #e2e8f0;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    color: #0f172a;
    transition: all 0.4s ease;
    letter-spacing: 1px;
}

.mwt-bento-card:hover .learn-more {
    border-color: #ff9f1c;
    background: #ff9f1c;
    color: #fff;
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .mwt-bento-grid {
        grid-template-columns: 1fr !important; 
    }
}
