/* Career Path Explorer Styles */

/* Page background */
html,
body {
    background-color: #f5f5f7 !important;
}

/* Hero Section */
.career-hero {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: none !important;
    /* ensure no gradient covers emojis */
    padding-top: 100px;
    /* Add space for navbar */
}

/* Page hero heading */
.hero-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
    color: #111827;
    margin: 0 0 8px;
    letter-spacing: -0.02em;
}

.hero-title .title-line {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 12px;
    background: linear-gradient(135deg, #ffb74d 0%, #ff7043 100%);
    color: #fff;
    box-shadow: 0 8px 24px rgba(255, 112, 67, 0.35);
}

/* subtle entrance */
@keyframes headingFadeUp {
    0% {
        opacity: 0;
        transform: translateY(14px);
    }

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

.hero-title {
    animation: headingFadeUp 600ms ease-out both;
}

/* Enhanced hero layout and heading aesthetics */
.hero-content {
    text-align: center;
    max-width: 960px;
    margin: 0 auto;
    padding: 0 16px;
}

/* Refine sizes and colors for heading */
.hero-title {
    font-size: clamp(2rem, 4.2vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    color: #0f172a;
    margin: 0;
    letter-spacing: -0.02em;
}

/* Gradient text instead of pill background */
.hero-title .title-line {
    display: inline-block;
    background: #ffff;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
}



/* Hero description refinements */
.hero-description {
    max-width: 820px;
    margin: 18px auto 0;
    color: #475569;
}

.hero-description .hero-main-text {
    font-size: 1.05rem;
    line-height: 1.6;
    margin: 0 0 6px;
}

.hero-description .hero-sub-text {
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 640px) {
    .hero-title .title-line::after {
        width: 64px;
        height: 5px;
    }

    .hero-description .hero-main-text {
        font-size: 1rem;
    }
}

.career-hero .hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    /* push behind emojis */
}

.floating-icons {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    /* above background */
}

.floating-icon {
    position: absolute;
    font-size: 2.2rem;
    /* slightly larger */
    opacity: 0.5;
    /* more visible */
    color: transparent;
    /* ensure only ::before shows */
    animation: floatIcon 6s ease-in-out infinite;
}

.floating-icon::before {
    position: absolute;
    inset: 0;
    display: block;
}

/* Add education/job growth themed emojis */
.icon-1::before {
    content: '🎓';
}

.icon-2::before {
    content: '🚀';
}

.icon-3::before {
    content: '💼';
}

.icon-4::before {
    content: '📈';
}

.icon-5::before {
    content: '🧠';
}

.icon-6::before {
    content: '🛠️';
}

.icon-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.icon-2 {
    top: 60%;
    right: 15%;
    animation-delay: 1.5s;
}

.icon-3 {
    bottom: 30%;
    left: 20%;
    animation-delay: 3s;
}

.icon-4 {
    top: 40%;
    right: 25%;
    animation-delay: 4.5s;
}

.icon-5 {
    top: 15%;
    right: 10%;
    animation-delay: 2s;
}

.icon-6 {
    bottom: 20%;
    right: 30%;
    animation-delay: 3.5s;
}

@keyframes floatIcon {

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

    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin: 20px 0;
    line-height: 1.2;
    text-align: center;
}

.hero-title .title-line {
    display: block;
    animation: slideInUp 0.8s ease-out forwards;
    opacity: 0;
    transform: translateY(30px);
}

.hero-title .title-line:nth-child(1) {
    animation-delay: 0.2s;
}

.hero-title .title-line:nth-child(2) {
    animation-delay: 0.4s;
}

.hero-description {
    font-size: 1.2rem;
    margin: 30px 0;
    opacity: 0.9;
    line-height: 1.6;
    animation: fadeInUp 1s ease-out 0.8s forwards;
    opacity: 0;
}

.quick-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
    animation: fadeInUp 1s ease-out 1s forwards;
    opacity: 0;
}

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

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    display: block;
    color: #FFD700;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-top: 5px;
}

/* Filters Section */
.filters-section {
    background: #f8f9fa;
    padding: 40px 0;
    border-bottom: 1px solid #e9ecef;
}

.filters-container {
    display: flex;
    gap: 20px;
    align-items: end;
    flex-wrap: wrap;
}

