/* ==========================================================================
   National Teachers' Award Explorer Styling
   India's national honour for teachers & nation-builders
   ========================================================================== */

.nta-page-body {
    background-color: var(--bg-primary, #0B0F19);
    color: var(--text-primary, #E2E8F0);
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

.nta-main {
    max-width: 1240px;
    margin: 0 auto;
    padding: 80px 20px 60px;
}

/* --- Hero Banner --- */
.nta-hero {
    text-align: center;
    padding: 48px 24px;
    background: linear-gradient(135deg, rgba(11, 15, 25, 0.95) 0%, rgba(23, 30, 60, 0.92) 100%);
    border: 1px solid rgba(79, 70, 229, 0.35);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    margin-bottom: 32px;
    position: relative;
    overflow: hidden;
}

.nta-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #FF9933 0%, #D4AF37 50%, #138808 100%);
}

.nta-kicker {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(79, 70, 229, 0.2);
    color: #A5B4FC;
    border: 1px solid rgba(79, 70, 229, 0.45);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.nta-hero h1 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2.6rem;
    font-weight: 800;
    color: var(--text-heading, #F8FAFC);
    margin: 0 0 12px;
}

.nta-hero p {
    font-size: 1.1rem;
    color: var(--text-secondary, #94A3B8);
    max-width: 850px;
    margin: 0 auto 24px;
}

.nta-hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 16px;
    margin-top: 24px;
}

.nta-hero-stat {
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 16px;
    text-align: center;
}

.nta-hero-stat strong {
    font-size: 1.6rem;
    color: #FF9933;
    display: block;
}

.nta-hero-stat span {
    font-size: 0.82rem;
    color: #94A3B8;
    text-transform: uppercase;
}

/* --- Navigation Tabs --- */
.nta-nav-tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 32px;
    padding: 16px;
    background: rgba(15, 23, 42, 0.6);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.nta-tab {
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--text-secondary, #94A3B8);
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.nta-tab:hover {
    background: rgba(79, 70, 229, 0.15);
    color: #A5B4FC;
    border-color: #6366F1;
}

.nta-tab.active {
    background: #6366F1;
    color: #FFFFFF;
    border-color: #6366F1;
}

/* --- Content Sections --- */
.nta-section {
    display: none;
    animation: fadeIn 0.3s ease;
}

.nta-section.active {
    display: block;
}

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

.nta-content-card {
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.nta-content-card h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2rem;
    font-weight: 700;
    color: #F8FAFC;
    margin: 0 0 24px;
    border-bottom: 2px solid rgba(99, 102, 241, 0.4);
    padding-bottom: 12px;
}

.nta-content {
    color: var(--text-secondary, #94A3B8);
}

.nta-content p {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 16px;
}

.nta-content h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #D4AF37;
    margin: 24px 0 12px;
}

.nta-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #F8FAFC;
    margin: 16px 0 8px;
}

.nta-content ul {
    margin: 12px 0;
    padding-left: 24px;
}

.nta-content li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.nta-content strong {
    color: #F8FAFC;
}

/* --- Eligibility Grid --- */
.eligibility-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 24px;
}

.eligibility-item {
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 20px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.eligibility-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.eligibility-item h3 {
    font-size: 1.1rem;
    color: #D4AF37;
    margin: 0 0 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.eligibility-item p {
    font-size: 0.92rem;
    margin: 0;
}

/* --- Selection Timeline --- */
.selection-timeline {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 24px 0;
}

.selection-step {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.step-number {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #6366F1 0%, #D4AF37 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    color: #0B0F19;
}

.selection-step h3 {
    margin: 0 0 8px;
    font-size: 1.1rem;
}

.selection-step p {
    margin: 0;
    font-size: 0.92rem;
}

.evaluation-criteria {
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 12px;
    padding: 20px;
    margin-top: 24px;
}

.evaluation-criteria h3 {
    margin: 0 0 16px;
    color: #D4AF37;
}

.evaluation-criteria ul {
    margin: 0;
    padding-left: 20px;
}

.evaluation-criteria li {
    margin-bottom: 10px;
}

/* --- Categories Grid --- */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 24px;
}

.category-card {
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 24px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.category-icon {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 16px;
}

.category-card h3 {
    font-size: 1.3rem;
    color: #F8FAFC;
    margin: 0 0 12px;
    text-align: center;
}

.category-card p {
    font-size: 0.92rem;
    margin-bottom: 16px;
}

.category-card ul {
    margin: 0;
    padding-left: 20px;
}

.category-card li {
    font-size: 0.88rem;
    margin-bottom: 6px;
}

/* --- Ceremony Grid --- */
.ceremony-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 24px;
}

.ceremony-card {
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ceremony-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.ceremony-icon {
    font-size: 3rem;
    margin-bottom: 12px;
}

.ceremony-card h3 {
    font-size: 1.15rem;
    color: #F8FAFC;
    margin: 0 0 12px;
}

.ceremony-card p {
    font-size: 0.92rem;
    margin: 0;
}

.ceremony-note {
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(99, 102, 241, 0.35);
    border-radius: 12px;
    padding: 20px;
    margin-top: 24px;
}

.ceremony-note h3 {
    margin: 0 0 16px;
    color: #D4AF37;
}

.ceremony-note p {
    margin: 0;
}

/* --- Distinguished Teachers Gallery --- */
.teachers-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 24px 0;
}

.teacher-card {
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    transition: transform 0.2s ease;
}

.teacher-card:hover {
    transform: translateY(-4px);
}

.teacher-avatar {
    font-size: 3rem;
    margin-bottom: 12px;
}

.teacher-card h3 {
    font-size: 1.1rem;
    color: #F8FAFC;
    margin: 0 0 4px;
}

.teacher-tag {
    font-size: 0.85rem;
    color: #D4AF37;
    margin: 0 0 12px;
    font-weight: 600;
}

.teacher-card p {
    font-size: 0.88rem;
    margin: 0;
}

.teachers-note {
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 12px;
    padding: 20px;
    margin-top: 24px;
}

.teachers-note h3 {
    margin: 0 0 16px;
    color: #D4AF37;
}

.teachers-note ul {
    margin: 0;
    padding-left: 20px;
}

/* --- Timeline --- */
.timeline-container {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin: 24px 0;
    position: relative;
}

.timeline-container::before {
    content: '';
    position: absolute;
    left: 60px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, #FF9933 0%, #D4AF37 50%, #138808 100%);
}

.timeline-item {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    position: relative;
}

.timeline-year {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #6366F1 0%, #D4AF37 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8rem;
    color: #0B0F19;
    position: relative;
    z-index: 1;
}

.timeline-content {
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 20px;
    flex: 1;
}

.timeline-content h3 {
    margin: 0 0 8px;
    font-size: 1.1rem;
    color: #F8FAFC;
}

.timeline-content p {
    margin: 0;
    font-size: 0.92rem;
}

/* --- Facts List --- */
.facts-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 24px;
}

.fact-item {
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 20px;
    transition: transform 0.2s ease;
}

.fact-item:hover {
    transform: translateY(-4px);
}

.fact-item h3 {
    font-size: 1.1rem;
    color: #D4AF37;
    margin: 0 0 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.fact-item p {
    font-size: 0.92rem;
    margin: 0;
}

/* --- Gallery --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 24px 0;
}

.gallery-item {
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    transition: transform 0.2s ease;
}

.gallery-item:hover {
    transform: scale(1.02);
}

.gallery-placeholder {
    font-size: 4rem;
    margin-bottom: 12px;
}

.gallery-item h3 {
    font-size: 1.1rem;
    color: #F8FAFC;
    margin: 0 0 8px;
}

.gallery-item p {
    font-size: 0.88rem;
    margin: 0;
}

.media-highlights {
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 12px;
    padding: 20px;
    margin-top: 24px;
}

.media-highlights h3 {
    margin: 0 0 16px;
    color: #D4AF37;
}

.media-highlights ul {
    margin: 0;
    padding-left: 20px;
}

/* --- Footer --- */
.nta-footer {
    text-align: center;
    padding: 30px;
    font-size: 0.88rem;
    color: #64748B;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 40px;
}

.nta-footer a {
    color: #FF9933;
    text-decoration: none;
}

.nta-footer a:hover {
    text-decoration: underline;
}

/* --- Responsive Design --- */
@media (max-width: 768px) {
    .nta-hero h1 {
        font-size: 2rem;
    }

    .nta-hero p {
        font-size: 1rem;
    }

    .nta-content-card {
        padding: 20px;
    }

    .nta-nav-tabs {
        gap: 8px;
    }

    .nta-tab {
        padding: 8px 14px;
        font-size: 0.83rem;
    }

    .eligibility-grid,
    .categories-grid,
    .ceremony-grid,
    .teachers-gallery,
    .facts-list,
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .selection-step {
        flex-direction: column;
        gap: 12px;
    }

    .timeline-container::before {
        left: 30px;
    }

    .timeline-year {
        width: 50px;
        height: 50px;
        font-size: 0.7rem;
    }

    .timeline-item {
        flex-direction: column;
        gap: 12px;
    }
}

/* --- Light Theme Support --- */
.light-theme .nta-page-body {
    background-color: #F8FAFC;
    color: #1E293B;
}

.light-theme .nta-hero {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(238, 242, 255, 0.95) 100%);
    border-color: rgba(79, 70, 229, 0.3);
}

.light-theme .nta-hero h1 {
    color: #1E293B;
}

.light-theme .nta-hero p {
    color: #64748B;
}

.light-theme .nta-hero-stat {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(0, 0, 0, 0.1);
}

.light-theme .nta-hero-stat span {
    color: #64748B;
}

.light-theme .nta-kicker {
    background: rgba(79, 70, 229, 0.12);
    color: #4F46E5;
}

.light-theme .nta-content-card {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(0, 0, 0, 0.1);
}

.light-theme .nta-content-card h2 {
    color: #1E293B;
}

.light-theme .nta-content {
    color: #475569;
}

.light-theme .nta-content h3 {
    color: #B8860B;
}

.light-theme .nta-content h4 {
    color: #1E293B;
}

.light-theme .nta-content strong {
    color: #1E293B;
}

.light-theme .nta-nav-tabs {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(0, 0, 0, 0.1);
}

.light-theme .nta-tab {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(0, 0, 0, 0.15);
    color: #64748B;
}

.light-theme .nta-tab.active {
    background: #6366F1;
    color: #FFFFFF;
}

.light-theme .eligibility-item,
.light-theme .category-card,
.light-theme .ceremony-card,
.light-theme .teacher-card,
.light-theme .fact-item,
.light-theme .timeline-content,
.light-theme .gallery-item {
    background: rgba(241, 245, 249, 0.8);
    border-color: rgba(0, 0, 0, 0.1);
}

.light-theme .eligibility-item h3,
.light-theme .category-card h3,
.light-theme .ceremony-card h3,
.light-theme .teacher-card h3,
.light-theme .fact-item h3,
.light-theme .gallery-item h3,
.light-theme .timeline-content h3 {
    color: #1E293B;
}

.light-theme .evaluation-criteria,
.light-theme .ceremony-note,
.light-theme .teachers-note,
.light-theme .media-highlights {
    background: rgba(241, 245, 249, 0.8);
    border-color: rgba(184, 134, 11, 0.3);
}
