/* ========================================
   CAREER NAVIGATOR PAGE - CUSTOM CSS
   No Bootstrap - Pure CSS with Animations
   ENHANCED MOBILE RESPONSIVE VERSION
======================================== */

/* ========================================
   CSS Variables
======================================== */
:root {
    --primary-color: #0A2540;
    --secondary-color: #00D4FF;
    --dark-color: #1E293B;
    --text-color: #475569;
    --light-bg: #F1F5F9;
    --white: #ffffff;
    --border-radius: 0.75rem;
    --box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --box-shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --transition: all 0.3s ease;
}

/* ========================================
   Reset & Base Styles - MOBILE FIRST
======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    position: relative;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

h1, h2, h3, h4, h5 {
    color: var(--dark-color);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }

p {
    margin-bottom: 1rem;
}

/* ========================================
   Container & Layout
======================================== */
.container {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
    overflow-x: hidden;
    width: 100%;
}

.section-light {
    background-color: var(--light-bg);
}

/* ========================================
   Section Headers
======================================== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-subtitle {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.section-title {
    color: var(--dark-color);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

/* ========================================
   Buttons
======================================== */
.btn {
    display: inline-block;
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    border-radius: var(--border-radius);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.btn-brand {
    background: linear-gradient(135deg, var(--primary-color), #0D3A5C);
    color: var(--white);
    border-color: var(--primary-color);
}

.btn-brand:hover {
    transform: translateY(-2px);
    box-shadow: var(--box-shadow-lg);
}

.btn-lg {
    padding: 15px 40px;
    font-size: 1.1rem;
}

.btn i {
    margin-left: 8px;
}

/* ========================================
   Navigation - FIXED FOR MOBILE
======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: var(--white);
    z-index: 1000;
    transition: var(--transition);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.navbar.scrolled {
    padding: 10px 0;
    box-shadow: var(--box-shadow);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    z-index: 1001;
}

.navbar-brand img {
    width: 150px;
    height: 80px;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    color: var(--dark-color);
    font-weight: 500;
    position: relative;
}

.nav-link.active {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
    padding: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: var(--transition);
    border-radius: 3px;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ========================================
   Hero Section
======================================== */
.hero-section {
    padding: 140px 0 120px;
    margin-top: 10px;
    background-color: var(--light-bg);
    width: 100%;
    overflow: visible;
    position: relative;
    z-index: 1;
}

.hero-content-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    width: 100%;
}

.hero-text {
    opacity: 0;
    transform: translateX(-40px);
    animation: slideInLeft 0.8s ease forwards;
}

.hero-subtitle {
    color: var(--secondary-color);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.hero-title {
    color: var(--dark-color);
    font-size: 2.75rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.15rem;
    color: var(--text-color);
    line-height: 1.8;
    margin-bottom: 0;
}

.hero-image {
    opacity: 0;
    transform: translateX(40px);
    animation: slideInRight 0.8s ease forwards;
    animation-delay: 0.2s;
    width: 100%;
}

.hero-image img {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow-lg);
}

@keyframes slideInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ========================================
   Navigator Section
======================================== */
.navigator-section {
    padding-top: 0;
    padding-bottom: 80px;
    margin-top: -80px;
    position: relative;
    z-index: 10;
}

.navigator-card {
    background: var(--white);
    padding: 50px;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    max-width: 1000px;
    margin: 0 auto;
    width: 100%;
    position: relative;
    z-index: 10;
}

.navigator-card h3 {
    text-align: center;
    font-size: 1.75rem;
    margin-bottom: 40px;
    color: var(--dark-color);
}

.navigator-inputs {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 30px;
    align-items: end;
    margin-bottom: 30px;
}

.input-group {
    display: flex;
    flex-direction: column;
}

.input-group label {
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 10px;
    font-size: 1rem;
}

.form-select {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #E2E8F0;
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 1rem;
    color: var(--dark-color);
    background-color: var(--white);
    cursor: pointer;
    transition: var(--transition);
}

.form-select:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}

.form-select optgroup {
    font-weight: 600;
    color: var(--dark-color);
}

.form-select option {
    padding: 10px;
}

.arrow-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}

.arrow-icon i {
    font-size: 2rem;
    color: var(--primary-color);
}

.navigator-button {
    text-align: center;
}

/* ========================================
   Results Section
======================================== */
.results-section {
    opacity: 0;
    animation: fadeIn 0.8s ease forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.results-transition {
    font-size: 1.15rem;
    color: var(--text-color);
    margin-top: 1rem;
}

.results-transition strong {
    color: var(--primary-color);
    font-weight: 600;
}

/* ========================================
   Roadmap Steps
======================================== */
.roadmap-output {
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
}

.roadmap-step {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 30px;
    background: var(--white);
    padding: 35px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    margin-bottom: 30px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.roadmap-step.visible {
    opacity: 1;
    transform: translateY(0);
}

.step-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--secondary-color), #00B8D4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.step-icon i {
    font-size: 2rem;
    color: var(--white);
}

.step-content h5 {
    font-size: 1.35rem;
    color: var(--dark-color);
    margin-bottom: 12px;
    font-weight: 700;
}

.step-content p {
    color: var(--text-color);
    line-height: 1.7;
    margin-bottom: 20px;
}