.filter-group {
    display: flex;
    flex-direction: column;
    min-width: 180px;
}

.filter-group label {
    font-weight: 600;
    margin-bottom: 8px;
    color: #495057;
    font-size: 0.9rem;
}

.filter-select {
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    background: white;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.filter-select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.apply-filters-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    height: fit-content;
}

.apply-filters-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.3);
}

/* Metrics Dashboard */
.metrics-dashboard {
    padding: 60px 0;
    background: #ffffff;
}

.metrics-section {
    margin-bottom: 60px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f8f9fa;
}

.section-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0;
}

.section-subtitle {
    color: #6c757d;
    margin: 5px 0 0 0;
    font-size: 1rem;
}

.section-controls {
    display: flex;
    gap: 10px;
}

.time-filter {
    padding: 8px 16px;
    border: 2px solid #e9ecef;
    background: white;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.time-filter.active,
.time-filter:hover {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

.view-toggle {
    display: flex;
    background: #f8f9fa;
    border-radius: 8px;
    padding: 4px;
}

.toggle-btn {
    padding: 8px 20px;
    border: none;
    background: transparent;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.toggle-btn.active {
    background: white;
    color: #667eea;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Student summary card */
.student-summary {
    background: #ffffff;
    border: 2px solid #e3e7ee;
    border-radius: 14px;
    padding: 18px 20px;
    display: grid;
    grid-template-columns: 64px 1fr 1fr;
    gap: 16px;
    align-items: center;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
    margin: 16px 0 24px;
}

.student-summary .avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #ffb74d;
    box-shadow: 0 0 0 4px rgba(255, 183, 77, 0.2);
}

.student-summary .avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.student-summary .row {
    display: flex;
    gap: 24px;
    align-items: baseline;
}

.student-summary .label {
    color: #6b7280;
    font-weight: 600;
    min-width: 70px;
}

.student-summary .value {
    color: #111827;
    font-weight: 700;
}

.student-summary .divider {
    display: none;
}

@media (max-width: 720px) {
    .student-summary {
        grid-template-columns: 56px 1fr;
        gap: 12px;
    }

    .student-summary .row {
        flex-direction: column;
        gap: 6px;
    }
}

/* Orange glow markers for specified cards */
.glow-marker {
    position: absolute;
    width: 10px;
    /* smaller size */
    height: 10px;
    /* smaller size */
    background: radial-gradient(circle, rgba(255, 165, 0, 0.95) 0%, rgba(255, 140, 0, 0.6) 40%, rgba(255, 140, 0, 0.0) 70%);
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(255, 140, 0, 0.9), 0 0 16px rgba(255, 140, 0, 0.6);
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 2;
}

.path-card,
.tech-card,
.education-card,
.specialization-card,
.role-card {
    position: relative;
    /* allow absolute marker */
}

/* Position markers slightly below the card center */
.card-has-glow .glow-marker {
    bottom: -6px;
    left: 50%;
}

/* Metrics Grid */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 30px;
}

.metric-card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #f1f3f4;
}

.metric-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.card-header h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 0;
}

.card-header i {
    font-size: 1.5rem;
    color: #667eea;
}

.chart-container {
    height: 300px;
    margin: 20px 0;
    position: relative;
}

.card-insights {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #f1f3f4;
}

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

.insight-label {
    display: block;
    font-size: 0.85rem;
    color: #6c757d;
    margin-bottom: 5px;
}

.insight-value {
    font-weight: 600;
    font-size: 1.1rem;
    color: #2c3e50;
}

.insight-value.positive {
    color: #28a745;
}

.insight-value.negative {
    color: #dc3545;
}

