/* GENERAL */
body {
    font-family: 'Lato', sans-serif;
}
h1,h2,h3,h4,h5,h6 {
    font-weight: bold;
}
img {
    max-width: 100%;
    height: auto;
}
section {
    padding: 65px 0 80px 0;
}
section .heading {
    text-align: center;
    padding-bottom: 40px;
}
section .heading h2{
    text-transform: uppercase;
    color: white;
}
section .heading h3{
    color: white;
    padding-bottom: 20px;
}
section .heading p{
    color: white;
    text-align: center;

}
.divider {
    width: 100px;
    height: 2px;
    background-color: #0652B0;
    margin: 0 auto 20px;   
}
.divider.white {
    background-color: white;
}
ul {
    list-style: none;
}

/* NAVBAR */
.navbar {
    background-color: #0652B0;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: bold;
    border-bottom: 1px solid white;
}
.navbar-nav {
    margin: 0 auto;
    text-align: center;
}
.nav-link {
    color: white !important;
    margin: 0 6px;
}
.nav-link.active,
.nav-link:hover {
    background-color: white;
    color: #0652B0 !important;
}


/* ABOUT */
#about {
    background-color: #135BB4;
}
.profile-picture {
    text-align: center;
    margin: 0px auto 30px;
}
#about .heading h1 {
    color: white;
    text-transform: uppercase;
    margin-bottom: 20px;
}
.button1 {
    font-weight: bold;
    color: white;
    text-transform: uppercase;
    border: 1px solid white;
    padding: 18px 50px;
    display: inline-block;
    border-radius: 3px;
    text-decoration: none;
    margin-top: 20px;
    transition: all 0.3s ease-in 0s;
}
.button1:hover {
    background: white;
    color: #0652B0;
}

/* SKILLS */
#skills .heading h2 {
    color: #0652B0;
}
/* Conteneur Flexbox pour les outils */
.tools-list {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap; /* Important pour le mobile */
    gap: 30px; /* Espace entre les icônes */
}

/* Chaque outil individuel */
.tool-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 80px; /* Largeur fixe pour alignement propre */
    transition: transform 0.3s ease;
}

/* L'icône */
.tool-item i {
    font-size: 2.5rem; /* Taille de l'icône */
    color: #555; /* Gris foncé par défaut */
    margin-bottom: 10px;
    margin: 0 10px;
    transition: color 0.3s ease;
}

/* Le texte sous l'icône */
.tool-item span {
    font-size: 0.9rem;
    font-weight: 600;
    color: #135BB4;
    white-space: nowrap; /* Empêche le retour à la ligne */
}

/* --- Effets au survol --- */
.tool-item:hover {
    transform: translateY(-5px); /* Monte légèrement */
}

/* Gère l'affichage côte à côte des deux icônes */
.dual-icons {
    display: flex;
    gap: 10px; /* Espace entre l'icône HTML et CSS */
    margin-bottom: 10px; /* Espace entre les icônes et le texte */
}

