/* Style principal pour le portfolio professionnel blanc */
:root {
    --primary-color: #ffffff;
    --secondary-color: #f8f9fa;
    --accent-color: #0d6efd;
    --accent-hover: #0052cc;
    --text-color: #212529;
    --light-gray: #e9ecef;
    --border-color: #dee2e6;
    --hover-shadow: 0 10px 25px rgba(13, 110, 253, 0.25);
    --blue-glow: 0 0 15px rgba(13, 110, 253, 0.4);
    --transition-normal: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-slow: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    --gradient-blue: linear-gradient(135deg, rgba(13, 110, 253, 0.8), rgba(9, 90, 235, 0.9));
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', Arial, sans-serif;
    color: var(--text-color);
    background-color: var(--primary-color);
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background-color: var(--primary-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: var(--transition-normal);
}

header:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--accent-color);
    text-decoration: none;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
    padding: 5px 10px;
    border-radius: 4px;
}

.logo::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: all 0.5s ease;
}

.logo:hover::before {
    left: 100%;
}

.logo:hover {
    transform: scale(1.05);
    text-shadow: 0 0 8px rgba(13, 110, 253, 0.4);
    color: var(--accent-hover);
}

.logo::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -3px;
    left: 0;
    background-color: var(--accent-color);
    transition: var(--transition-normal);
}

.logo:hover::after {
    width: 100%;
}

/* Navigation */
nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition-normal);
    position: relative;
    padding: 5px 0;
    position: relative;
    overflow: hidden;
}

nav ul li a::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--accent-color);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

nav ul li a:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

nav ul li a:hover,
nav ul li a.active {
    color: var(--accent-color);
    text-shadow: 0 0 5px rgba(13, 110, 253, 0.3);
}

nav ul li a:hover::after,
nav ul li a.active::after {
    width: 100%;
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--accent-color);
    transition: var(--transition-normal);
}

/* Main Content */
main {
    padding: 100px 0 50px;
    min-height: calc(100vh - 200px);
}

.page-title {
    margin-bottom: 40px;
    text-align: center;
    position: relative;
}

.page-title h1 {
    font-size: 36px;
    font-weight: 700;
    transition: var(--transition-normal);
    animation: fadeInUp 0.8s ease-out forwards;
}

.page-title:hover h1 {
    transform: translateY(-3px);
    text-shadow: 0 5px 15px rgba(13, 110, 253, 0.3);
    color: var(--accent-color);
}

.page-title::after {
    content: '';
    display: block;
    width: 100px;
    height: 3px;
    background-color: var(--accent-color);
    margin: 15px auto 0;
    transition: var(--transition-normal);
}

.page-title:hover::after {
    width: 150px;
}

/* Sections */
section {
    margin-bottom: 60px;
    transition: var(--transition-normal);
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
    border-radius: 8px;
    padding: 15px;
    position: relative;
    overflow: hidden;
}

section:nth-of-type(1) { animation-delay: 0.1s; }
section:nth-of-type(2) { animation-delay: 0.2s; }
section:nth-of-type(3) { animation-delay: 0.3s; }
section:nth-of-type(4) { animation-delay: 0.4s; }
section:nth-of-type(5) { animation-delay: 0.5s; }

section:hover {
    background-color: rgba(13, 110, 253, 0.03);
    box-shadow: 0 5px 15px rgba(13, 110, 253, 0.1);
    transform: translateY(-5px);
}

section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 0;
    background-color: var(--accent-color);
    transition: var(--transition-normal);
}

section:hover::before {
    height: 100%;
}

section:hover .card {
    border-color: rgba(13, 110, 253, 0.2);
}

section:hover img {
    filter: brightness(1.05);
}

section:hover .section-title {
    color: var(--accent-color);
    transform: translateX(5px);
}

/* Cards */
.card {
    background-color: var(--primary-color);
    border: 1px solid var(--border-color);
    border-radius: 5px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    transition: var(--transition-slow);
    position: relative;
    overflow: hidden;
    perspective: 1000px;
    transform-style: preserve-3d;
}

