/* Variables globales */
:root {
    --primary-color: #3498db;
    --secondary-color: #2c3e50;
    --accent-color: #3498db;
    --light-color: #ecf0f1;
    --dark-color: #2c3e50;
    --text-color: #333;
    --bg-color: #f9f9f9;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --border-radius: 8px;
    --transition: all 0.3s ease;
    --gradient: linear-gradient(135deg, var(--primary-color), #1a6ba1);
}



/* Reset et styles de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Noto Sans', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4 {
    margin-bottom: 1rem;
    line-height: 1.3;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--accent-color);
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    transition: var(--transition);
    cursor: pointer;
    box-shadow: var(--shadow);
}

.primary {
    background-color: var(--primary-color);
    color: white;
}

.primary:hover {
    background-color: var(--secondary-color);
    color: white;
    transform: translateY(-3px);
}

.secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.secondary:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

/* Styles de la barre de navigation et du menu burger */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow);
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    background-color: var(--secondary-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.burger-menu {
    display: flex;
    align-items: center;
}

.burger-icon {
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    z-index: 2000;
}

.burger-icon span {
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 3px;
    transition: var(--transition);
}

.burger-icon.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.burger-icon.active span:nth-child(2) {
    opacity: 0;
}

.burger-icon.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

.menu-items {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100vh;
    background-color: var(--secondary-color);
    display: flex;
    flex-direction: column;
    padding-top: 80px;
    transition: right 0.4s ease;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
}

.menu-items.active {
    right: 0;
}

.menu-items a {
    color: white;
    padding: 15px 30px;
    font-size: 18px;
    transition: var(--transition);
    border-left: 4px solid transparent;
}

.menu-items a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-left: 4px solid var(--primary-color);
    padding-left: 35px;
}

/* Section Hero */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(to right, var(--secondary-color), var(--primary-color));
    color: white;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('/api/placeholder/1200/800') center/cover no-repeat;
    opacity: 0.2;
}

.hero .container {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

/* Sections générales */
.section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    position: relative;
    color: var(--secondary-color);
}

.section-title::after {
    content: "";
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
}

/* Timeline pour le parcours - AMÉLIORÉ */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: var(--gradient);
    border-radius: 4px;
}

.timeline-item {
    position: relative;
    margin-bottom: 70px;
}

.timeline-content {
    position: relative;
    width: 45%;
    padding: 30px;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    border-top: 5px solid var(--primary-color);
    z-index: 10;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: auto;
}

