/* Variables CSS */
:root {
    --primary-color: #8dc6ff;
    --secondary-color: #776bff;
    --dark-bg: #181f35;
    --light-bg: #f4f4f9;
    --text-dark: #333;
    --text-light: #fff;
    --shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    --transition: all 0.3s ease;
    --border-radius: 10px;
    --timeline-primary: #8dc6ff;
    --timeline-secondary: #776bff;
    --timeline-dot-size: 20px;
}

/* Reset */
* {
    margin: 0;
    padding: 0;
}

body {
    box-sizing: border-box;
    width: 100%;
    margin: 0;
    font-family: 'Consolas', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    scroll-behavior: smooth;
}

/* En-tête et section d'accueil */
.full {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.25)), url(../images/bg.jpg);
    background-size: cover;
    background-attachment: fixed;
    height: 100vh;
}

#logo {
    width: 64px;
    height: 64px;
}

#logo1 {
    width: 500px;
    height: 500px;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
    transition: transform 0.5s ease;
}

#logo1:hover {
    transform: scale(1.05);
}

.pres {
    height: calc(100vh - 128px);
    display: flex;
    justify-content: space-between;
    transition: height 0.8s ease;
}

.ligne {
    margin-left: 5%;
    width: 49%;
    flex-direction: column;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logoo {
    width: 49%;
    justify-content: center;
    align-items: center;
    display: flex;
}

h1 {
    font-family: 'IM Fell English', serif;
    font-size: 50px;
    margin: 0;
    text-align: center;
    color: var(--primary-color);
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

span {
    margin: 0;
    font-family: Consolas;
    color: var(--primary-color);
    font-size: 150%;
}

p {
    margin: 0;
    font-family: Consolas;
    font-size: 150%;
    color: var(--primary-color);
}

.presentation {
    font-size: 20px;
    margin: 0;
}

.blue-text {
    color: var(--secondary-color);
    font-size: 25px;
    font-weight: bold;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

/* Navigation */
.menu {
    border-bottom: 2px solid var(--primary-color);
    width: 50%;
    display: flex;
    justify-content: space-between;
    text-align: center;
    align-items: center;
    color: var(--primary-color);
    font-family: Consolas;
    font-size: 16px;
    margin-left: 28%;
    height: 64px;
}

.menu_b {
    margin-right: 20px;
    cursor: pointer;
    height: 40%;
    flex: 1;
    padding: 1%;
    font-size: 120%;
    transition: var(--transition);
}

.menu_b:hover {
    cursor: pointer;
    transition: .3s;
    color: var(--text-light);
    transform: scale(1.4);
}

.entete {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 128px;
    transition: height 0.8s ease, background-color 0.4s ease;
}

.bordo {
    padding-top: 0;
}

/* Animation typing */
.typing-effect {
    border-right: 2px solid;
    white-space: nowrap;
    overflow: hidden;
    animation: typing 5s steps(24) infinite, blink-caret 0.75s step-end infinite;
}

@keyframes typing {
    0% {
        width: 0;
    }

    40% {
        width: 316.8px;
    }

    60% {
        width: 316.8px;
    }

    70% {
        width: 0;
    }

    100% {
        width: 0;
    }
}

@keyframes blink-caret {

    from,
    to {
        border-color: transparent;
    }

    50% {
        border-color: var(--text-light);
    }
}

/* Multiple phrases qui alternent */
#typing-container {
    min-height: 30px;
    margin: 10px 0 20px;
}

/* Animation du logo */
@keyframes rotateAndScale {
    0% {
        transform: rotate(0deg) scale(1);
    }

    50% {
        transform: rotate(180deg) scale(1.5);
    }

    100% {
        transform: rotate(360deg) scale(1);
    }
}

#logo:hover {
    cursor: pointer;
    animation: rotateAndScale 1.5s linear infinite;
}

/* Boutons CTA (Call-to-Action) */
.cta-container {
    display: flex;
    margin-top: 30px;
    gap: 15px;
}

.btn-download,
.btn-contact,
.btn-project,
.btn-submit {
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: bold;
    text-decoration: none;
    transition: var(--transition);
    text-align: center;
    font-size: 16px;
    cursor: pointer;
    border: none;
}

.btn-download {
    background-color: var(--secondary-color);
    color: var(--text-light);
    box-shadow: 0 4px 15px rgba(119, 107, 255, 0.4);
}

.btn-contact {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-download:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(119, 107, 255, 0.6);
}

.btn-contact:hover {
    background-color: var(--primary-color);
    color: var(--dark-bg);
}

/* Icons réseaux sociaux */
.icon {
    display: flex;
    margin: 20px 0;
    justify-content: center;
    gap: 30px;
}

.icon button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.icon button:hover {
    transform: scale(1.1);
    opacity: 0.8;
}

button svg {
    width: 30px;
    height: 30px;
    fill: var(--primary-color);
}

button svg:hover {
    fill: var(--secondary-color);
}

/* Section À propos */
#about {
    padding: 40px 10%;
    background-color: var(--text-light);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.about-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 30px;
    width: 80%;
    border-radius: var(--border-radius);
    background: linear-gradient(135deg, #f0f4ff, #e4ebf5);
    box-shadow: var(--shadow);
    padding: 40px;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.about-image img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid var(--text-dark);
    box-shadow: var(--shadow);
    transition: transform 0.5s ease;
}

.about-image img:hover {
    transform: scale(1.05);
}

.about-text {
    max-width: 600px;
    color: var(--text-dark);
}

.about-text p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 15px;
    font-family: 'Consolas', sans-serif;
    color: #555;
    text-align: justify;
}

