/* Variables globales */
:root {
    --primary: #3498db;
    --secondary: #2ecc71;
    --dark: #2c3e50;
    --light: #ecf0f1;
    --gradient: linear-gradient(135deg, var(--primary), var(--secondary));
    --header-height: 80px;
}

/* Reset et styles de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    background-color: var(--dark);
    color: var(--light);
}

/* Header */
.main-header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(44, 62, 80, 0.95);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo */
.logo a {
    text-decoration: none;
    display: flex;
    flex-direction: column;
}

.logo h1 {
    font-size: 2rem;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.2rem;
}

.logo .subtitle {
    color: var(--primary);
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Navigation principale */
.nav-menu {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

/* Style général des liens */
.nav-menu a {
    color: var(--light);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    padding: 0.5rem 0;
    position: relative;
    transition: all 0.3s ease;
}

/* Menu déroulant */
.dropdown {
    position: relative;
}

.dropdown > a {
    pointer-events: none;
    cursor: default;
}

.dropdown > a::after {
    content: '\f107';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.dropdown:hover > a::after {
    transform: rotate(180deg);
}

/* Styles pour la liste déroulante */
.dropdown-content {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: rgba(44, 62, 80, 0.95);
    min-width: 200px;
    padding: 0.5rem 0;
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 1000;
}

.dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-content a {
    display: block;
    padding: 0.8rem 1.5rem;
    color: var(--light);
    text-align: center;
    transition: all 0.3s ease;
}

.dropdown-content a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--primary);
}

/* Garder l'animation de soulignement */
.nav-menu > a::after,
.dropdown > a::before {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background: var(--gradient);
    transition: width 0.3s ease;
}

.nav-menu > a:hover::after,
.dropdown:hover > a::before {
    width: 100%;
}

/* Version mobile */
@media (max-width: 768px) {
    .nav-menu {
        padding-top: 5rem;
    }

    .dropdown-content {
        position: static;
        transform: none;
        background: rgba(255, 255, 255, 0.05);
        min-width: 100%;
        margin-top: 0.5rem;
        padding: 0;
        opacity: 1;
        visibility: visible;
        display: none;
    }

    .dropdown.active .dropdown-content {
        display: block;
    }

    .dropdown > a::after {
        position: absolute;
        right: 0;
    }

    .nav-menu > a,
    .dropdown > a {
        padding: 1rem 0;
        width: 100%;
        text-align: left;
    }

    .dropdown-content a {
        padding: 1rem 2rem;
        text-align: left;
    }
}

/* Hero Section - Page d'accueil */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(rgba(44, 62, 80, 0.9), rgba(44, 62, 80, 0.9)), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding-top: var(--header-height);
}

.hero-content {
    max-width: 800px;
    padding: 2rem;
    animation: fadeIn 1s ease-out;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    animation: slideUp 1s ease-out;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    animation: slideUp 1s ease-out 0.2s;
}

.hero-text {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    animation: slideUp 1s ease-out 0.4s;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.hero-buttons .btn {
    padding: 0.6rem 1.5rem;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: normal;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--primary);
    color: white;
    border: none;
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 1px solid var(--primary);
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary:hover {
    background: #2980b9;
}

.btn-secondary:hover {
    background: rgba(52, 152, 219, 0.1);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Support pour Safari et autres navigateurs */
@supports (-webkit-backdrop-filter: blur(10px)) or (backdrop-filter: blur(10px)) {
    .nav-menu {
        -webkit-backdrop-filter: blur(10px);
        backdrop-filter: blur(10px);
    }
}

/* Fallback pour les navigateurs qui ne supportent pas backdrop-filter */
@supports not ((-webkit-backdrop-filter: blur(10px)) or (backdrop-filter: blur(10px))) {
    .nav-menu {
        background: rgba(44, 62, 80, 0.98);
    }
}

/* Menu mobile */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: rgba(44, 62, 80, 0.95);
        flex-direction: column;
        padding: 6rem 2rem;
        transition: 0.3s ease;
    }

    .nav-menu.active {
        right: 0;
    }
}

/* Sections générales */
.section {
    padding: 6rem 2rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--gradient);
}

