/* Modern Vocational Training Page Styles */

/* CSS Custom Properties */
:root {
    --skill-primary: #3b82f6;
    --skill-secondary: #8b5cf6;
    --skill-accent: #10b981;
    --skill-warning: #f59e0b;
    --skill-danger: #ef4444;
    --skill-info: #06b6d4;
    --skill-gradient: linear-gradient(135deg, var(--skill-primary), var(--skill-secondary));
    --card-bg: #ffffff;
    --border-color: rgba(0, 0, 0, 0.1);
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --shadow-light: 0 4px 6px rgba(0, 0, 0, 0.07);
    --shadow-medium: 0 10px 25px rgba(0, 0, 0, 0.1);
    --shadow-heavy: 0 20px 40px rgba(0, 0, 0, 0.15);
    --border-radius: 12px;
    --border-radius-large: 20px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* AOS Animation Overrides for Better Performance */
[data-aos] {
    opacity: 1 !important;
    transform: none !important;
    transition-property: transform, opacity !important;
}

[data-aos].aos-animate {
    opacity: 1 !important;
}

/* Ensure cards are visible by default */
.skill-card {
    opacity: 1 !important;
    transform: translateY(0) !important;
    visibility: visible !important;
}

/* Timeline elements visibility fix */
.process-step {
    opacity: 1 !important;
    transform: translateX(0) !important;
    visibility: visible !important;
}

/* Dark Theme Support */
[data-theme="dark"] {
    --skill-primary: #60a5fa;
    --skill-secondary: #a78bfa;
    --skill-accent: #34d399;
    --skill-warning: #fbbf24;
    --skill-danger: #f87171;
    --skill-info: #22d3ee;
    --skill-gradient: linear-gradient(135deg, var(--skill-primary), var(--skill-secondary));
    --card-bg: #1f2937;
    --border-color: rgba(255, 255, 255, 0.1);
    --text-primary: #f9fafb;
    --text-secondary: #d1d5db;
    --shadow-light: 0 4px 6px rgba(0, 0, 0, 0.3);
    --shadow-medium: 0 10px 25px rgba(0, 0, 0, 0.4);
    --shadow-heavy: 0 20px 40px rgba(0, 0, 0, 0.5);
}

/* Main Container */
.vocational-main {
    overflow-x: hidden;
}

/* Hero Section */
.vocational-hero {
    min-height: 90vh;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

[data-theme="dark"] .vocational-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

.vocational-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: var(--skill-gradient);
    opacity: 0.05;
    border-radius: 50%;
    z-index: 1;
}

.hero-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-text {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: var(--skill-gradient);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    width: fit-content;
    box-shadow: var(--shadow-medium);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    color: var(--text-primary);
}

.title-highlight {
    background: var(--skill-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--text-secondary);
    max-width: 600px;
}

.hero-stats {
    display: flex;
    gap: 2rem;
}

.stat-item {
    text-align: center;
    background: var(--card-bg);
    padding: 1.5rem 1rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-color);
    min-width: 120px;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--skill-primary);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-hero.primary {
    background: var(--skill-gradient);
    color: white;
}

.btn-hero.primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.btn-hero.secondary {
    background: transparent;
    color: var(--skill-primary);
    border-color: var(--skill-primary);
}

.btn-hero.secondary:hover {
    background: var(--skill-primary);
    color: white;
    transform: translateY(-3px);
}

/* Hero Visual */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.skill-showcase {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    width: 300px;
    height: 300px;
    position: relative;
}

.skill-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    box-shadow: var(--shadow-medium);
    transition: var(--transition);
    animation: float 6s ease-in-out infinite;
}

.skill-icon:hover {
    transform: translateY(-10px) scale(1.1);
}

.skill-icon.tech { 
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    animation-delay: 0s;
}

.skill-icon.creative { 
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    animation-delay: 1s;
}

