/* Career Day Storybook Styles */

/* Compact Single-Screen Layout */
.story-section {
    margin: 0px 0;
    padding: 30px 20px;
    max-height: 90vh;
    overflow-y: auto;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: -1;
}

.story-section.active {
    visibility: visible;
    opacity: 1;
    position: relative;
    z-index: 1;
}

.story-header {
    text-align: center;
    margin-bottom: 30px;
}

.story-header h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.story-intro {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Tab-Based Learning Paths */
.learning-paths-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 20px;
    margin-bottom: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

/* Left Column - Tab Navigation */
.tab-navigation-column {
    background: #f8f9fa;
    border-right: 1px solid #e9ecef;
    padding: 0;
}

.tab-nav-item {
    padding: 20px 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 1px solid #e9ecef;
    text-align: center;
    position: relative;
}

.tab-nav-item:last-child {
    border-bottom: none;
}

.tab-nav-item:hover {
    background: #e3f2fd;
}

.tab-nav-item.active {
    background: #05B3F2;
    color: white;
}

.tab-nav-item.active::after {
    content: '';
    position: absolute;
    right: -1px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: #05B3F2;
}

.tab-nav-icon {
    font-size: 1.5rem;
    margin-bottom: 8px;
    display: block;
}

.tab-nav-item h4 {
    font-size: 0.9rem;
    margin: 0;
    font-weight: 600;
    color: inherit;
}

/* Right Column - Tab Content */
.tab-content-column {
    padding: 0;
    position: relative;
    min-height: 400px;
}

.tab-content {
    visibility: hidden;
    padding: 25px;
    opacity: 0;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: -1;
}

.tab-content.active {
    visibility: visible;
    opacity: 1;
    position: relative;
    z-index: 1;
}

.content-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f8f9fa;
}

.content-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.content-header h3 {
    font-size: 1.8rem;
    margin: 0;
    color: #2c3e50;
    font-weight: 700;
}

.content-details {
    margin-bottom: 20px;
}

.content-item {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 12px;
    border-left: 3px solid #05B3F2;
}

.content-item h4 {
    font-size: 1.4rem;
    color: #2c3e50;
    margin-bottom: 10px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

.content-item small {
    font-size: 0.9rem;
    color: #6c757d;
    font-weight: 400;
    opacity: 0.8;
}

.content-item p {
    color: #5a6c7d;
    font-size: 1.1rem;
    margin: 0;
    line-height: 1.5;
}

.content-outcome {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 8px;
    padding: 18px;
    font-weight: 700;
    color: #2c3e50;
    border: 1px dashed #05B3F2;
    font-size: 1.2rem;
    text-align: center;
}

/* Synthesis Content */
.synthesis-content {
    text-align: center;
}

.synthesis-content p {
    font-size: 1.2rem;
    color: #5a6c7d;
    margin-bottom: 25px;
    line-height: 1.6;
}

.mentorship-callout {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 8px;
    padding: 20px;
    border: none;
    backdrop-filter: none;
    display: flex;
}

.key-learnings {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 8px;
    padding: 20px;
    border: none;
    backdrop-filter: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.mentorship-callout h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 700;
    color: #ffffff;
}

.mentorship-callout p {
    /* color: rgba(255, 255, 255, 0.9); */
    margin: 10px;
    font-size: 1.05rem;
    line-height: 1.5;
    color: #ffffff;
}

/* Visual Content */
.visual-content {
    text-align: center;
}

.image-placeholder {
    background: #f8f9fa;
    border: 2px dashed #05B3F2;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
}

.image-caption {
    color: #5a6c7d;
    font-size: 1rem;
    font-style: italic;
    margin: 0;
}

/* Compact Synthesis */
.synthesis-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    margin-bottom: 20px;
}

.synthesis-icon {
    font-size: 2rem;
    margin-bottom: 15px;
    display: block;
}

.synthesis-section h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.synthesis-section p {
    font-size: 1rem;
    margin-bottom: 20px;
    opacity: 0.9;
}

/* Compact Image */
.story-image-container {
    text-align: center;
    margin-top: 20px;
}

.image-placeholder {
    background: #f8f9fa;
    border: 2px dashed #05B3F2;
    border-radius: 10px;
    padding: 30px 15px;
    color: #5a6c7d;
    font-style: italic;
    max-height: 200px;
    overflow: hidden;
}

.visual-content img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.visual-content:hover {
    background: #e3f2fd;
    border-color: #F08714;
}

