:root {
    --primary-color: #e89243;
    --dark-color: #202020;
    --channel-color: #e99343;
    --yellow-color: #fec627;
    --pink-color: #ff9694;
    --violet-color: #24ddff;
}

body {
    font-family: 'Quicksand', sans-serif;
    color: #FFF;
    background-color: #020c0f;
    font-size: 19px;
}

main {
    min-height: 100vh;
}

.navbar {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.4) 100%);
}

.video-background {
    position: relative;
}

.video-background video {
    width: 100%;
    height: 100%;
    position: absolute;
    object-fit: cover;
    z-index: 0;
}

/* Just styling the content of the div, the *magic* in the previous rules */
.video-background .video-over {
    z-index: 1;
    position: relative;
    background-color: rgba(0, 0, 0, 0.6);
}

.brand-text {
    color: #FFF;
    font-size: 31px;
    margin-top: 0px;
}

.sidebar {
    overflow-y: scroll;
}

h1 {
    font-weight: bolder;
    font-size: 54px;
    font-family: "Exo", sans-serif;
}

h2 {
    font-weight: bolder;
    font-size: 40px;
    font-family: "Exo", sans-serif;
}

h3 {
    font-weight: bold;
    font-size: 22px;
    margin-bottom: 20px;
    color: #24ddff;
}

.text-gray strong {
    color: #333;
}

.text-gray-light {
    color: #AAA;
}

.text-gray-light strong {
    color: #FFF;
}

.youtube-iframe {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
}

.iframe-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio (divide 9 by 16 = 0.5625) */
}

.category-badge {
    border: 1px solid #000;
    border-radius: 5px;
    color: #000;
    font-size: 12px;
    padding: 3px 7px;
    font-weight: bold;
}

.text-first-color {
    color: var(--primary-color);
}

.text-gray {
    color: #888;
}

nav .dropdown-menu {
    background-color: #222;
    border-radius: 0px;
}

nav .dropdown-menu .dropdown-item {
    color: #fff;
    padding-top: 15px;
    padding-bottom: 15px;
    font-size: 16px;
}

nav .dropdown-menu .dropdown-item.active,
nav .dropdown-menu .dropdown-item:active {
    background-color: var(--primary-color);
}

nav .dropdown-menu .dropdown-item:hover {
    background-color: #333;
}

a.nav-link {
    font-size: 16px;
}

.nav-item {
    border-bottom: 4px solid transparent;
    transition: 0.5s ease-in-out all;
}

.nav-item:hover {
    border-color: #021e2a;
}

footer {
    background-color: var(--dark-color);
    color: #aaa;
    font-size: 14px;
}