.skills-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.skill-badge {
    display: inline-block;
    padding: 8px 16px;
    background: var(--light-bg);
    color: var(--primary-color);
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid #E2E8F0;
    transition: var(--transition);
}

.skill-badge:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

/* ========================================
   Roadmap CTA
======================================== */
.roadmap-cta {
    background: var(--light-bg);
    padding: 50px;
    border-radius: var(--border-radius);
    text-align: center;
    margin-top: 50px;
    box-shadow: var(--box-shadow);
}

.roadmap-cta h4 {
    font-size: 1.75rem;
    color: var(--dark-color);
    margin-bottom: 15px;
}

.roadmap-cta p {
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 25px;
}

/* ========================================
   Footer
======================================== */
.footer {
    background: var(--dark-color);
    color: var(--white);
    padding: 60px 0 20px;
    width: 100%;
    overflow-x: hidden;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
    width: 100%;
}

.footer-section h5 {
    color: var(--white);
    font-size: 1.25rem;
    margin-bottom: 20px;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

/* ========================================
   RESPONSIVE DESIGN - MOBILE FIRST
======================================== */

/* Tablet (768px - 991px) */
@media (max-width: 991px) {
    .container {
        padding: 0 20px;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        right: -100%;
        width: 100%;
        max-width: 320px;
        height: calc(100vh - 80px);
        background: var(--white);
        flex-direction: column;
        align-items: flex-start;
        padding: 30px;
        box-shadow: var(--box-shadow-lg);
        transition: right 0.3s ease-in-out;
        overflow-y: auto;
        z-index: 999;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-item {
        width: 100%;
        margin-bottom: 10px;
    }
    
    .nav-link {
        display: block;
        padding: 10px 0;
        width: 100%;
    }
    
    .nav-item .btn {
        width: 100%;
        text-align: center;
        margin-top: 10px;
    }

    .navbar-brand img {
        width: 130px;
        height: 70px;
    }

    .hero-section {
        padding: 120px 0 100px;
    }

    .hero-content-split {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-title {
        font-size: 2.25rem;
    }

    .navigator-section {
        margin-top: -60px;
        padding-bottom: 60px;
    }

    .navigator-card {
        padding: 40px 30px;
        position: relative;
        z-index: 10;
    }

    .navigator-inputs {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .arrow-icon {
        display: none;
    }

    .roadmap-step {
        grid-template-columns: 70px 1fr;
        gap: 20px;
        padding: 25px;
    }

    .step-icon {
        width: 70px;
        height: 70px;
    }

    .step-icon i {
        font-size: 1.75rem;
    }
}

/* Mobile (max-width: 767px) */
@media (max-width: 767px) {
    * {
        max-width: 100%;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .section {
        padding: 50px 0;
    }
    
    .navbar-brand img {
        width: 120px;
        height: 60px;
    }
    
    .hero-section {
        padding: 100px 0 80px;
    }

    .hero-title {
        font-size: 1.85rem;
    }

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

    .section-title {
        font-size: 1.75rem;
    }

    .navigator-section {
        margin-top: -50px;
        padding-bottom: 50px;
    }

    .navigator-card {
        padding: 30px 20px;
    }

    .navigator-card h3 {
        font-size: 1.5rem;
        margin-bottom: 30px;
    }

    .navigator-inputs {
        gap: 20px;
    }

    .form-select {
        padding: 12px 15px;
        font-size: 0.95rem;
    }

    .roadmap-step {
        grid-template-columns: 60px 1fr;
        gap: 15px;
        padding: 20px;
    }

    .step-icon {
        width: 60px;
        height: 60px;
    }

    .step-icon i {
        font-size: 1.5rem;
    }

    .step-content h5 {
        font-size: 1.15rem;
    }

    .step-content p {
        font-size: 0.95rem;
    }

    .skill-badge {
        padding: 6px 12px;
        font-size: 0.85rem;
    }

    .roadmap-cta {
        padding: 35px 25px;
    }

    .roadmap-cta h4 {
        font-size: 1.5rem;
    }

    .roadmap-cta p {
        font-size: 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* Mobile Small (max-width: 480px) */
@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }
    
    .navbar-brand img {
        width: 100px;
        height: 50px;
    }
    
    .hero-section {
        padding: 90px 0 70px;
    }

    .hero-title {
        font-size: 1.6rem;
    }

    .hero-description {
        font-size: 0.95rem;
    }

    .section {
        padding: 40px 0;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .navigator-section {
        margin-top: -40px;
        padding-bottom: 40px;
    }

    .navigator-card {
        padding: 25px 15px;
    }

    .navigator-card h3 {
        font-size: 1.25rem;
    }

    .input-group label {
        font-size: 0.95rem;
    }

    .form-select {
        padding: 10px 12px;
        font-size: 0.9rem;
    }

    .btn-lg {
        padding: 12px 30px;
        font-size: 1rem;
    }

    .roadmap-step {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 20px 15px;
    }

    .step-icon {
        width: 60px;
        height: 60px;
        margin: 0 auto;
    }

    .step-content {
        text-align: center;
    }

    .skills-badges {
        justify-content: center;
    }

    .roadmap-cta {
        padding: 30px 20px;
    }

    .roadmap-cta h4 {
        font-size: 1.35rem;
    }
    
    .social-links {
        gap: 12px;
        margin-top: 15px;
    }
    
    .social-links a {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}