.timeline-date {
    position: absolute;
    top: -40px;
    font-weight: 600;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.timeline-item:nth-child(odd) .timeline-date {
    right: 0;
}

.timeline-marker {
    position: absolute;
    top: 20px;
    width: 25px;
    height: 25px;
    background-color: white;
    border: 4px solid var(--primary-color);
    border-radius: 50%;
    box-shadow: 0 0 0 5px rgba(52, 152, 219, 0.2);
    z-index: 100;
}

.timeline-item:nth-child(odd) .timeline-marker {
    left: -12.5px;
}

.timeline-item:nth-child(even) .timeline-marker {
    right: -12.5px;
}

.timeline-content h3 {
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.timeline-content .location {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.timeline-content .location i {
    color: var(--accent-color);
}

.timeline-content ul {
    margin-top: 15px;
    padding-left: 20px;
}

.timeline-content ul li {
    margin-bottom: 8px;
    position: relative;
}

.timeline-content ul li::before {
    content: "•";
    color: var(--primary-color);
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

/* Cartes de formation - NOUVEAU DESIGN */
.education-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    margin-bottom: 30px;
    transition: all 0.4s ease;
    position: relative;
}

.education-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.education-header {
    background: var(--gradient);
    color: white;
    padding: 20px 25px;
    position: relative;
}

.education-header h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.education-header .location {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    opacity: 0.9;
}

.education-period {
    position: absolute;
    top: 20px;
    right: 25px;
    background: rgba(255, 255, 255, 0.2);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.education-content {
    padding: 25px;
}

.education-content p {
    margin-bottom: 20px;
    color: #555;
}

.skill-list {
    list-style: none;
    padding: 0;
}

.skill-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

.skill-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    width: 20px;
    height: 20px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

.education-footer {
    background: #f8f9fa;
    padding: 15px 25px;
    border-top: 1px solid #eee;
}

.education-footer .highlight {
    font-weight: 600;
    color: var(--primary-color);
}

/* Expériences */
.experience-items {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.experience-item {
    background-color: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-left: 5px solid var(--primary-color);
}

.experience-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.experience-meta {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 10px;
}

/* Compétences */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.skill-category {
    position: relative;
    background-color: white;
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    z-index: 1;
}

.skill-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.skill-category:hover,
.skill-category:focus,
.skill-category:focus-within {
    z-index: 200;
}

.skill-category h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.skill-category i {
    color: var(--primary-color);
}

.skill-bar {
    height: 10px;
    background-color: var(--light-color);
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 15px;
}

.skill-progress {
    height: 100%;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    border-radius: 5px;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-weight: 500;
}

/* Projets */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.project-card {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.project-image {
    height: 200px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-info {
    padding: 20px;
}

.project-info h3 {
    margin-bottom: 5px;
    color: var(--secondary-color);
}

.project-info p {
    color: var(--accent-color);
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
}

.project-tag {
    background-color: rgba(52, 152, 219, 0.1);
    color: var(--primary-color);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Container général des certifications - Optimisé */
.certifications-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px; /* Espace légèrement augmenté */
    justify-content: center;
    max-width: 700px; /* Largeur augmentée */
    margin: 0 auto;
    align-items: stretch;
    box-sizing: border-box;
    padding: 0;
}

/* Chaque carte de certification - Taille agrandie */
.certification-item {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
    padding: 16px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 200px; /* Taille augmentée */
    flex: 0 0 auto;
    box-sizing: border-box;
    border: 1px solid #e0e0e0;
    display: flex;
    flex-direction: column;
}

.certification-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15);
}

/* Image de la certification - Dimensions ajustées */
.certification-image {
    width: 100%;
    height: 140px; /* Hauteur légèrement augmentée */
    object-fit: contain;
    margin: 0 auto 10px;
    border-radius: 6px;
    display: block;
}

/* Titre - Texte un peu plus grand */
.certification-title {
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 8px;
    color: #333;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
    max-height: 38px;
}

/* Date - Un peu plus visible */
.certification-date {
    color: #666;
    font-size: 12px;
    padding-top: 6px;
    border-top: 1px solid #f0f0f0;
    margin-top: auto;
}

/* Footer */
.footer {
    background-color: var(--secondary-color);
    color: white;
    padding: 50px 0 20px;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.footer-logo {
    font-size: 36px;
    font-weight: 700;
    color: white;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: white;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-copyright {
    margin-top: 30px;
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Media Queries pour la responsivité */
@media (max-width: 992px) {
    html {
        font-size: 15px;
    }
    
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item .timeline-content {
        width: calc(100% - 60px);
        margin-left: 60px !important;
    }
    
    .timeline-marker {
        left: 18px !important;
        right: auto !important;
    }
    
    .timeline-date {
        position: relative;
        top: -10px;
        left: 60px;
        right: auto !important;
        text-align: left !important;
    }
    
    .education-period {
        position: relative;
        top: auto;
        right: auto;
        display: inline-block;
        margin-top: 10px;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
    
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .skills-grid, 
    .projects-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .navbar {
        padding: 15px;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero h2 {
        font-size: 1.4rem;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .education-header {
        padding: 15px 20px;
    }
    
    .education-content,
    .education-footer {
        padding: 20px;
    }
																																																											.popup-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.7);
        display: none;
        z-index: 1000;
        justify-content: center;
        align-items: center;
    }
}

.gestion-donnee,
.gestion-virtualisation,
.gestion-reseaux,
.gestion-cloud,
.gestion-disponibilite,
.gestion-developpement {
    position: absolute;
    top: 92%;
    left: 0;
    width: 100%;
    z-index: 100;

    background: rgba(255, 255, 255, 0.75); /* verre dépoli */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-bottom-right-radius: 20px;
    border-bottom-left-radius: 20px;
    padding: 30px 35px;

    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
    color: #1a1a1a;
    font-family: 'Noto Sans', 'Poppins', 'Segoe UI', sans-serif;
    font-size: 1rem;
    line-height: 1.8;
    letter-spacing: 0.4px;

    opacity: 0;
    max-height: 0;
    overflow: hidden;
    pointer-events: none;
    transition: max-height 0.5s ease, opacity 0.4s ease, transform 0.4s ease;
    transform: translateY(20px);
}

/* Style visible avec animation */
.gestion-donnee.visible,
.gestion-virtualisation.visible,
.gestion-reseaux.visible,
.gestion-cloud.visible,
.gestion-disponibilite.visible,
.gestion-developpement.visible {
    opacity: 1;
    max-height: 1500px;
    pointer-events: auto;
    transform: translateY(0);
}

/* Effets internes : contenu en colonnes si besoin */
.gestion-donnee p,
.gestion-virtualisation p,
.gestion-reseaux p,
.gestion-cloud p,
.gestion-disponibilite p,
.gestion-developpement p {
    margin: 0 0 10px;
}

/* Optionnel : une animation pour chaque ligne (fade-in + slide) */
.gestion-donnee.visible div,
.gestion-virtualisation.visible div,
.gestion-reseaux.visible div,
.gestion-cloud.visible div,
.gestion-disponibilite.visible div,
.gestion-developpement.visible div {
    animation: fadeUp 0.5s ease both;
}
/* Section container */
.section {
    padding: 60px 20px;
    background-color: #f9f9f9;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Section title */
.section-title {
    text-align: center;
    font-size: 2.2em;
    margin-bottom: 40px;
    color: #2c3e50;
}

/* Container for content */
.veille-container {
    max-width: 1100px;
    margin: 0 auto;
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

/* Section header */
.veille-header h3 {
    font-size: 1.6em;
    color: #34495e;
    text-align: center;
}

/* Individual section blocks */
.veille-section {
    margin-bottom: 40px;
}

/* Subsection titles */
.veille-section h4 {
    font-size: 1.3em;
    color: #2980b9;
    margin-bottom: 15px;
    border-left: 4px solid #3498db;
    padding-left: 10px;
}

/* Bullet list style */
.veille-list {
    list-style: none;
    padding-left: 0;
}

.veille-list li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
    color: #333;
    font-size: 1em;
}

.veille-list li::before {
    content: "\f054";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    color: #3498db;
}

/* Section personnelle */
.veille-personal {
    margin-top: 40px;
}

.veille-personal h4 {
    font-size: 1.3em;
    color: #27ae60;
    margin-bottom: 15px;
    border-left: 4px solid #2ecc71;
    padding-left: 10px;
}

.veille-passion p {
    font-size: 1em;
    color: #444;
    line-height: 1.6;
    margin-bottom: 15px;
}

/* Responsive */
@media (max-width: 768px) {
    .veille-container {
        padding: 20px;
    }

    .section-title {
        font-size: 1.8em;
    }

    .veille-header h3 {
        font-size: 1.3em;
    }

    .veille-section h4,
    .veille-personal h4 {
        font-size: 1.2em;
    }
}

/* Keyframe anim */
@keyframes fadeUp {
    0% {
        opacity: 0;
        transform: translateY(15px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.arrow.active {
    visibility: visible;
    opacity: 1;
}

.arrow {
    position: fixed;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
    right: 15px;
    bottom: 15px;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.arrow a img {
    width: 44px;
    height: 44px;
}

/* Styles pour la section de développement professionnel */
.dev-pro-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 40px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.dev-pro-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow);
    position: relative;
    transition: var(--transition);
    border-top: 5px solid var(--primary-color);
}

.dev-pro-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.dev-pro-icon {
    background: var(--gradient);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.dev-pro-icon i {
    color: white;
    font-size: 24px;
}

.dev-pro-card h3 {
    color: var(--secondary-color);
    font-size: 1.3rem;
    margin-bottom: 20px;
    line-height: 1.4;
}

.dev-pro-list {
    list-style: none;
    padding-left: 0;
}

.dev-pro-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
    color: var(--text-color);
}

.dev-pro-list li::before {
    content: "•";
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0;
}

.dev-pro-list li i {
    color: var(--primary-color);
    margin-right: 8px;
}

/* Section vision */
.dev-pro-vision {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: var(--shadow);
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    text-align: center;
    border-top: 5px solid var(--accent-color);
    transition: var(--transition);
}

.dev-pro-vision:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.dev-pro-vision h3 {
    color: var(--secondary-color);
    font-size: 1.5rem;
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
}

.dev-pro-vision h3::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
}

.dev-pro-vision-content {
    text-align: left;
    color: var(--text-color);
    line-height: 1.8;
}

.dev-pro-vision-content p {
    margin-bottom: 15px;
}

/* Media Queries pour la responsivité */
@media (max-width: 992px) {
    .dev-pro-grid {
        grid-template-columns: 1fr;
    }
    
    .dev-pro-vision {
        padding: 30px;
    }
}

@media (max-width: 576px) {
    .dev-pro-card, 
    .dev-pro-vision {
        padding: 20px;
    }
    
    .dev-pro-icon {
        width: 50px;
        height: 50px;
    }
    
    .dev-pro-icon i {
        font-size: 20px;
    }
}