/* ==========================================================================
   CAREER TARGET PAGE STYLES - CHALTAKHALI R.G.B.C. INSTITUTION
   ========================================================================== */

:root {
    --ct-primary: #0f172a;
    --ct-primary-light: #1e293b;
    --ct-accent: #f59e0b;
    --ct-accent-light: #fef3c7;
    
    /* Stream Color Schemes */
    --ct-sci-base: #1e40af;
    --ct-sci-gradient: linear-gradient(135deg, #0f275e 0%, #1d4ed8 50%, #0284c7 100%);
    --ct-sci-bg: #eff6ff;
    --ct-sci-border: #bfdbfe;
    --ct-sci-text: #1d4ed8;

    --ct-com-base: #065f46;
    --ct-com-gradient: linear-gradient(135deg, #064e3b 0%, #059669 50%, #10b981 100%);
    --ct-com-bg: #ecfdf5;
    --ct-com-border: #a7f3d0;
    --ct-com-text: #059669;

    --ct-art-base: #5b21b6;
    --ct-art-gradient: linear-gradient(135deg, #3b0764 0%, #7c3aed 50%, #a855f7 100%);
    --ct-art-bg: #faf5ff;
    --ct-art-border: #ddd6fe;
    --ct-art-text: #7c3aed;

    --ct-voc-base: #991b1b;
    --ct-voc-gradient: linear-gradient(135deg, #7f1d1d 0%, #dc2626 50%, #f97316 100%);
    --ct-voc-bg: #fef2f2;
    --ct-voc-border: #fecaca;
    --ct-voc-text: #dc2626;
}

/* Typography & Global */
.career-target-body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: #1e293b;
    background-color: #f8fafc;
}

.bn-text {
    font-family: 'Noto Sans Bengali', sans-serif;
}

/* Hero Banner */
.target-hero-banner {
    background: radial-gradient(circle at 85% 20%, rgba(245, 158, 11, 0.18) 0%, transparent 45%),
                linear-gradient(135deg, #091a3c 0%, #0e275d 40%, #034c76 100%);
    color: #ffffff;
    position: relative;
    overflow: hidden;
    padding: 4.5rem 0 4rem 0;
    border-bottom: 4px solid var(--ct-accent);
}

.target-hero-banner::after {
    content: '';
    position: absolute;
    bottom: -60px;
    right: -60px;
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.22) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
}

.target-hero-badge {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fef08a;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 0.4rem 1.1rem;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    backdrop-filter: blur(8px);
}

/* Choose Career Pulse Button */
.choose-career-btn {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
    color: #0f172a !important;
    border: 2px solid #fbbf24 !important;
    box-shadow: 0 10px 25px rgba(245, 158, 11, 0.45) !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    font-size: 1.05rem !important;
    letter-spacing: 0.3px;
    text-decoration: none !important;
}

.choose-career-btn:hover {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%) !important;
    color: #000000 !important;
    transform: translateY(-4px) scale(1.03) !important;
    box-shadow: 0 16px 36px rgba(245, 158, 11, 0.6) !important;
    border-color: #fef08a !important;
}

.pulse-btn {
    animation: pulse-gold-border 2.5s infinite;
}

@keyframes pulse-gold-border {
    0% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.7); }
    70% { box-shadow: 0 0 0 16px rgba(245, 158, 11, 0); }
    100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); }
}

/* Sub-Nav Pills */
.career-subnav-pills .nav-link {
    border-radius: 50rem;
    padding: 0.5rem 1.25rem;
    font-weight: 700;
    font-size: 0.88rem;
    color: #475569;
    transition: all 0.25s ease;
    text-decoration: none;
}

.career-subnav-pills .nav-link:hover {
    background-color: #f1f5f9;
    color: #0f172a;
}

.career-subnav-pills .nav-link.active {
    background-color: #0f172a;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.2);
}

/* Stream Filter Nav */
.stream-filter-container {
    background: #ffffff;
    border-radius: 50rem;
    padding: 0.35rem;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
    border: 1px solid #e2e8f0;
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0.3rem;
}

.stream-filter-btn {
    border: 1px solid transparent;
    background: transparent;
    color: #475569;
    font-weight: 600;
    font-size: 0.84rem;
    padding: 0.45rem 1.15rem;
    border-radius: 50rem;
    transition: all 0.25s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    cursor: pointer;
}

.stream-filter-btn:hover {
    background: #f1f5f9;
    color: #0f172a;
}

.stream-filter-btn.active {
    background: #0f172a;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.2);
}

