@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dpte-6f6281c6-section {
    padding: 80px 24px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    transition: background-color 0.3s ease;
}

.dpte-6f6281c6-container {
    max-width: 1200px;
    margin: 0 auto;
}

.dpte-6f6281c6-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 56px auto;
}

.dpte-6f6281c6-subtitle {
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.dpte-6f6281c6-heading {
    font-size: 38px;
    line-height: 1.25;
    font-weight: 800;
    margin: 0 0 16px 0;
    color: #0b1a30;
}

.dpte-6f6281c6-description {
    font-size: 16px;
    line-height: 1.625;
    color: #4A5568;
    margin: 0;
}

.dpte-6f6281c6-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 24px;
}

/* Default Desktop Layout: 3 on row 1, 2 centered on row 2 */
.dpte-6f6281c6-card {
    grid-column: span 2;
    background: #ffffff;
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
                box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
                border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* Stagger delay logic for modern entering feel */
.dpte-6f6281c6-card:nth-child(1) { animation-delay: 0.05s; }
.dpte-6f6281c6-card:nth-child(2) { animation-delay: 0.1s; }
.dpte-6f6281c6-card:nth-child(3) { animation-delay: 0.15s; }
.dpte-6f6281c6-card:nth-child(4) { animation-delay: 0.2s; }
.dpte-6f6281c6-card:nth-child(5) { animation-delay: 0.25s; }

/* Desktop Grid Alignment: Centering the last 2 items */
.dpte-6f6281c6-card:nth-child(4) {
    grid-column: 2 / span 2;
}
.dpte-6f6281c6-card:nth-child(5) {
    grid-column: 4 / span 2;
}

.dpte-6f6281c6-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    margin-bottom: 24px;
    font-size: 20px;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
                background-color 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
                color 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.dpte-6f6281c6-icon svg {
    width: 22px;
    height: 22px;
    transition: fill 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.dpte-6f6281c6-card-title {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    color: #0b1a30;
    margin: 0 0 12px 0;
}

.dpte-6f6281c6-card-description {
    font-size: 14px;
    line-height: 1.6;
    color: #4A5568;
    margin: 0;
}

/* Hover States */
.dpte-6f6281c6-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(15, 61, 145, 0.08);
}

.dpte-6f6281c6-card:hover .dpte-6f6281c6-icon {
    transform: scale(1.08);
}

/* Tablet Layout (2 columns per row) */
@media (max-width: 991px) {
    .dpte-6f6281c6-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    .dpte-6f6281c6-card {
        grid-column: span 2 !important;
    }
    .dpte-6f6281c6-card:nth-child(5) {
        grid-column: 1 / span 2 !important;
    }
}

/* Mobile Layout (Single column) */
@media (max-width: 600px) {
    .dpte-6f6281c6-section {
        padding: 56px 16px;
    }
    .dpte-6f6281c6-header {
        margin-bottom: 40px;
    }
    .dpte-6f6281c6-heading {
        font-size: 28px;
    }
    .dpte-6f6281c6-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .dpte-6f6281c6-card {
        grid-column: span 1 !important;
        padding: 24px;
    }
}