.card:hover {
    transform: translateY(-8px) rotateX(2deg) rotateY(2deg);
    box-shadow: var(--hover-shadow);
    border-color: rgba(13, 110, 253, 0.5);
    background-color: rgba(13, 110, 253, 0.02);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 0;
    background: linear-gradient(to bottom, rgba(13, 110, 253, 0.05), transparent);
    transition: var(--transition-normal);
}

.card:hover::before {
    height: 100%;
    background: linear-gradient(to bottom, rgba(13, 110, 253, 0.08), transparent);
}

.card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent 60%, rgba(13, 110, 253, 0.1));
    opacity: 0;
    transition: all 0.5s ease;
    z-index: -1;
    border-radius: 5px;
}

.card:hover::after {
    opacity: 1;
}

.card-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--accent-color);
    transition: var(--transition-normal);
    position: relative;
}

.card-title::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

.card:hover .card-title::before {
    width: 80px;
}

.card:hover .card-title {
    transform: translateY(-2px);
}

/* Grid Layout */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

/* Profile Section */
.profile-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    align-items: center;
    transition: var(--transition-normal);
}

.profile-container:hover {
    transform: translateY(-5px);
}

.profile-image {
    flex: 0 0 250px;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
    perspective: 1000px;
}

.profile-image:hover {
    transform: scale(1.03);
}

.profile-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-blue);
    opacity: 0;
    border-radius: 5px;
    transform: rotate(-3deg) scale(0.95);
    transition: all 0.5s ease;
    z-index: -1;
}

.profile-image:hover::before {
    opacity: 0.1;
    transform: rotate(-2deg) scale(1.05);
}

.profile-image img {
    width: 100%;
    border-radius: 5px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.5s ease;
}

.profile-image:hover img {
    box-shadow: var(--hover-shadow);
    filter: brightness(1.05) drop-shadow(0 0 10px rgba(13, 110, 253, 0.2));
    transform: rotate(1deg) scale(1.02);
}

.profile-content {
    flex: 1;
    min-width: 300px;
}

/* Skills Section */
.skills-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.skill-item {
    background-color: var(--secondary-color);
    padding: 10px 15px;
    border-radius: 20px;
    display: inline-block;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.skill-item::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--accent-color);
    z-index: -1;
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.3s ease;
}

.skill-item:hover {
    color: white;
    background-color: transparent;
}

.skill-item:hover::before {
    transform: scaleY(1);
}

.skill-item:hover {
    background-color: var(--accent-color);
    color: white;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 5px 15px rgba(13, 110, 253, 0.3);
}

.skill-category {
    margin-bottom: 30px;
    transition: var(--transition-normal);
}

.skill-category:hover h3 {
    color: var(--accent-color);
}

/* Timeline for Stages/Experience */
.timeline {
    position: relative;
    padding-left: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, var(--accent-color), var(--light-gray), var(--accent-color));
    background-size: 100% 200%;
    animation: gradientShift 8s linear infinite;
    transition: var(--transition-normal);
}

.timeline:hover::before {
    background-color: var(--accent-color);
    box-shadow: 0 0 12px rgba(13, 110, 253, 0.6);
}

.timeline-item {
    position: relative;
    margin-bottom: 30px;
    transition: var(--transition-normal);
}

.timeline-item:hover {
    transform: translateX(8px);
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -38px;
    top: 5px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: var(--accent-color);
    border: 3px solid var(--primary-color);
    transition: all 0.5s ease;
    z-index: 1;
    animation: pulse 1.5s infinite;
}

.timeline-item:hover::before {
    transform: scale(1.2);
    box-shadow: 0 0 0 5px rgba(13, 110, 253, 0.3), 0 0 8px rgba(13, 110, 253, 0.5);
}

.timeline-date {
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 5px;
    transition: var(--transition-normal);
}