/* Responsive Design */
@media screen and (max-width: 900px) {
    .learning-paths-container {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .tab-navigation-column {
        display: flex;
        background: none;
        border-right: none;
        border-bottom: 1px solid #e9ecef;
    }
    
    .tab-nav-item {
        flex: 1;
        border-bottom: none;
        border-right: 1px solid #e9ecef;
        padding: 15px 10px;
    }
    
    .tab-nav-item:last-child {
        border-right: none;
    }
    
    .tab-nav-item.active::after {
        right: auto;
        bottom: -1px;
        left: 0;
        right: 0;
        width: 100%;
        height: 3px;
        top: auto;
    }
    
    .tab-nav-icon {
        font-size: 1.2rem;
        margin-bottom: 5px;
    }
    
    .tab-nav-item h4 {
        font-size: 0.8rem;
    }
    
    .tab-content-column {
        min-height: 300px;
    }
    
    .tab-content {
        padding: 20px;
    }
    
    .content-header {
        margin-bottom: 15px;
        padding-bottom: 10px;
    }
    
    .content-icon {
        font-size: 1.5rem;
    }
    
    .content-header h3 {
        font-size: 1.1rem;
    }
    
    .story-header h2 {
        font-size: 2rem;
    }
    
    .story-intro {
        font-size: 1.1rem;
    }
}

@media screen and (max-width: 600px) {
    .tab-nav-item {
        padding: 12px 8px;
    }
    
    .tab-nav-icon {
        font-size: 1.1rem;
        margin-bottom: 3px;
    }
    
    .tab-nav-item h4 {
        font-size: 0.7rem;
    }
    
    .tab-content {
        padding: 15px;
    }
    
    .content-item {
        padding: 12px;
        margin-bottom: 10px;
    }
    
    .content-item h4 {
        font-size: 1.3rem;
    }
    
    .content-item p {
        font-size: 1.1rem;
    }
}

@media screen and (max-width: 600px) {
    .story-section {
        margin: 0px 0;
        padding: 20px 15px;
    }
    
    .story-header h2 {
        font-size: 1.8rem;
    }
    
    .path-card {
        padding: 20px;
    }
    
    .synthesis-section {
        padding: 30px 20px;
    }
    
    .synthesis-section h3 {
        font-size: 1.5rem;
    }
}

@media screen and (max-width: 600px) {
    .path-card {
        padding: 20px;
    }
    
    .learning-item {
        padding: 20px;
    }
    
    .key-learnings {
        grid-template-columns: 1fr !important;
        gap: 15px;
    }
    
    .learning-item {
        margin: 0;
    }
    
    .tab-content {
        padding: 15px;
    }
}

/* Foundation Years Section Styles */
.foundation-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.foundation-card {
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    border: 2px solid transparent;
}

.foundation-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.decision-making {
    border-color: #e8f5e8;
}

.decision-making:hover {
    border-color: #28a745;
}

.exploration {
    border-color: #fff3cd;
}

.exploration:hover {
    border-color: #ffc107;
}

.foundation-icon {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 20px;
    display: block;
}

.foundation-card h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 15px;
    text-align: center;
    font-weight: 600;
}

.foundation-card p {
    color: #5a6c7d;
    line-height: 1.6;
    margin-bottom: 25px;
    text-align: center;
}

.foundation-details {
    margin-bottom: 0;
}

.foundation-element {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 15px;
    border-left: 4px solid #28a745;
    transition: all 0.3s ease;
}

.foundation-element:hover {
    background: #e8f5e8;
    transform: translateX(5px);
}

.exploration .foundation-element {
    border-left-color: #ffc107;
}

.exploration .foundation-element:hover {
    background: #fff3cd;
}

.foundation-element h4 {
    font-size: 1.1rem;
    color: #2c3e50;
    margin-bottom: 10px;
    font-weight: 600;
}

.foundation-element p {
    color: #5a6c7d;
    font-size: 1rem;
    margin: 0;
    text-align: left;
}

/* Foundation Outcome Section */
.foundation-outcome {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    border-radius: 15px;
    padding: 40px;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}

.foundation-outcome::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

.outcome-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.foundation-outcome h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.foundation-outcome p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
    position: relative;
    z-index: 1;
}

.learning-item {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin: 10px;
}

.learning-item h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: #ffffff;
    font-weight: 600;
}

.learning-item p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    font-size: 1rem;
}

/* Responsive Design for Foundation Section */
@media screen and (max-width: 900px) {
    .foundation-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .key-learnings {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

@media screen and (max-width: 600px) {
    .foundation-card {
        padding: 20px;
    }
    
    .foundation-outcome {
        padding: 30px 20px;
    }
    
    .foundation-outcome h3 {
        font-size: 1.5rem;
    }
    
    .learning-item {
        padding: 20px;
    }
}

/* Tabbed Navigation Styles */
.tab-navigation {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 40px 20px 20px;
    padding: 0 20px;
}

.tab-btn {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 25px;
    padding: 12px 20px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #5a6c7d;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.tab-btn:hover {
    border-color: #05B3F2;
    color: #05B3F2;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(5, 179, 242, 0.2);
}

.tab-btn.active {
    background: linear-gradient(135deg, #05B3F2, #F08714);
    color: white;
    border-color: #05B3F2;
    box-shadow: 0 6px 20px rgba(5, 179, 242, 0.3);
}

/* Progress Dots */
.progress-dots {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 20px 0 0px;
}

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

.dot:hover {
    background: #05B3F2;
    transform: scale(1.2);
}

.dot.active {
    background: linear-gradient(135deg, #05B3F2, #F08714);
    transform: scale(1.3);
    box-shadow: 0 0 15px rgba(5, 179, 242, 0.4);
}

/* Content Container */
.content-container {
    position: relative;
    min-height: 600px;
}

/* Placeholder Content */
.placeholder-content {
    text-align: center;
    padding: 60px 20px;
    color: #5a6c7d;
    font-style: italic;
    background: #f8f9fa;
    border-radius: 15px;
    margin: 20px 0;
    border: 2px dashed #e9ecef;
}

/* Responsive Tab Navigation */
@media screen and (max-width: 768px) {
    .tab-navigation {
        flex-direction: column;
        align-items: center;
        gap: 8px;
        margin: 30px 15px 15px;
    }
    
    .tab-btn {
        width: 100%;
        max-width: 300px;
        font-size: 0.85rem;
        padding: 10px 15px;
    }
    
    .progress-dots {
        gap: 10px;
        margin: 15px 0 30px;
    }
    
    .dot {
        width: 10px;
        height: 10px;
    }
}

@media screen and (max-width: 480px) {
    .tab-btn {
        font-size: 0.8rem;
        padding: 8px 12px;
    }
}

/* Preface Styles */