.about-container.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Section BTS SIO */
.pres-bts-sio {
    background-color: var(--light-bg);
    display: flex;
    justify-content: center;
    padding: 2%;
}

.bts-sio {
    box-sizing: border-box;
    background: linear-gradient(135deg, #f0f4ff, #e4ebf5);
    border-radius: var(--border-radius);
    font-family: 'Arial', sans-serif;
    text-align: center;
    max-width: 1000px;
    box-shadow: var(--shadow);
    padding: 40px;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.bts-header h1 {
    font-size: 36px;
    color: #2c3e50;
    margin-bottom: 10px;
}

.bts-header p {
    font-size: 18px;
    color: #34495e;
    margin-bottom: 30px;
}

.bts-intro p {
    font-size: 16px;
    color: #555;
    margin-bottom: 40px;
    line-height: 1.6;
}

.bts-options {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
}

.option {
    background: var(--text-light);
    padding: 20px;
    border-radius: 8px;
    width: 400px;
    box-shadow: var(--shadow);
    text-align: left;
}

.option h2 {
    font-size: 22px;
    color: #2980b9;
    margin-bottom: 10px;
}

.option p {
    font-size: 16px;
    color: #555;
    margin-bottom: 15px;
    text-align: justify;
}

.option ul {
    list-style-type: none;
    padding: 0;
}

.option ul li {
    font-size: 14px;
    color: var(--text-dark);
    margin: 5px 0;
    padding-left: 15px;
    position: relative;
}

.option ul li::before {
    content: '•';
    color: #2980b9;
    position: absolute;
    left: 0;
}

.slam h2 {
    color: #8e44ad;
}

.bts-sio.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-title {
    font-family: 'IM Fell English', serif;
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--dark-bg);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: "";
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--secondary-color);
    margin: 15px auto 0;
}

/* Nouvelles styles pour la Timeline */
/* Styles corrigés pour la Timeline */
.timeline-section {
    padding: 60px 0;
    background-color: var(--text-light);
    position: relative;
}

.timeline-wrapper {
    max-width: 1500px;
    margin: 0 auto;
    position: relative;
    padding-top: 10px;
}

.timeline-container {
    position: relative;
    margin: 0 auto;
    padding: 80px 20px 0px;
    overflow: hidden;
    min-height: 300px;
}

.timeline-progress-bar {
    position: absolute;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--timeline-primary), var(--timeline-secondary));
    transform: translateY(-50%);
    z-index: 1;
}

.timeline-events {
    position: relative;
    display: flex;
    transition: transform 0.5s ease;
    min-height: 250px;
    gap: 60px;
    padding: 0 50px;
}

.timeline-event {
    flex: 0 0 250px;
    position: relative;
    z-index: 2;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.timeline-event:hover {
    transform: translateY(-5px);
}

.timeline-date {
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--dark-bg);
    color: var(--timeline-primary);
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: bold;
    box-shadow: var(--shadow);
    white-space: nowrap;
    font-size: 1rem;
    z-index: 3;
}

.timeline-dot {
    position: absolute;
    top: 0;
    left: 50%;
    width: var(--timeline-dot-size);
    height: var(--timeline-dot-size);
    background: linear-gradient(135deg, var(--timeline-primary), var(--timeline-secondary));
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    box-shadow: 0 0 0 4px var(--text-light), 0 0 0 6px rgba(141, 198, 255, 0.3);
}