/* Interactive Career Search & Match Bar */
.career-search-box {
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    padding: 0.6rem 1.2rem;
    box-shadow: 0 4px 15px rgba(15, 23, 42, 0.05);
    transition: all 0.3s ease;
}

.career-search-box:focus-within {
    border-color: #2563eb;
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.12);
}

.career-search-input {
    border: none;
    outline: none;
    width: 100%;
    font-size: 0.95rem;
    font-weight: 500;
    color: #1e293b;
    background: transparent;
}

.quick-filter-chip {
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 50rem;
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
    cursor: pointer;
    transition: all 0.2s ease;
}

.quick-filter-chip:hover, .quick-filter-chip.active {
    background: #0f172a;
    color: #ffffff;
    border-color: #0f172a;
}

/* ==========================================================================
   STREAM BREAKDOWN CARDS - STATE OF THE ART DESIGN
   ========================================================================== */

.stream-card-wrapper {
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
    height: 100%;
}

.stream-card {
    border-radius: 24px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.stream-card-wrapper:hover .stream-card {
    transform: translateY(-8px);
    box-shadow: 0 24px 45px rgba(15, 23, 42, 0.12) !important;
}

/* Card Header Accent Ribbons */
.stream-header-ribbon {
    padding: 1.5rem 1.75rem 1.25rem 1.75rem;
    position: relative;
    overflow: hidden;
    color: #ffffff;
}

.stream-header-ribbon::after {
    content: '';
    position: absolute;
    right: -25px;
    bottom: -35px;
    width: 140px;
    height: 140px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
}

.stream-header-icon-box {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.stream-class-tag {
    font-size: 0.73rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.25rem 0.8rem;
    border-radius: 50px;
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
}

/* Stream Themes */
.theme-science .stream-header-ribbon { background: var(--ct-sci-gradient); }
.theme-science .stream-card { border-top: 4px solid var(--ct-sci-base); }
.theme-science:hover .stream-card { border-color: var(--ct-sci-border); }

.theme-commerce .stream-header-ribbon { background: var(--ct-com-gradient); }
.theme-commerce .stream-card { border-top: 4px solid var(--ct-com-base); }
.theme-commerce:hover .stream-card { border-color: var(--ct-com-border); }

.theme-arts .stream-header-ribbon { background: var(--ct-art-gradient); }
.theme-arts .stream-card { border-top: 4px solid var(--ct-art-base); }
.theme-arts:hover .stream-card { border-color: var(--ct-art-border); }

.theme-vocational .stream-header-ribbon { background: var(--ct-voc-gradient); }
.theme-vocational .stream-card { border-top: 4px solid var(--ct-voc-base); }
.theme-vocational:hover .stream-card { border-color: var(--ct-voc-border); }

/* Quick Metrics Bar inside Card */
.stream-metrics-bar {
    background: #f8fafc;
    border-top: 1px solid #f1f5f9;
    border-bottom: 1px solid #e2e8f0;
    padding: 0.75rem 1.75rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
}

.metric-item {
    text-align: center;
}

.metric-item .metric-label {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    font-weight: 700;
    color: #64748b;
    letter-spacing: 0.3px;
}

.metric-item .metric-value {
    font-size: 0.8rem;
    font-weight: 800;
    color: #0f172a;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
}

/* Card Body Content */
.stream-card-body {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.section-subheading {
    font-size: 0.77rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #475569;
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 0.5rem;
}

/* Category Pill Badges */
.pill-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-bottom: 1.25rem;
}

.career-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.32rem 0.75rem;
    border-radius: 8px;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #334155;
    cursor: default;
}

.career-pill:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.08);
}

/* Subject combinations pills */
.pill-subject {
    background: #f8fafc;
    border-color: #e2e8f0;
    color: #1e293b;
}
.pill-subject:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