.skill-icon.craft { 
    background: linear-gradient(135deg, #f59e0b, #d97706);
    animation-delay: 2s;
}

.skill-icon.cooking { 
    background: linear-gradient(135deg, #ef4444, #dc2626);
    animation-delay: 3s;
}

.skill-icon.language { 
    background: linear-gradient(135deg, #06b6d4, #0891b2);
    animation-delay: 4s;
}

.skill-icon.music { 
    background: linear-gradient(135deg, #10b981, #059669);
    animation-delay: 5s;
}

/* Skills Grid Section */
.skills-grid-section {
    padding: 6rem 0;
    background: var(--card-bg);
}

[data-theme="dark"] .skills-grid-section {
    background: #111827;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--skill-gradient);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

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

.section-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* Skill Cards */
.skill-card {
    background: var(--card-bg);
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    overflow: hidden;
    position: relative;
}

.skill-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-heavy);
}

.card-header {
    padding: 2rem 2rem 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.card-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    flex-shrink: 0;
}

.card-category {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.8;
}

.card-content {
    padding: 0 2rem 2rem;
}

.card-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.card-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.skill-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.feature-tag {
    background: rgba(59, 130, 246, 0.1);
    color: var(--skill-primary);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

[data-theme="dark"] .feature-tag {
    background: rgba(96, 165, 250, 0.15);
    border-color: rgba(96, 165, 250, 0.3);
}

.card-stats {
    display: flex;
    gap: 1.5rem;
}

.stat {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.stat i {
    color: var(--skill-primary);
}

/* Category-specific colors */
.tech-category .card-icon {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
}

.tech-category .card-category {
    color: #3b82f6;
}

.craft-category .card-icon {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.craft-category .card-category {
    color: #f59e0b;
}

.cooking-category .card-icon {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

.cooking-category .card-category {
    color: #ef4444;
}

.creative-category .card-icon {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.creative-category .card-category {
    color: #8b5cf6;
}

.education-category .card-icon {
    background: linear-gradient(135deg, #10b981, #059669);
}

.education-category .card-category {
    color: #10b981;
}

.language-category .card-icon {
    background: linear-gradient(135deg, #06b6d4, #0891b2);
}

.language-category .card-category {
    color: #06b6d4;
}

/* Success Stories Section */
.success-stories-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

[data-theme="dark"] .success-stories-section {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

.stories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.story-card {
    background: var(--card-bg);
    border-radius: var(--border-radius-large);
    padding: 2rem;
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-color);
    text-align: center;
    transition: var(--transition);
}

.story-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.story-avatar {
    margin-bottom: 1.5rem;
}

.story-avatar img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--skill-primary);
}

.story-content h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.story-skill {
    color: var(--skill-primary);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: block;
}

.story-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.story-achievement {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(59, 130, 246, 0.1);
    color: var(--skill-primary);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

[data-theme="dark"] .story-achievement {
    background: rgba(96, 165, 250, 0.15);
}

/* Training Process Section */
.training-process-section {
    padding: 6rem 0;
    background: var(--card-bg);
}

[data-theme="dark"] .training-process-section {
    background: #111827;
}

.process-timeline {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 100%;
    background: var(--skill-gradient);
    border-radius: 2px;
}

.process-step {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 2rem;
    align-items: center;
    margin-bottom: 4rem;
    position: relative;
}

.process-step:last-child {
    margin-bottom: 0;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--skill-gradient);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    position: relative;
    z-index: 2;
    box-shadow: var(--shadow-medium);
}

.step-content {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-color);
}

.step-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.8rem;
}

.step-content p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.step-icon {
    width: 60px;
    height: 60px;
    background: var(--card-bg);
    border: 3px solid var(--skill-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--skill-primary);
    box-shadow: var(--shadow-light);
}

/* Alternate layout for even steps */
.process-step:nth-child(even) {
    grid-template-columns: 1fr auto 1fr;
}

.process-step:nth-child(even) .step-content {
    grid-column: 3;
}

.process-step:nth-child(even) .step-number {
    grid-column: 2;
}

.process-step:nth-child(even) .step-icon {
    grid-column: 1;
}

.process-step:nth-child(odd) .step-content {
    grid-column: 1;
}

.process-step:nth-child(odd) .step-number {
    grid-column: 2;
}

.process-step:nth-child(odd) .step-icon {
    grid-column: 3;
}

/* CTA Section */
.vocational-cta-section {
    padding: 6rem 0;
    background: var(--skill-gradient);
    color: white;
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-icon {
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 2.5rem;
    backdrop-filter: blur(10px);
}

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

.cta-content p {
    font-size: 1.2rem;
    line-height: 1.6;
    opacity: 0.95;
    margin-bottom: 2.5rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-cta.primary {
    background: white;
    color: var(--skill-primary);
}

.btn-cta.primary:hover {
    background: transparent;
    color: white;
    border-color: white;
    transform: translateY(-3px);
}

.btn-cta.secondary {
    background: transparent;
    color: white;
    border-color: white;
}

.btn-cta.secondary:hover {
    background: white;
    color: var(--skill-primary);
    transform: translateY(-3px);
}

.btn-cta.outline {
    background: transparent;
    color: white;
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-cta.outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    transform: translateY(-3px);
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .hero-content-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .skills-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    
    .process-timeline::before {
        display: none;
    }
    
    .process-step {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1rem;
    }
    
    .process-step:nth-child(even),
    .process-step:nth-child(odd) {
        grid-template-columns: 1fr;
    }
    
    .process-step:nth-child(even) .step-content,
    .process-step:nth-child(even) .step-number,
    .process-step:nth-child(even) .step-icon,
    .process-step:nth-child(odd) .step-content,
    .process-step:nth-child(odd) .step-number,
    .process-step:nth-child(odd) .step-icon {
        grid-column: 1;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .skill-showcase {
        grid-template-columns: repeat(2, 1fr);
        width: 200px;
        height: 200px;
    }
    
    .skill-icon {
        width: 60px;
        height: 60px;
        font-size: 1.3rem;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .stories-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .card-header,
    .card-content {
        padding: 1.5rem;
    }
    
    .story-card {
        padding: 1.5rem;
    }
    
    .step-content {
        padding: 1.5rem;
    }
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Focus states for accessibility */
.btn-hero:focus,
.btn-cta:focus {
    outline: 3px solid rgba(255, 255, 255, 0.3);
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .vocational-hero::before,
    .skill-icon {
        display: none;
    }
    
    .vocational-main {
        background: white !important;
    }
    
    .skill-card,
    .story-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }
}