.timeline-content {
    background: var(--text-light);
    border-radius: var(--border-radius);
    padding: 20px;
    margin-top: 30px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    border-top: 4px solid var(--timeline-primary);
    min-height: 180px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.timeline-event.active .timeline-content {
    background: linear-gradient(135deg, #f0f4ff, #e4ebf5);
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-top: 4px solid var(--timeline-secondary);
}

.timeline-event.active .timeline-dot {
    background: var(--text-light);
    box-shadow: 0 0 0 4px var(--timeline-secondary), 0 0 0 8px rgba(119, 107, 255, 0.3);
    width: calc(var(--timeline-dot-size) + 8px);
    height: calc(var(--timeline-dot-size) + 8px);
}

.timeline-logo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 15px;
    background-color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    padding: 5px;
}

.timeline-logo img {
    width: 80%;
    height: auto;
    object-fit: contain;
}

.timeline-content h3 {
    font-family: 'IM Fell English', serif;
    font-size: 1.3rem;
    color: var(--dark-bg);
    margin-bottom: 5px;
}

.timeline-location {
    color: #666;
    font-size: 0.95rem;
    font-style: italic;
}

.timeline-nav {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
}

.timeline-nav-button {
    background-color: var(--dark-bg);
    color: var(--text-light);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.timeline-nav-button:hover {
    background-color: var(--timeline-secondary);
    transform: translateY(-3px);
}

.timeline-nav-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.timeline-nav-button svg {
    width: 24px;
    height: 24px;
    fill: var(--text-light);
}

/* Style pour la section détail */
.timeline-detail {
    background: var(--text-light);
    max-width: 800px;
    margin: 40px auto 0;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.timeline-detail.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
    animation: slideUp 0.5s ease forwards;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.timeline-detail-header {
    background: linear-gradient(135deg, var(--timeline-primary), var(--timeline-secondary));
    color: var(--text-light);
    padding: 20px;
    position: relative;
}

.timeline-detail-header h3 {
    font-family: 'IM Fell English', serif;
    font-size: 1.8rem;
    margin: 0;
}

.timeline-detail-header span {
    color: rgba(255, 255, 255, 0.9);
    font-style: italic;
    font-size: 1rem;
}

.timeline-detail-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.5rem;
    transition: background 0.3s ease;
}

.timeline-detail-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.timeline-detail-content {
    padding: 25px;
    display: flex;
    gap: 30px;
}

.timeline-detail-logo {
    flex: 0 0 120px;
}

.timeline-detail-logo img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: var(--shadow);
    background-color: var(--text-light);
    padding: 10px;
}

.timeline-detail-info {
    flex: 1;
}

.timeline-detail-info p {
    font-size: 1rem;
    color: #444;
    margin-bottom: 20px;
    line-height: 1.6;
}

#detail-competences h4 {
    font-family: 'IM Fell English', serif;
    font-size: 1.2rem;
    color: var(--dark-bg);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
    padding-bottom: 5px;
}

#detail-competences h4::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--timeline-secondary);
}

#detail-competences-list {
    list-style-type: none;
    padding-left: 0;
}

#detail-competences-list li {
    padding-left: 25px;
    position: relative;
    margin-bottom: 10px;
    font-size: 0.95rem;
    color: #555;
}

#detail-competences-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--timeline-primary);
    font-weight: bold;
}

#detail-competences h4 {
    font-family: 'IM Fell English', serif;
    font-size: 1.2rem;
    color: var(--dark-bg);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
    padding-bottom: 5px;
}

#detail-competences h4::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--timeline-secondary);
}

#detail-competences-list {
    list-style-type: none;
    padding-left: 0;
}

#detail-competences-list li {
    padding-left: 25px;
    position: relative;
    margin-bottom: 10px;
    font-size: 0.95rem;
    color: #555;
}

#detail-competences-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--timeline-primary);
    font-weight: bold;
}