/* Degree pathways pills */
.pill-degree {
    background: #ffffff;
    font-weight: 600;
}
.theme-science .pill-degree { border-color: #dbeafe; color: #1e40af; }
.theme-science .pill-degree:hover { background: #eff6ff; }
.theme-commerce .pill-degree { border-color: #d1fae5; color: #065f46; }
.theme-commerce .pill-degree:hover { background: #ecfdf5; }
.theme-arts .pill-degree { border-color: #ede9fe; color: #5b21b6; }
.theme-arts .pill-degree:hover { background: #faf5ff; }
.theme-vocational .pill-degree { border-color: #fee2e2; color: #991b1b; }
.theme-vocational .pill-degree:hover { background: #fef2f2; }

/* Entrance exam highlighted badges */
.pill-exam {
    font-weight: 700;
    border-radius: 50rem;
    padding: 0.32rem 0.85rem;
}
.theme-science .pill-exam { background: #eff6ff; border-color: #93c5fd; color: #1d4ed8; }
.theme-commerce .pill-exam { background: #ecfdf5; border-color: #6ee7b7; color: #047857; }
.theme-arts .pill-exam { background: #faf5ff; border-color: #c4b5fd; color: #6d28d9; }
.theme-vocational .pill-exam { background: #fef2f2; border-color: #fca5a5; color: #b91c1c; }

/* Highlighted search match */
.career-pill.highlight-match {
    animation: pulse-search-match 1.2s infinite alternate;
    border-width: 2px !important;
}

@keyframes pulse-search-match {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.4); }
    100% { transform: scale(1.05); box-shadow: 0 0 10px 4px rgba(245, 158, 11, 0.5); }
}

/* Top Roles Chips */
.roles-chip-container {
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 12px;
    padding: 0.75rem 1rem;
    margin-bottom: 1.5rem;
}

.role-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.78rem;
    font-weight: 700;
    color: #0f172a;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 0.22rem 0.65rem;
    border-radius: 6px;
    margin: 0.15rem;
}

/* Action Button at bottom of card */
.stream-cta-btn {
    border-radius: 50rem;
    font-weight: 800;
    font-size: 0.92rem;
    padding: 0.75rem 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    color: #ffffff !important;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.stream-cta-btn i.fa-arrow-right {
    transition: transform 0.25s ease;
}

.stream-cta-btn:hover i.fa-arrow-right {
    transform: translateX(4px);
}

.theme-science .stream-cta-btn {
    background: var(--ct-sci-gradient);
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.3);
}
.theme-science .stream-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.45);
}

.theme-commerce .stream-cta-btn {
    background: var(--ct-com-gradient);
    box-shadow: 0 6px 18px rgba(5, 150, 105, 0.3);
}
.theme-commerce .stream-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(5, 150, 105, 0.45);
}

.theme-arts .stream-cta-btn {
    background: var(--ct-art-gradient);
    box-shadow: 0 6px 18px rgba(124, 58, 237, 0.3);
}
.theme-arts .stream-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(124, 58, 237, 0.45);
}

.theme-vocational .stream-cta-btn {
    background: var(--ct-voc-gradient);
    box-shadow: 0 6px 18px rgba(220, 38, 38, 0.3);
}
.theme-vocational .stream-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(220, 38, 38, 0.45);
}

/* ==========================================================================
   INTERACTIVE CAREER COMPASS MINI-QUIZ (Self-Discovery Tool)
   ========================================================================== */
.career-quiz-card {
    background: linear-gradient(135deg, #091a3c 0%, #1e3a8a 60%, #0284c7 100%);
    border-radius: 24px;
    color: #ffffff;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.12);
}

.career-quiz-card::after {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.2) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
}

.quiz-option-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    border-radius: 14px;
    padding: 0.9rem 1.25rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.88rem;
    width: 100%;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.quiz-option-btn:hover, .quiz-option-btn.selected {
    background: #ffffff;
    color: #0f172a;
    border-color: #ffffff;
    transform: translateX(4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.quiz-badge {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.85rem;
}

.quiz-option-btn:hover .quiz-badge, .quiz-option-btn.selected .quiz-badge {
    background: #0f172a;
    color: #ffffff;
}

/* Floating Choose Career Button */
.floating-career-btn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 1040;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #0f172a;
    font-weight: 800;
    font-size: 0.95rem;
    padding: 0.85rem 1.6rem;
    border-radius: 50rem;
    box-shadow: 0 10px 25px rgba(245, 158, 11, 0.45);
    display: flex;
    align-items: center;
    gap: 0.65rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border: 2px solid #ffffff;
}

.floating-career-btn:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 16px 32px rgba(245, 158, 11, 0.6);
    color: #000000;
}

/* Journey Step Indicator */
.step-circle {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.25rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .stream-metrics-bar {
        padding: 0.6rem 1rem;
    }
}

@media (max-width: 768px) {
    .floating-career-btn span.btn-label-text {
        display: none;
    }
    .floating-career-btn {
        padding: 0.85rem;
        border-radius: 50%;
        width: 54px;
        height: 54px;
        justify-content: center;
    }
    .stream-header-ribbon {
        padding: 1.25rem;
    }
    .stream-card-body {
        padding: 1.25rem;
    }
}