.timeline-item:hover .timeline-date {
    transform: translateY(-2px);
}

.timeline-content {
    background-color: var(--secondary-color);
    padding: 20px;
    border-radius: 5px;
    transition: var(--transition-normal);
    border-left: 0 solid var(--accent-color);
    position: relative;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 20px;
    width: 20px;
    height: 20px;
    background-color: var(--secondary-color);
    transform: rotate(45deg);
    z-index: -1;
    transition: all 0.3s ease;
}

.timeline-item:hover .timeline-content::before {
    background-color: rgba(13, 110, 253, 0.05);
}

.timeline-item:hover .timeline-content {
    background-color: rgba(13, 110, 253, 0.05);
    box-shadow: var(--hover-shadow);
    border-left: 5px solid var(--accent-color);
}

.timeline-content ul li {
    transition: var(--transition-normal);
    padding: 3px 0;
    position: relative;
}

.timeline-content ul li:hover {
    transform: translateX(5px);
    color: var(--accent-color);
}

/* Applications Section */
.applications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.application-card {
    background-color: var(--secondary-color);
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    transition: var(--transition-slow);
    border-left: 0 solid var(--accent-color);
    position: relative;
    overflow: hidden;
}

.application-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--hover-shadow);
    border-left: 5px solid var(--accent-color);
    background-color: rgba(13, 110, 253, 0.02);
}

.application-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: linear-gradient(to bottom, rgba(13, 110, 253, 0.05), transparent);
    transition: var(--transition-normal);
    z-index: 0;
}

.application-card:hover::before {
    height: 100%;
}

.application-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--accent-color);
    transition: var(--transition-normal);
    position: relative;
    display: flex;
    align-items: center;
}

.application-title i {
    margin-right: 10px;
    transition: var(--transition-normal);
}

.application-card:hover .application-title i {
    transform: scale(1.2);
    color: var(--accent-hover);
}

.application-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--accent-color);
    transition: var(--transition-normal);
}

.application-card:hover .application-title::after {
    width: 100%;
    background: var(--gradient-blue);
}

.application-list {
    list-style: none;
}

.app-item {
    margin-bottom: 15px;
    padding-left: 20px;
    position: relative;
    transition: var(--transition-normal);
}

.app-item::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    transition: var(--transition-normal);
}

.application-card:hover .app-item::before {
    transform: scale(1.3);
}

.app-item:hover {
    transform: translateX(5px);
    color: var(--accent-color);
}

/* Footer */
footer {
    background-color: var(--secondary-color);
    color: var(--text-color);
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid var(--border-color);
    transition: var(--transition-normal);
}

footer:hover {
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.05);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-links {
    margin: 20px 0;
}

.footer-links a {
    margin: 0 15px;
    color: var(--text-color);
    text-decoration: none;
    transition: var(--transition-normal);
    position: relative;
}

.footer-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: var(--accent-color);
    transition: var(--transition-normal);
}

.footer-links a:hover::after {
    width: 100%;
}

.footer-links a:hover {
    color: var(--accent-color);
}

.social-icons {
    margin-bottom: 20px;
}

.social-icons a {
    display: inline-block;
    margin: 0 10px;
    color: var(--text-color);
    transition: var(--transition-normal);
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--light-gray);
    overflow: hidden;
}

.social-icons a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-blue);
    opacity: 0;
    transition: all 0.3s ease;
    transform: scale(0);
    border-radius: 50%;
}

.social-icons a:hover {
    color: white;
    transform: translateY(-5px);
}

.social-icons a:hover::before {
    opacity: 1;
    transform: scale(1);
}

.social-icons a i {
    position: relative;
    z-index: 2;
}

.social-icons a:hover {
    color: var(--accent-color);
    transform: translateY(-3px) scale(1.2);
    text-shadow: var(--blue-glow);
}

/* Animation pour les liens cliquables */
a[href]:not(.logo):not(.card-title):not(nav a):not(.footer-links a):not(.social-icons a) {
    color: var(--accent-color);
    text-decoration: none;
    position: relative;
    transition: var(--transition-normal);
}

