/* Variables avec les nouvelles couleurs */
:root {
    --dark-bg: #020e19;
    --dark-card: #0a213f;
    --dark-border: #1a3658;
    --green: #03a87c;
    --blue: #245de0;
    --purple: #6c63ff;
    --text-primary: #ffffff;
    --text-secondary: #b8c2cc;
    --text-muted: #718096;
}

/* Section À propos */
.about-dark-section {
    background: linear-gradient(135deg, var(--dark-bg) 0%, #071a30 100%);
    position: relative;
    overflow: hidden;
    padding: 80px 0;
}

.about-dark-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%2303a87c" fill-opacity="0.03" d="M0,96L48,112C96,128,192,160,288,186.7C384,213,480,235,576,213.3C672,192,768,128,864,128C960,128,1056,192,1152,192C1248,192,1344,128,1392,96L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-size: cover;
    background-position: center;
    z-index: 0;
}

/* Conteneur profil circulaire */
.profile-container {
    position: relative;
    z-index: 1;
}

.profile-circle {
    position: relative;
    width: 280px;
    height: 280px;
    margin: 0 auto;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-image {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    object-fit: cover;
    position: relative;
    z-index: 2;
    border: 4px solid transparent;
    background: linear-gradient(45deg, var(--dark-card), var(--dark-card)) padding-box,
                linear-gradient(45deg, var(--green), var(--blue)) border-box;
    box-shadow: 0 15px 35px rgba(3, 168, 124, 0.15);
}

.profile-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid transparent;
    background: linear-gradient(45deg, transparent, transparent) padding-box,
                linear-gradient(45deg, var(--purple), var(--blue)) border-box;
    animation: rotate 10s linear infinite;
    z-index: 1;
}

.profile-glow {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(3, 168, 124, 0.1) 0%, transparent 70%);
    z-index: 0;
    animation: pulse 4s ease-in-out infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.05); }
}

.profile-title h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.text-gradient {
    background: linear-gradient(90deg, var(--green), var(--blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 600;
    font-size: 1.1rem;
}

/* Badges de compétences */
.skills-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.skill-badge {
    background: rgba(3, 168, 124, 0.1);
    color: var(--green);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(3, 168, 124, 0.2);
    transition: all 0.3s ease;
}

.skill-badge:hover {
    background: var(--green);
    color: var(--dark-bg);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(3, 168, 124, 0.3);
}

/* Contenu texte */
.about-content {
    position: relative;
    z-index: 1;
}

.section-subtitle {
    color: var(--green);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 10px;
}

.section-title {
    font-size: 2.3rem;
    font-weight: 700;
    background: linear-gradient(90deg, var(--green), var(--blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.2;
}

.about-description {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.highlight_1 {
    color: var(--green);
    font-weight: 600;
}

/* Approche pédagogique */
.teaching-approach {
    margin: 30px 0;
}

.approach-title {
    color: var(--text-primary);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 25px;
    position: relative;
}

.approach-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--green), var(--blue));
    border-radius: 2px;
}

.approach-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    padding: 20px;
    background: var(--dark-card);
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 4px solid transparent;
    border: 1px solid var(--dark-border);
}

.approach-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(3, 168, 124, 0.1);
    border-left-color: var(--green);
}

.approach-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--green), var(--blue));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-bg);
    font-size: 1.2rem;
    margin-right: 15px;
    flex-shrink: 0;
}

.approach-content h5 {
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.approach-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.5;
}

/* Expérience highlight */
.experience-highlight {
    background: linear-gradient(135deg, var(--dark-card), #0d2647);
    border-radius: 15px;
    padding: 25px;
    border: 1px solid var(--dark-border);
    margin: 30px 0;
    position: relative;
    overflow: hidden;
}

.experience-highlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(3, 168, 124, 0.05), transparent);
    z-index: 0;
}

.exp-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.exp-item i {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--green), var(--blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-bg);
    font-size: 1.2rem;
    margin-right: 15px;
}

.exp-item h4 {
    color: var(--text-primary);
    font-weight: 700;
    margin: 0;
    font-size: 1.5rem;
}

.exp-item p {
    color: var(--text-secondary);
    margin: 0;
    font-size: 0.9rem;
}

/* Boutons CTA */
.about-cta {
    margin-top: 30px;
}

.btn-primary, .btn-outline {
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(90deg, var(--green), var(--blue));
    color: var(--dark-bg);
    box-shadow: 0 5px 15px rgba(3, 168, 124, 0.3);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--purple);
    color: var(--purple);
}

.btn-primary:hover, .btn-outline:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    color: var(--text-primary);
}

.btn-primary:hover {
    box-shadow: 0 10px 25px rgba(3, 168, 124, 0.5);
}

.btn-outline:hover {
    background: var(--purple);
    color: var(--text-primary);
}

/* Responsive */
@media (max-width: 991px) {
    .about-content {
        padding-left: 0 !important;
        text-align: center;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .profile-circle {
        width: 240px;
        height: 240px;
    }
    
    .profile-image {
        width: 210px;
        height: 210px;
    }
    
    .approach-item {
        text-align: left;
    }
    
    .approach-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 767px) {
    .section-title {
        font-size: 1.8rem;
    }
    
    .about-description {
        font-size: 1rem;
    }
    
    .profile-circle {
        width: 200px;
        height: 200px;
    }
    
    .profile-image {
        width: 180px;
        height: 180px;
    }
    
    .about-cta .btn {
        width: 100%;
        margin-bottom: 10px;
        justify-content: center;
    }
    
    .about-cta .me-3 {
        margin-right: 0 !important;
    }
    
    .approach-item {
        flex-direction: column;
        text-align: center;
    }
    
    .approach-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }
}