/* Skills Section */
.skills-container {
    position: relative;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.skills-grid.active {
    opacity: 1;
    transform: translateY(0);
}

.skill-item {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
}

.skill-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.skill-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.skill-name {
    font-weight: 600;
    color: #2c3e50;
    font-size: 1.1rem;
}

.skill-demand {
    font-size: 0.9rem;
    color: #28a745;
    font-weight: 500;
}

.skill-bar {
    height: 8px;
    background: #f1f3f4;
    border-radius: 4px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background: linear-gradient(90deg, #4CAF50, #45a049);
    border-radius: 4px;
    transition: width 1s ease;
    animation: progressFill 2s ease-out;
}

@keyframes progressFill {
    from {
        width: 0;
    }
}

/* Navigation System Styles */

/* Breadcrumb Section */
.breadcrumb-section {
    background: #f8f9fa;
    padding: 20px 0;
    border-bottom: 1px solid #e9ecef;
}

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

.breadcrumb-item {
    color: #6c757d;
    transition: color 0.3s ease;
}

.breadcrumb-item.active {
    color: #667eea;
    font-weight: 600;
}

.breadcrumb-separator {
    color: #adb5bd;
    font-size: 0.8rem;
}

/* Navigation Dashboard */
.navigation-dashboard {
    padding: 60px 0;
    background: #ffffff;
    min-height: 70vh;
}

.navigation-level {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.5s ease;
}

.navigation-level.hidden {
    display: none;
}

.level-header {
    text-align: center;
    margin-bottom: 50px;
}

.level-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
}

.level-subtitle {
    font-size: 1.1rem;
    color: #6c757d;
    margin: 0;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    color: #495057;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-bottom: 30px;
    cursor: pointer;
}

.back-btn:hover {
    background: #667eea;
    color: white;
    border-color: #667eea;
    transform: translateX(-5px);
}

/* Course Grid */
.course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.course-card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.course-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.1), transparent);
    transition: left 0.5s ease;
}

.course-card:hover::before {
    left: 100%;
}

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.2);
    border-color: #667eea;
}

.course-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: transform 0.3s ease;
}

.course-card:hover .course-icon {
    transform: scale(1.1) rotate(5deg);
}

.course-icon i {
    font-size: 2rem;
    color: white;
}

.course-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 10px 0;
}

.course-card p {
    color: #6c757d;
    margin: 0 0 20px 0;
    font-size: 0.95rem;
}

.course-stats {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.course-stats .stat {
    background: #f8f9fa;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    color: #495057;
    font-weight: 500;
}

/* Stream Grid */
.stream-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.stream-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.stream-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    border-color: #667eea;
}

.stream-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #4CAF50, #45a049);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.stream-icon i {
    font-size: 1.5rem;
    color: white;
}

.stream-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 0 0 15px 0;
}

.stream-stats .stat {
    background: #e8f5e8;
    color: #2e7d32;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Industry Grid */
.industry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.industry-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.industry-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    border-color: #FF6B6B;
}

.industry-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #FF6B6B, #ee5a52);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.industry-icon i {
    font-size: 1.5rem;
    color: white;
}

.industry-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 0 0 10px 0;
}

.industry-card p {
    color: #6c757d;
    margin: 0 0 15px 0;
    font-size: 0.9rem;
}

.industry-stats .stat {
    background: #fff5f5;
    color: #c53030;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Roadmap Styles */
.roadmap-container {
    max-width: 1000px;
    margin: 0 auto;
}

.roadmap-placeholder {
    text-align: center;
    padding: 60px 20px;
    background: #f8f9fa;
    border-radius: 12px;
}

.roadmap-placeholder h3 {
    color: #495057;
    margin-bottom: 15px;
}

.roadmap-placeholder p {
    color: #6c757d;
}

.roadmap-header {
    display: flex;
    align-items: center;
    gap: 25px;
    background: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.roadmap-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.roadmap-icon i {
    font-size: 2rem;
    color: white;
}

.roadmap-info h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 10px 0;
}

.roadmap-info p {
    color: #6c757d;
    margin: 0 0 15px 0;
    font-size: 1.1rem;
}

.salary-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.salary-label {
    color: #495057;
    font-weight: 500;
}

.salary-value {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 600;
}

.roadmap-content {
    display: grid;
    gap: 30px;
}

.roadmap-section {
    background: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.roadmap-section h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.3rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 0 0 25px 0;
    padding-bottom: 15px;
    border-bottom: 2px solid #f1f3f4;
}

.roadmap-section h4 i {
    color: #667eea;
}

/* Skills Categories */
.skills-categories {
    display: grid;
    gap: 20px;
}

.skill-category h5 {
    font-size: 1rem;
    font-weight: 600;
    color: #495057;
    margin: 0 0 10px 0;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.skill-tag {
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
    color: #1565c0;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid #90caf9;
}

/* Certification List */
.certification-list {
    display: grid;
    gap: 15px;
}

.certification-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #667eea;
}

.certification-item i {
    color: #667eea;
    font-size: 1.2rem;
}

.certification-item span {
    font-weight: 500;
    color: #2c3e50;
}

/* Career Path */
.career-path {
    display: grid;
    gap: 20px;
}

.career-step {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    position: relative;
}

.career-step::before {
    content: '';
    position: absolute;
    left: 35px;
    top: 60px;
    width: 2px;
    height: 40px;
    background: #e9ecef;
}

.career-step:last-child::before {
    display: none;
}

.step-number {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    flex-shrink: 0;
}

.role-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
}