.triangle {
    height: 100px;
    background: linear-gradient(to bottom right, transparent 49.5%, #6c1a6f 50%) right/80% 100% no-repeat;
}

.triangle-2 {
    height: 70px;
    background: linear-gradient(to top right, transparent 49.5%, var(--violet-color) 50%) right/90% 100% no-repeat;
}


.triangle-3 {
    height: 30px;
    background: linear-gradient(to bottom left, transparent 49.5%, #011f2b 50%) left/100% 100% no-repeat;
}

.square {
    background-color: #202020;
}

footer a {
    text-decoration: none;
    color: #aaa;
}

#search-input {
    padding: 5px 10px;
}

/* NAVBAR */

.navbar-brand {
    color: #FFF;
    font-weight: bold;
}

.navbar-brand img {
    height: 42px;
}

.navbar-expand-lg ul.navbar-nav li a.nav-link {
    color: #FFF;
}

.navbar-expand-lg ul.navbar-nav li a.nav-link:hover {
    color: #24ddff;
}

.text-blue {
    color: #4490ff;
}

.custom-rounded {
    border-radius: 10px;
}

.custom-border-top {
    border-top: 1px solid #264575;
}

.custom-tag {
    background-color: #4490ff;
    color: #FFF;
    font-weight: bold;
    padding: 2px 5px;
    border-radius: 3px;
    font-size: 14px;
}

.custom-tag:hover {
    color: #b9d6ff;
}

.section-title {
    color: var(--primary-color);
    font-size: 24px;
    font-weight: bold;
}

.custom-bg-dark {
    background-color: var(--dark-color);
}

.social-links a {
    margin-right: 20px;
}

.social-links i {
    font-size: 30px;
}

.bg-pink {
    background-color: var(--pink-color);
}

.back-link {
    color: #888;
    text-decoration: none;
    cursor: pointer;
}

.back-link:hover {
    color: var(--primary-color);
}

.nav-link {
    transition: all ease-in-out 0.5s;
    color: #CCC;
}

.nav-link:hover {
    color: var(--violet-color);
}

.highlight {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 50%, #ffd0ae 50%);
    color: #d77921;
}

.highlight-dark {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 50%, #114e67 50%);
    color: #FFF;
}

.highlight-green {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 50%, #003f60 50%);
    color: #24ddff;
}

.highlight-red {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 50%, #ff7676 50%);
}

.section-div {
    background-color: #FFF;
    padding: 20px;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    border-radius: 10px;
}

.section-pan {
    background-color: #111;
    padding: 20px;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    border-radius: 10px;
}

.extra-small {
    font-size: 16px;
}

.training-domain {
    background-color: #FFF;
    border-radius: 10px;
    padding: 20px;
    cursor: pointer;
    width: 200px;
    transition: all 0.4s ease-in-out;
    border: 5px solid #202020;
}

.training-domain:hover {
    border-color: #5da1ff;
}

.training-domain .training-domain-icon {
    font-size: 32px;
    color: var(--violet-color);
}

.training-domain .training-domain-title {
    color: #000;
}


.video-container {
    position: relative;
    padding-bottom: 56.25%;
}

.up-div {
    margin-top: -200px;
    padding: 70px;
}

@media screen and (max-width: 768px) {
    .up-div {
        margin-top: -100px;
        padding: 0px;
    }
}

.btn-violet {
    background-color: var(--violet-color);
    font-weight: bold;
    color: #020c0f;
    opacity: 1;
    transition: all 0.3s ease-in-out;
}

.btn-violet:hover {
    opacity: 0.8;
}

label {
    color: #777;
}

.text-justify {
    text-align: justify;
}

.bg-gray {
    background-color: #EEE;
}

.bg-gray-blue {
    background-color: #e4f4ff;
}

.bg-dark-green {
    background-color: #011f2b;
}

.bg-gradient {
    background: #6a96ff;
}

.start-page-margin {
    margin-top: 100px;
}

.start-page-padding {
    padding-top: 100px;
}

.shadow-bottom {
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}

.point {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    border-top: 10px solid #FFF;
    padding-top: 20px;
    margin-top: 20px;
}

.point > div {
    width: 50px;
    height: 50px;
    display: flex;
    border-radius: 50%;
    justify-content: center;
    align-items: center;
    background-color: #edf5ff;
    font-weight: bolder;
    font-size: 22px;
    color: #5e82ff;
}

.point-title {
    font-size: 18px;
    font-weight: bold;
}

.footer-logo {
    text-align: center;
}

.footer-logo img {
    width: 100px;
}

footer h4 {
    color: #DDD;
    font-size: 16px;
    font-weight: bold;
}

footer a {
    text-decoration: underline;
}

footer .social-links a {
    text-decoration: none;
}

.legals h2 {
    font-size: 21px;
    margin-top: 20px;
    margin-bottom: 15px;
    padding-bottom: 0px;
}

.legals h3 {
    font-size: 18px;
    margin-top: 20px;
    margin-bottom: 15px;
    padding-bottom: 0px;
}

lite-youtube {
    border-radius: 10px;
    margin: 0px auto;
}

a {
    text-decoration: none;
}

.bg-dark-gradient {
    background: rgb(0, 22, 53);
    background: -moz-linear-gradient(59deg, rgba(0, 22, 53, 1) 0%, rgba(0, 0, 0, 1) 100%);
    background: -webkit-linear-gradient(59deg, rgba(0, 22, 53, 1) 0%, rgba(0, 0, 0, 1) 100%);
    background: linear-gradient(59deg, rgba(0, 22, 53, 1) 0%, rgba(0, 0, 0, 1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#001635", endColorstr="#000000", GradientType=1);
}

.item-description {
    font-size: 16px;
}

.btn-custom {
    opacity: 1;
    transition: all ease-in-out 0.3s;
}

.btn-custom:hover {
    opacity: 0.7;
}

.btn-dark-green {
    background-color: #1b9a7b;
    color: #FFF;
}

.btn-dark-green:hover {
    color: #FFF;
}

.btn-green {
    background-color: #48cfae;
    color: #FFF;
}

.btn-green:hover {
    color: #FFF;
}

.btn-orange {
    background-color: #e99343;
    color: #FFF;
}

.btn-orange:hover {
    color: #FFF;
}

.item-big-price {
    font-size: 32px;
}

.item-big-image {
    max-height: 400px;
}

.btn-stars {
    font-size: 12px;
    background-color: #ffcc00;
    color: #FFF;
    font-weight: bold;
}

.btn-stars:hover {
    color: #FFf;
}

.btn-fork {
    font-size: 12px;
    color: #FFF;
    font-weight: bold;
    background-color: #011c26;
}

.btn-fork:hover {
    color: #FFF;
}

label {
    font-size: 14px;
    color: #888;
    margin-bottom: 5px;
}

.text-orange {
    color: #e99343;
}

.header-browse {
    background-color: #191a23;
    color: #FFF;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}

.badge-verified {
    color: #2d8dd3;
}

div.item {
    cursor: pointer;
    transition: all ease-in-out 0.3s;
    opacity: 0.7;
}

div.item .card {
    background-color: #202020;
    color: #FFF;
}

.item-author {
    padding: 5px;
    text-align: center;
    font-size: 12px;
    background-color: #24ddff;
    color: #011f2b;
    font-weight: bold;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

div.item h5 {
    color: #24ddff;
}

div.item:hover {
    border-color: #11606f;
    opacity: 1;
}

.item-price {
    color: #AAAAAA;
    font-size: 14px;
    text-align: center;
}

.sharable-item {
    background-color: #222;
    padding: 10px;
    border-radius: 5px;
}

.sharable-item a.action {
    color: #24ddff;
}

.sharable-link {
    font-size: 14px;
    color: #555;
}

.btn-copy {
    font-size: 12px;
    border: none;
    border-radius: 3px;
    background-color: #24ddff;
    color: #011f2b;
    opacity: 0.6;
    transition: all 0.3s ease-in-out;
}

.btn-copy:hover {
    opacity: 1;
}

.header-page {
    background: rgb(1, 31, 43);
    background: -moz-linear-gradient(59deg, rgba(1, 31, 43, 1) 0%, rgba(2, 12, 15, 1) 59%);
    background: -webkit-linear-gradient(59deg, rgba(1, 31, 43, 1) 0%, rgba(2, 12, 15, 1) 59%);
    background: linear-gradient(59deg, rgba(1, 31, 43, 1) 0%, rgba(2, 12, 15, 1) 59%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#011f2b", endColorstr="#020c0f", GradientType=1);
    color: #FFF;
    padding-top: 40px;
    padding-bottom: 20px;
}

.header-page h1 i {
    opacity: 0.6;
}

.hover-div {
    border: 5px solid #FFF;
    transition: all 0.3s ease-in-out;
}

.hover-div:hover {
    border-color: #c8eafb;
}

.btn-red {
    background-color: #ff7676;
    color: #FFF;
}

.btn-red:hover {
    color: #FFf;
}

.badge-title {
    background-color: #24ddff;
    color: #011f2b;
    font-size: 12px;
    padding: 5px;
    border-radius: 5px;
    opacity: 0.8;
}

.badge-green {
    background-color: #48cfae;
    color: #FFF;
    font-size: 12px;
    padding: 5px;
    border-radius: 5px;
    opacity: 0.8;
}

.badge-red {
    background-color: #ed5564;
    color: #FFF;
    font-size: 12px;
    padding: 5px;
    border-radius: 5px;
    opacity: 0.8;
}

.text-red {
    color: #ed5564;
}

.course-summary {
    background: rgb(2, 12, 15);
    background: -moz-linear-gradient(216deg, rgba(2, 12, 15, 1) 0%, rgba(0, 0, 0, 1) 100%);
    background: -webkit-linear-gradient(216deg, rgba(2, 12, 15, 1) 0%, rgba(0, 0, 0, 1) 100%);
    background: linear-gradient(216deg, rgba(2, 12, 15, 1) 0%, rgba(0, 0, 0, 1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#020c0f", endColorstr="#000000", GradientType=1);
}

.course-detail {
    background-color: #000;
}

.course-sharables {
    background: rgb(0, 0, 0);
    background: -moz-linear-gradient(185deg, rgba(0, 0, 0, 1) 15%, rgba(4, 24, 31, 1) 100%);
    background: -webkit-linear-gradient(185deg, rgba(0, 0, 0, 1) 15%, rgba(4, 24, 31, 1) 100%);
    background: linear-gradient(185deg, rgba(0, 0, 0, 1) 15%, rgba(4, 24, 31, 1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#000000", endColorstr="#04181f", GradientType=1);
}

.course-comments {
    background: rgb(2, 12, 15);
    background: -moz-linear-gradient(187deg, rgba(2, 12, 15, 1) 0%, rgba(0, 0, 0, 1) 100%);
    background: -webkit-linear-gradient(187deg, rgba(2, 12, 15, 1) 0%, rgba(0, 0, 0, 1) 100%);
    background: linear-gradient(187deg, rgba(2, 12, 15, 1) 0%, rgba(0, 0, 0, 1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#020c0f", endColorstr="#000000", GradientType=1);
}

.library-item {
    color: #000;
    background-color: #FFF;
    transition: all 0.3s ease-in-out;
    opacity: 0.8;
    border-radius: 5px;
}

.library-item:hover {
    opacity: 1;
}

.library-item-meta {
    background-color: #24ddff;
    color: #011f2b;
    text-align: center;
    padding: 5px;
    font-weight: bold;
    font-size: 14px;
}

.modal {
    color: #000;
}

.point-encart {
    padding: 10px;
    border-radius: 7px;
    font-size: 18px;
    color: #AAA;
}

.navbar-badge {
    position: relative;
    top: -15px;
    background-color: transparent;
    color: #24ddff;
    font-weight: bold;
    font-size: 14px;
    padding: 1px 5px;
    border-radius: 3px;
}

.banner-cta {
    color: #FFF;
    font-weight: bold;
    background-color: #b01ab7;
    text-align: center;
    padding: 12px;
    font-size: 14px;
    position: fixed;
    width: 100%;
    z-index: 1030;
}

.banner-cta a {
    color: #FFF;
    text-decoration: underline;
}

.fa-circle-check {
    color: #48cfae;
}

.py-10 {
    padding-top: 10vh;
    padding-bottom: 10vh;
}

.text-huge {
    font-weight: bolder;
    font-size: 64px;
    font-family: "Exo", sans-serif;
}

.text-violet {
    color: #24ddff;
}

.mission-head {
    font-size: 14px;
    padding: 5px 0px;
    text-align: center;
    background-color: #24ddff;
    color: #011f2b;
    font-weight: bold;
}

.mission {
    cursor: pointer;
    transition: 0.5s ease-in-out all;
    border: 3px solid transparent;
}

.mission:hover {
    border-color: #24ddff;
}

.mission h3 {
    font-size: 16px;
}

.mission-description {
    font-size: 14px;
    color: #FFF;
}

.mission-link-div {
    font-size: 14px;
    color: #24ddff;
}

.event-image-head {
    padding-top: 250px;
    background-size: cover;
    background-position: center;
}

.btn-gradient {
    border-radius: 10px;
    cursor: pointer;
    color: #fff;
    padding: 8px 15px;

    background: linear-gradient(90deg, #4facfe, #a86af9);
    box-shadow: 0 5px 15px rgba(79, 172, 254, 0.4);
}

/* Desktop uniquement */
@media (min-width: 992px) {
    .dropdown:hover > .dropdown-menu {
        display: block;
        margin-top: 0; /* évite le petit gap qui ferme prématurément le menu */
    }
    .dropdown > .dropdown-toggle:active {
        pointer-events: none; /* empêche le clic de verrouiller le menu */
    }
}

/* Animation fade-in-up */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-menu {
    display: none;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    border-radius: 0.75rem !important; /* ou 12px */
    overflow: hidden; /* évite les coins carrés si le contenu dépasse */
    border: 1px solid rgba(0, 0, 0, 0.1); /* pour voir l'effet plus clairement */
}

.dropdown:hover > .dropdown-menu {
    display: block;
    animation: fadeInUp 0.3s ease forwards;

}

@media (min-width: 768px) {
    .dropdown-menu-col-2 {
        width: 900px;
    }
    .dropdown-menu-col-3 {
        width: 900px;
    }
}

@media (min-width: 768px) and (max-width: 1300px) {
    .dropdown-menu-col-2 {
        margin-left: -200px;
    }
    .dropdown-menu-col-3 {
        margin-left: -300px;
    }
}

.quotation {
    border-left: 5px solid #555;
    padding-left: 20px;
}

nav.navbar {
    z-index: 1030;
}

.text-blue-2 {
    color: #173e79;
}

.mark-info {
    background-color: #d3e2ff;
    color: #000;
    padding: 10px;
    border-radius: 5px;
}

.bg-light-blue {
    background-color: #d3e2ff;
}

.contact-fixed-btn {
    position: fixed;
    right: 20px;
    bottom: 40px;
    width: 200px;
    z-index: 9999;
}

@media screen and (max-width: 768px) {
    .contact-fixed-btn {
        position: fixed;
        left: 50%;
        margin-left: -100px;
        bottom: 40px;
        width: 200px;
        z-index: 9999;
    }
}