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

body{
    font-family: Arial, Helvetica, sans-serif;
    background-color: #F2F2F2;
}
/*--------------- Common Components --------------*/
.title-border {
    border-bottom: 2px solid orange;
}

.card-highlight {
    border-left: 4px solid var(--highlight-color, orange) !important;
}

.icon-circle {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: auto;
    border-radius: 10%;
    color:  white !important;
    font-size: 24px;
    padding: 8px;
    margin-right: 16px;
}

/*--------------- SCROLLBAR SECTION --------------*/
::-webkit-scrollbar{
    width: 17px;
    background-color: rgba(0, 0, 0, 0.822);
}

::-webkit-scrollbar-track{
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.822);
    border-radius: 10px;
    border: solid 3px transparent;
}

::-webkit-scrollbar-thumb{
    border-radius: 10px;
    box-shadow: inset 10px 10px 10px orange;
    border: solid 4px transparent;
}

/*--------------- HEADER SECTION -----------------*/
header{
    background-color: #080808;
    color: white;
}

.navbar .navbar-nav-a{
    align-items: center;
    justify-content: center;
}

.navbar-brand{
    color: orange;
    margin-right: 0px;
}

.navbar-brand:hover{
    color: white;
}

.shell-prompt{
    display: flex;
    align-items: center;
    white-space: nowrap;
}

#editable-underscore{
    padding: 5px;
    color: orange !important;
    caret-shape: underscore;
    caret-color: orange;
    min-width: 1.5rem;
}

#editable-underscore:focus-visible{
    outline: 1px solid orange;
    outline-offset: 2px;
}

#editable-underscore::before{
    content: "> ";
}

#editable-underscore::after{
    content: "█";
    animation: blinker 0.6s linear infinite !important;
}

@keyframes blinker{
    50% {
        opacity: 0;
    }
}

.shell-status{
    margin-left: 10px;
    margin-right: auto;
    overflow-wrap: anywhere;
}

.shell-status[data-state="success"]{
    color: #72d572;
}

.shell-status[data-state="error"]{
    color: #ff6b6b;
}

.navbar .link-navbar{
    padding:0 10px 0 10px !important;;
    background-color: white;
    color: black !important;
}

.navbar .link-navbar:hover{
    background-color: orange;
    color: white !important;
}

.navbar-collapse ul li{
    list-style: none;
}

.navbar-collapse ul li a{
    color: white;
    text-align: center;
    text-decoration: none;
    padding: 15px;
    font-size: 18px;
    line-height: 30px;
    border-radius: 4px;
    transition: all 0.3s ease;
    opacity: none;
    font-weight: 400;
}

.navbar-collapse a.active{
    color:orange;
}

.navbar-collapse a:hover{
    color:orange;
}

.navbar-collapse .dropdown-menu{
    background-color: rgba(11, 11, 11, 0.721);
}

/*-------------  BURGER ICON ---------------*/

.navbar-toggler{
    border: 0;
}

.navbar-toggler:focus,
.navbar-toggler:active,
.navbar-toggler-icon:focus{
    outline: none;
    box-shadow: none;
    border: 0;
}

.toggler-icon{
    width: 30px;
    height: 3px;
    border-radius: 5px;
    background-color:orange;
    display: block;
    transition: all 0.2s;
}

.middle-bar{
    margin: 5px auto;
}

.navbar-toggler .top-bar{
    transform: rotate(45deg);
    transform-origin: 10% 10%;
}

.navbar-toggler .middle-bar{
    opacity: 0;
    filter: alpha(opacity=0);
}

.navbar-toggler .bottom-bar{
    transform: rotate(-45deg);
    transform-origin: 10% 10%;
}

.navbar-toggler.collapsed .top-bar{
    transform: rotate(0);
}

.navbar-toggler.collapsed .middle-bar{
    opacity: 1;
    filter: alpha(opacity=100);
}

.navbar-toggler.collapsed .bottom-bar{
    transform: rotate(0);
}

.navbar-toggler.collapsed .toggler-icon{
    background-color:orange;
}

@media only screen and (max-width:1199.5px){

    .navbar{
        flex-direction: column;
        align-items: flex-start;
    }

    .navbar-collapse{
        width: 100%;
    }

    .navbar-collapse ul{
        width: 100%;
        flex-direction: column;
    }

    .navbar-collapse ul li a{
        color: white;
        text-decoration: none;
        padding: 8px 8px;
        font-size: 18px;
        line-height: 38px;
        transition: all 0.3s ease;
        opacity: none;
    }

}

/*---------------- PROJECT PAGES -----------------*/
.projets-recents{
    min-height: 100vh
}

