/* ============================================================
   Kids Kingdom - Days & Months Page Stylesheet
   No images - big colored text cards instead (English + Hindi)
   ============================================================ */

/* ================= HOW TO LEARN ================= */
.how-to-learn {
    padding: 50px 0;
}

.how-to-learn h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.step-card {
    text-align: center;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--color-primary);
    color: #fff;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 14px;
}

.step-card h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.step-card p {
    font-size: 1rem;
    color: #666;
}

/* ================= TEXT-CARD TOOL (Days / Months) ================= */
.textcard-section {
    padding: 50px 0;
}

.textcard-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
}

.textcard-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.textcard-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--color-bg);
    border-radius: var(--radius);
    padding: 28px 16px;
    transition: background 0.2s;
}

.textcard-block:hover {
    background: #FFF1E6;
}

.textcard-en {
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 2.6rem;
    line-height: 1.2;
    margin-bottom: 8px;
    transition: opacity 0.2s;
}

.textcard-en:hover {
    opacity: 0.75;
}

.textcard-hi {
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 1.45rem;
    color: #777;
    transition: color 0.2s;
}

.textcard-hi:hover {
    color: var(--color-primary);
}

/* ================= RESPONSIVE ================= */
@media (max-width: 1023px) and (min-width: 768px) {
    .textcard-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .textcard-en {
        font-size: 1.4rem;
    }
}

@media (max-width: 767px) {
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .textcard-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .textcard-en {
        font-size: 1.3rem;
    }

    .textcard-hi {
        font-size: 1rem;
    }
}

@media (max-width: 420px) {
    .textcard-grid {
        grid-template-columns: 1fr 1fr;
    }
}