/* Supprimer les styles de l'ancienne navigation */
.nav-list, 
.sub-nav {
    display: none; /* Cache l'ancienne navigation */
}

/* Logo */
.logo {
    display: flex;
    flex-direction: column;
}

/* Menu mobile */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .nav-menu {
        display: none;
    }
}

/* Page À propos */
.about-page {
    padding-top: 0;
    min-height: 100vh;
    background: var(--dark);
}

.about-hero {
    min-height: 100vh;
    padding-top: var(--header-height);
    position: relative;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(52, 152, 219, 0.1) 0%, rgba(44, 62, 80, 0.95) 100%);
    z-index: 1;
}

.about-page .about-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-hero h1 {
    color: white;
    font-size: 3.5rem;
    margin-bottom: 4rem;
    position: relative;
}

.about-hero h1::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--gradient);
}

.about-page .about-text {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.about-page .about-text h2 {
    color: var(--primary);
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.about-page .about-text p {
    color: var(--light);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.about-cta {
    margin-top: 3rem;
}

.about-cta .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

@media (max-width: 768px) {
    .about-hero {
        padding: 4rem 0;
    }
    
    .about-hero h1 {
        font-size: 2.5rem;
    }
    
    .about-hero h2 {
        font-size: 1.8rem;
    }
    
    .about-hero p {
        font-size: 1rem;
    }
}

/* Base Styles */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Features Section */
.features {
    padding: 4rem 0;
    background-color: var(--dark);
    position: relative;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 2.5rem 2rem;
    border-radius: 15px;
    text-align: center;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: white;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.15);
}

.feature-card i {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.feature-card h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.feature-card p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    line-height: 1.6;
}

/* Effet de fond */
.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(44, 62, 80, 0.95),
        rgba(44, 62, 80, 0.98)
    );
    z-index: 0;
}

.features-grid {
    position: relative;
    z-index: 1;
}

/* Responsive */
@media (max-width: 768px) {
    .features {
        padding: 3rem 0;
    }

    .features-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }

    .feature-card {
        padding: 2rem 1.5rem;
    }
}

/* Section Projets */
.latest-projects {
    padding: 4rem 0;
    background-color: var(--dark);
    position: relative;
}

.latest-projects h2 {
    text-align: center;
    color: white;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
}

.latest-projects h2::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--gradient);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.project-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 2rem;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    min-height: 500px;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.1);
}

.project-card-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
}

.project-card i {
    font-size: 2.5rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.project-card h3 {
    color: white;
    font-size: 1.5rem;
    margin: 0;
}

.project-card p {
    color: var(--light);
    line-height: 1.6;
    margin-bottom: 0.5rem;
    text-align: center;
    flex-grow: 1;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 8;
    -webkit-box-orient: vertical;
}

.project-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0;
    justify-content: center;
}

.skill-tag {
    background: rgba(255, 255, 255, 0.1);
    color: var(--primary);
    padding: 0.4rem 0.8rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    letter-spacing: 0.5px;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.skill-tag:hover {
    background: var(--gradient);
    color: white;
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }

    .project-card {
        padding: 1.5rem;
    }

    .project-card h3 {
        font-size: 1.3rem;
    }

    .project-card i {
        font-size: 2rem;
    }
}

/* Footer */
.footer {
    background: var(--dark);
    padding: 2rem 0 1rem;
    margin-top: auto;
    position: relative;
}

/* Ligne de séparation du footer */
.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(
        to right,
        rgba(52, 152, 219, 0),
        rgba(52, 152, 219, 0.5),
        rgba(52, 152, 219, 0)
    );
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-section h3 {
    color: var(--primary);
    font-size: 1rem;
    margin-bottom: 0.8rem;
}

/* Style du contact dans le footer sans encadrement */
.footer .contact-info {
    background: none;
    padding: 0;
    border-radius: 0;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: none;
    list-style: none;
}

.footer .contact-info li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
    color: var(--light);
    font-size: 0.9rem;
}

.footer .contact-info i {
    color: var(--primary);
    font-size: 1rem;
}