/* On annule la marge individuelle des icônes quand elles sont groupées */
.dual-icons i {
    margin-bottom: 0; 
}
/* Couleurs spécifiques au survol */
.tool-item:hover .dual-icons i.fa-html5 { color: #e34c26; }
.tool-item:hover .dual-icons i.fa-css3-alt { color: #264de4; }
.tool-item:hover i.fa-wordpress { color: #21759b; }
.tool-item:hover i.fa-python { color: #306998; }
.tool-item:hover i.fa-file-excel { color: #1D6F42; }
.tool-item:hover i.fa-database { color: #00758f; } /* SQL */
.tool-item:hover i.fa-chart-column { color: #F2C811; } /* PowerBI Jaune */
.tool-item:hover i.fa-magnifying-glass-chart { color: #4285F4; } /* Looker Bleu */
.tool-item:hover i.fa-share-nodes { color: #ea4b71; } /* n8n Rose/Rouge */

/* EXPERIENCE */
#experience {
    background-color: #135BB4;
}
#experience .heading h2 {
    color: white;
}
.timeline {
    padding: 30px 10px;
    position: relative;
}
.timeline:before {
    content: " ";
    top: 0;
    bottom: 0;
    position: absolute;
    width: 5px;
    background-color: #333;
    left: 50%;
    margin-left: -2.5px;
}
.timeline > li {
    margin-bottom: 20px;
    position: relative;
}
.timeline > li:before,
.timeline > li:after {
    content: " ";
    display: table;
}
.timeline > li:after {
    clear: both;
}
.timeline li .timeline-badge {
    color: #135BB4;
    width: 50px;
    line-height: 50px;
    font-size: 20px;
    text-align: center;
    position: absolute;
    top: 16px;
    left: 50%;
    margin-left: -25px;
    background-color: #ddd;
    border-radius: 50%;
}
.timeline-panel-container {
    width: 50%;
    float: left;
}
.timeline-panel-container-inverted {
    width: 50%;
    float: right;
}
.timeline-panel {
    width: 90%;
    float: right;
    margin-right: 40px;
    border: 1px solid #d4d4d4;
    border-radius: 7px;
    padding: 20px 25px;
    position: relative;
    box-shadow: 0 1px 6px rgba(0,0,0, 0.175);
    background-color: #fff;
}
.timeline-panel-container-inverted .timeline-panel {
    float: left;
    margin-left: 40px;
}
.timeline-panel:after {
    position:absolute;
    top: 27px;
    right: -14px;
    display:inline-block;
    border-top: 14px solid transparent;
    border-left: 14px solid #fff;
    border-right: 0 solid #fff;
    border-bottom: 14px solid transparent;
    content: " ";
}
.timeline-panel-container-inverted .timeline-panel:after {
    border-left-width: 0;
    border-right-width: 14px;
    left: -14px;
    right: auto;
}
.timeline-heading h3 {
    margin-top: 5px;
    font-size: 20px;
}
.timeline-heading h4 {
    color: #0652B0;
}

/* EDUCATION */
#education .heading h2 {
    color: #0652B0;
    margin: 15px 0px;
}
.education-block {
    width:90%;
    margin: 0 auto;
    text-align: center;
    padding: 30px;
    background: #e9ecef;
    border-radius: 5px;
    border: 1px solid #ccc;
    margin-bottom: 20px;
}
.education-block h5 {
    color: #888;
    font-size: 15px;
    margin-bottom: 15px;
}
.education-block span {
    font-size: 35px;
}
.education-block h3 {
    color: #0652B0;
    margin: 15px 0px;
}
.education-block h4 {
    margin-bottom: 20px;
    font-weight: normal;
 }

 /* PORTFOLIO */
 #portfolio {
     background-color:#135BB4;
 }
 #portfolio .heading h2 {
    color: white;
}
#portfolio img {
    width: 100%;
    height: 100%;
    filter: grayscale(100%);
    -webkit-filter: grayscale(100%); 
}
#portfolio img:hover {
     filter: none;
    -webkit-filter: none; 
}
#portfolio .col-md-4 {
    margin-bottom: 20px;
}

/* LIENS */
 #liens {
     background-color:white;
 }
 #liens .heading h2 {
    color: #0652B0;
}
#liens img {
    width: 100%;
    height: 100%;
    filter: grayscale(100%);
    -webkit-filter: grayscale(100%); 
}
#liens img:hover {
     filter: none;
    -webkit-filter: none; 
}
#liens .col-md-6 {
    margin-bottom: 20px;
}

/* FOOTER */
footer {
    background-color: #333;
    padding: 20px 0 40px;
}
footer span {
    color: #135BB4;
    font-size: 25px;
    line-height: 35px;
}
footer span:hover {
    font-size: 27px;
}
footer h5 {
    color: white;
    font-weight: normal;
}