.projets-recents .open-button{
    padding: 10px 10px;
    border-bottom-left-radius: 10px;
    background-color: rgba(0, 0, 0, 0.822);
    z-index: 1;
    color:orange;
    border: none;
    text-decoration: none;
    position: fixed;
    right: 0px;
}

.projets-recents .open-button:hover{
    color: rgba(255, 255, 255, 0.787);
    transition: 0.2s all ease-in-out;
}

.projets-recents .container{
    padding-top: 10px;
    padding-bottom: 10px;
}

.projets-recents .titre{
    color: black;
    font-weight: bold;
    text-align: left;
    margin-top: 5px;
    border-bottom: solid 2px grey;
    margin-left: 1rem;
    margin-right: 1rem;
}

.projets-recents .col{
    text-align: left;
}

.projets-recents .panel{
    border-radius: 15px;
    background-color: rgb(191, 189, 189);
    padding: 10px 15px;
    transition: box-shadow .2s;
    margin: 10px 15px;
}

.projets-recents .panel:hover{
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.285);
}

.projets-recents .panel button{
    text-align: left;
    padding-right: 60%;
}

.projets-recents .panel .btn:focus{
    box-shadow: none;
}

.projets-recents .panel .titreProjet{
    border-radius: 8px;
    text-align: left;
}

.projets-recents .panel .lienGithub{
    width: 120px;
    height: 50px;
    margin-top: 25px;
}

.projets-recents .panel a{
    color:orange;
    border-radius: 100%;
    background-color: black;
    display: inline-flex;
    height: 35px;
    width: 35px;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    transition: all 0.2s ease;
    text-align: right;
}

.projets-recents .panel a:hover{
    height: 40px;
    width: 40px;
    color:orange;
    background-color: rgb(221, 207, 207);
}

.projets-recents .panel h4{
    margin-top: 10px;
    padding-bottom: 10px;
    font-size: 25px;
    font-weight: bold;
    color: black;
}

.projets-recents .panel .temoignage{
    margin-top: 10px;
    padding: 7px;
    border-radius: 10px;
    background-color: rgb(217, 214, 214);
}

.projets-recents .panel .temoignage h5{
    margin: 10px;
    font-weight: 600;
}

.projets-recents .panel .temoignage .titre2{
    margin: 10px;
    font-weight: 600;
}

.projets-recents .panel .temoignage .texte{
    margin: 10px;
}

.projets-recents .titre-bouton{
    color: black;
    margin-top: 5px;
    border-bottom: solid 2px grey;
    margin-bottom: -5px;
    margin-left: 1rem;
    margin-right: 1rem;
}

.projets-recents .btn:focus{
    box-shadow: none;
}

.projets-recents .contribution{
    border-radius: 15px;
    margin: 0px 15px;
    padding: 15px;
    background-color: rgb(191, 189, 189);
    color: black;
    transition: box-shadow .2s;
}

.projets-recents .contribution:hover{
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.285);
}

.projets-recents .contribution h2{
    font-size: 30px;
    font-weight: bold;
    text-align: left;
    margin: 5px;
    padding-bottom: 10px;
}

.projets-recents .contribution p {
    margin:10px;
    text-align: left;
    font-size: 20px;
}

@media screen and (max-width: 1199.5px){
    .projets-recents .panel .col-sm-9{
        margin-right: -15px;
    }
}

@media screen and (max-width: 991.5px){
    .projets-recents .panel .col-sm-9{
        margin-right: -45px;
    }
}

/* -------- Partenaire ----------*/
.partenaires{
    min-height: 100vh;
}

.partenaires .titre{
    color: black;
    font-weight: 600;
    margin-top: 15px;
    border-bottom: solid 2px grey;
    margin-left: 1rem;
    margin-right: 1rem;
}

.partenaires .partenaire{
    border-radius: 15px;
    background-color: rgb(191, 189, 189);
    padding: 10px 15px;
    transition: box-shadow .2s;
    margin: 10px 15px;
    align-content: center;
}

.partenaires .partenaire:hover{
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.285);

}

.partenaires .partenaire a .bnc{
    width: 240px;
    height: 200px;
    display: block;
    margin-left: auto;
    margin-right: auto
}

.partenaires .partenaire a .ets{
    width: 290px;
    height: 200px;
    display: block;
    margin-left: auto;
    margin-right: auto
}


.partenaires .devenir-partenaire-panel{
    border-radius: 15px;
    background-color: rgb(191, 189, 189);
    padding: 10px 15px;
    transition: box-shadow .2s;
    margin: 10px 15px;
}

.partenaires .devenir-partenaire-panel:hover{
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.285);
}



.partenaires .devenir-partenaire-panel .btn:focus{
    box-shadow: none;
}


.partenaires .devenir-partenaire-panel .panel{
    display: flex;
    justify-content: center;
}