/* Responsive Design */
@media (max-width: 768px) {

    .course-grid,
    .stream-grid,
    .industry-grid {
        grid-template-columns: 1fr;
    }

    .roadmap-header {
        flex-direction: column;
        text-align: center;
    }

    .level-header h2 {
        font-size: 2rem;
    }

    .breadcrumb-nav {
        flex-wrap: wrap;
    }
}

/* Additional Enhancements */

/* Loading Animation */
.loading-spinner {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Enhanced Roadmap Sections */
.roadmap-section {
    position: relative;
    overflow: hidden;
}

.roadmap-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.05), transparent);
    transition: left 0.6s ease;
}

.roadmap-section:hover::before {
    left: 100%;
}

/* Skill Tags Animation */
.skill-tag {
    transition: all 0.3s ease;
    cursor: pointer;
}

.skill-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}

/* Certification Items Enhancement */
.certification-item {
    transition: all 0.3s ease;
    cursor: pointer;
}

.certification-item:hover {
    background: #667eea;
    color: white;
    transform: translateX(10px);
}

.certification-item:hover i {
    color: #ffd700;
    transform: scale(1.2);
}

/* Career Step Enhancement */
.career-step {
    transition: all 0.3s ease;
    cursor: pointer;
}

.career-step:hover {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    transform: translateX(10px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.career-step:hover .step-number {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

/* Progress Indicators */
.progress-indicator {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 30px 0;
}

.progress-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #e9ecef;
    transition: all 0.3s ease;
}

.progress-dot.active {
    background: #667eea;
    transform: scale(1.3);
}

.progress-dot.completed {
    background: #4CAF50;
}

/* Floating Action Button */
.floating-action {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1000;
}

.floating-action:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.4);
}

/* Tooltip */
.tooltip {
    position: relative;
    display: inline-block;
}

.tooltip .tooltiptext {
    visibility: hidden;
    width: 200px;
    background-color: #2c3e50;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 8px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -100px;
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 0.85rem;
}

.tooltip .tooltiptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #2c3e50 transparent transparent transparent;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

/* Success Message */
.success-message {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
    padding: 15px 25px;
    border-radius: 8px;
    margin: 20px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: slideInFromTop 0.5s ease;
}

@keyframes slideInFromTop {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }

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

/* Enhanced Card Hover Effects */
.course-card,
.stream-card,
.industry-card {
    position: relative;
    overflow: hidden;
}

.course-card::after,
.stream-card::after,
.industry-card::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.1) 0%, transparent 70%);
    transition: all 0.6s ease;
    transform: translate(-50%, -50%);
    border-radius: 50%;
}

.course-card:hover::after,
.stream-card:hover::after,
.industry-card:hover::after {
    width: 300px;
    height: 300px;
}

