@import url('https://fonts.googleapis.com/css2?family=BBH+Bogle&family=Dancing+Script:wght@400..700&family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Lobster+Two:ital,wght@0,400;0,700;1,400;1,700&family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Pacifico&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Rubik:ital,wght@0,300..900;1,300..900&family=Satisfy&display=swap');

.about {
    padding: 100px 8%;
    background: white;
}

.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 60px;
    color: #0F4C75;
}

.about-container {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

/* TIMELINE */

.timeline {
    position: relative;
    flex: 1;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    width: 4px;
    height: 87%;
    background: #ddd;
}

.timeline-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 40px;
    position: relative;
}

.icon {
    width: 245px;
    height: 80px;
    background: #0F4C75;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    z-index: 2;
}

.icon1 {
    width: 400px;
    height: 80px;
    background: #0F4C75;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    z-index: 2;
}



.content {
    padding-left: 20px;
}

.content h3 {
    color: #0F4C75;
    margin-bottom: 10px;
    font-size: 26px;
    font-family: "Poppins", sans-serif;
}

.content p {
    color: black;
    line-height: 1.6rem;
    font-size: 18px;
    font-family: "Poppins", sans-serif;
}

/* CONSULTANT */

.consultant {
    flex: 1;
    text-align: center;
}

.consultant-photo {
    width: 260px;
    border-radius: 10px;
    margin-bottom: 20px;
    animation: slideRight 1s ease;
}

.consultant-name {
    color: #0F4C75;
    margin-bottom: 5px;
    animation: slideUp 1s ease;
}

.consultant-title {
    color: #0F4C75;
    margin-bottom: 15px;
    animation: slideUp 1.2s ease;
    font-family: "Poppins", sans-serif;
}

.consultant-desc {
    color: black;
    animation: slideLeft 1s ease;
    font-family: "Poppins", sans-serif;
    line-height: 1.5rem;
}

.consultant-links {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
}

.consultant-links .cv-btn {
    text-decoration: none;
    font-family: "Poppins", sans-serif;
    padding: 8px;
    background-color: #000;
    color: #ddd;
    border-radius: 15px;
    font-size: 17px;
    align-self: center;
    display: flex;
    font-weight: 800;

}

.consultant-links .cv-btn ion-icon {
    color: rgb(184, 28, 124);
    font-size: 25px;
}

.contact-items {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.contact-items a {
    text-decoration: none;
    font-family: "Poppins", sans-serif;

}

h3 {
    font-family: "Poppins", sans-serif;
}

.contact-items a {
    align-self: center;
    display: flex;
    font-size: 18px;
    background: #000;
    color: white;
    padding: 5px;
    border-radius: 15px;
}

.contact-items .contact {
    color: green;
    font-size: 20px;
    padding: 5px;
    background-color: #000;
}

.contact-items .email {
    color: red;
    font-size: 20px;
}

.contact-items .link {
    color: blue;
    font-size: 20px;
}

.animate {
    opacity: 0;
    transition: 1s ease;
}

/* gauche */

.left {
    transform: translateX(-80px);
}

/* droite */

.right {
    transform: translateX(80px);
}

/* bas */

.bottom {
    transform: translateY(60px);
}

/* état visible */

.show {
    opacity: 1;
    transform: translateX(0) translateY(0);
}

/* RESPONSIVE ABOUT CSS */
@media (max-width:992px) {

    .about-container {
        gap: 30px;
    }

    .section-title {
        font-size: 30px;
    }

    .content h3 {
        font-size: 22px;
    }

    .content p {
        font-size: 16px;
    }

    .consultant-photo {
        width: 220px;
    }

}

@media (max-width:768px) {

    .about-container {
        flex-direction: column;
        gap: 40px;
    }

    .timeline::before {
        left: 20px;
        height: 100%;
    }

    .timeline-item {
        flex-direction: row;
    }

    .icon,
    .icon1 {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .content {
        padding-left: 15px;
    }

    .content h3 {
        font-size: 20px;
    }

    .content p {
        font-size: 15px;
        line-height: 1.5;
    }

    .consultant {
        text-align: center;
    }

    .consultant-photo {
        width: 180px;
        object-fit: cover;
    }

    .consultant-desc {
        font-size: 15px;
    }

    .contact-items a {
        font-size: 14px;
        padding: 8px;
    }

    .cv-btn {
        font-size: 15px;
    }

}

@media (max-width:480px) {

    .section-title {
        font-size: 24px;
    }

    .hero h1 {
        font-size: 20px;
    }

    .consultant-photo {
        width: 150px;
    }

}