/* Responsive pour la timeline */
@media (max-width: 768px) {
    .timeline-container {
        padding: 62px 10px;
    }

    .timeline-event {
        flex: 0 0 230px;
        margin: 0 10px;
    }

    .timeline-detail-content {
        flex-direction: column;
    }

    .timeline-detail-logo {
        display: flex;
        justify-content: center;
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .timeline-event {
        flex: 0 0 200px;
    }

    .timeline-date {
        font-size: 0.8rem;
    }

    .timeline-content {
        padding: 15px;
    }

    .timeline-logo {
        width: 50px;
        height: 50px;
    }

    .timeline-nav-button {
        width: 40px;
        height: 40px;
    }
}

/* Skills section */
.skills-section {
    background-color: var(--light-bg);
    padding: 40px;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.skills {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 25px;
    align-items: stretch;
}

.skill {
    background-color: var(--text-light);
    padding: 25px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    width: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.skill:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.skill h3 {
    font-family: Consolas;
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--dark-bg);
}

.skill-logo {
    width: 50px;
    height: 50px;
    object-fit: contain;
    transition: transform 0.3s ease;
    margin-top: 15px;
}

.skill-logo:hover {
    transform: scale(1.2);
}

/* Section Contact */
.contact-section {
    background-color: var(--text-light);
    padding: 80px 0;
    position: relative;
}

.contact-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg width="100" height="100" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><rect x="0" y="0" width="10" height="10" fill="rgba(141, 198, 255, 0.05)"/></svg>');
    opacity: 0.7;
    z-index: 0;
}

.contact-wrapper {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
    z-index: 1;
}

.contact-card {
    background: var(--text-light);
    border-radius: 15px;
    box-shadow: var(--shadow);
    overflow: hidden;
    display: flex;
    flex-wrap: wrap;
}

.contact-info {
    flex: 1;
    min-width: 300px;
    padding: 40px;
    background: linear-gradient(135deg, #f8faff, #f0f4ff);
    display: flex;
    flex-direction: column;
}

.contact-header {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(141, 198, 255, 0.3);
}

.contact-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 20px;
    box-shadow: var(--shadow);
    border: 3px solid var(--text-light);
    background-color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-avatar img {
    width: 90%;
    height: 90%;
    object-fit: contain;
}

.contact-title h3 {
    font-family: 'IM Fell English', serif;
    font-size: 1.8rem;
    color: var(--dark-bg);
    margin: 0 0 5px 0;
}

.contact-title p {
    color: #777;
    font-size: 1rem;
    margin: 0;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
}

.contact-icon {
    width: 45px;
    height: 45px;
    border-radius: 10px;
    background: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    box-shadow: var(--shadow);
    color: var(--secondary-color);
    transition: var(--transition);
}

.contact-icon svg {
    width: 22px;
    height: 22px;
    stroke: var(--secondary-color);
}

.contact-text h4 {
    font-size: 0.9rem;
    color: #888;
    margin: 0 0 5px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-text a,
.contact-text span {
    color: var(--dark-bg);
    font-size: 1.1rem;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.contact-text a:hover {
    color: var(--secondary-color);
}

.contact-social {
    display: flex;
    gap: 15px;
    margin-top: auto;
    margin-bottom: 30px;
}

.social-link {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    background-color: var(--text-light);
    box-shadow: var(--shadow);
}

.social-link svg {
    transition: var(--transition);
}

.social-link.linkedin {
    color: #0077B5;
}

.social-link.github {
    color: #333;
}

.social-link.instagram {
    color: #E1306C;
}

.social-link.twitter {
    color: #1DA1F2;
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.social-link:hover svg {
    transform: scale(1.1);
}

.contact-cta {
    margin-top: auto;
}

.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--text-light);
    text-decoration: none;
    padding: 15px 25px;
    border-radius: 30px;
    font-weight: bold;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(119, 107, 255, 0.3);
}

.btn-download:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(119, 107, 255, 0.4);
}

.contact-map {
    flex: 1;
    min-width: 300px;
    background-color: #f9f9f9;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.map-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
    transition: var(--transition);
}

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 94%;
    height: 100%;
    background: rgba(24, 31, 53, 0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    text-align: center;
    padding: 20px;
}

.map-overlay p {
    color: var(--text-light);
    font-size: 1.3rem;
    margin: 10px 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Footer */
.footer {
    background-color: var(--dark-bg);
    color: var(--text-light);
    padding-top: 60px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
}

.footer-logo img {
    width: 80px;
    height: 80px;
    margin-bottom: 15px;
}

.footer-logo p {
    font-size: 1.2rem;
    color: var(--text-light);
}

.footer-links,
.footer-social {
    margin-bottom: 30px;
}

.footer h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-links ul {
    list-style-type: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #bbb;
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-color);
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--primary-color);
}

.social-icons svg {
    width: 20px;
    height: 20px;
    color: var(--text-light);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.9rem;
    color: #bbb;
}

.footer-legal {
    margin-bottom: 30px;
}

.footer-legal ul {
    list-style-type: none;
    padding: 0;
}

.footer-legal li {
    margin-bottom: 12px;
}

.footer-legal a {
    color: #bbb;
    text-decoration: none;
    transition: var(--transition);
}

.footer-legal a:hover {
    color: var(--primary-color);
}

.rgpd-notice {
    margin-top: 15px;
    font-size: 0.8rem;
    color: #999;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.rgpd-notice a {
    color: var(--primary-color);
    text-decoration: none;
}

.rgpd-notice a:hover {
    text-decoration: underline;
}

.menu_b.active {
    color: var(--text-light);
}

/* Hamburger Menu pour responsive */
.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    position: absolute;
    top: 25px;
    right: 25px;
    z-index: 200;
}

