/* Agniveer Exam Page Styles */

:root {
    --primary-color: #f97316;
    --secondary-color: #ea580c;
    --accent-color: #fb923c;
    --army-color: #22c55e;
    --navy-color: #3b82f6;
    --airforce-color: #06b6d4;
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-tertiary: #64748b;
    --card-bg: rgba(30, 41, 59, 0.8);
    --border-color: rgba(148, 163, 184, 0.1);
}

[data-theme="light"] {
    --text-primary: #1e293b;
    --text-secondary: #475569;
    --text-tertiary: #64748b;
    --card-bg: rgba(255, 255, 255, 0.9);
    --border-color: rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    background: linear-gradient(135deg, #0f172a 0%, #431407 50%, #0f172a 100%);
    color: var(--text-primary);
    min-height: 100vh;
}

#particleCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

/* Navigation */
.glass-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    padding: 0.75rem 1rem;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.logo-image {
    width: 36px;
    height: 36px;
    border-radius: 10px;
}

.logo-text {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
}

.nav-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.breadcrumb-divider {
    color: var(--text-tertiary);
}

.breadcrumb-link {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb-link:hover {
    color: var(--primary-color);
}

.breadcrumb-current {
    color: var(--text-primary);
    font-weight: 600;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.xp-display {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(249, 115, 22, 0.15);
    padding: 0.4rem 0.75rem;
    border-radius: 20px;
    border: 1px solid rgba(249, 115, 22, 0.3);
}

.xp-icon {
    font-size: 1rem;
}

.xp-count {
    font-weight: 700;
    color: var(--primary-color);
}

.xp-label {
    font-size: 0.75rem;
    color: var(--text-tertiary);
}

.theme-toggle {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 0.5rem;
    cursor: pointer;
    transition: all 0.3s;
}

.theme-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}

.theme-icon {
    font-size: 1.2rem;
}

/* Hero Section */
.agniveer-hero {
    position: relative;
    padding: 3rem 1rem 4rem;
    text-align: center;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.2), transparent 70%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.2), rgba(234, 88, 12, 0.2));
    border: 1px solid rgba(249, 115, 22, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 30px;
    margin-bottom: 1.5rem;
}

.badge-icon {
    font-size: 1.3rem;
}

.badge-text {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-color);
}

.agniveer-title {
    margin-bottom: 1rem;
}

.title-main {
    display: block;
    font-size: clamp(2.5rem, 7vw, 4rem);
    font-weight: 800;
    background: linear-gradient(135deg, #f97316, #fb923c, #fbbf24);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.title-sub {
    display: block;
    font-size: clamp(1rem, 3vw, 1.4rem);
    color: var(--text-secondary);
    font-weight: 400;
    margin-top: 0.5rem;
}

.agniveer-tagline {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.hero-stat {
    text-align: center;
}

.hero-stat .stat-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.hero-stat .stat-label {
    font-size: 0.8rem;
    color: var(--text-tertiary);
}

/* Tabs */
.agniveer-tabs-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 0 1rem;
    margin-bottom: 2rem;
}

.agniveer-tabs {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.agniveer-tab {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.agniveer-tab:hover {
    border-color: var(--primary-color);
    color: var(--text-primary);
}

.agniveer-tab.active {
    background: linear-gradient(135deg, #f97316, #ea580c);
    border-color: transparent;
    color: white;
}

.tab-icon {
    font-size: 1.1rem;
}

.language-toggle {
    display: flex;
    gap: 0.25rem;
    background: rgba(0, 0, 0, 0.2);
    padding: 0.25rem;
    border-radius: 10px;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.5rem 0.75rem;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: var(--text-secondary);
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s;
}

.lang-btn.active {
    background: var(--primary-color);
    color: white;
}

/* Tab Content */
.tab-panel {
    display: none;
    animation: fadeIn 0.3s ease;
}

.tab-panel.active {
    display: block;
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.content-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1rem 3rem;
}

/* Update Dot Notification */
.update-dot {
    width: 8px;
    height: 8px;
    background: #ef4444;
    border-radius: 50%;
    animation: pulseDot 2s infinite;
}

@keyframes pulseDot {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.2);
        opacity: 0.7;
    }
}

/* UPDATES TAB STYLES */
.hero-update {
    position: relative;
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.15), rgba(234, 88, 12, 0.1));
    border: 1px solid rgba(249, 115, 22, 0.3);
    border-radius: 24px;
    padding: 2rem;
    margin-bottom: 2rem;
    overflow: hidden;
}

