/* Bento Grid Layout */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 columns by default */
    gap: 1.5rem;
    width: 100%;
    margin-top: 2rem;
}

/* Bento Card Styling */
.bento-card {
    background-color: rgba(10, 10, 10, 0.8); /* Slightly lighter than pure black */
    border-radius: 1rem;
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    position: relative;
    height: 100%;
}

.bento-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Card Icon Styling */
.card-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #f6b03e; /* UITS blue */
    text-align: center;
}

/* Card Content Styling */
.card-content {
    flex: 1;
}

.card-content h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: #ffffff;
    font-weight: 600;
}

.card-content p {
    color: #ffffff;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Responsive adjustments */
@media screen and (max-width: 980px) {
    .bento-grid {
        grid-template-columns: 1fr; /* Single column on smaller screens */
    }
    
    .bento-card {
        padding: 1.5rem;
    }
}

/* Add a subtle animation for cards when they appear */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.bento-card {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* Stagger the animations for each card */
.bento-card:nth-child(1) { animation-delay: 0.1s; }
.bento-card:nth-child(2) { animation-delay: 0.2s; }
.bento-card:nth-child(3) { animation-delay: 0.3s; }
.bento-card:nth-child(4) { animation-delay: 0.4s; }

/* Special styling for the key features section */
#key-features {
    padding: 4rem 0;
}

#key-features header h2 {
    margin-bottom: 1.5rem;
    color: #ffffff;
    text-align: center;
}