a[href]:not(.logo):not(.card-title):not(nav a):not(.footer-links a):not(.social-icons a)::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: 0;
    left: 0;
    background-color: var(--accent-color);
    transition: var(--transition-normal);
}

a[href]:not(.logo):not(.card-title):not(nav a):not(.footer-links a):not(.social-icons a):hover {
    color: #0a58ca;
}

a[href]:not(.logo):not(.card-title):not(nav a):not(.footer-links a):not(.social-icons a):hover::after {
    width: 100%;
}

/* Animation de pulsation pour les éléments importants */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(13, 110, 253, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(13, 110, 253, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(13, 110, 253, 0);
    }
}

/* Effet de survol pour les titres h3 */
h3 {
    transition: var(--transition-normal);
    position: relative;
    display: inline-block;
}

h3:hover {
    color: var(--accent-color);
    transform: translateX(5px);
}

h3::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -3px;
    left: 0;
    background-color: var(--accent-color);
    transition: var(--transition-normal);
    opacity: 0;
}

h3:hover::after {
    width: 100%;
    opacity: 1;
}

/* Animations globales */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

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

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        padding: 15px 0;
    }
    
    nav ul {
        margin-top: 15px;
    }
    
    nav ul li {
        margin-left: 15px;
    }
    
    .grid {
        grid-template-columns: 1fr;
    }
    
    .profile-container {
        flex-direction: column;
        text-align: center;
    }
    
    .profile-image {
        margin: 0 auto;
    }
    
    .section-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

/* Effets de survol pour toutes les sections */
.timeline-item {
    transition: var(--transition-normal);
}

.timeline-item:hover {
    transform: translateX(5px);
}

.timeline-content {
    transition: var(--transition-normal);
}

.timeline-content:hover {
    background-color: rgba(13, 110, 253, 0.05);
    border-left: 3px solid var(--accent-color);
}

.skill-item {
    transition: var(--transition-normal);
}

.skill-item:hover {
    background-color: var(--accent-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 3px 10px rgba(13, 110, 253, 0.3);
}

strong {
    transition: var(--transition-normal);
}

strong:hover {
    color: var(--accent-color);
    text-shadow: 0 0 1px rgba(13, 110, 253, 0.3);
}

p {
    transition: var(--transition-normal);
}

p:hover {
    color: var(--text-color);
    transform: translateX(3px);
}

img {
    transition: var(--transition-normal);
}

img:hover {
    transform: scale(1.02);
    box-shadow: 0 5px 15px rgba(13, 110, 253, 0.2);
}

.fas, .fab, .far {
    transition: var(--transition-normal);
}

.fas:hover, .fab:hover, .far:hover {
    color: var(--accent-color);
    transform: scale(1.2);
}

/* Améliorations des effets de survol pour toutes les sections */

/* Effet de survol pour les éléments de navigation du footer */
.footer-links a {
    transition: var(--transition-normal);
    position: relative;
    padding: 3px 5px;
}

.footer-links a:hover {
    color: var(--accent-color);
    transform: translateY(-3px);
}

.footer-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: var(--accent-color);
    transition: var(--transition-normal);
}

.footer-links a:hover::after {
    width: 100%;
}

/* Effet de survol pour les icônes sociales */
.social-icons a {
    transition: var(--transition-normal);
    display: inline-block;
    margin: 0 10px;
}

.social-icons a:hover {
    transform: translateY(-5px) scale(1.2);
}

.social-icons a:hover i {
    color: var(--accent-color);
}

/* Effet de survol pour les tableaux */
table {
    transition: var(--transition-normal);
    border-collapse: collapse;
    width: 100%;
}

table:hover {
    box-shadow: 0 5px 15px rgba(13, 110, 253, 0.1);
}