.hamburger-menu span {
    display: block;
    height: 2px;
    width: 100%;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.hamburger-menu.active span {
    background-color: var(--text-light);
}

.hamburger-menu.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Design responsive global */
@media (max-width: 1200px) {
    .menu {
        width: 60%;
        margin-left: 20%;
    }
    
    .contact-card,
    .about-container {
        flex-direction: column;
    }
    
    .contact-map {
        height: 300px;
    }
    
    
    .footer-content {
        justify-content: center;
        text-align: center;
    }
    
    .footer-logo, 
    .footer-links, 
    .footer-social, 
    .footer-legal {
        margin: 0 20px 30px;
    }
    
    .footer h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 992px) {
    .menu {
        width: 70%;
        margin-left: 15%;
    }
    
    .pres {
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    
    .ligne, .logoo {
        width: 90%;
        margin: 20px auto;
    }
    
    #logo1 {
        display: none;
        width: 300px;
        height: 300px;
    }
    
    h1 {
        font-size: 40px;
    }
    
    .bts-options {
        flex-direction: column;
        align-items: center;
    }
    
    .option {
        width: 90%;
    }
}

@media (max-width: 768px) {
    /* Hamburger menu activation */
    .hamburger-menu {
        display: flex;
    }
    
    .entete {
        height: 80px;
        background-color: rgba(24, 31, 53, 0.95);
        position: fixed;
        top: 0;
        width: 100%;
        z-index: 100;
    }
    
    .entete #logo {
        position: absolute;
        left: 25px;
        top: 8px;
    }
    
    .menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        margin: 0;
        background-color: rgba(0, 0, 0, 0.85);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 0;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
        z-index: 150;
        border-bottom: none;
    }
    
    .menu.active {
        opacity: 1;
        visibility: visible;
    }
    
    .menu_b {
        width: auto;
        padding: 8px 0;
        margin: 5px 0;
        border-bottom: none;
        text-align: center;
        font-size: 1.2rem;
        letter-spacing: 2px;
        transform: translateY(20px);
        opacity: 0;
        transition: transform 0.4s ease, opacity 0.4s ease;
    }
    
    .menu.active .menu_b {
        transform: translateY(0);
        opacity: 1;
    }
    
    .menu.active .menu_b:nth-child(1) { transition-delay: 0.1s; }
    .menu.active .menu_b:nth-child(2) { transition-delay: 0.2s; }
    .menu.active .menu_b:nth-child(3) { transition-delay: 0.3s; }
    .menu.active .menu_b:nth-child(4) { transition-delay: 0.4s; }
    .menu.active .menu_b:nth-child(5) { transition-delay: 0.5s; }
    
    .menu_b:hover {
        transform: translateY(-5px);
        background-color: transparent;
    }
    
    /* Ajuster l'espacement du contenu pour le menu fixe */
    .full {
        padding-top: 80px;
    }
    
    /* Autres ajustements responsives */
    .pres {
        height: auto;
        padding: 60px 0;
    }
    
    #logo1 {
        width: 250px;
        height: 250px;
    }
    
    h1 {
        font-size: 32px;
    }
    
    .about-container {
        padding: 20px;
    }
    
    .about-image img {
        width: 150px;
        height: 150px;
    }
    
    .bts-sio {
        padding: 20px;
    }
    
    .skills-section {
        padding: 20px;
    }
    
    .skill {
        width: 45%;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 28px;
    }
    
    .blue-text {
        font-size: 20px;
    }
    
    #logo1 {
        width: 200px;
        height: 200px;
    }
    
    .cta-container {
        flex-direction: column;
        gap: 10px;
    }
    
    .about-container {
        gap: 15px;
    }
    
    .about-image img {
        width: 120px;
        height: 120px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .skill {
        width: 100%;
    }
    
    .timeline-events {
        gap: 30px;
    }
    
    .contact-details {
        gap: 15px;
    }
    
    .contact-icon {
        width: 35px;
        height: 35px;
    }
    
    .contact-text a, .contact-text span {
        font-size: 1rem;
    }
    
    .footer {
        padding-top: 40px;
    }
}

/* Animation pour le menu responsive */
@keyframes slideInRight {
    from {
        transform: translateX(100%);
    }
    to {
        transform: translateX(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}