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

body,
html {
    cursor: none!important;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    -ms-user-select: none;
}

[contenteditable=true],
input {
    -webkit-user-select: text;
    -moz-user-select: text;
    user-select: text;
    -ms-user-select: text;
}

.nav-item,
a,
button,
input {
    cursor: none!important;
}

.cCarousel-item {
    box-sizing: border-box;
    width: calc((100% - 48px) / 3);
    max-width: calc((100% - 48px) / 3);
    min-width: calc((100% - 48px) / 3);
}

@media (max-width:991px) {
    .cCarousel-item {
        width: calc((100% - 24px) / 2);
        max-width: calc((100% - 24px) / 2);
        min-width: calc((100% - 24px) / 2);
    }
}

@media (max-width:575px) {
    .col-md-4 {
        margin-bottom: 24px;
    }

    .cCarousel-item {
        width: 100vw;
        max-width: 100vw;
        min-width: 100vw;
    }
}

* {
    margin: 0;
    text-decoration: none;
    list-style: none;
}

body {
    overflow-x: hidden;
    font-family: Poppins;
    background-color: #111215;
}

.navbar-container {
    display: flex;
    z-index: 1000;
    position: fixed;
    top: 20px;
    right: 0;
    left: 0;
    justify-content: center;
}

.glass-nav {
    padding: 8px 10px;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 50px;
    background: rgba(0,0,0,.4);
    box-shadow: 0 10px 30px rgba(0,0,0,.3);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

.nav-links {
    display: flex;
    gap: 5px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-item {
    display: block;
    padding: 10px 22px;
    border-radius: 40px;
    text-decoration: none;
    font-size: .9rem;
    font-weight: 500;
    color: rgba(255,255,255,.6);
    transition: all .4s cubic-bezier(.4,0,.2,1);
}

.nav-item:hover {
    color: #fff!important;
    background: rgba(255,255,255,.08);
    transform: translateY(-1px);
}

.nav-item.active {
    color: #fff;
    background: rgba(255,255,255,.12);
}

@media (max-width:768px) {
    .navbar-container {
        top: 10px;
    }

    .glass-nav {
        display: flex;
        justify-content: center;
        width: 95%;
        padding: 5px 8px;
        border-radius: 30px;
    }

    .nav-links {
        gap: 2px;
        justify-content: space-around;
        width: 100%;
    }

    .nav-item {
        padding: 8px 6px;
        text-transform: uppercase;
        font-size: .65rem;
        letter-spacing: .5px;
        white-space: nowrap;
    }
}

@media (max-width:380px) {
    .nav-item {
        padding: 6px 4px;
        font-size: .6rem;
    }
}

.title1 {
    font-size: 35px;
    font-weight: 500;
    letter-spacing: 2px;
}

.title2 {
    font-size: 23px;
    font-weight: 500;
    color: #fff;
}

#tsparticles {
    z-index: -1;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.sae {
    font-size: 25px;
    font-weight: 400;
    color: #fff;
}

.sae2 {
    font-size: 17px;
    font-weight: 700;
}

.readmore {
    width: auto;
    border-radius: 3px;
    letter-spacing: 3px;
    color: #fff;
    background-color: #242529;
}

.body2 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
}

.cCarousel {
    position: relative;
    margin: auto;
}

.cCarousel .arrow {
    display: flex;
    z-index: 100;
    position: absolute;
    top: 50%;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 26px;
    color: #fff;
    background: #0072;
    pointer-events: auto;
}

.carousel-vp {
    display: flex;
    position: relative;
    align-items: center;
    height: 400px;
    margin: auto;
    overflow: hidden;
}

@media (max-width:575px) {
    .cCarousel-item {
        box-sizing: border-box;
        margin-bottom: 24px;
    }

    .carousel-vp {
        height: auto;
        max-height: 80vh;
        min-height: 320px;
        overflow: hidden;
        scroll-snap-type: x mandatory;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    .carousel-vp::-webkit-scrollbar {
        display: none;
    }

    .cCarousel-inner {
        display: flex;
        position: relative;
        left: 0;
        flex-direction: row;
        gap: 0;
        width: 100vw;
        transition: none;
    }

    .cCarousel-item {
        scroll-snap-align: start;
    }

    .cCarousel .arrow {
        display: flex!important;
        z-index: 100;
        position: absolute;
        top: 50%;
        align-items: center;
        justify-content: center;
        width: 45px;
        height: 45px;
        font-size: 26px;
        opacity: .95;
        background: #222;
        box-shadow: 0 2px 8px rgba(0,0,0,.2);
        transform: translateY(-50%);
        cursor: pointer;
        pointer-events: auto;
    }

    .cCarousel .prev {
        left: -55px!important;
    }

    .cCarousel .next {
        right: -55px!important;
    }
}

.cCarousel .cCarousel-inner {
    display: flex;
    position: absolute;
    left: 0;
    gap: 24px;
    transition: transform .5s ease;
}

.cCarousel-item {
    display: flex;
    flex-direction: column;
    height: auto;
    min-width: 265px;
    border-radius: 5px;
    border-radius: 2px;
    overflow: hidden;
}

.cCarousel-item img {
    width: 100%;
    min-height: 246px;
    color: #fff;
    object-fit: cover;
}

.cCarousel .prev {
    left: -55px;
}

.cCarousel .next {
    right: -55px;
}

.text2 {
    font-size: 20px;
    color: #fff;
}

::-webkit-scrollbar {
    width: 10px;
    cursor: none;
}

* {
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,.2) #111215;
}

::-webkit-scrollbar-track {
    background: #111215;
    cursor: none;
}

::-webkit-scrollbar-thumb {
    border: 2px solid #111215;
    border-radius: 20px;
    background: rgba(255,255,255,.2);
    transition: all .3s ease;
}

.project-card-modern {
    display: flex;
    position: relative;
    flex-direction: column;
    justify-content: flex-end;
    height: 320px;
    padding: 24px;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none!important;
    background-color: #18191d;
    transition: all .4s cubic-bezier(.175,.885,.32,1.275);
}

.project-card-modern::after {
    content: "";
    z-index: 0;
    position: absolute;
    opacity: .4;
    background-position: center;
    background-size: cover;
    transition: transform .6s ease,filter .6s ease;
    inset: 0;
}

.card-frenchbox::after {
    background-image: url(../img/mes-projets/frenchbox_illu.jpg);
}

.card-japan::after {
    background-image: url(../img/mes-projets/japan_illu.jpg);
}

.card-cocorico::after {
    background-image: url(../img/mes-projets/cocorico_illu.jpg);
}

.card-overlay {
    z-index: 1;
    position: absolute;
    background: linear-gradient(to top,rgba(17,18,21,1) 10%,rgba(17,18,21,.4) 50%,transparent 100%);
    inset: 0;
}

.card-content {
    z-index: 2;
    position: relative;
}

.sae-title {
    margin-bottom: 4px;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
}

.sae-author {
    margin-bottom: 12px;
    font-size: .85rem;
    color: rgba(255,255,255,.6);
}

.sae-desc {
    margin-bottom: 20px;
    font-size: .95rem;
    font-weight: 500;
    line-height: 1.4;
    color: #06b6d4;
}

.readmore-btn {
    display: inline-block;
    padding: 8px 16px;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 8px;
    text-transform: uppercase;
    font-size: .8rem;
    letter-spacing: 1px;
    color: #fff;
    background: rgba(255,255,255,.08);
    transition: all .3s ease;
}

.project-card-modern:hover {
    box-shadow: 0 15px 35px rgba(0,0,0,.5);
    transform: translateY(-8px);
}

.project-card-modern:hover::after {
    opacity: .7;
    transform: scale(1.1);
    filter: blur(0);
}

.project-card-modern:hover .readmore-btn {
    color: #000;
    background: #fff;
}

.card-sae101::after {
    background-image: url(../img/mes-projets/sae1.avif);
}

.card-sae102::after {
    background-image: url(../img/mes-projets/sae102.webp);
}

.card-sae103::after {
    background-image: url(../img/mes-projets/sae103.jpg);
}

.card-sae105::after {
    background-image: url(../img/mes-projets/sae105.jpg);
}

.cCarousel-item {
    padding: 10px;
}

.cCarousel-item .project-card-modern {
    width: 100%;
    height: 320px;
}

.card-sae201::after {
    background-image: url(../img/mes-projets/sae201.avif);
}

.card-sae202::after {
    background-image: url(../img/mes-projets/sae202.avif);
}

.card-sae203::after {
    background-image: url(../img/mes-projets/sae203.avif);
}

.card-sae204::after {
    background-image: url(../img/mes-projets/sae204.jpg);
}

.semester-divider {
    display: flex;
    align-items: center;
    margin: 50px 0 30px 0;
}

.semester-divider span {
    padding-right: 20px;
    text-transform: uppercase;
    font-size: .85rem;
    font-weight: 500;
    letter-spacing: 3px;
    white-space: nowrap;
    color: rgba(255,255,255,.5);
}

.semester-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: rgba(255,255,255,.1);
}

.main-category-title {
    display: inline-block;
    position: relative;
    margin-bottom: 20px;
    padding-bottom: 8px;
    font-family: Poppins,sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: #fff;
}

.main-category-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 3px;
    border-radius: 10px;
    background: linear-gradient(to right,#d946ef,#06b6d4);
}

.page-main-title {
    display: inline-block;
    position: relative;
    padding-bottom: 15px;
    font-family: Poppins,sans-serif;
    font-size: 2.2em;
    font-weight: 800;
    letter-spacing: -1px;
    color: #fff;
}

.page-main-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 50px;
    height: 4px;
    border-radius: 10px;
    background: linear-gradient(to right,#d946ef,#06b6d4);
    transform: translateX(-50%);
}