.footer .contact-info a {
    color: var(--light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer .contact-info a:hover {
    color: var(--primary);
}

/* Reste des styles du footer */
.social-links {
    display: flex;
    gap: 0.8rem;
    margin-top: 1rem;
}

.social-links a {
    color: var(--light);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: var(--primary);
    transform: translateY(-2px);
}

.footer-competences {
    list-style: none;
}

.footer-competences li {
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
}

.footer-competences a {
    color: var(--light);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s ease;
}

.footer-competences a:hover {
    color: var(--primary);
}

.footer-competences i {
    color: var(--primary);
    font-size: 1rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 1rem;
    margin-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--light);
    font-size: 0.8rem;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-section {
        text-align: center;
    }
    
    .contact-info li {
        justify-content: center;
    }
    
    .social-links {
        justify-content: center;
    }
}

/* Presentation Page Styles */
.presentation-page {
    padding-top: 2rem;
}

.about-section {
    padding: 4rem 0;
    background: var(--background-color);
}

.about-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4rem;
    margin-top: 2rem;
}

.about-info {
    text-align: center;
    max-width: 800px;
}

.about-info h2 {
    color: var(--primary);
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.about-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: center;
}

.detail-item i {
    color: var(--primary);
    font-size: 1.5rem;
}

.detail-item p {
    color: var(--light);
    font-size: 1.1rem;
}

.about-parcours {
    width: 100%;
    max-width: 800px;
}

.about-parcours h3 {
    color: var(--primary);
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: var(--gradient);
}

.timeline-item {
    display: flex;
    justify-content: space-between;
    padding: 1.5rem 0;
}

.timeline-date {
    width: 150px;
    text-align: right;
    padding-right: 2rem;
    color: var(--primary);
    font-weight: bold;
}

.timeline-content {
    width: calc(50% - 75px);
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 8px;
    margin-left: 2rem;
}

