@import url('https://fonts.googleapis.com/css2?family=PT+Sans:wght@400;700&display=swap');

.hw-problem-section-2067 {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 80px 20px 60px;
    background-color: #ffffff;
    font-family: 'PT Sans', sans-serif;
    box-sizing: border-box;
}

.hw-problem-h2-2067 {
    font-weight: 700;
    font-size: 32px;
    color: #002c77;
    text-align: center;
    margin: 0 auto 48px;
    max-width: 800px;
    line-height: 1.3;
}

.hw-problem-grid-2067 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    align-items: stretch;
}

.hw-problem-card-2067 {
    background-color: #ffffff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border-top: 3px solid #4b92db;
    border-radius: 4px;
    padding: 32px 28px;
    text-align: center;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hw-problem-card-2067.is-visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.hw-problem-card-2067:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    transform: translateY(-2px);
}

.hw-problem-card-2067.is-visible:hover {
    transform: translateY(-2px); /* Maintain hover effect after animation */
}

.hw-problem-icon-2067 {
    color: #ff5800;
    font-size: 48px;
    margin-bottom: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hw-problem-icon-2067 svg {
    width: 48px;
    height: 48px;
    fill: #ff5800;
}

.hw-problem-card-2067:hover .hw-problem-icon-2067 {
    transform: scale(1.1);
}

.hw-problem-h3-2067 {
    font-weight: 700;
    font-size: 20px;
    color: #002c77;
    margin: 0 0 16px 0;
    line-height: 1.3;
}

.hw-problem-text-2067 {
    font-weight: 400;
    font-size: 16px;
    color: #002c77;
    line-height: 1.6;
    margin: 0;
}

/* Tablet */
@media (max-width: 1024px) {
    .hw-problem-card-2067 {
        padding: 24px;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .hw-problem-section-2067 {
        padding: 60px 20px;
    }
    .hw-problem-h2-2067 {
        font-size: 24px;
        margin-bottom: 32px;
    }
    .hw-problem-grid-2067 {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

/* Reduced Motion Fallback */
@media (prefers-reduced-motion: reduce) {
    .hw-problem-card-2067 {
        opacity: 1;
        transform: none !important;
        transition: none;
    }
    .hw-problem-card-2067:hover {
        box-shadow: 0 8px 24px rgba(0,0,0,0.12); /* Keep shadow, remove transform */
    }
    .hw-problem-icon-2067,
    .hw-problem-card-2067:hover .hw-problem-icon-2067 {
        transform: none;
        transition: none;
    }
}