.partenaires .devenir-partenaire-panel .devenir-partenaire-link{
    margin-top: 15px;
    border-radius: 15px;
    background-color: rgb(217, 214, 214);
    padding: 20px 25px;
    text-decoration: none;
    color: black;
    transition: box-shadow .2s;
}

.partenaires .devenir-partenaire-panel a:hover{
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.285);
}

.partenaires .devenir-partenaire-panel .titre-devenir-partenaire{

    width: 100%;
}

.partenaires .devenir-partenaire-panel h2{
    margin-top: 10px;
    font-size: 25px;
    font-weight: bold;
    color: black;
}

.partenaires .devenir-partenaire-panel .contenu{
    margin-top: 10px;
    padding: 7px;
    border-radius: 10px;
    background-color: rgb(217, 214, 214);
}

.partenaires .devenir-partenaire-panel .contenu h4{
    margin: 10px;
    font-weight: 300;
}

.partenaires .devenir-partenaire-panel .contenu .texte{
    margin: 10px;
}

.partenaires .contenu{
    border-radius: 15px;
    margin: 0px 15px;
    padding: 15px;
    background-color: rgb(191, 189, 189);
    color: black;
    transition: box-shadow .2s;
}

.formulaire{
    margin-bottom: 25px;
}

.partenaires .contenu:hover{
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.285);
}

.partenaires .contenu h2{
    font-size: 25px;
    font-weight: bold;
    text-align: left;
    margin: 5px;
    padding-bottom: 10px;
}

.partenaires .contenu p {
    margin:10px;
    text-align: left;
    font-size: 20px;
}


/* section faire un don*/
.partenaires .faire-don-panel{
    border-radius: 15px;
    background-color: rgb(191, 189, 189);
    padding: 10px 15px;
    transition: box-shadow .2s;
    margin: 10px 15px;
}

.partenaires .faire-don-panel:hover{
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.285);
}

.partenaires .faire-don-panel a{
    text-decoration: none;
    color: black;
    font-size: 25px;
    font-weight: bold;
}

.cercle {

    width: 25px;
    height: 25px;
    border-radius: 20px;
    background: rgb(60, 59, 59);

}

@media screen and (max-width:768px){

    .partenaires .partenaire a .bnc{
        width: 170px;
        height: 100px;
    }

    .partenaires .partenaire a .ets{
        width: 190px;
        height: 100px;
    }
}


@media screen and (max-width:575px){

    .partenaires .partenaire{
        align-content: center;
    }

}


/*----------  Fin partenaires ----------*/




/*----------------- HOME PAGE SECTION ----------------*/
/* carousel */
.slider-container {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    width: 100%;
    padding: 0.75rem 0;
}

.slider-track {
    display: inline-flex;
    align-items: center;
    width: max-content;
    animation: scrollLogos 30s linear infinite;
}

.slider-container:hover .slider-track {
    animation-play-state: paused;
}

@keyframes scrollLogos {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.slider-card {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 200px;
    height: 100px;
    padding: 10px 18px;
    margin: 0 10px;
    transition: all 0.2s ease-in-out;
    text-decoration: none;
}

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

.slider-card img {
    max-height: 100px;
    max-width: 140px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: brightness(0.95);
    transition: transform 0.2s ease-in-out, filter 0.2s ease-in-out;
}

.slider-card:hover img {
    transform: scale(1.08);
}

/*--------------------- SERVICES PAGE ----------------------*/
/*------------- SIDEBAR SECTION -------------*/
.services-section .sidebar a {
    text-decoration: none;
    color: black;
    font-size: small;
    font-weight: 600;
    transition: all 0.2s ease-in-out;
}

.services-section .sidebar a:hover{
    color: rgba(255, 166, 0, 0.748);
}

/*------------- ASIDE SECTION -------------*/
.services-section .card {
    border: none;
    box-shadow: 1px 1px 1px 1px rgba(0, 0, 0, 0.285);
    padding: 20px;
}
.services-section .highlight-color {
    background-color: orange;
}

.services-section p{
    text-align:justify;
    color: darkslategrey;
    font-weight: 100;
}

.services-section .btn {
    border: none;
    color: #ffffff;
    background-color: orange;
    width:fit-content;
    border-radius: 0.625rem;
    transition: background-color 0.3s ease;
    margin: 5px 20px;
}

.services-section .btn:hover {
    background-color: orangered;
}

.services-section .btn:focus {
    box-shadow: none;
    outline: none;
}

.services-section .contact-btn {
    font-weight: 600;
    font-size: 18px;
    color: black;
    background-color: white;
}

.services-section .contact-btn:hover {
    background-color: orange;
}

/*---------------- TEAM PAGE ---------------- */
.team-wide-photo {
    width: 100%;
    max-height: 480px;
    object-fit: cover;
    object-position: center 30%;
}

.team-avatar,
.member-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    object-position: 50% 20%;
}