.hero-update-pulse {
    position: absolute;
    top: -50%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.2), transparent 70%);
    animation: heroPulse 4s ease-in-out infinite;
}

@keyframes heroPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

.hero-update-content {
    position: relative;
    z-index: 2;
}

.update-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    background: rgba(249, 115, 22, 0.2);
    border: 1px solid rgba(249, 115, 22, 0.4);
    border-radius: 20px;
    margin-bottom: 1rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: #f97316;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.update-badge .live-dot {
    width: 8px;
    height: 8px;
    background: #f97316;
    border-radius: 50%;
    animation: pulseDot 1.5s infinite;
}

.hero-update-title {
    font-size: clamp(1.25rem, 4vw, 1.75rem);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.hero-update-desc {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.hero-update-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: 0.85rem;
    color: var(--text-tertiary);
}

.hero-update-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #f97316, #ea580c);
    border-radius: 12px;
    color: white;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.hero-update-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(249, 115, 22, 0.3);
}

.hero-update-btn .btn-arrow {
    transition: transform 0.3s;
}

.hero-update-btn:hover .btn-arrow {
    transform: translateX(4px);
}

.status-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.status-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.status-card:hover {
    transform: translateY(-3px);
    border-color: var(--primary-color);
}

.status-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
}

.status-card.upcoming::before {
    background: linear-gradient(90deg, #3b82f6, #60a5fa);
}

.status-card.pending::before {
    background: linear-gradient(90deg, #f59e0b, #fbbf24);
}

.status-card.scheduled::before {
    background: linear-gradient(90deg, #f97316, #fb923c);
}

.status-card.completed::before {
    background: linear-gradient(90deg, #10b981, #34d399);
}

.status-icon {
    font-size: 1.5rem;
}

.status-info {
    display: flex;
    flex-direction: column;
}

.status-label {
    font-size: 0.7rem;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-value {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
}

.status-badge {
    font-size: 0.6rem;
    padding: 0.2rem 0.5rem;
    border-radius: 10px;
    font-weight: 600;
    text-transform: uppercase;
}

.status-card.upcoming .status-badge {
    background: rgba(59, 130, 246, 0.2);
    color: #3b82f6;
}

.status-card.pending .status-badge {
    background: rgba(245, 158, 11, 0.2);
    color: #f59e0b;
}

.status-card.scheduled .status-badge {
    background: rgba(249, 115, 22, 0.2);
    color: #f97316;
}

.status-card.completed .status-badge {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
}

.updates-timeline-section {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.section-header h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
}

.updates-count {
    font-size: 0.75rem;
    padding: 0.3rem 0.75rem;
    background: rgba(249, 115, 22, 0.15);
    color: #f97316;
    border-radius: 20px;
    font-weight: 600;
}

.updates-timeline {
    display: flex;
    flex-direction: column;
}

.timeline-item {
    display: flex;
    gap: 1rem;
    padding-bottom: 1.5rem;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-marker {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 20px;
}

.marker-dot {
    width: 12px;
    height: 12px;
    background: var(--border-color);
    border-radius: 50%;
    border: 2px solid var(--card-bg);
    box-shadow: 0 0 0 2px var(--border-color);
    z-index: 2;
}

.timeline-item.new .marker-dot {
    background: #f97316;
    box-shadow: 0 0 0 2px rgba(249, 115, 22, 0.3), 0 0 15px rgba(249, 115, 22, 0.5);
    animation: dotPulse 2s infinite;
}

@keyframes dotPulse {

    0%,
    100% {
        box-shadow: 0 0 0 2px rgba(249, 115, 22, 0.3), 0 0 15px rgba(249, 115, 22, 0.5);
    }

    50% {
        box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.2), 0 0 25px rgba(249, 115, 22, 0.7);
    }
}

.marker-line {
    flex: 1;
    width: 2px;
    background: var(--border-color);
    margin-top: 4px;
}

.timeline-content {
    flex: 1;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1rem;
    transition: all 0.3s ease;
}

.timeline-item.new .timeline-content {
    background: rgba(249, 115, 22, 0.05);
    border-color: rgba(249, 115, 22, 0.2);
}

.timeline-content:hover {
    border-color: var(--primary-color);
    transform: translateX(4px);
}

.timeline-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.timeline-badge {
    font-size: 0.6rem;
    padding: 0.2rem 0.5rem;
    border-radius: 6px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.new-badge {
    background: rgba(249, 115, 22, 0.2);
    color: #f97316;
}

.info-badge {
    background: rgba(59, 130, 246, 0.2);
    color: #3b82f6;
}

.alert-badge {
    background: rgba(6, 182, 212, 0.2);
    color: #06b6d4;
}

.success-badge {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
}

.timeline-date {
    font-size: 0.75rem;
    color: var(--text-tertiary);
}

.timeline-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.4rem;
    line-height: 1.4;
}

.timeline-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

.subscribe-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.1), rgba(34, 197, 94, 0.1));
    border: 1px solid rgba(249, 115, 22, 0.2);
    border-radius: 16px;
    padding: 1.25rem 1.5rem;
}

.subscribe-icon {
    font-size: 2rem;
    animation: bellRing 2s ease-in-out infinite;
}

@keyframes bellRing {

    0%,
    100% {
        transform: rotate(0deg);
    }

    10%,
    30% {
        transform: rotate(-10deg);
    }

    20%,
    40% {
        transform: rotate(10deg);
    }

    50% {
        transform: rotate(0deg);
    }
}

.subscribe-content {
    flex: 1;
}

.subscribe-content h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.2rem;
}

.subscribe-content p {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin: 0;
}

.subscribe-btn {
    padding: 0.6rem 1.25rem;
    background: linear-gradient(135deg, #f97316, #ea580c);
    border: none;
    border-radius: 10px;
    color: white;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.subscribe-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(249, 115, 22, 0.3);
}

@media (max-width: 768px) {
    .hero-update {
        padding: 1.5rem;
    }

    .status-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .subscribe-card {
        flex-direction: column;
        text-align: center;
    }
}

.info-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 1.5rem;
    background: rgba(249, 115, 22, 0.05);
    border-bottom: 1px solid var(--border-color);
}

.card-header.army-header {
    background: rgba(34, 197, 94, 0.1);
}

.card-header.navy-header {
    background: rgba(59, 130, 246, 0.1);
}

.card-header.airforce-header {
    background: rgba(6, 182, 212, 0.1);
}

.card-icon {
    font-size: 1.5rem;
}

.card-header h2 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
}

