/* ===== RESET ET STYLES DE BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', 'Roboto', sans-serif;
    line-height: 1.6;
    color: #e0e0e0;
    background-color: #0a0b10;
    position: relative;
    min-height: 100vh;
    overflow-x: hidden;
}

:root {
    --primary: #00b4ff;
    --primary-glow: rgba(0, 180, 255, 0.5);
    --secondary: #7000ff;
    --accent: #ff00c8;
    --glass: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --card-bg: rgba(15, 17, 26, 0.7);
}

/* ===== STYLES DES LIENS ===== */
a {
    color: rgba(41, 128, 185, 0.9);
    text-decoration: none;
    cursor: pointer;
    transition: color 0.3s ease;
}

a:hover {
    color: rgba(23, 97, 145, 1);
    text-decoration: underline;
}

.project-link {
    color: rgba(41, 128, 185, 0.9);
    text-decoration: none;
    cursor: pointer;
    font-weight: 500;
    transition: color 0.3s ease;
}

.project-link:hover {
    color: rgba(23, 97, 145, 1);
    text-decoration: underline;
}

/* ===== CURSEURS ===== */
.skill-tag, 
.mission-name, 
.skill-name, 
.hobby-header, 
.collapsible-header {
    cursor: default !important;
}

.skill-tag:hover, 
.mission-name:hover, 
.skill-name:hover, 
.hobby-item:hover, 
.collapsible-header:hover {
    cursor: default;
}

.carousel-btn, 
.mobile-carousel-btn,
.indicator, 
.mobile-indicator {
    cursor: pointer !important;
}

/* ===== ANIMATIONS PRINCIPALES ===== */
.main-content {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-in-out, transform 0.8s ease-in-out;
}

.main-content[style*="display: none"] {
    opacity: 0 !important;
    transform: translateY(20px) !important;
}

@keyframes psFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* ===== FOND ET OVERLAY ===== */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    z-index: -3;
    opacity: 0.15; /* Subtle background */
}

/* Data Stream Animation */
.data-stream {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    background: linear-gradient(0deg, transparent, rgba(0, 180, 255, 0.03) 50%, transparent);
    background-size: 100% 4px;
    animation: scanline 10s linear infinite;
}

@keyframes scanline {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(100%); }
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(0, 180, 255, 0.05) 0%, transparent 70%),
                radial-gradient(circle at 80% 20%, rgba(112, 0, 255, 0.05) 0%, transparent 50%);
    z-index: -2;
    pointer-events: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    background: transparent;
    position: relative;
    z-index: 1;
}

/* ===== EN-TÊTE POWERSHELL ===== */
.powershell-header {
    background: transparent !important;
    backdrop-filter: none !important;
    padding-bottom: 20px 0 !important;
}