.alumni-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    object-position: 50% 20%;
}

/*---------------------- PARTNERSHIP PAGE -----------------*/
/*---------------- PARTNERSHIP SECTION --------------*/
.partenaires-section .btn {
    border: 1px solid black !important;
    border-radius: 0 !important;
    transition: all 0.4s ease-in-out;
}

.partenaires-section .btn:hover {
    color:orange;
    background-color: black;
}

/*----------------------- PROJECT PAGE --------------------*/

.github-icon a {
    color: white;
    border-radius: 50%;
    background-color: black;
    padding: 8px;
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.2s ease;
    width: fit-content;
}

.github-icon i {
    font-size: 16px;
    margin: 0;
}

.github-icon a:hover{
    background-color:orange;
}

/*---------------------- FOOTER SECTION ---------------------*/

footer {
    background-color: #080808;
    color: #e5e7eb;
}

.footer-link {
    color: #9ca3af !important;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: orange !important;
}

.footer-social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 10px;
    color: #d1d5db;
    text-decoration: none;
    font-size: 1.15rem;
    transition: all 0.2s ease;
}

.footer-social-btn:hover {
    color: orange;
}

footer .copyleft {
    display: inline-block;
    transform: rotateY(180deg);
}

/*--------------------- EVENEMENTS PAGE ----------------------*/
.evenements-section h2,
.evenements-section h3 {
    color: #222;
}

.evenements-section h3 {
    margin-top: 32px;
    margin-bottom: 16px;
}

/* Événements à venir */
.evenements-section .upcoming-events .card {
    border: 1px solid #ffd0a3;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
}

.evenements-section .upcoming-events .card-body {
    background-color: #fffdf9;
}

.evenements-section .upcoming-events .icon-circle {
    background-color: #ff7a00;
    color: #fff;
}

.evenements-section .upcoming-events .card-title {
    color: #222;
}

.evenements-section .upcoming-events .text-muted {
    color: #ff7a00 !important;
}

.evenements-section .upcoming-events .btn-primary {
    background-color: #ff7a00;
    border-color: #ff7a00;
    border-radius: 999px;
    padding-inline: 18px;
}

.evenements-section .upcoming-events .btn-primary:hover {
    background-color: #ff5a00;
    border-color: #ff5a00;
}

/* Panneau des événements précédents */
.evenements-section .events-panel {
    width: 100%;
    max-width: 1200px;
    margin-inline: auto;
    background: #e2e2e2;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #ffd0a3;
}

/* Zone scrollable - événements précédents */
.evenements-section .events-scroll {
    min-height: 500px;
    max-height: 520px;
    overflow-y: auto;
}

/* Ligne d'événement - événements précédents */
.evenements-section .event-row {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 18px 20px;
    background: #f7f0e8;
    border-bottom: 1px solid #e8b98a;
}

.evenements-section .event-row:last-child {
    border-bottom: none;
}

/* Colonne gauche - événements précédents */
.evenements-section .event-left {
    width: 156px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Icône calendrier - événements précédents */
.evenements-section .event-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    margin-bottom: 8px;
    border-radius: 50%;
    background-color: #ff7a00;
    color: #fff;
    font-size: 1.2rem;
    line-height: 1;
}

/* Date - événements précédents */
.evenements-section .event-date {
    color: #ff7a00;
    text-align: center;
    font-size: 1.05rem;
    font-weight: 500;
    line-height: 1.3;
}

/* Colonne droite - événements précédents */
.evenements-section .event-right {
    flex: 1;
    min-width: 0;
}

.evenements-section .event-title {
    margin-bottom: 8px;
    color: #1f2a37;
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.25;
}

.evenements-section .event-meta {
    max-width: 60ch;
    color: #374151;
    font-size: 0.98rem;
    line-height: 1.55;
}

/* Scrollbar - événements précédents */
.evenements-section .events-scroll::-webkit-scrollbar {
    width: 14px;
    background-color: rgba(220, 220, 220, 0.82);
    border-radius: 10px;
}

.border-orange {
    border-color: orange !important; /* Using !important to override Bootstrap styles */
}
.evenements-section .events-scroll::-webkit-scrollbar-track {
    border: 3px solid transparent;
    border-radius: 10px;
    box-shadow: inset 0 0 5px rgba(200, 200, 200, 0.82);
}

.evenements-section .events-scroll::-webkit-scrollbar-thumb {
    border: 4px solid transparent;
    border-radius: 10px;
    box-shadow: inset 10px 10px 10px orange;
}
