/* ex-inline categories.html — externalisé pour la mise en cache */
/* Hero Section Styles */
.categories-hero {
    width: 100%;
    min-height: 70vh;
    background: linear-gradient(135deg, #0066cc 0%, #2980b9 100%);
    position: relative;
    overflow: hidden;
    padding: 80px 0;
}

.categories-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.1' fill-rule='evenodd'/%3E%3C/svg%3E");
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: white;
}

.text-gradient {
    background: linear-gradient(135deg, #fff 0%, #e3f2fd 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
    color: white;
}

/* Category Cards */
.category-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #f8f9fa;
    height: 100%;
}

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

.category-header {
    padding: 2rem 2rem 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid #f8f9fa;
}

.category-icon {
    width: 70px;
    height: 70px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
}

.web-development .category-icon { background: linear-gradient(135deg, #0066cc, #2980b9); }
.mobile-development .category-icon { background: linear-gradient(135deg, #3498db, #2980b9); }
.ai-development .category-icon { background: linear-gradient(135deg, #0066cc, #2980b9); }
.cybersecurity .category-icon { background: linear-gradient(135deg, #0066cc, #2980b9); }
.data-science .category-icon { background: linear-gradient(135deg, #0066cc, #2980b9); }
.cloud-computing .category-icon { background: linear-gradient(135deg, #0066cc, #2980b9); }

.category-info h3 {
    margin: 0;
    color: #2c3e50;
    font-weight: 700;
}

.course-count {
    color: #6c757d;
    font-weight: 500;
}

.category-body {
    padding: 1.5rem 2rem;
}

.category-description {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.skills-list h6, .career-info h6 {
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.skills-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.skill-tag {
    background: #f8f9fa;
    color: #495057;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    border: 1px solid #e9ecef;
}

.career-info ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.career-info li {
    padding: 0.25rem 0;
    color: #6c757d;
    position: relative;
    padding-left: 1rem;
}

.career-info li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: #0066cc;
}

.stats-row {
    display: flex;
    justify-content: space-between;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #f8f9fa;
}

.stat {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #6c757d;
    font-size: 0.9rem;
}

.stat i {
    color: #0066cc;
}

.category-footer {
    padding: 1rem 2rem 2rem;
    background: #f8f9fa;
}

/* Comparison Table */
.comparison-table {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.comparison-table .table {
    margin: 0;
}

.comparison-table th {
    background: linear-gradient(135deg, #0066cc, #5ba3e0);
    color: white;
    border: none;
    padding: 1rem;
    font-weight: 600;
}

.comparison-table td {
    padding: 1rem;
    vertical-align: middle;
    border-color: #f8f9fa;
}

.comparison-table tbody tr:hover {
    background-color: #f8f9fa;
}

/* Info Cards */
.info-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
    height: 100%;
}

.info-card:hover {
    transform: translateY(-5px);
}

.info-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
}

.info-card h5 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-weight: 600;
}

.info-card p {
    color: #6c757d;
    line-height: 1.6;
    margin: 0;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #0066cc 0%, #5ba3e0 100%);
    color: white;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .category-header {
        padding: 1.5rem 1.5rem 1rem;
        flex-direction: column;
        text-align: center;
    }
    
    .stats-row {
        flex-direction: column;
        gap: 1rem;
    }
    
    .comparison-table .table-responsive {
        font-size: 0.875rem;
    }
    
    .cta-title {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .skills-tags {
        gap: 0.25rem;
    }
    
    .skill-tag {
        font-size: 0.75rem;
        padding: 0.2rem 0.5rem;
    }
    
    .category-body, .category-footer {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}