.powershell-terminal {
    width: 100%;
    background: rgba(12, 12, 12, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    font-family: 'Consolas', 'Courier New', monospace;
    color: #cccccc;
    margin: 0 auto;
    max-width: 100%;
    height: 240px; /* Increased height to fit last line */
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.ps-header {
    background: linear-gradient(to bottom, #3c3c3c, #2a2a2a);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(30, 30, 30, 0.8);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.ps-title {
    font-size: 13px;
    font-weight: 500;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ps-title::before {
    content: "";
    font-family: 'Segoe MDL2 Assets';
    font-size: 14px;
    color: #00b4ff;
}

.ps-window-controls {
    display: flex;
    gap: 1px;
}

.ps-control {
    width: 46px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #ffffff;
    background: transparent;
    border: none;
    font-family: 'Segoe MDL2 Assets', 'Segoe UI', sans-serif;
}

.ps-control:hover {
    background: rgba(255, 255, 255, 0.1);
}

.ps-control.close:hover {
    background: #e81123;
    color: white;
}

.ps-body {
    padding: 12px 16px;
    background: transparent;
    height: calc(100% - 44px);
    overflow: visible;
}

.ps-content {
    max-width: 100%;
    height: 100%;
}

.ps-command-line {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
}

.ps-prompt {
    color: #4ec9b0;
    font-weight: bold;
    font-size: 12px; /* Smaller font size */
}

.ps-command {
    color: #ffffff;
    font-size: 12px; /* Smaller font size */
}

.ps-output {
    display: flex;
    flex-direction: column;
    gap: 3px;
    height: auto;
    overflow: visible;
}

.ps-line {
    opacity: 0;
    transform: translateY(5px);
    animation: psFadeIn 0.5s ease forwards;
    line-height: 1.2;
    font-size: 12px;
}

.ps-label {
    color: #9cdcfe;
    min-width: 60px;
    display: inline-block;
    font-size: 12px;
}

.ps-value {
    color: #d4d4d4;
    font-size: 12px;
}

.ps-complete {
    margin-top: 6px;
}

.ps-success {
    color: #4ec9b0;
    font-weight: bold;
    font-size: 12px;
}

.ps-prompt-line {
    margin-top: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
}

.ps-cursor {
    color: #4ec9b0;
    animation: blink 1s infinite;
    display: inline-block;
    width: 8px;
    height: 15px;
    background: #4ec9b0;
    margin-left: 2px;
    vertical-align: middle;
}

.ps-command-input-wrapper {
    display: flex;
    align-items: center;
}

.ps-live-command {
    color: #ffffff;
    font-size: 12px;
    min-width: 1px;
}

.ps-hidden-input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    width: 0;
    height: 0;
}

/* Style for terminal focus */
.powershell-terminal:focus-within {
    box-shadow: 
        0 4px 25px rgba(0, 180, 255, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border-color: rgba(0, 180, 255, 0.4);
}

/* Délais d'animation PowerShell */
.ps-line[data-delay="500"] { animation-delay: 0.5s; }
.ps-line[data-delay="1000"] { animation-delay: 1s; }
.ps-line[data-delay="1500"] { animation-delay: 1.5s; }
.ps-line[data-delay="2000"] { animation-delay: 2s; }
.ps-line[data-delay="2500"] { animation-delay: 2.5s; }
.ps-line[data-delay="3000"] { animation-delay: 3s; }
.ps-line[data-delay="3500"] { animation-delay: 3.5s; }

/* ===== STRUCTURE PRINCIPALE ===== */
.main-content-inner {
    display: flex;
    gap: 40px;
    width: 100%;
}

.left-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.right-column {
    flex: 2;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.main-content {
    display: flex;
    padding: 40px;
    gap: 40px;
    position: relative;
}

/* ===== CARTES GLASSMORPHISM ===== */
.card {
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 20px;
    padding: 30px;
    border: 1px solid var(--glass-border);
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.03),
        transparent
    );
    transition: 0.5s;
}

.card:hover::after {
    left: 100%;
}

.card:hover {
    background: rgba(20, 22, 33, 0.8);
    transform: translateY(-8px) scale(1.02);
    border-color: var(--primary-glow);
    box-shadow: 
        0 20px 50px rgba(0, 0, 0, 0.4),
        0 0 20px var(--primary-glow),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
}

.card:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.profile-card {
    background: linear-gradient(
        135deg,
        rgba(248, 249, 250, 0.2) 0%,
        rgba(233, 236, 239, 0.2) 100%
    );
    border-left: 4px solid rgba(52, 152, 219, 0.6);
}

/* ===== TITRES ET SECTIONS ===== */
.section-title {
    font-family: 'Poppins', sans-serif;
    font-size: 26px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 25px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    letter-spacing: 0.5px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
    box-shadow: 0 0 10px var(--primary-glow);
}

.portfolio-title {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 500;
    color: rgba(52, 152, 219, 0.9);
    margin-bottom: 20px;
    text-align: center;
    padding: 10px;
    background: rgba(248, 249, 250, 0.3);
    border-radius: 6px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* ===== PROFIL ===== */
.profile-section {
    display: flex;
    align-items: center;
    gap: 30px;
}

.photo-placeholder {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 4px solid rgba(255, 255, 255, 0.3);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.photo-placeholder span {
    font-size: 48px;
    font-weight: 700;
    color: white;
}

.profile-info h1.name {
    font-family: 'Poppins', sans-serif;
    font-size: 42px;
    font-weight: 600;
    margin-bottom: 5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.profile-info h1 .last-name {
    font-weight: 700;
}

.profile-info h2.job-title {
    font-size: 22px;
    font-weight: 400;
    margin-bottom: 20px;
    opacity: 0.9;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.contact-info {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* ===== COMPÉTENCES ===== */
.skill-category {
    margin-bottom: 25px;
}

.skill-category:last-child {
    margin-bottom: 0;
}

.skill-title {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 15px;
}

.skill-group {
    margin-bottom: 15px;
}

.skill-group h4 {
    font-size: 15px;
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 10px;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.skill-tag {
    background: rgba(44, 62, 80, 0.4);
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 10px;
}

.skill-tag i {
    font-size: 16px;
    color: var(--primary);
    filter: drop-shadow(0 0 5px var(--primary-glow));
}

.skill-tag.soft {
    background: rgba(112, 0, 255, 0.1);
    color: #d1b3ff;
    border-color: rgba(112, 0, 255, 0.2);
}

.skill-tag.soft i {
    color: var(--secondary);
    filter: drop-shadow(0 0 5px rgba(112, 0, 255, 0.5));
}

.skill-tag:hover {
    background: rgba(0, 180, 255, 0.15);
    color: white;
    transform: translateY(-5px) scale(1.05);
    border-color: var(--primary);
    box-shadow: 0 10px 20px rgba(0, 180, 255, 0.2);
}

/* ===== LANGUES ===== */
.languages-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.language-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.language-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.language-name {
    font-weight: 500;
    color: #ffffff;
}

.language-level-text {
    font-size: 14px;
    color: #ffffff;
}

.language-level {
    display: flex;
    gap: 5px;
}

.level-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(236, 240, 241, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.level-dot.active {
    background: rgba(52, 152, 219, 0.8);
}

/* ===== CENTRES D'INTÉRÊT ===== */
.hobbies-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.hobby-item {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 0;
    transition: all 0.3s ease;
    cursor: default;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    overflow: hidden;
}

.hobby-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.hobby-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 20px;
    background: rgba(248, 249, 250, 0.2);
    backdrop-filter: blur(5px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hobby-icon {
    font-size: 20px;
    width: 24px;
    text-align: center;
}

.hobby-name {
    font-weight: 600;
    color: #f0f0f0;
    font-size: 16px;
}

.hobby-details {
    max-height: 0;
    overflow: hidden;
    font-size: 14px;
    color: #f0f0f0;
    line-height: 1.6;
    padding: 0 20px;
    transition: all 0.5s ease;
    background: rgba(255, 255, 255, 0.05);
}

.hobby-item:hover .hobby-details {
    max-height: 500px;
    padding: 20px;
}

/* ===== CARROUSEL DESKTOP ===== */
.desktop-experience {
    display: block;
}

.experience-carousel {
    margin-bottom: 30px;
}

.carousel-container {
    position: relative;
    overflow: visible;
    border-radius: 16px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-slide {
    min-width: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding: 10px 5px;
    position: relative;
    z-index: 10;
}

.carousel-btn {
    background: rgba(52, 152, 219, 0.8);
    color: white;
    border: none;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    z-index: 20;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.carousel-btn:hover {
    background: rgba(41, 128, 185, 0.9);
    transform: scale(1.15);
    box-shadow: 0 6px 20px rgba(41, 128, 185, 0.4);
}

.carousel-btn svg {
    width: 20px;
    height: 20px;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
}

.carousel-indicators {
    display: flex;
    gap: 10px;
    position: relative;
    z-index: 15;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(189, 195, 199, 0.7);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    z-index: 15;
    backdrop-filter: blur(10px);
}

.indicator.active {
    background: rgba(52, 152, 219, 0.9);
    transform: scale(1.2);
    box-shadow: 0 2px 8px rgba(52, 152, 219, 0.4);
}

.indicator:hover {
    background: rgba(52, 152, 219, 0.8);
}

/* Éléments de mission dans le carrousel - REMOVED BLUE DOTS */
.carousel-container .mission-item {
    position: relative;
    padding-left: 15px; /* Reduced padding since we removed the dot */
    background: rgba(248, 249, 250, 0.3);
    border-radius: 8px;
    padding: 15px;
    margin: 12px 0;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Remove the blue dot pseudo-element */
.carousel-container .mission-item::before {
    content: none;
}

.carousel-container .mission-item:hover {
    background: rgba(232, 244, 253, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.carousel-container .mission-name {
    font-weight: 600;
    color: #e0e0e0;
    cursor: default;
    transition: color 0.3s ease;
    display: block;
    font-size: 15px;
}

.carousel-container .mission-name:hover {
    color: rgba(52, 152, 219, 0.9);
}

.carousel-container .mission-details {
    max-height: 0;
    overflow: hidden;
    font-size: 14px;
    color: #e0e0e0;
    margin-top: 8px;
    transition: max-height 0.5s ease;
    line-height: 1.6;
}

.carousel-container .mission-item:hover .mission-details {
    max-height: 150px;
}

/* Projets dans le carrousel */
.carousel-container .project {
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.project-image-container {
    width: 100%;
    height: 250px;
    margin-bottom: 20px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}

.project-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.project:hover .project-image {
    transform: scale(1.08);
}

/* ===== REVEAL ON SCROLL ===== */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.reveal-on-scroll.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Hover glow for headings */
h1.name:hover {
    text-shadow: 0 0 15px var(--primary-glow);
    transition: 0.3s;
}

.carousel-container .project:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.carousel-container .project-title {
    font-size: 18px;
    font-weight: 600;
    color: #e0e0e0;
    margin-bottom: 20px;
    text-align: center;
    padding: 0;
    background: transparent;
    border-radius: 0;
    backdrop-filter: none;
    border: none;
}

.carousel-container .project-missions {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* ===== CARROUSEL MOBILE ===== */
.mobile-experience {
    display: none;
}

.mobile-experience-carousel {
    margin-bottom: 30px;
}

.mobile-carousel-container {
    position: relative;
    overflow: visible;
    border-radius: 16px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.mobile-carousel-track {
    display: flex;
    transition: transform 0.5s ease;
}

.mobile-carousel-slide {
    min-width: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.mobile-carousel-slide.active {
    opacity: 1;
}

.mobile-carousel-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding: 10px 5px;
    position: relative;
    z-index: 10;
}

.mobile-carousel-btn {
    background: rgba(52, 152, 219, 0.8);
    color: white;
    border: none;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    z-index: 20;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.mobile-carousel-btn:hover {
    background: rgba(41, 128, 185, 0.9);
    transform: scale(1.15);
    box-shadow: 0 6px 20px rgba(41, 128, 185, 0.4);
}

.mobile-carousel-btn svg {
    width: 20px;
    height: 20px;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
}

.mobile-carousel-indicators {
    display: flex;
    gap: 10px;
    position: relative;
    z-index: 15;
}

.mobile-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(189, 195, 199, 0.7);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    z-index: 15;
    backdrop-filter: blur(10px);
}

.mobile-indicator.active {
    background: rgba(52, 152, 219, 0.9);
    transform: scale(1.2);
    box-shadow: 0 2px 8px rgba(52, 152, 219, 0.4);
}

.mobile-indicator:hover {
    background: rgba(52, 152, 219, 0.8);
}

/* Éléments de mission dans le carrousel mobile - REMOVED BLUE DOTS */
.mobile-carousel-container .mission-item {
    position: relative;
    padding-left: 15px; /* Reduced padding since we removed the dot */
    background: rgba(248, 249, 250, 0.3);
    border-radius: 8px;
    padding: 15px;
    margin: 12px 0;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Remove the blue dot pseudo-element */
.mobile-carousel-container .mission-item::before {
    content: none;
}

.mobile-carousel-container .mission-item:hover {
    background: rgba(232, 244, 253, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.mobile-carousel-container .mission-name {
    font-weight: 600;
    color: #e0e0e0;
    cursor: default;
    transition: color 0.3s ease;
    display: block;
    font-size: 15px;
}

.mobile-carousel-container .mission-name:hover {
    color: rgba(52, 152, 219, 0.9);
}

.mobile-carousel-container .mission-details {
    max-height: 0;
    overflow: hidden;
    font-size: 14px;
    color: #e0e0e0;
    margin-top: 8px;
    transition: max-height 0.5s ease;
    line-height: 1.6;
}

.mobile-carousel-container .mission-item:hover .mission-details {
    max-height: 150px;
}

/* Projets dans le carrousel mobile */
.mobile-carousel-container .mobile-project {
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(236, 240, 241, 0.5);
}

.mobile-carousel-container .mobile-project:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.mobile-carousel-container .project-title {
    font-size: 18px;
    font-weight: 600;
    color: #e0e0e0;
    margin-bottom: 20px;
    text-align: center;
    padding: 0;
    background: transparent;
    border-radius: 0;
    backdrop-filter: none;
    border: none;
}

.mobile-carousel-container .project-missions {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* ===== SECTIONS REPLIABLES ===== */
.other-experiences-collapsible {
    margin-top: 25px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.other-experiences-collapsible:hover {
    border-color: rgba(52, 152, 219, 0.6);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.15);
}

.collapsible-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    background: rgba(248, 249, 250, 0.3);
    cursor: default;
    transition: background 0.3s ease;
    backdrop-filter: blur(10px);
}

.collapsible-header:hover {
    background: rgba(232, 244, 253, 0.4);
}

.collapsible-title {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 500;
    color: #e0e0e0;
    margin: 0;
}

.collapsible-indicator {
    font-size: 18px;
    font-weight: bold;
    color: rgba(52, 152, 219, 0.8);
    transition: transform 0.3s ease;
}

.collapsible-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
    background: rgba(255, 255, 255, 0.05);
}

.other-experiences-collapsible:hover .collapsible-content {
    max-height: 300px;
}

.other-experiences-collapsible:hover .collapsible-indicator {
    transform: rotate(45deg);
}

.other-job-item {
    padding: 20px;
    border-bottom: 1px solid rgba(240, 240, 240, 0.3);
}

.other-job-item:last-child {
    border-bottom: none;
}

.other-job-title {
    font-size: 16px;
    font-weight: 600;
    color: #e0e0e0;
    margin-bottom: 5px;
}

.other-job-period {
    font-style: italic;
    color: #e0e0e0;
    margin-bottom: 10px;
    font-size: 14px;
}

.other-job-description {
    font-size: 14px;
    color: #e0e0e0;
    line-height: 1.6;
}

/* ===== FORMATION ===== */
.education-item {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(236, 240, 241, 0.5);
}

.education-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.education-title {
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: #e0e0e0;
    margin-bottom: 5px;
}

.education-institution {
    font-weight: 500;
    color: #e0e0e0;
    margin-bottom: 5px;
}

.education-period {
    font-style: italic;
    color: #e0e0e0;
    margin-bottom: 10px;
    font-size: 14px;
}

.education-description {
    font-size: 14px;
    color: #e0e0e0;
    line-height: 1.6;
}

.skills-acquired {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.skill-item {
    position: relative;
    padding-left: 20px;
}

.skill-item::before {
    content: '•';
    position: absolute;
    left: 0;
    color: rgba(52, 152, 219, 0.8);
    font-weight: bold;
}

.skill-name {
    font-weight: 600;
    color: #e0e0e0;
    cursor: default;
    transition: color 0.3s ease;
    font-size: 15px;
}

.skill-name:hover {
    color: rgba(52, 152, 219, 0.9);
}

.skill-details {
    max-height: 0;
    overflow: hidden;
    font-size: 14px;
    color: #e0e0e0;
    margin-top: 5px;
    transition: max-height 0.5s ease;
    line-height: 1.6;
}

.skill-item:hover .skill-details {
    max-height: 100px;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 992px) {
    .main-content-inner {
        flex-direction: column;
    }
    
    .left-column,
    .right-column {
        flex: none;
        width: 100%;
    }
    
    .main-content {
        flex-direction: column;
        gap: 25px;
    }
    
    .profile-section {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .contact-info {
        justify-content: center;
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    
    .desktop-experience {
        display: none !important;
    }
    
    .mobile-experience {
        display: block !important;
    }
    
    body {
        font-size: 16px;
        line-height: 1.7;
    }
    
    .profile-info h1.name {
        font-size: 32px;
    }
    
    .profile-info h2.job-title {
        font-size: 20px;
    }
    
    .contact-item {
        font-size: 16px;
    }
    
    .section-title {
        font-size: 22px;
    }
    
    .card {
        padding: 20px;
    }
    
    .skill-tag {
        font-size: 15px;
        padding: 8px 14px;
    }
    
    .hobby-details,
    .mission-details,
    .skill-details,
    .other-job-description,
    .education-description {
        font-size: 15px;
        line-height: 1.6;
    }
    
    .language-name,
    .mission-name,
    .skill-name,
    .other-job-title,
    .education-title {
        font-size: 17px;
    }
    
    .mobile-carousel-controls {
        flex-direction: row !important;
        justify-content: space-between;
        align-items: center;
    }
    
    .mobile-carousel-indicators {
        order: 0;
    }

  .other-experiences-collapsible:hover .collapsible-content {
        max-height: 600px; /* Even larger for mobile to ensure all content fits */
    }

}

@media (max-width: 768px) {
    .header-content {
        padding: 0 20px;
    }
    
    .main-content {
        padding: 20px;
        gap: 20px;
    }
    
    .card {
        padding: 18px;
    }
    
    body {
        font-size: 17px;
    }
    
    .profile-info h1.name {
        font-size: 28px;
    }
    
    .profile-info h2.job-title {
        font-size: 18px;
    }
    
    .section-title {
        font-size: 20px;
    }
    
    .contact-item {
        font-size: 15px;
    }
    
    .left-column,
    .right-column {
        gap: 20px;
    }
    
    .skill-category {
        margin-bottom: 20px;
    }
    
    .education-item {
        margin-bottom: 20px;
        padding-bottom: 15px;
    }
    
    .mobile-project .mission-item {
        padding: 12px;
    }
    
    .mobile-project .mission-name {
        font-size: 15px;
    }
    
    .mobile-project .mission-details {
        font-size: 14px;
    }
    
    .mobile-carousel-container .mission-item:hover .mission-details {
        max-height: 200px;
    }

  .other-experiences-collapsible:hover .collapsible-content {
        max-height: 600px; /* Even larger for mobile to ensure all content fits */
    }

}

@media (max-width: 480px) {
    .main-content {
        padding: 15px;
    }
    
    .header-content {
        padding: 0 15px;
    }
    
    .card {
        padding: 15px;
        border-radius: 12px;
    }
    
    .photo-placeholder {
        width: 120px;
        height: 120px;
    }
    
    .photo-placeholder span {
        font-size: 36px;
    }
    
    body {
        font-size: 18px;
    }
    
    .profile-info h1.name {
        font-size: 24px;
    }
    
    .section-title {
        font-size: 19px;
    }
    
    .skill-tag {
        font-size: 14px;
        padding: 7px 12px;
    }
    
    .mobile-project .mission-item {
        padding: 10px;
    }
    
    .mobile-carousel-btn {
        width: 40px;
        height: 40px;
    }
    
    .mobile-carousel-btn svg {
        width: 18px;
        height: 18px;
    }
    
    .mobile-carousel-controls {
        flex-direction: row !important;
        justify-content: space-between;
        align-items: center;
    }

  .other-experiences-collapsible:hover .collapsible-content {
        max-height: 600px; /* Even larger for mobile to ensure all content fits */
    }

}

@media (min-width: 993px) {
    .desktop-experience {
        display: block !important;
    }
    
    .mobile-experience {
        display: none !important;
    }
}