/* Responsive Enhancements */
@media (max-width: 480px) {
    .floating-action {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .tooltip .tooltiptext {
        width: 150px;
        margin-left: -75px;
    }

    .roadmap-header {
        padding: 20px;
    }

    .roadmap-section {
        padding: 20px;
    }
}

/* Print Styles */
@media print {

    .floating-action,
    .back-btn,
    .breadcrumb-section {
        display: none;
    }

    .roadmap-section {
        break-inside: avoid;
        page-break-inside: avoid;
    }
}

/* End of Navigation System Styles */

.industry-card {
    background: white;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.industry-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.tech-card {
    border-left-color: #667eea;
}

.finance-card {
    border-left-color: #4CAF50;
}

.healthcare-card {
    border-left-color: #FF6B6B;
}

.education-card {
    border-left-color: #FFA500;
}

.industry-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.5rem;
    color: white;
}

.tech-card .industry-icon {
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.finance-card .industry-icon {
    background: linear-gradient(135deg, #4CAF50, #45a049);
}

.healthcare-card .industry-icon {
    background: linear-gradient(135deg, #FF6B6B, #FF8E53);
}

.education-card .industry-icon {
    background: linear-gradient(135deg, #FFA500, #FFD700);
}

.industry-info h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 0 0 20px 0;
}

.industry-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.stat {
    text-align: center;
}

.stat-label {
    display: block;
    font-size: 0.8rem;
    color: #6c757d;
    margin-bottom: 5px;
}

.stat-value {
    font-weight: 600;
    font-size: 1.1rem;
    color: #2c3e50;
}

.top-skills {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.skill-tag {
    background: #f8f9fa;
    color: #495057;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid #e9ecef;
}

/* Location Analysis */
.location-analysis {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: start;
}

.map-container {
    position: relative;
    height: 400px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 16px;
    overflow: hidden;
}

.location-marker {
    position: absolute;
    cursor: pointer;
    transition: all 0.3s ease;
}

.location-marker:hover {
    transform: scale(1.1);
}

.marker-dot {
    width: 20px;
    height: 20px;
    background: #667eea;
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(102, 126, 234, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(102, 126, 234, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(102, 126, 234, 0);
    }
}

.marker-info {
    position: absolute;
    top: -80px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    padding: 12px 16px;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.location-marker:hover .marker-info {
    opacity: 1;
    pointer-events: auto;
}

.marker-info h4 {
    margin: 0 0 5px 0;
    font-size: 0.9rem;
    color: #2c3e50;
}

.marker-info p {
    margin: 2px 0;
    font-size: 0.8rem;
    color: #6c757d;
}

/* Position markers */
.bangalore {
    top: 60%;
    left: 65%;
}

.mumbai {
    top: 45%;
    left: 45%;
}

.delhi {
    top: 25%;
    left: 55%;
}

.hyderabad {
    top: 55%;
    left: 60%;
}

.pune {
    top: 50%;
    left: 50%;
}

.location-stats h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 20px;
}

.ranking-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ranking-item {
    display: grid;
    grid-template-columns: 30px 1fr auto auto;
    gap: 15px;
    align-items: center;
    padding: 15px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.ranking-item:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.rank {
    width: 25px;
    height: 25px;
    background: #667eea;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
}

.city {
    font-weight: 600;
    color: #2c3e50;
}

.jobs {
    color: #6c757d;
    font-size: 0.9rem;
}

.growth {
    font-weight: 600;
    font-size: 0.9rem;
}

/* Career Paths */
.career-paths {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
}

.path-card {
    background: white;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.path-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.path-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.hot-path .path-badge {
    background: linear-gradient(135deg, #FF6B6B, #FF8E53);
    color: white;
}

.trending-path .path-badge {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
}

.stable-path .path-badge {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}

.path-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.5rem;
    color: white;
}

.hot-path .path-icon {
    background: linear-gradient(135deg, #FF6B6B, #FF8E53);
}

.trending-path .path-icon {
    background: linear-gradient(135deg, #4CAF50, #45a049);
}

.stable-path .path-icon {
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.path-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 0 0 20px 0;
}

.path-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

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

.required-skills {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.explore-path-btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.explore-path-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

/* CTA Section */
.metrics-cta {
    background: linear-gradient(135deg, #2c3e50, #34495e);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-primary:hover,
.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Animations */
@keyframes slideInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Responsive Design */
@media (max-width: 1200px) {
    .metrics-grid {
        grid-template-columns: 1fr;
    }

    .location-analysis {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .filters-container {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .metrics-title {
        font-size: 2.5rem;
    }

    .quick-stats {
        flex-direction: column;
        gap: 20px;
    }

    .filters-container {
        flex-direction: column;
        align-items: stretch;
    }

    .filter-group {
        min-width: auto;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .industry-stats {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .career-paths {
        grid-template-columns: 1fr;
    }

    .cta-actions {
        flex-direction: column;
        align-items: center;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .metrics-hero-content {
        padding: 0 15px;
    }

    .metrics-title {
        font-size: 2rem;
    }

    .metric-card {
        padding: 20px;
    }

    .chart-container {
        height: 250px;
    }

    .map-container {
        height: 300px;
    }
}

/* New Career Explorer Styles */

/* Breadcrumb Section */
.breadcrumb-section {
    background: #f8f9fa;
    padding: 20px 0;
    border-bottom: 1px solid #e9ecef;
}

.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.breadcrumb-item {
    color: #6c757d;
    transition: color 0.3s ease;
}

.breadcrumb-item.active {
    color: #495057;
    font-weight: 600;
}

.breadcrumb-nav i {
    color: #adb5bd;
    font-size: 0.8rem;
}

.progress-indicator {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.progress-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #dee2e6;
    transition: all 0.3s ease;
    cursor: pointer;
}

.progress-dot.active {
    background: #667eea;
    transform: scale(1.2);
}

/* Career Explorer Main Section */
.career-explorer {
    padding: 60px 0;
    background: #ffffff;
}

.explorer-step {
    display: none;
    animation: fadeInUp 0.6s ease-out;
}

.explorer-step.active {
    display: block;
}

.step-header {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.step-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
}

.step-subtitle {
    font-size: 1.1rem;
    color: #6c757d;
    max-width: 600px;
    margin: 0 auto;
}

.back-btn {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    color: #495057;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
}

.back-btn:hover {
    background: #e9ecef;
    color: #212529;
    transform: translateY(-50%) translateX(-5px);
}

/* Path Options (Step 1) */
.path-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.path-card {
    background: white;
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.path-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: #667eea;
}

.path-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 2rem;
}

.path-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
}

.path-card p {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 20px;
}

.path-stats {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.path-stats .stat {
    background: #f8f9fa;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #495057;
}

/* Industry Grid (Step 2) */
.industry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.industry-card {
    background: white;
    border-radius: 12px;
    padding: 30px 25px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.industry-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
    border-color: #667eea;
}

.industry-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #4CAF50, #45a049);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    color: white;
    font-size: 1.5rem;
}

.industry-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 10px;
}

.industry-card p {
    color: #6c757d;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Technology Options (Step 3) */
.tech-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.tech-card {
    background: white;
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.tech-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: #667eea;
}

.tech-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #FF9800, #F57C00);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 1.8rem;
}

.tech-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
}

.tech-card p {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 20px;
}

.tech-stats {
    display: flex;
    justify-content: center;
}

.tech-stats .stat {
    background: #f8f9fa;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #495057;
}

/* Education Grid (Step 4) */
.education-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.education-card {
    background: white;
    border-radius: 12px;
    padding: 30px 25px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.education-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
    border-color: #667eea;
}

.education-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #2196F3, #1976D2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    color: white;
    font-size: 1.5rem;
}

.education-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 10px;
}

.education-card p {
    color: #6c757d;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Specialization Grid (Step 5) */
.specialization-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    max-width: 1000px;
    margin: 0 auto;
}

.specialization-card {
    background: white;
    border-radius: 12px;
    padding: 30px 25px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.specialization-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
    border-color: #667eea;
}

.specialization-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #9C27B0, #7B1FA2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    color: white;
    font-size: 1.5rem;
}

.specialization-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 10px;
}

.specialization-card p {
    color: #6c757d;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Roles Grid (Step 6) */
.roles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.role-card {
    background: white;
    border-radius: 12px;
    padding: 30px 25px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.role-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
    border-color: #667eea;
}

.role-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #E91E63, #C2185B);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    color: white;
    font-size: 1.5rem;
}

.role-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 10px;
}

.role-card p {
    color: #6c757d;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 15px;
}

.role-stats {
    display: flex;
    justify-content: center;
}

.salary {
    background: #e8f5e8;
    color: #2e7d32;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Role Details (Step 7) */
.role-details {
    max-width: 1200px;
    margin: 0 auto;
}

.role-overview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 50px;
}

.overview-card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.overview-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
    border-bottom: 2px solid #f8f9fa;
    padding-bottom: 10px;
}

.overview-card h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #495057;
    margin: 20px 0 10px 0;
}

.overview-card ul {
    list-style: none;
    padding: 0;
}

.overview-card li {
    padding: 8px 0;
    border-bottom: 1px solid #f8f9fa;
    position: relative;
    padding-left: 20px;
}

.overview-card li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #4CAF50;
    font-weight: bold;
}

.skills-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.skills-card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.skills-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
    border-bottom: 2px solid #f8f9fa;
    padding-bottom: 10px;
}

.skills-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.skill-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    background: #f8f9fa;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.skill-item:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

.skill-name {
    font-weight: 500;
    color: #495057;
}

.skill-level {
    font-size: 0.85rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 12px;
    text-transform: uppercase;
}

.skill-level:contains("Essential") {
    background: #ffebee;
    color: #c62828;
}

.skill-item .skill-level {
    background: #e3f2fd;
    color: #1565c0;
}

.roadmap-section {
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-top: 30px;
}

.roadmap-section h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 30px;
    text-align: center;
}

.roadmap-chart {
    display: none;
    /* replaced by gantt */
}

.gantt-container {
    width: 100%;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 30px;
}

.gantt-header,
.gantt-row {
    display: grid;
    grid-template-columns: 2fr repeat(6, 1fr);
    align-items: center;
    position: relative;
}

/* slot cells keep the grid lines/light background */
.gantt-slot {
    background: transparent;
}

/* merged span styling */
.gantt-span {
    height: 28px;
    margin: 4px 6px;
    border-radius: 8px;
    background: var(--bar, linear-gradient(90deg, #667eea, #764ba2));
    border: 2px solid var(--barEdge, rgba(102, 126, 234, 0.6));
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
    z-index: 2;
    /* ensure spans are above slot cells for hover */
}

/* hover ring + tooltip compatibility */
.gantt-span:hover {
    filter: brightness(1.03) saturate(1.1);
}

.gantt-header {
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
    font-weight: 600;
}

.gantt-rows .gantt-row:nth-child(odd) {
    background: #ffffff;
}

.gantt-rows .gantt-row:nth-child(even) {
    background: #fcfcfc;
}

.gantt-cell {
    padding: 10px 12px;
    border-right: 1px solid #f1f3f4;
}

.gantt-row .gantt-cell:last-child,
.gantt-header .gantt-cell:last-child {
    border-right: none;
}

.gantt-skill-col {
    font-weight: 500;
    color: #2c3e50;
}

.gantt-row .gantt-cell.active {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.25), rgba(118, 75, 162, 0.25));
    position: relative;
}

.gantt-row .gantt-cell.active:after {
    content: '';
    position: absolute;
    inset: 4px;
    border-radius: 6px;
    border: 2px solid rgba(102, 126, 234, 0.6);
}

/* Tooltip */
.gantt-tooltip {
    position: absolute;
    display: none;
    pointer-events: none;
    background: rgba(0, 0, 0, 0.85);
    color: #fff;
    padding: 8px 10px;
    border-radius: 6px;
    font-size: 12px;
    z-index: 9999;
    max-width: 260px;
    line-height: 1.4;
}

.plan-context {
    margin: 0 0 8px;
    color: #495057;
}

.roadmap-timeline {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.timeline-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.timeline-marker {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    flex-shrink: 0;
}

.timeline-content {
    flex: 1;
    background: #f8f9fa;
    padding: 20px;
    border-radius: 12px;
}

.timeline-content h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 15px;
}

.timeline-content ul {
    list-style: none;
    padding: 0;
}

.timeline-content li {
    padding: 5px 0;
    position: relative;
    padding-left: 20px;
    color: #495057;
}

.timeline-content li:before {
    content: '•';
    position: absolute;
    left: 0;
    color: #667eea;
    font-weight: bold;
}

/* CTA Section */
.career-cta {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 80px 0;
    text-align: center;
    color: white;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-primary {
    background: white;
    color: #667eea;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.3);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #667eea;
    transform: translateY(-3px);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

/* Responsive Design for New Components */
@media (max-width: 768px) {
    .step-header h2 {
        font-size: 2rem;
    }

    .back-btn {
        position: static;
        transform: none;
        margin-bottom: 20px;
        align-self: flex-start;
    }

    .path-options,
    .industry-grid,
    .tech-options,
    .education-grid,
    .specialization-grid,
    .roles-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }

    .role-overview,
    .skills-section {
        grid-template-columns: 1fr;
    }

    .timeline-item {
        flex-direction: column;
        text-align: center;
    }

    .cta-actions {
        flex-direction: column;
        align-items: center;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .path-card,
    .tech-card {
        padding: 30px 20px;
    }

    .roadmap-chart {
        height: 300px;
    }
}

/* Enhanced Hero Section Styles */

.hero-badge .badge-text {
    background: linear-gradient(45deg, #FFD700, #FFA500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.hero-title .title-line:nth-child(3) {
    animation-delay: 0.8s;
    font-size: 0.8em;
    opacity: 0.9;
}

.hero-main-text {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.95);
}

.hero-sub-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 30px;
}

.highlight {
    background: linear-gradient(45deg, #FFD700, #FFA500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 30px 0 20px 0;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.1);
    padding: 15px 20px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
}

.feature-icon {
    font-size: 1.5rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.feature-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.feature-text strong {
    color: white;
    font-size: 0.95rem;
}

.feature-text span {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
}

.hero-cta {
    text-align: center;
    margin: 25px 0 30px 0;
}

.cta-primary {
    position: relative;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #2c3e50;
    border: none;
    padding: 20px 40px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
    overflow: hidden;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    min-width: 280px;
}

.cta-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(255, 215, 0, 0.4);
}

.cta-primary:active {
    transform: translateY(-2px);
}

.cta-text {
    font-size: 1.1rem;
    font-weight: 700;
}

.cta-subtext {
    font-size: 0.85rem;
    font-weight: 500;
    opacity: 0.8;
}

.cta-arrow {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.cta-primary:hover .cta-arrow {
    transform: translateY(-50%) translateX(5px);
}

.hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

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

.stat-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: #FFD700;
    display: block;
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 5px;
}

.stat-divider {
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.2rem;
}

.hero-testimonial {
    margin-top: 30px;
    display: flex;
    justify-content: center;
}

.testimonial-content {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 25px 30px;
    max-width: 600px;
    text-align: left;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    font-size: 2rem;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.author-info {
    flex: 1;
}

.author-name {
    font-weight: 600;
    color: white;
    font-size: 1rem;
}

.author-title {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 2px;
}

/* Responsive Design for Enhanced Hero */
@media (max-width: 768px) {
    .career-hero {
        padding-top: 80px;
        /* Adjust for mobile navbar */
        min-height: 70vh;
    }

    .hero-features {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .feature-item {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .hero-stats {
        flex-direction: column;
        gap: 15px;
    }

    .stat-divider {
        display: none;
    }

    .cta-primary {
        min-width: 250px;
        padding: 18px 35px;
    }

    .hero-main-text {
        font-size: 1.1rem;
    }

    .hero-sub-text {
        font-size: 1rem;
    }

    .testimonial-content {
        margin: 0 20px;
        padding: 20px 25px;
    }

    /* Explorer: stack grids on tablets/phones */
    .step-header h2 { font-size: 1.6rem; }
    .step-subtitle { font-size: 0.95rem; }
    .path-options,
    .industry-grid,
    .education-grid,
    .specialization-grid,
    .roles-grid,
    .tech-options { grid-template-columns: 1fr; gap: 16px; }
    .path-card,
    .industry-card,
    .education-card,
    .specialization-card,
    .role-card,
    .tech-card { padding: 20px; }
    .role-overview,
    .skills-section { grid-template-columns: 1fr; }
    .section-header h2 { font-size: 1.5rem; }
    .progress-indicator { gap: 10px; }
    .progress-dot { width: 10px; height: 10px; }

    /* Gantt: enable horizontal scroll */
    .gantt-container { overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .gantt-header,
    .gantt-row { min-width: 680px; }
}

@media (max-width: 480px) {
    .career-hero {
        padding-top: 70px;
        /* Further adjust for small mobile screens */
        min-height: 80vh;
    }

    .hero-title .title-line {
        font-size: 2rem;
    }

    .hero-title .title-line:nth-child(3) {
        font-size: 1.6rem;
    }

    .feature-item {
        padding: 12px 15px;
    }

    .cta-primary {
        min-width: 220px;
        padding: 16px 30px;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .centered-text {
        text-align: center;
    }

    /* Tighter on small phones */
    .step-header { margin-bottom: 30px; }
    .step-header h2 { font-size: 1.35rem; }
    .back-btn { position: static; transform: none; margin-bottom: 10px; }
    .breadcrumb-section { padding: 12px 0; }
    .path-card h3,
    .industry-card h3,
    .education-card h3,
    .specialization-card h3,
    .role-card h3 { font-size: 1.1rem; }
    .overview-card,
    .skills-card { padding: 20px; }
    .roadmap-section { padding: 20px; }
    .gantt-header,
    .gantt-row { min-width: 560px; }
}