:root {
    --axian-pink: #d7254f;
    --axian-deep-pink: #c2003f;
    --axian-bright-pink: #ff0045;
    --axian-grey: #414042;
    --axian-light-grey: #f1f1f1;
    --axian-purple: #5463a9;
    --axian-navy: #151d44;
    --axian-blue: #acc7e3;
}

html{
    scroll-behavior: smooth;
}

h1 {
    font-family: 'adria_groteskbold';
}

p, button {
    font-family: 'adria_groteskregular';
}

.fixed-header-mobile {
    z-index: 999999999999999999 !important;
}

.hero-banner {
    background-image: url('https://www.axian-telecom.com/cirdowee/2025/03/background_pattern.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    /* height: 80vh;  */
    height: auto;
    padding-top: 150px;
    padding-bottom: 80px;
}

.hero-banner .hero-banner-text-container {
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
}

#history {
    height: auto;
}

.profile-card {
    position: relative;
    overflow: hidden;
    background: var(--axian-light-grey);
    transition: transform 0.3s ease;
}

.profile-card:hover {
    transform: translateY(-10px);
}

.profile-overlay {
    position: absolute;
    bottom: -500%;
    left: 0;
    right: 0;
    background: linear-gradient(to top, var(--axian-navy), transparent);
    padding: 2rem;
    color: white;
    transition: bottom 0.1s ease;
}

.profile-card:hover .profile-overlay {
    bottom: 0;
}

.profile-card:focus .profile-overlay{
    bottom: 0;
}

.profile-image {
    /* filter: grayscale(100%) contrast(1.2); */
    transition: all 0.5s ease;
    height: 370px;
}

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

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-up {
    animation: fadeUp 0.5s ease forwards;
}

/* Overlay */
.overlay-cookies {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.3);
    transition: opacity 500ms;
    opacity: 1;
    z-index: 99999999999999999999999999;
}

.overlay-cookies .popup {
    width: 80%;
    height: 80%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin-top: 0px;
    margin: 0px;
    padding: 35px 35px 35px 35px;
    overflow-y: scroll;
    scroll-margin-right: 10px;
}

.overlay-cookies .popup .container {
    position: relative;
    height: 100%;
    width: 100%;
}

/* .overlay-cookies .popup::-webkit-scrollbar {
    width: 8px;
}

.overlay-cookies .popup::-webkit-scrollbar-track {
    background-color: #ebebeb;
    -webkit-border-radius: 10px;
    border-radius: 10px;
}

.overlay-cookies .popup::-webkit-scrollbar-thumb {
    -webkit-border-radius: 10px;
    border-radius: 10px;
    background: rgb(0, 0, 0, 0.2);
} */

.overlay-cookies .popup::-webkit-scrollbar {
    width: 0px;
}

.overlay-cookies .popup .close {
    position: absolute;
    top: -20px;
    right: 20px;
    transition: all 200ms;
    font-size: 30px;
}

@media(max-width:1200px) {
    .overlay-cookies .popup {
        width: 80%;
        height: 80%;
    }
}

@media(max-width:992px) {
    .overlay-cookies .popup {
        width: 80%;
        height: 80%;
    }

    .overlay-cookies .popup .close {
        position: absolute;
        top: -30px;
        right: -30px;
        transition: all 200ms;
        font-size: 30px;
    }
}

@media(max-width:600px) {
    .overlay-cookies .popup {
        width: 95%;
        height: 95%;
    }

    .overlay-cookies .popup {
        padding: 35px 0px 0px 0px !important;
    }

    .overlay-cookies .popup .close {
        position: absolute;
        top: -30px;
        right: 5px;
        transition: all 200ms;
        font-size: 30px;
    }
}

.profile-content {
    padding: 20px;
}

.profile-flag {
    max-width: 40px;
    border-radius: 50%;
    height: auto;
    object-fit: cover;
}

.profile-name-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items:center;
    justify-content: flex-start;
}

.profile-name-container h3 {
    min-height: 3em; /* Ajuste en fonction de la taille du texte */
    display: block;
}

.profile-flag-container{
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
}

.profil-titre {
    margin-top: 15px;
    margin-bottom: 40px;
}

.profil-en-savoir-plus{
    text-decoration: underline;
    margin-top: 10px;
    position: absolute;
    bottom: 15px;
}

.img-grand-format {
    height: 100%;

    padding: 40px;
    background-color: #c2003f;
}

.img-grand-format .profile-image {
    height: 100% !important;
}

.img-grand-format h1 {
    color: #fff;
    font-size: 26px;
    padding-top: 10px;
    padding-bottom: 10px;
}

.popup-information-container{
    height: 100%; 
    overflow-y: hidden;
}

.image-container{
    height: 100%; 
    overflow-y: hidden;
}

.profile-information-container{
    height: 100%; 
    overflow-y: scroll; 
    scroll-margin-right: 10px;
}

.profile-information-container::-webkit-scrollbar{
    width: 8px;
}

.profile-information-container::-webkit-scrollbar-track{
    background-color: #ebebeb;
    -webkit-border-radius: 10px;
    border-radius: 10px;
}

.profile-information-container::-webkit-scrollbar-thumb{
    -webkit-border-radius: 10px;
    border-radius: 10px;
    background: rgb(0, 0, 0, 0.2);
}

.profile-biography h3 {
    margin-bottom: 15px;
}

.impact-history h3{
    margin-top: 20px;
    margin-bottom: 15px;
}


@media(max-width: 991px){
    .popup-information-container{
        height: auto !important;
    }
    
    .image-container{
        height: auto !important; 
    }
    
    .profile-information-container{
        height: auto !important;
    }

    .profile-information-container::-webkit-scrollbar{
        width: 0px;
    }

    .profile-biography h3 {
        margin-top: 20px;
    }

    .profile-information {
        padding-bottom: 20px;
    }
    
    .overlay-cookies .popup::-webkit-scrollbar {
        width: 8px;
    }

    .overlay-cookies .popup::-webkit-scrollbar-track {
        background-color: #ebebeb;
        -webkit-border-radius: 10px;
        border-radius: 10px;
    }

    .overlay-cookies .popup::-webkit-scrollbar-thumb {
        -webkit-border-radius: 10px;
        border-radius: 10px;
        background: rgb(0, 0, 0, 0.2);
    }

    .image-banniere {
        margin-top: 40px;
    }
}

@media(max-width: 991px) {
    .image-banniere {
        margin-top: 40px;
    }
}

@media(max-width: 767px) {
    .profile-name-container h3 {
        min-height: inherit;
        display: block;
    }
}

.image-for-popup {
    max-height: 85%;
    width: 100%;
    overflow: hidden;
}

.name-for-popup{
    color: #fff !important;
    padding-top: 10px;
}

footer {
    display: none;
}

.explore-journey-button {
    background-color: #fff;
    color: var(--axian-bright-pink) !important;
    font-family: 'adria_groteskbold';
}

.profile-biography h4 {
    font-family: 'adria_grotesklight' !important;
}