/* ==========================================================================
   Prime Minister's Award for Excellence in Public Administration Explorer
   India's highest honour for civil servants
   ========================================================================== */

.pa-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;
}

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

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

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

.pa-kicker {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(212, 175, 55, 0.15);
    color: #D4AF37;
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

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

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

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

.pa-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;
}

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

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

/* --- Navigation Tabs --- */
.pa-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);
}

.pa-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;
}

.pa-tab:hover {
    background: rgba(212, 175, 55, 0.15);
    color: #D4AF37;
    border-color: #D4AF37;
}

.pa-tab.active {
    background: #1E3A5F;
    color: #FFFFFF;
    border-color: #1E3A5F;
}

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

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

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

.pa-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);
}

.pa-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(212, 175, 55, 0.4);
    padding-bottom: 12px;
}

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

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

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

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

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

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

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

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

.purpose-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, box-shadow 0.2s ease;
}

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

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

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

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

/* --- 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;
}

.eligibility-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;
}

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

.eligibility-note p {
    margin: 0;
}

/* --- 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;
    text-align: center;
    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;
    margin-bottom: 12px;
}

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

.category-sub {
    font-size: 0.88rem;
    color: #D4AF37;
    font-weight: 600;
    margin: 0 0 16px;
}

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

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

.award-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;
}

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

.award-note p {
    margin: 0;
}

/* --- Selection Process --- */
.selection-steps {
    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, #1E3A5F 0%, #D4AF37 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    color: #F8FAFC;
}

.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;
}

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

.story-card {
    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;
}

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

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

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

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

.stories-note {
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(30, 58, 95, 0.5);
    border-radius: 12px;
    padding: 20px;
    margin-top: 24px;
}

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

.stories-note p {
    margin: 0;
}

/* --- 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, #1E3A5F 0%, #D4AF37 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8rem;
    color: #F8FAFC;
    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;
}

/* --- 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 --- */
.pa-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;
}

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

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

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

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

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

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

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

    .purpose-grid,
    .eligibility-grid,
    .categories-grid,
    .stories-grid,
    .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 .pa-page-body {
    background-color: #F8FAFC;
    color: #1E293B;
}

.light-theme .pa-hero {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(241, 245, 249, 0.95) 100%);
    border-color: rgba(212, 175, 55, 0.3);
}

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

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

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

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

.light-theme .pa-kicker {
    background: rgba(212, 175, 55, 0.15);
    color: #B8860B;
}

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

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

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

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

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

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

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

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

.light-theme .pa-tab.active {
    background: #1E3A5F;
    color: #FFFFFF;
}

.light-theme .purpose-item,
.light-theme .eligibility-item,
.light-theme .category-card,
.light-theme .story-card,
.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 .purpose-item h3,
.light-theme .eligibility-item h3,
.light-theme .category-card h3,
.light-theme .story-card h3,
.light-theme .gallery-item h3,
.light-theme .timeline-content h3 {
    color: #1E293B;
}

.light-theme .category-sub {
    color: #B8860B;
}

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