/* ==========================================================================
   content.css — modern typography + card system for added page content
   Linked last (footer) so it wins over page-level stylesheets.
   ========================================================================== */

/* ---------- Modern app font stack (Inter + Devanagari) ---------- */
.section-title h2,
.section-title p {
    font-family: "Montserrat", "Inter", "Noto Sans Devanagari", sans-serif;
}

.content-block,
.faq-block,
.empty-state,
.content-notes,
.steps-grid,
.faq-section {
    font-family: "Inter", "Noto Sans Devanagari", sans-serif;
}

/* ---------- Shared rich-text card ---------- */
.content-block {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: clamp(1.35rem, 2.6vw, 2rem) clamp(1.4rem, 3vw, 2.25rem);
    margin-bottom: 2rem;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05), 0 18px 40px -30px rgba(15, 23, 42, 0.45);
}

.content-block.accent {
    border-left: 4px solid #3498db;
}

.content-block > :last-child {
    margin-bottom: 0;
}

.content-block h3 {
    font-size: clamp(1.1rem, 1rem + 0.5vw, 1.3rem);
    font-weight: 700;
    letter-spacing: -0.015em;
    color: #0f172a;
    margin: 0 0 0.9rem;
}

.content-block p {
    font-size: clamp(1rem, 0.97rem + 0.18vw, 1.0625rem);
    line-height: 1.75;
    color: #475569;
    letter-spacing: 0.005em;
    text-wrap: pretty;
    margin: 0 0 1.05rem;
}

/* ---------- FAQ block (program pages) ---------- */
.faq-block {
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: clamp(1.35rem, 2.6vw, 2rem) clamp(1.4rem, 3vw, 2.25rem);
    margin-bottom: 2rem;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.faq-q {
    margin-bottom: 1.25rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px dashed #cbd5e1;
}

.faq-q:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: 0;
}

.faq-q h4 {
    font-size: clamp(1rem, 0.96rem + 0.3vw, 1.075rem);
    font-weight: 700;
    letter-spacing: -0.005em;
    color: #0f172a;
    margin: 0 0 0.5rem;
    padding-left: 0.8rem;
    border-left: 3px solid #3498db;
}

.faq-q p {
    font-size: 1.0125rem;
    line-height: 1.75;
    color: #475569;
    margin: 0;
    text-wrap: pretty;
}

/* ---------- Empty / placeholder states ---------- */
.empty-state {
    background: #ffffff;
    border: 1.5px dashed #cbd5e1;
    border-radius: 16px;
    padding: clamp(1.5rem, 3vw, 2.25rem);
    color: #64748b;
    text-align: center;
    margin-bottom: 2rem;
}

.empty-state i {
    color: #3498db;
    font-size: 1.9rem;
}

.empty-state strong {
    display: block;
    color: #0f172a;
    font-size: 1.075rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: 0.55rem;
}

.empty-state p {
    font-size: 1.0125rem;
    line-height: 1.75;
    color: #475569;
    margin: 0 0 0.6rem;
    text-wrap: pretty;
}

.empty-state p:last-child {
    margin-bottom: 0;
}

/* ---------- Small-print notes (recognition etc.) ---------- */
.content-notes {
    max-width: 780px;
    margin: 1.25rem auto 0;
    text-align: left;
}

.content-notes p {
    font-size: 1.0125rem;
    line-height: 1.75;
    color: #475569;
    letter-spacing: 0.005em;
    margin: 0 0 0.95rem;
    text-wrap: pretty;
}

.content-notes p:last-child {
    margin-bottom: 0;
}

/* ---------- Steps grid (hiring process) ---------- */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.35rem;
}

.step-item h4 {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: -0.005em;
    color: #0f172a;
    margin: 0 0 0.45rem;
}

.step-item p {
    font-size: 0.975rem;
    line-height: 1.7;
    color: #64748b;
    margin: 0;
    text-wrap: pretty;
}

.steps-note {
    font-size: 1.0125rem;
    line-height: 1.75;
    color: #475569;
    margin: 1.35rem 0 0;
    text-wrap: pretty;
}

/* ---------- Modern links inside content blocks ---------- */
.content-block a,
.content-notes a,
.empty-state a,
.faq-block a,
.faq-section a,
.steps-grid a {
    color: #3498db;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1.5px solid rgba(52, 152, 219, 0.35);
    transition: color 0.2s ease, border-color 0.2s ease;
}

.content-block a:hover,
.content-notes a:hover,
.empty-state a:hover,
.faq-block a:hover,
.faq-section a:hover,
.steps-grid a:hover {
    color: #2c3e50;
    border-bottom-color: #2c3e50;
}

/* ---------- Contact page accordion FAQ (Hindi Q&A) ---------- */
.faq-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.faq-question {
    padding: 1.15rem 1.35rem;
    transition: background 0.2s ease;
}

.faq-question:hover {
    background: #f8fafc;
}

.faq-question h3 {
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: -0.005em;
    line-height: 1.5;
    color: #0f172a;
}

.faq-icon {
    color: #3498db;
}

.faq-item.active .faq-question {
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.faq-answer p {
    font-size: 1rem;
    line-height: 1.75;
    color: #475569;
    margin: 0;
    text-wrap: pretty;
}

/* ---------- Responsive polish ---------- */
@media (max-width: 576px) {
    .content-block,
    .faq-block {
        padding: 1.2rem 1.15rem;
        border-radius: 14px;
    }

    .empty-state {
        padding: 1.35rem 1.1rem;
    }

    .faq-question {
        padding: 1rem 1.1rem;
    }

    .faq-question h3 {
        font-size: 1rem;
    }
}

/* ---------- Home page: "Our Identity" certificate CTA ---------- */
.home-cert-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: linear-gradient(135deg, #3498db 0%, #2c3e50 100%);
    color: #fff;
    padding: 0.95rem 1.9rem;
    border-radius: 999px;
    font-family: "Inter", "Noto Sans Devanagari", sans-serif;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    box-shadow: 0 10px 26px rgba(52, 152, 219, 0.32);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.home-cert-cta:hover,
.home-cert-cta:focus-visible {
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(52, 152, 219, 0.42);
}

.home-cert-cta i {
    font-size: 0.95rem;
}