.timeline-content h4 {
    color: var(--primary);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.timeline-content p {
    color: var(--light);
    font-size: 1rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .timeline::before {
        left: 30px;
    }

    .timeline-item {
        flex-direction: column;
    }

    .timeline-date {
        width: 100%;
        text-align: left;
        padding-left: 60px;
        margin-bottom: 1rem;
    }

    .timeline-content {
        width: calc(100% - 60px);
        margin-left: 60px;
    }
}

.profile-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.profile-info h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.profile-info .subtitle {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.skills-list {
    list-style: none;
    margin-top: 1.5rem;
}

.skills-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.skills-list i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.bts-section {
    padding: 4rem 0;
}

.bts-content {
    max-width: 800px;
    margin: 0 auto;
}

.competences {
    margin-top: 3rem;
}

.competences-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.competence-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.competence-card:hover {
    transform: translateY(-5px);
}

.competence-card i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.competence-card h4 {
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.competence-card ul {
    list-style: none;
}

.competence-card ul li {
    margin-bottom: 0.5rem;
    padding-left: 1rem;
    position: relative;
}

.competence-card ul li::before {
    content: "•";
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

@media (max-width: 768px) {
    .about-content {
        grid-template-columns: 1fr;
    }

    .profile-image {
        max-width: 300px;
        margin: 0 auto;
    }
}

/* Missions Page Styles */
.missions-page {
    padding-top: 2rem;
}

.missions-header {
    background: var(--background-color);
    padding: 4rem 0;
    text-align: center;
}

.section-intro {
    max-width: 600px;
    margin: 1rem auto 0;
    color: var(--text-color);
    opacity: 0.8;
}

.missions-section {
    padding: 4rem 0;
}

.missions-section:nth-child(even) {
    background: var(--background-color);
}

.missions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.mission-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.mission-card:hover {
    transform: translateY(-5px);
}

.mission-header {
    background: var(--secondary-color);
    color: white;
    padding: 1.5rem;
}

.mission-header h3 {
    margin: 0;
    font-size: 1.2rem;
}

.mission-date {
    display: block;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    opacity: 0.8;
}

.mission-content {
    padding: 1.5rem;
}

.mission-content p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.mission-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.skill-tag {
    background: var(--primary-color);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .missions-grid {
        grid-template-columns: 1fr;
    }

    .missions-header {
        padding: 3rem 1rem;
    }
}

/* Stages Page Styles */
.stages-page {
    padding-top: 2rem;
}

.stages-header {
    background: var(--background-color);
    padding: 4rem 0;
    text-align: center;
}

.stages-content {
    padding: 4rem 0;
}

.stages-timeline {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.stages-timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--primary-color);
}

.stage-card {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
}

.stage-card::before {
    content: '';
    position: absolute;
    left: -5px;
    top: 1.5rem;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--primary-color);
}

.stage-period {
    text-align: right;
    padding-right: 2rem;
}

.stage-date {
    font-weight: 500;
    color: var(--primary-color);
}

.stage-details {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.stage-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.stage-location {
    color: var(--text-color);
    opacity: 0.8;
}

.stage-location i {
    margin-right: 0.5rem;
    color: var(--primary-color);
}

.stage-description {
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.stages-conclusion {
    background: var(--background-color);
    padding: 4rem 0;
    text-align: center;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.skill-category {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.skill-category i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.skill-category ul {
    list-style: none;
    margin-top: 1rem;
}

.skill-category li {
    margin-bottom: 0.5rem;
    padding-left: 1rem;
    position: relative;
}

.skill-category li::before {
    content: "•";
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

@media (max-width: 768px) {
    .stage-card {
        grid-template-columns: 1fr;
        padding-left: 2rem;
    }

    .stages-timeline::before {
        left: 1rem;
    }

    .stage-card::before {
        left: 0.7rem;
    }

    .stage-period {
        text-align: left;
        padding-right: 0;
        margin-bottom: 1rem;
    }
}

/* Apprentissage Page Styles */
.apprentissage-page {
    padding-top: 2rem;
}

.apprentissage-header {
    background: var(--background-color);
    padding: 4rem 0;
    text-align: center;
}

.apprentissage-content {
    padding: 4rem 0;
}

.apprentissage-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.company-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.company-logo {
    background: var(--secondary-color);
    padding: 2rem;
    text-align: center;
}

.company-logo img {
    max-width: 200px;
    height: auto;
}

.company-info {
    padding: 2rem;
}

.company-location {
    color: var(--text-color);
    opacity: 0.8;
    margin: 0.5rem 0;
}

.company-location i {
    margin-right: 0.5rem;
    color: var(--primary-color);
}

.missions-list {
    display: grid;
    gap: 2rem;
}

.mission-item {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.mission-item i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.mission-item ul {
    list-style: none;
    margin-top: 1rem;
}

.mission-item li {
    margin-bottom: 0.5rem;
    padding-left: 1rem;
    position: relative;
}

.mission-item li::before {
    content: "•";
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

.apprentissage-benefits {
    background: var(--background-color);
    padding: 4rem 0;
    text-align: center;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.benefit-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.benefit-card:hover {
    transform: translateY(-5px);
}

.benefit-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.benefit-card h3 {
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .apprentissage-grid {
        grid-template-columns: 1fr;
    }
}

/* Contact Page Styles */
.contact-page {
    padding-top: 0;
    min-height: 100vh;
    background: var(--dark);
}

.contact-hero {
    min-height: 100vh;
    padding-top: var(--header-height);
    position: relative;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(52, 152, 219, 0.1) 0%, rgba(44, 62, 80, 0.95) 100%);
    z-index: 1;
}

.contact-hero .container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.contact-hero h1 {
    text-align: center;
    color: var(--primary);
    font-size: 3.5rem;
    margin-bottom: 4rem;
    position: relative;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-info {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    padding: 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.info-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary);
    width: 40px;
    text-align: center;
}

.info-item h3 {
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.info-item p {
    color: var(--light);
    font-size: 1rem;
}

.contact-form-container {
    background: rgba(255, 255, 255, 0.1);
    padding: 2.5rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-form {
    display: grid;
    gap: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: var(--light);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.btn-primary {
    background: var(--primary);
    color: white;
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
    letter-spacing: 1px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: #2980b9;
    transform: translateY(-2px);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    color: var(--light);
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: var(--primary);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-hero h1 {
        font-size: 2.5rem;
        margin-bottom: 2rem;
    }

    .contact-form-container,
    .contact-info {
        padding: 1.5rem;
    }
}

/* CV Page Styles */
.cv-page {
    padding-top: 2rem;
}

.cv-header {
    background: var(--background-color);
    padding: 4rem 0;
    text-align: center;
}

.cv-preview {
    padding: 4rem 0;
    background: white;
}

.cv-content {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.cv-section {
    margin-bottom: 3rem;
}

.cv-section:last-child {
    margin-bottom: 0;
}

.personal-info {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2rem;
    align-items: center;
    margin-bottom: 3rem;
}

.cv-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary-color);
}

.cv-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cv-header-info h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
}

.cv-title {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.cv-contact p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.cv-contact i {
    color: var(--primary-color);
}

.cv-section h3 {
    color: var(--secondary-color);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cv-section h3 i {
    color: var(--primary-color);
}

.cv-item {
    margin-bottom: 2rem;
}

.cv-item:last-child {
    margin-bottom: 0;
}

.cv-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.cv-item-header h4 {
    font-size: 1.2rem;
    color: var(--secondary-color);
}

.cv-date {
    color: var(--primary-color);
    font-weight: 500;
}

.cv-location {
    color: var(--text-color);
    opacity: 0.8;
    margin-bottom: 0.5rem;
}

.cv-item ul {
    list-style: none;
    margin-left: 1rem;
}

.cv-item ul li {
    margin-bottom: 0.3rem;
    position: relative;
    padding-left: 1rem;
}

.cv-item ul li::before {
    content: "•";
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.skill-category h4 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
}

.certification-item {
    text-align: center;
}

.certification-item img {
    width: 100px;
    height: 100px;
    margin-bottom: 1rem;
}

.certification-item h4 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.languages-list {
    list-style: none;
}

.languages-list li {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--text-color);
}

.languages-list li:last-child {
    border-bottom: none;
}

.language {
    font-weight: 500;
    color: var(--secondary-color);
}

.level {
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .personal-info {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .cv-photo {
        margin: 0 auto;
    }

    .cv-contact {
        justify-content: center;
    }

    .cv-item-header {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    .cv-content {
        padding: 1.5rem;
    }
}

/* Veille Page Styles */
.veille-page {
    padding-top: 2rem;
}

.veille-header {
    background: var(--background-color);
    padding: 4rem 0;
    text-align: center;
}

.veille-categories {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.category-btn {
    background: white;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.category-btn:hover,
.category-btn.active {
    background: var(--primary-color);
    color: white;
}

.veille-content {
    padding: 4rem 0;
}

.veille-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.veille-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.veille-card:hover {
    transform: translateY(-5px);
}

.veille-card-header {
    background: var(--secondary-color);
    color: white;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.veille-date {
    font-size: 0.9rem;
    opacity: 0.8;
}

.veille-category {
    background: var(--primary-color);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
}

.veille-card-content {
    padding: 1.5rem;
}

.veille-card-content h2 {
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.veille-excerpt {
    color: var(--text-color);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.veille-sources {
    margin-bottom: 1.5rem;
}

.veille-sources h3 {
    font-size: 1rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.veille-sources ul {
    list-style: none;
}

.veille-sources li {
    margin-bottom: 0.3rem;
}

.veille-sources a {
    color: var(--primary-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.veille-sources a:hover {
    text-decoration: underline;
}

.veille-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    background: var(--background-color);
    color: var(--text-color);
    padding: 0.2rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
}

.veille-methodology {
    background: var(--background-color);
    padding: 4rem 0;
}

.methodology-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.methodology-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    text-align: center;
}

.methodology-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.methodology-card h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.methodology-card ul {
    list-style: none;
    text-align: left;
    margin-top: 1rem;
}

.methodology-card li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.methodology-card li::before {
    content: "•";
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

@media (max-width: 768px) {
    .veille-grid {
        grid-template-columns: 1fr;
    }

    .veille-card-header {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .methodology-card {
        padding: 1.5rem;
    }
}

/* Certifications Page Styles */
.certifications-page {
    padding-top: 2rem;
}

.certifications-header {
    background: var(--background-color);
    padding: 4rem 0;
    text-align: center;
}

.certifications-content {
    padding: 4rem 0;
}

.certifications-categories {
    margin-bottom: 4rem;
}

.certifications-categories h2 {
    color: var(--secondary-color);
    margin-bottom: 2rem;
    text-align: center;
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.certification-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s;
}

.certification-card:hover {
    transform: translateY(-5px);
}

.certification-logo {
    background: var(--secondary-color);
    padding: 2rem;
    text-align: center;
}

.certification-logo img {
    max-width: 150px;
    height: auto;
}

.certification-info {
    padding: 2rem;
}

.certification-info h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.certification-status {
    display: inline-block;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.certification-status:contains("En cours") {
    background: #fef3c7;
    color: #92400e;
}

.certification-status:contains("Obtenu") {
    background: #d1fae5;
    color: #065f46;
}

.certification-date {
    color: var(--text-color);
    opacity: 0.8;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.certification-details h4 {
    color: var(--secondary-color);
    margin-bottom: 0.8rem;
    font-size: 1rem;
}

.certification-details ul {
    list-style: none;
}

.certification-details li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.certification-details li::before {
    content: "•";
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

.badges-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.badge-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.badge-card:hover {
    transform: translateY(-5px);
}

.badge-card img {
    width: 100px;
    height: 100px;
    margin-bottom: 1.5rem;
}

.badge-card h3 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.badge-card p {
    color: var(--text-color);
    opacity: 0.8;
    margin-bottom: 0.5rem;
}

.badge-date {
    display: block;
    font-size: 0.9rem;
    color: var(--primary-color);
}

.certifications-roadmap {
    background: var(--background-color);
    padding: 4rem 0;
}

.roadmap-timeline {
    max-width: 800px;
    margin: 3rem auto 0;
    position: relative;
}

.roadmap-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: var(--primary-color);
}

.roadmap-item {
    margin-bottom: 2rem;
    position: relative;
}

.roadmap-item::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 16px;
    background: var(--primary-color);
    border-radius: 50%;
}

.roadmap-content {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    width: calc(50% - 3rem);
    margin-left: calc(50% + 3rem);
}

.roadmap-item:nth-child(even) .roadmap-content {
    margin-left: 0;
    margin-right: calc(50% + 3rem);
}

.roadmap-content h3 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.roadmap-content p {
    color: var(--text-color);
    opacity: 0.8;
}

@media (max-width: 768px) {
    .certifications-grid {
        grid-template-columns: 1fr;
    }

    .roadmap-timeline::before {
        left: 0;
    }

    .roadmap-item::before {
        left: 0;
    }

    .roadmap-content {
        width: calc(100% - 2rem);
        margin-left: 2rem;
    }

    .roadmap-item:nth-child(even) .roadmap-content {
        margin-left: 2rem;
        margin-right: 0;
    }
}

/* Projets Page Styles */
.projets-page {
    padding-top: 2rem;
}

.projets-header {
    background: var(--background-color);
    padding: 4rem 0;
    text-align: center;
}

.projets-content {
    padding: 4rem 0;
}

.projets-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: none;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    color: white;
}

.projets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.projet-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.projet-card:hover {
    transform: translateY(-5px);
}

.projet-image {
    height: 200px;
    overflow: hidden;
}

.projet-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.projet-card:hover .projet-image img {
    transform: scale(1.1);
}

.projet-content {
    padding: 1.5rem;
}

.projet-content h2 {
    color: var(--secondary-color);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.projet-description {
    color: var(--text-color);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.projet-technologies {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.tech-tag {
    background: var(--background-color);
    color: var(--secondary-color);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
}

.projet-links {
    display: flex;
    gap: 1rem;
}

.btn-github,
.btn-demo {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.btn-github {
    background: #24292e;
    color: white;
}

.btn-demo {
    background: var(--primary-color);
    color: white;
}

.btn-github:hover,
.btn-demo:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.projets-github {
    background: var(--background-color);
    padding: 4rem 0;
    text-align: center;
}

.github-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.github-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.github-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.github-card h3 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.github-card p {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
}

.btn-github-profile {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #24292e;
    color: white;
    padding: 1rem 2rem;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-github-profile:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

@media (max-width: 768px) {
    .projets-grid {
        grid-template-columns: 1fr;
    }

    .projet-image {
        height: 180px;
    }

    .projet-links {
        flex-direction: column;
    }

    .btn-github,
    .btn-demo {
        text-align: center;
        justify-content: center;
    }
}

/* Blog Page Styles */
.blog-page {
    padding-top: 2rem;
}

.blog-header {
    background: var(--background-color);
    padding: 4rem 0;
    text-align: center;
}

.blog-content {
    padding: 4rem 0;
}

.blog-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.blog-post {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.post-image {
    height: 300px;
    overflow: hidden;
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.blog-post:hover .post-image img {
    transform: scale(1.1);
}

.post-content {
    padding: 2rem;
}

.post-header h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.post-header h2 a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s;
}

.post-header h2 a:hover {
    color: var(--primary-color);
}

.post-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
    opacity: 0.8;
    font-size: 0.9rem;
}

.post-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.post-meta i {
    color: var(--primary-color);
}

.post-excerpt {
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.tag {
    background: var(--background-color);
    color: var(--text-color);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    text-decoration: none;
    transition: all 0.3s;
}

.tag:hover {
    background: var(--primary-color);
    color: white;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: gap 0.3s;
}

.read-more:hover {
    gap: 0.8rem;
}

/* Blog Sidebar Styles */
.blog-sidebar {
    position: sticky;
    top: 2rem;
    align-self: start;
}

.sidebar-widget {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.sidebar-widget h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.categories-list {
    list-style: none;
}

.categories-list li {
    margin-bottom: 0.5rem;
}

.categories-list a {
    color: var(--text-color);
    text-decoration: none;
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    transition: color 0.3s;
}

.categories-list a:hover {
    color: var(--primary-color);
}

.popular-posts {
    list-style: none;
}

.popular-posts li {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--text-color);
}

.popular-posts li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.popular-posts a {
    color: var(--secondary-color);
    text-decoration: none;
    display: block;
    margin-bottom: 0.3rem;
    transition: color 0.3s;
}

.popular-posts a:hover {
    color: var(--primary-color);
}

.popular-posts .post-date {
    font-size: 0.8rem;
    color: var(--text-color);
    opacity: 0.8;
}

.tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

@media (max-width: 992px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .blog-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .post-meta {
        flex-direction: column;
        gap: 0.5rem;
    }

    .post-image {
        height: 200px;
    }

    .post-content {
        padding: 1.5rem;
    }
}

.error-message {
    color: var(--light);
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Bouton flottant de retour */
.floating-return {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    z-index: 1000;
}

.floating-return:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.floating-return i {
    font-size: 1.2rem;
}

/* Responsive */
@media (max-width: 768px) {
    .floating-return {
        bottom: 1rem;
        right: 1rem;
    }
}

.features h2 {
    text-align: center;
    color: white;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
}

.features h2::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--gradient);
}

/* Page À propos */
.about-page {
    padding-top: 0;
}

.about-hero {
    min-height: 100vh;
    background: var(--dark);
    padding: 0;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: var(--header-height);
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(52, 152, 219, 0.1) 0%, rgba(44, 62, 80, 0.95) 100%);
    z-index: 1;
}

.about-hero .container {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.about-hero h1 {
    color: white;
    font-size: 3.5rem;
    margin-bottom: 4rem;
    position: relative;
}

.about-hero h1::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--gradient);
}

.about-text {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.about-text h2 {
    color: var(--primary);
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.about-text p {
    color: var(--light);
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: center;
    max-width: 500px;
}

.about-cta {
    margin-top: 3rem;
}

.about-cta .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

@media (max-width: 768px) {
    .about-hero {
        padding: 4rem 0;
    }
    
    .about-hero h1 {
        font-size: 2.5rem;
    }
    
    .about-hero h2 {
        font-size: 1.8rem;
    }
    
    .about-hero p {
        font-size: 1rem;
    }
}

/* Page BTS SIO */
.bts-sio-page {
    padding-top: 0;
    min-height: 100vh;
    background: var(--dark);
}

.bts-sio-hero {
    min-height: 100vh;
    padding-top: var(--header-height);
    position: relative;
}

.bts-sio-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(52, 152, 219, 0.1) 0%, rgba(44, 62, 80, 0.95) 100%);
    z-index: 1;
}

.bts-sio-hero .container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.bts-sio-hero h1 {
    text-align: center;
    color: var(--primary);
    font-size: 3.5rem;
    margin-bottom: 4rem;
}

.bts-sio-intro {
    max-width: 800px;
    margin: 0 auto 4rem;
    text-align: center;
}

.bts-sio-intro h2 {
    color: var(--light);
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.bts-sio-intro p {
    color: var(--light);
    font-size: 1.1rem;
    line-height: 1.8;
}

.section-title {
    text-align: center;
    color: var(--primary);
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.options-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.option-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease;
}

.option-card:hover {
    transform: translateY(-5px);
}

.option-card h3 {
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.option-subtitle {
    color: var(--light);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    opacity: 0.8;
}

.option-content {
    color: var(--light);
}

.option-content p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.option-content ul {
    list-style: none;
    padding-left: 1.5rem;
}

.option-content li {
    margin-bottom: 0.8rem;
    position: relative;
}

.option-content li::before {
    content: "•";
    color: var(--primary);
    position: absolute;
    left: -1.5rem;
    font-size: 1.2rem;
}

@media (max-width: 768px) {
    .bts-sio-hero h1 {
        font-size: 2.5rem;
        margin-bottom: 2rem;
    }

    .bts-sio-intro h2 {
        font-size: 1.8rem;
    }

    .options-grid {
        grid-template-columns: 1fr;
    }

    .option-card {
        padding: 1.5rem;
    }
}

/* Page SISR */
.sisr-page {
    padding-top: 0;
    min-height: 100vh;
    background: var(--dark);
}

.sisr-hero {
    min-height: 100vh;
    padding-top: var(--header-height);
    position: relative;
}

.sisr-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(52, 152, 219, 0.1) 0%, rgba(44, 62, 80, 0.95) 100%);
    z-index: 1;
}

.sisr-hero .container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.sisr-hero h1 {
    text-align: center;
    color: var(--primary);
    font-size: 3rem;
    margin-bottom: 1rem;
}

.sisr-subtitle {
    text-align: center;
    color: var(--light);
    font-size: 1.5rem;
    margin-bottom: 4rem;
    opacity: 0.8;
}

.sisr-content {
    max-width: 800px;
    margin: 0 auto;
}

.sisr-description p {
    color: var(--light);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.sisr-careers, .sisr-partners {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 3rem;
}

.sisr-careers h3, .sisr-partners h3 {
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.sisr-careers p, .sisr-partners p {
    color: var(--light);
    margin-bottom: 1.5rem;
}

.sisr-careers ul, .sisr-partners ul {
    list-style: none;
    padding-left: 1.5rem;
}

.sisr-careers li, .sisr-partners li {
    color: var(--light);
    margin-bottom: 0.8rem;
    position: relative;
}

.sisr-careers li::before, .sisr-partners li::before {
    content: "•";
    color: var(--primary);
    position: absolute;
    left: -1.5rem;
    font-size: 1.2rem;
}

@media (max-width: 768px) {
    .sisr-hero h1 {
        font-size: 2.5rem;
    }
    
    .sisr-subtitle {
        font-size: 1.3rem;
        margin-bottom: 3rem;
    }
    
    .sisr-careers, .sisr-partners {
        padding: 1.5rem;
    }
}

/* Style des logos partenaires - Reset et nouveaux styles */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.partner-logo {
    background: rgba(255, 255, 255, 0.1);
    /* Suppression du padding */
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
    transition: all 0.3s ease;
    overflow: hidden;
}

.partner-logo img {
    width: auto;
    height: auto;
    max-width: 85%;
    max-height: 40px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

/* Style pour le texte des autres partenaires */
.partner-logo.empty::after {
    content: attr(data-name);
    color: var(--light);
    font-size: 1rem;
    text-align: center;
    font-weight: 500;
}

@media (max-width: 768px) {
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .partner-logo {
        height: 60px;
    }
    
    .partner-logo img {
        max-height: 30px;
    }
} 
.popup-message {
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: #2ecc71;
    color: white;
    padding: 15px 20px;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    font-size: 16px;
    animation: fadeOut 5s forwards;
}

.popup-message.error {
    background-color: #e74c3c;
}

@keyframes fadeOut {
    0% {
        opacity: 1;
    }
    80% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translateY(-20px);
    }
}