:root {
    --primary: #2C3E50;
    --accent: #3498DB;
    --ocean: #1ABC9C;
    --sunset: #E74C3C;
    --primary-light: #2980B9;
    --background: #F8F9FA;
    --foreground: #212529;
    --muted-foreground: #6C757D;
    --card-background: #FFFFFF;
}

body {
    background-color: var(--background);
    color: var(--foreground);
    font-family: 'Poppins', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.7), rgba(0,0,0,0.3));
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 900px;
    padding: 0 20px;
}

.hero-badge {
    background-color: rgba(52, 152, 219, 0.2);
    color: var(--accent);
    border: 1px solid rgba(52, 152, 219, 0.3);
    font-size: 1.1rem;
    padding: 10px 20px;
    margin-bottom: 30px;
    display: inline-block;
}

.hero-title {
    font-size: 3.5rem;
    color: white;
    margin-bottom: 25px;
}

.hero-subtitle {
    font-size: 1.8rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-btn {
    padding: 12px 30px;
    font-size: 1.1rem;
    border-radius: 50px;
    margin: 0 10px 20px;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--accent);
    border-color: var(--accent);
}

.btn-primary:hover {
    background-color: #2980b9;
    border-color: #2980b9;
}

.btn-outline-light {
    border-color: rgba(255, 255, 255, 0.3);
    color: white;
}

.btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.chevron-animation {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
    40% {transform: translateY(-20px);}
    60% {transform: translateY(-10px);}
}

/* Section Styling */
.section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
    text-align: center;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--muted-foreground);
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

/* Skill Cards */
.skill-card {
    height: 100%;
    border-radius: 15px;
    overflow: hidden;
    border: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    background-color: var(--card-background);
}

.skill-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.skill-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 30px;
    color: white;
}

.skill-icon.ocean {
    background-color: var(--ocean);
}

.skill-icon.sunset {
    background-color: var(--sunset);
}

.skill-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    text-align: center;
}

.skill-card p {
    color: var(--muted-foreground);
    text-align: center;
    margin-bottom: 20px;
    padding: 0 15px;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    padding: 0 15px 25px;
}

.skill-tag {
    background-color: rgba(26, 188, 156, 0.1);
    color: var(--ocean);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
}

.skill-tag.sunset {
    background-color: rgba(231, 76, 60, 0.1);
    color: var(--sunset);
}

/* Experience Cards */
.experience-card {
    border-radius: 15px;
    overflow: hidden;
    border: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    background-color: var(--card-background);
    height: 100%;
}