.card-body {
    padding: 1.5rem;
}

.card-body p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1rem;
}

/* Forces Grid */
.forces-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.force-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.5rem 1rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: all 0.3s;
}

.force-item:hover {
    transform: translateY(-3px);
}

.force-item.army {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1), transparent);
    border-color: rgba(34, 197, 94, 0.3);
}

.force-item.navy {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), transparent);
    border-color: rgba(59, 130, 246, 0.3);
}

.force-item.airforce {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.1), transparent);
    border-color: rgba(6, 182, 212, 0.3);
}

.force-icon {
    font-size: 2rem;
}

.force-item strong {
    color: var(--text-primary);
    font-size: 1rem;
}

.force-item span:last-child {
    font-size: 0.8rem;
    color: var(--text-tertiary);
}

/* Dates Section */
.dates-section {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.dates-section:last-of-type {
    border-bottom: none;
}

.section-title {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

/* Timeline */
.dates-timeline {
    position: relative;
    padding-left: 2rem;
}

.dates-timeline::before {
    content: '';
    position: absolute;
    left: 7px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border-color);
}

.date-item {
    position: relative;
    padding-bottom: 1.5rem;
}

.date-dot {
    position: absolute;
    left: -2rem;
    top: 0;
    width: 16px;
    height: 16px;
    background: var(--card-bg);
    border: 3px solid var(--border-color);
    border-radius: 50%;
}

.date-item.active .date-dot {
    background: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 0 10px rgba(249, 115, 22, 0.5);
}

.date-item.completed .date-dot {
    background: #22c55e;
    border-color: #22c55e;
}

.date-content strong {
    display: block;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.date-content span {
    font-size: 0.85rem;
    color: var(--text-tertiary);
}

/* Official Links Box */
.official-link-box {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.official-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: 1px solid;
}

.official-btn.army-btn {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
    border-color: rgba(34, 197, 94, 0.3);
}

.official-btn.navy-btn {
    background: rgba(59, 130, 246, 0.15);
    color: #3b82f6;
    border-color: rgba(59, 130, 246, 0.3);
}

.official-btn.airforce-btn {
    background: rgba(6, 182, 212, 0.15);
    color: #06b6d4;
    border-color: rgba(6, 182, 212, 0.3);
}

.official-btn:hover {
    transform: translateY(-2px);
}

/* Quick Stats Grid */
.quick-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 1rem;
}

.quick-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    text-align: center;
}

