/* Counselling Quiz Styles */
.counselling-main {
    background: linear-gradient(135deg, #f8fafc 0%, #e0f2fe 100%);
    min-height: calc(100vh - 200px);
    padding: 40px 0;
}

.counselling-main::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('jammu and kashmir map.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(8px);
    opacity: 0.05;
    z-index: 0;
    pointer-events: none;
}

.counselling-main .container {
    position: relative;
    z-index: 1;
}

/* Counselling Header */
.counselling-header {
    margin-bottom: 50px;
}

.counselling-hero {
    background: linear-gradient(135deg, var(--blue-700), var(--blue-800));
    border-radius: 20px;
    padding: 50px 30px;
    color: white;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 40px;
    align-items: center;
    box-shadow: 0 10px 30px rgba(6, 35, 61, 0.3);
}

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.hero-content p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 30px;
    line-height: 1.6;
}

.hero-stats {
    display: flex;
    gap: 30px;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

.hero-image {
    display: flex;
    align-items: center;
}

.career-icons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.career-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

/* Grade Selection */
.grade-selection-section {
    margin-bottom: 50px;
}

.grade-selection-container {
    text-align: center;
}

.grade-selection-container h2 {
    color: var(--blue-900);
    font-size: 2rem;
    margin-bottom: 10px;
}

.grade-selection-container p {
    color: var(--blue-800);
    font-size: 1.1rem;
    margin-bottom: 40px;
}

.grade-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.grade-card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border: 2px solid transparent;
    transition: all 0.3s ease;
    text-align: center;
}

.grade-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    border-color: var(--blue-700);
}

.grade-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    opacity: 0.8;
}

.grade-card h3 {
    color: var(--blue-900);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.grade-card p {
    color: #64748b;
    margin-bottom: 20px;
    line-height: 1.6;
}

.grade-features {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
}

.grade-features li {
    color: #475569;
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.grade-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--blue-700);
    font-weight: bold;
}

.select-grade-btn {
    background: linear-gradient(135deg, var(--blue-700), var(--blue-800));
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.select-grade-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(6, 35, 61, 0.3);
}

/* Quiz Container */
.quiz-container-section {
    margin-bottom: 50px;
}

.quiz-wrapper {
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    margin: 0 auto;
}

/* Quiz Progress */
.quiz-progress {
    margin-bottom: 40px;
}

.progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.progress-header h3 {
    color: var(--blue-900);
    font-size: 1.5rem;
    margin: 0;
}

.progress-info {
    display: flex;
    gap: 20px;
    font-size: 0.9rem;
    color: var(--blue-800);
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #e5e7eb;
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--blue-700), var(--blue-800));
    border-radius: 4px;
    width: 0%;
    transition: width 0.3s ease;
}

/* Question Display */
.question-display {
    margin-bottom: 40px;
}

.question-card {
    background: #f8fafc;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    border-left: 4px solid var(--blue-700);
}

.question-category {
    background: var(--blue-700);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.question-card h3 {
    color: var(--blue-900);
    font-size: 1.4rem;
    line-height: 1.6;
    margin-bottom: 25px;
}

.options-container {
    display: grid;
    gap: 15px;
}

.quiz-option {
    background: white;
    border: 2px solid #e5e7eb;
    padding: 18px 20px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    text-align: left;
    position: relative;
}

.quiz-option:hover {
    background: #e0f2fe;
    border-color: var(--blue-700);
    transform: translateX(5px);
}

.quiz-option.selected {
    background: var(--blue-700);
    color: white;
    border-color: var(--blue-800);
    transform: translateX(5px);
}

.quiz-option.correct {
    background: #10b981;
    color: white;
    border-color: #059669;
}

.quiz-option.incorrect {
    background: #ef4444;
    color: white;
    border-color: #dc2626;
}

/* Question Navigation */
.question-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-btn {
    padding: 12px 25px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-btn.primary {
    background: var(--blue-700);
    color: white;
}

.nav-btn.primary:hover {
    background: var(--blue-800);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(6, 35, 61, 0.3);
}

.nav-btn.secondary {
    background: #6b7280;
    color: white;
}

.nav-btn.secondary:hover {
    background: #4b5563;
    transform: translateY(-2px);
}

.nav-btn.success {
    background: #10b981;
    color: white;
}

.nav-btn.success:hover {
    background: #059669;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.btn-icon {
    font-size: 1.1rem;
}

/* Results Section */
.results-section {
    margin-top: 50px;
}

.results-container {
    max-width: 1000px;
    margin: 0 auto;
}

/* Results Header */
.results-header {
    text-align: center;
    margin-bottom: 50px;
}

.results-celebration {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.3);
}

.celebration-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    opacity: 0.9;
}