th, td {
    transition: var(--transition-normal);
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

th:hover, td:hover {
    background-color: rgba(13, 110, 253, 0.05);
}

tr:hover {
    background-color: rgba(13, 110, 253, 0.03);
}

/* Effet de survol pour les listes de compétences */
.skill-category {
    transition: var(--transition-normal);
}

.skill-category:hover {
    transform: translateY(-5px);
}

.progress-container {
    transition: var(--transition-normal);
}

.progress-container:hover {
    box-shadow: 0 3px 10px rgba(13, 110, 253, 0.2);
}

.progress-bar {
    transition: var(--transition-normal);
}

.progress-container:hover .progress-bar {
    background: var(--gradient-blue);
    background-size: 200% 200%;
    animation: gradientShift 2s linear infinite;
}

/* Effet de survol pour les éléments de veille technologique */
.veille-item {
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.veille-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(13, 110, 253, 0.1);
}

.veille-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 0;
    background-color: var(--accent-color);
    transition: var(--transition-normal);
}

.veille-item:hover::before {
    height: 100%;
}

/* Effet de survol pour les certifications */
.certification-card {
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.certification-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 5px 15px rgba(13, 110, 253, 0.1);
    border-color: var(--accent-color);
}

.certification-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--accent-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition-normal);
}

.certification-card:hover::before {
    transform: scaleX(1);
}

/* Effet de survol pour les situations professionnelles */
.situation-card {
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.situation-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(13, 110, 253, 0.1);
    border-color: var(--accent-color);
}

.situation-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 0 30px 30px;
    border-color: transparent transparent rgba(13, 110, 253, 0.1) transparent;
    transition: var(--transition-normal);
}

.situation-card:hover::after {
    border-width: 0 0 50px 50px;
    border-color: transparent transparent rgba(13, 110, 253, 0.2) transparent;
}

/* Effet de survol pour tous les éléments h4 */
h4 {
    transition: var(--transition-normal);
    position: relative;
    display: inline-block;
}

h4:hover {
    color: var(--accent-color);
    transform: translateX(3px);
}

h4::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: var(--accent-color);
    transition: var(--transition-normal);
    opacity: 0;
}

h4:hover::after {
    width: 100%;
    opacity: 1;
}

/* Effet de survol pour les listes ul/ol génériques */
ul, ol {
    transition: var(--transition-normal);
}

ul:hover, ol:hover {
    padding-left: 25px;
}

/* Effet de survol pour les éléments de liste dans les cartes de compétences */
.card ul li {
    transition: var(--transition-normal);
    padding: 5px 0;
    position: relative;
}

.card ul li:hover {
    transform: translateX(5px);
    color: var(--accent-color);
}

.card ul li:hover strong {
    color: var(--accent-color);
    text-shadow: 0 0 1px rgba(13, 110, 253, 0.3);
}

.card ul li::before {
    content: '';
    position: absolute;
    left: -15px;
    top: 50%;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: var(--transition-normal);
    opacity: 0;
}

.card ul li:hover::before {
    width: 10px;
    opacity: 1;
}

/* Effet de survol pour les liens */
a:not(.logo, nav ul li a) {
    color: var(--accent-color);
    text-decoration: none;
    position: relative;
    transition: var(--transition-normal);
}

a:not(.logo, nav ul li a):hover {
    color: var(--accent-hover);
    text-shadow: 0 0 1px rgba(13, 110, 253, 0.3);
}

a:not(.logo, nav ul li a)::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: var(--accent-color);
    transition: var(--transition-normal);
}

a:not(.logo, nav ul li a):hover::after {
    width: 100%;
}

/* Effet de survol pour les boutons */
.btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--accent-color);
    color: white;
    border-radius: 5px;
    text-decoration: none;
    transition: var(--transition-normal);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: all 0.5s ease;
    z-index: -1;
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    background-color: var(--accent-hover);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(13, 110, 253, 0.3);
}

.btn:active {
    transform: translateY(-1px);
    box-shadow: 0 2px 5px rgba(13, 110, 253, 0.3);
}