.quick-stat .qs-icon {
    font-size: 1.5rem;
}

.quick-stat .qs-value {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.quick-stat .qs-label {
    font-size: 0.7rem;
    color: var(--text-tertiary);
    text-transform: uppercase;
}

/* Eligibility Grid */
.eligibility-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.eligibility-item {
    display: flex;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.eli-icon {
    font-size: 1.5rem;
}

.eli-content strong {
    display: block;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.eli-content p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin: 0;
}

/* Trades Grid */
.trades-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
}

.trade-card {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.trade-header {
    padding: 0.75rem 1rem;
    color: white;
}

.trade-header.gd {
    background: linear-gradient(135deg, #22c55e, #16a34a);
}

.trade-header.tech {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.trade-header.clerk {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
}

.trade-header.tradesman {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.trade-header.ssr {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
}

.trade-header.mr {
    background: linear-gradient(135deg, #06b6d4, #0891b2);
}

.trade-header.science {
    background: linear-gradient(135deg, #06b6d4, #0891b2);
}

.trade-header.non-science {
    background: linear-gradient(135deg, #ec4899, #db2777);
}

.trade-header h4 {
    font-size: 1rem;
    margin: 0;
}

.trade-body {
    padding: 1rem;
    background: var(--card-bg);
}

.trade-body p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.trade-body p:last-child {
    margin-bottom: 0;
}

/* Syllabus Styles */
.syllabus-intro {
    text-align: center;
    margin-bottom: 2rem;
}

.syllabus-intro h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.syllabus-intro p {
    color: var(--text-secondary);
}

.syllabus-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.syllabus-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    color: white;
}

.syllabus-header.army-bg {
    background: linear-gradient(135deg, #22c55e, #16a34a);
}

.syllabus-header.navy-bg {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
}

.syllabus-header.airforce-bg {
    background: linear-gradient(135deg, #06b6d4, #0891b2);
}

.syllabus-icon {
    font-size: 1.5rem;
}

.syllabus-title-info h3 {
    font-size: 1rem;
    margin: 0;
}

.chapter-count {
    font-size: 0.8rem;
    opacity: 0.8;
}

.syllabus-body {
    padding: 1.25rem;
}

/* Exam Pattern Table */
.exam-pattern-table {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    margin-bottom: 1rem;
}

.pattern-row {
    display: grid;
    grid-template-columns: 2fr 2fr 1fr;
    align-items: center;
}

.pattern-row span {
    padding: 0.8rem 1rem;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.pattern-row.header {
    background: rgba(249, 115, 22, 0.1);
}

.pattern-row.header span {
    font-weight: 700;
    color: var(--text-primary);
}

.pattern-row.total {
    background: rgba(34, 197, 94, 0.1);
}

.pattern-row.total span {
    font-weight: 700;
    color: #22c55e;
    border-bottom: none;
}

.pattern-row:last-child span {
    border-bottom: none;
}

/* Topics List */
.topics-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.topics-list h4 {
    width: 100%;
    font-size: 0.9rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.topic-tag {
    padding: 0.4rem 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* Important Note */
.important-note {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 1rem;
    margin-top: 1rem;
    background: rgba(249, 115, 22, 0.1);
    border: 1px solid rgba(249, 115, 22, 0.2);
    border-radius: 10px;
}

.important-note .note-icon {
    font-size: 1.2rem;
}

.important-note p {
    margin: 0;
    font-size: 0.9rem;
}

/* Selection Phases */
.selection-phases {
    margin-top: 1rem;
}

.selection-phases h4 {
    font-size: 0.9rem;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.phases-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.phase-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 20px;
}

.phase-num {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    font-size: 0.8rem;
    font-weight: 700;
}

/* Physical Grid */
.physical-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.physical-item {
    display: flex;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.physical-icon {
    font-size: 1.5rem;
}

.physical-content strong {
    display: block;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.physical-content p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin: 0;
}

.marks-info {
    display: inline-block;
    margin-top: 0.5rem;
    padding: 0.2rem 0.5rem;
    background: rgba(249, 115, 22, 0.1);
    color: var(--primary-color);
    border-radius: 4px;
    font-size: 0.75rem;
}

/* Height Chart */
.height-chart {
    margin-top: 1.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.height-chart h4 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.height-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
}

.height-item {
    text-align: center;
    padding: 0.75rem;
    background: rgba(249, 115, 22, 0.05);
    border-radius: 8px;
}

.height-item strong {
    display: block;
    font-size: 0.8rem;
    color: var(--text-tertiary);
    margin-bottom: 0.25rem;
}

.height-item span {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* Seva Nidhi Box */
.seva-nidhi-box {
    display: flex;
    justify-content: center;
    margin: 1.5rem 0;
}

.seva-item {
    text-align: center;
    padding: 2rem 3rem;
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.15), rgba(234, 88, 12, 0.1));
    border: 2px solid rgba(249, 115, 22, 0.3);
    border-radius: 20px;
}

.seva-value {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
}

.seva-label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
}

/* Highlight Box */
.highlight-box {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1), rgba(22, 163, 74, 0.05));
    border: 1px solid rgba(34, 197, 94, 0.2);
    border-radius: 12px;
    padding: 1.25rem;
    margin-top: 1rem;
}

.highlight-box h4 {
    color: #22c55e;
    margin-bottom: 0.75rem;
}

.highlight-box ul {
    list-style: none;
    padding: 0;
}

.highlight-box li {
    padding: 0.4rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-secondary);
}

.highlight-box li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #22c55e;
}

/* Footer */
.agniveer-footer {
    background: rgba(15, 23, 42, 0.9);
    border-top: 1px solid var(--border-color);
    padding: 2rem 1rem;
    text-align: center;
}

.footer-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.footer-content a {
    color: var(--primary-color);
    text-decoration: none;
}

.disclaimer {
    font-size: 0.8rem;
    color: var(--text-tertiary);
    font-style: italic;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-breadcrumb {
        display: none;
    }

    .agniveer-tabs {
        width: 100%;
    }

    .agniveer-tab {
        flex: 1;
        justify-content: center;
        padding: 0.6rem 0.75rem;
    }

    .tab-text {
        display: none;
    }

    .tab-icon {
        font-size: 1.3rem;
    }

    .forces-grid {
        grid-template-columns: 1fr;
    }

    .official-link-box {
        flex-direction: column;
    }

    .pattern-row {
        grid-template-columns: 1fr 1fr 1fr;
    }
}