.results-celebration h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.results-celebration p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Results Summary */
.results-summary {
    margin-bottom: 50px;
}

.summary-card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.summary-card h3 {
    color: var(--blue-900);
    font-size: 1.8rem;
    margin-bottom: 30px;
    text-align: center;
}

.performance-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
}

.metric {
    background: #f8fafc;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    border-left: 4px solid var(--blue-700);
    transition: transform 0.3s ease;
}

.metric:hover {
    transform: translateY(-3px);
}

.metric-icon {
    font-size: 2rem;
    margin-bottom: 15px;
    opacity: 0.8;
}

.metric-content {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.metric-value {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--blue-900);
}

.metric-label {
    font-size: 0.9rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Career Insights */
.career-insights {
    margin-bottom: 50px;
}

.career-insights h3 {
    color: var(--blue-900);
    font-size: 2rem;
    text-align: center;
    margin-bottom: 30px;
}

.insights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.insight-card {
    background: white;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.insight-card:hover {
    transform: translateY(-3px);
}

.insight-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    opacity: 0.8;
}

.insight-card h4 {
    color: var(--blue-900);
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.insight-card p {
    color: #64748b;
    line-height: 1.6;
}

/* Career Recommendations */
.career-recommendations {
    margin-bottom: 50px;
}

.career-recommendations h3 {
    color: var(--blue-900);
    font-size: 2rem;
    text-align: center;
    margin-bottom: 30px;
}

.recommendations-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.recommendation-item {
    background: linear-gradient(135deg, var(--blue-700), var(--blue-800));
    color: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(6, 35, 61, 0.2);
    transition: transform 0.3s ease;
}

.recommendation-item:hover {
    transform: translateY(-3px);
}

.recommendation-item h5 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.recommendation-item p {
    opacity: 0.9;
    line-height: 1.5;
    margin: 0;
}

/* Next Steps */
.next-steps {
    margin-bottom: 50px;
}

.next-steps h3 {
    color: var(--blue-900);
    font-size: 2rem;
    text-align: center;
    margin-bottom: 30px;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.step-card {
    background: white;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    text-align: center;
    position: relative;
    transition: transform 0.3s ease;
}

.step-card:hover {
    transform: translateY(-3px);
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--blue-700), var(--blue-800));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: bold;
    margin: 0 auto 20px;
}

.step-card h4 {
    color: var(--blue-900);
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.step-card p {
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

/* Results Actions */
.results-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.action-btn {
    padding: 15px 30px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 200px;
    justify-content: center;
}

.action-btn.primary {
    background: var(--blue-700);
    color: white;
}

.action-btn.primary:hover {
    background: var(--blue-800);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(6, 35, 61, 0.3);
}

.action-btn.secondary {
    background: #6b7280;
    color: white;
}

.action-btn.secondary:hover {
    background: #4b5563;
    transform: translateY(-2px);
}

.action-btn.success {
    background: #10b981;
    color: white;
}

.action-btn.success:hover {
    background: #059669;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .counselling-hero {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }

    .hero-stats {
        justify-content: center;
    }

    .grade-options {
        grid-template-columns: 1fr;
    }

    .performance-metrics {
        grid-template-columns: repeat(2, 1fr);
    }

    .insights-grid,
    .steps-grid {
        grid-template-columns: 1fr;
    }

    .recommendations-list {
        grid-template-columns: 1fr;
    }

    .question-navigation {
        flex-direction: column;
        gap: 15px;
    }

    .nav-btn {
        width: 100%;
        justify-content: center;
    }

    .results-actions {
        flex-direction: column;
        align-items: center;
    }

    .action-btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .counselling-hero {
        padding: 30px 20px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .quiz-wrapper {
        padding: 20px;
    }

    .question-card {
        padding: 20px;
    }

    .results-celebration {
        padding: 30px 20px;
    }

    .results-celebration h2 {
        font-size: 2rem;
    }

    .performance-metrics {
        grid-template-columns: 1fr;
    }
}