.experience-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.exp-header {
    padding: 25px 25px 15px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.exp-title {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.exp-company {
    font-size: 1.1rem;
    color: var(--accent);
    margin-bottom: 5px;
}

.exp-meta {
    display: flex;
    justify-content: space-between;
    color: var(--muted-foreground);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.exp-body {
    padding: 20px 25px;
}

.exp-description {
    color: var(--muted-foreground);
    margin-bottom: 20px;
}

.exp-quote {
    background-color: rgba(52, 152, 219, 0.05);
    border-left: 4px solid var(--accent);
    padding: 15px;
    margin-bottom: 20px;
    font-style: italic;
    border-radius: 0 8px 8px 0;
}

.exp-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.exp-tag {
    background-color: rgba(26, 188, 156, 0.1);
    color: var(--ocean);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
}

/* Progress Section */
.progress-card {
    border-radius: 15px;
    overflow: hidden;
    border: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    background-color: var(--card-background);
    padding: 30px;
    height: 100%;
}

.progress-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.progress-icon {
    color: var(--primary);
    font-size: 1.8rem;
}

.progress-title {
    font-size: 1.8rem;
    color: var(--foreground);
}

.progress-item {
    margin-bottom: 25px;
}

.progress-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 1rem;
}

.progress-bar {
    height: 10px;
    border-radius: 5px;
    background-color: #e9ecef;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    border-radius: 5px;
}

.progress-fill.primary {
    background-color: var(--primary);
}

.progress-fill.accent {
    background-color: var(--accent);
}

.progress-description {
    font-size: 0.9rem;
    color: var(--muted-foreground);
    margin-top: 5px;
}

/* Interactive Map */
.map-card {
    border-radius: 15px;
    overflow: hidden;
    border: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    background-color: var(--card-background);
    padding: 30px;
    height: 100%;
}

.map-container {
    position: relative;
    background: linear-gradient(to bottom right, rgba(26, 188, 156, 0.05), rgba(52, 152, 219, 0.05));
    border-radius: 10px;
    height: 400px;
    border: 1px solid rgba(0,0,0,0.05);
    margin-bottom: 25px;
    overflow: hidden;
}

.france-map {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: auto;
    opacity: 0.8;
}

.map-marker {
    position: absolute;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid white;
    transform: translate(-50%, -50%);
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.map-marker:hover {
    transform: translate(-50%, -50%) scale(1.5);
    z-index: 20;
}

.map-marker.primary {
    background-color: var(--primary);
}

.map-marker.accent {
    background-color: var(--accent);
}

.map-marker.ocean {
    background-color: var(--ocean);
}

.map-tooltip {
    position: absolute;
    background: white;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    width: 250px;
    z-index: 100;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.map-tooltip.show {
    opacity: 1;
}

.map-legend {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.legend-color {
    width: 16px;
    height: 16px;
    border-radius: 50%;
}

.legend-label {
    font-size: 0.9rem;
    color: var(--muted-foreground);
}

/* Formation Cards */
.formation-card {
    border-radius: 15px;
    overflow: hidden;
    border: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    background-color: var(--card-background);
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
}

.formation-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.formation-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 35px;
    color: white;
    animation: float 3s ease-in-out infinite;
}

.formation-icon.primary {
    background-color: var(--primary);
}

.formation-icon.accent {
    background-color: var(--accent);
}

.formation-icon.ocean {
    background-color: var(--ocean);
}

.formation-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.formation-card p {
    color: var(--muted-foreground);
    margin-bottom: 20px;
}

.formation-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.formation-badge {
    background-color: rgba(26, 188, 156, 0.1);
    color: var(--ocean);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

/* Timeline */
.timeline-section {
    position: relative;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 50px;
    bottom: 50px;
    width: 4px;
    background: linear-gradient(to bottom, var(--primary), var(--accent));
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 60px;
    display: flex;
    align-items: center;
}

.timeline-dot {
    position: absolute;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 3px solid white;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.timeline-dot.education {
    background-color: var(--primary);
}

.timeline-dot.experience {
    background-color: var(--accent);
}

.timeline-dot.certification {
    background-color: var(--ocean);
}

.timeline-content {
    width: 45%;
    background-color: var(--card-background);
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.timeline-content.left {
    margin-right: auto;
}

.timeline-content.right {
    margin-left: auto;
}

.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.timeline-year {
    font-weight: 600;
    color: var(--primary);
    font-size: 1.1rem;
}

.timeline-type {
    background-color: #e9ecef;
    color: var(--muted-foreground);
    padding: 3px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
}

.timeline-title {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.timeline-description {
    color: var(--muted-foreground);
    margin-bottom: 15px;
}

.timeline-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.timeline-tag {
    background-color: rgba(26, 188, 156, 0.1);
    color: var(--ocean);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
}

/* Contact Section */
.contact-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: white;
    padding: 80px 0;
}

.contact-title {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.contact-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 40px;
}

.contact-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
}

.contact-btn {
    padding: 12px 30px;
    font-size: 1.1rem;
    border-radius: 50px;
}

.contact-info {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.info-item {
    text-align: center;
    min-width: 200px;
}

.info-icon {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 15px;
}

.info-title {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.info-desc {
    font-size: 0.95rem;
    opacity: 0.9;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .timeline-line {
        left: 30px;
    }
    
    .timeline-content {
        width: calc(100% - 80px);
        margin-left: 60px !important;
        margin-right: 0 !important;
    }
    
    .timeline-dot {
        left: 30px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.3rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-btn {
        display: block;
        width: 100%;
        margin: 0 0 15px;
    }
}