@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@400;700&display=swap');

@font-face {
    font-family: 'Kaunos';
    src: url('/fonts/Kaunos.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #222;
    color: #fff;
    padding: 50px;
    display: none;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    z-index: 9999;
    font-family: 'Roboto', sans-serif;
    gap: 10px;
}
.cookie-banner p {
    margin: 0;
    flex: 1;
}
.cookie-buttons {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

#accept-cookies {
    background: #4e55a2;
    color: #FFFFFF;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 10px;
    padding-bottom: 10px;
    border: none;
    border-radius: 50px;
    border: 1px solid #4e55a2;
    font-weight: bold;
}

#accept-cookies:hover {
    background: transparent;
    border: 1px solid #41c0f0;
    color: #41c0f0;
}

#reject-cookies {
    background: transparent;
    color: #ffffff;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 10px;
    padding-bottom: 10px;
    border: none;
    border-radius: 50px;
    border: 1px solid #ffffff;
    font-weight: bold;
}

.footer-logo {
    height: fit-content;
    width: 15%;
}

.footer-logo-cci {
    height: fit-content;
    width: 15%;
}

.expert-subtitles {
    margin-bottom: 5%;
}

.kaunos-text {
    font-family: 'Kaunos', sans-serif;
}

.white-background h2 {
    margin-bottom: 1%;
    font-size: 250%;
}

.white-background p {
    margin-bottom: 0.5%;
}


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

body {
    font-family: 'Roboto', sans-serif;
    background:
        /* linear-gradient(to right, rgba(255, 255, 255, 0) 50%, rgba(255, 255, 255, 0.75) 50%), */
        linear-gradient(to right, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1)),
        url('assets/img/image.png');
    background-repeat: no-repeat;
    background-position: top center;
    min-height: 100vh;
}


/* = NAVBAR ============================== */
/* ======================================= */
.header-logo {
    position: absolute;
    top: 40px;
    left: 40px;
    transform: translate(-10%, -10%);
    width: 250px;
    max-width: 80%;
    height: auto;
}

.custom-shape {
    width: 100%;
    height: 10em;
    background: linear-gradient(to right, #5c2483, #4e55a2, #41c0f0);
    clip-path: polygon(0 0, 100% 0, 100% 50%, 50% 50%, 0% 100%);
    position: relative;
}
/* ======================================= */

/* = FIRST WRAPPER ======================= */
/* ======================================= */
.first-wrapper {
    display: flex;
    justify-content: space-between;
    padding: 2em;
}

.left-side {
    flex: 1;
    max-width: 45%;
    padding: 20px;
}

.right-side {
    flex: 1;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}



/* ======================================= */

.programs-container {
    display: flex;
    margin-top: 2%;
    justify-content: center;
    color: black;
}

.programs-container .bold-text {
    color: black !important;
    margin-top: 5%;
    margin-bottom: 5%;
}

.programs-container .text-block {
    margin-top: 5%;
    margin-bottom: 5%;
}

.programs-container .text-block ul {
    margin-bottom: 2%;
}

.paragraph {
    margin-left: 1%;
    margin-right: 1%;
    width: 20%;
    background-color: #f9f9f9;
    padding: 2%;
    border-radius: 10px;
}

.program-image {
    width: 100%;
    height: auto;
    margin-bottom: 5%;
}

.blue-text {
    color: #4e55a2;
}

.pink-text {
    color: #e50051;
}

hr {
    margin-left: 45%;
    margin-right: 45%;
    margin-top: 2%;
    margin-bottom: 2%;
}

.centered-text {
    text-align: center;
    margin-left: 20%;
    margin-right: 20%;
}

.wrapper-title {
    font-size: 2rem;
    text-align: center;
    padding-top: 2%;
}

.promo-text {
    font-size: 1em;
}

.left-side, .right-side {
    flex: 1;
    padding: 20px;
}

.white-background {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.bold-text {
    font-weight: 700;
}

.italic-text {
    font-style: italic;
}

.button-wrapper {
    display: flex;
    justify-content: center;
}

.styled-button {
    margin-top: 15px;
    position: relative;
    display: inline-block;
    background: linear-gradient(to right, #5c2483, #4e55a2, #41c0f0);
    color: #fff;
    padding: 15px 25px;
    border-radius: 50px;
    text-decoration: none;
    overflow: hidden;
    z-index: 1;
    border: 1px solid #ffffff;
}

.styled-button::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50px;
    padding: 2px;
    background: linear-gradient(to right, #5c2483, #4e55a2, #41c0f0);
    -webkit-mask: linear-gradient(white 0 0) content-box, linear-gradient(white 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    z-index: -1;
}

.styled-button:hover {
    background: none;
    font-weight: bold;
    color: #4e55a2;
    border: 1px solid #4e55a2;
}

.styled-button:hover::before {
    background: #ffffff;
    transition: 0.3s ease;
}

.styled-button-alt {
    margin-top: 50px;
    margin-bottom: 50px;
    position: relative;
    display: inline-block;
    background: #ffffff;
    color: #4e55a2;
    padding: 15px 25px;
    border-radius: 50px;
    text-decoration: none;
    overflow: hidden;
    z-index: 1;
    border: none;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 0px 10px;
    font-weight: bold;
    border: 1px solid #ffffff;
}

.styled-button-alt::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50px;
    padding: 2px;
    z-index: -1;
}

.styled-button-alt:hover {
    background: none;
    font-weight: bold;
    color: #ffffff;
    border: 1px solid #ffffff;
}

.styled-button-alt:hover::before {
    background: transparent;
    transition: 0.3s ease;
}


.form-box {
    font-family: 'Roboto', sans-serif; !important;
    display: flex;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    background: linear-gradient(to bottom right, #5c2483, #4e55a2, #41c0f0);
    border-radius: 20px;
    color: #ffffff;
}

.form-box button {
    border: 1px solid #ffffff !important;
    background: transparent !important;
}

.form-box button:hover {
    border: 1px solid #ffffff !important;
    background: #ffffff !important;
}

.form-box button:hover span {
    color: #4e55a2 !important;
}

.form-box span {
    background-color: transparent !important;
    color: white;
}

.form-box strong {
    background-color: transparent !important;
    color: white !important;
}

.marketingForm .primaryButtonWrapper, .submitButtonWrapper {
    text-align: none !important;
    margin: 0 !important;
    display: flex !important;
    justify-content: center !important;
}

.pushdown {
    margin-bottom: 1%;
}

.second-wrapper {
    background-color: white;
    padding: 1.5%;
}
.stats-list {
    list-style-type: none;
    padding-top: 2%;
    padding-bottom: 2%;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    font-family: 'Raleway', sans-serif;
}

.stats-element {
    display: flex;
    align-items: center;
    flex-direction: column;
    margin: 10px;
}

.stats-element p {
    margin: 0 10px;
    text-align: center;
}

.third-wrapper {
    background: linear-gradient(to right, #5c2483, #4e55a2, #41c0f0);
    color: white;
}

.third-wrapper .bold-text {
    color: white;
}

.paragraph {
    margin-top: 1%;
}

.stat-numbers {
    font-size: 4rem;
    font-weight: 100;
    margin-bottom: 5%;
}

.stat-1 {
    color: #F15A2F;
}

.stat-2 {
    color: #1ABC9C;
}

.stat-3 {
    color: #008FCE;
}

.stat-4 {
    color: #D40067;
}

/* = FOURTH WRAPPER ====================== */
/* ======================================= */
.fourth-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2em;
}

.testimony {
    background: linear-gradient(to right, #5c2483, #4e55a2, #41c0f0);
    padding-left: 5%;
    padding-right: 5%;
    padding-top: 2%;
    padding-bottom: 2%;
    max-width: 50%;
    color: #ffffff;
    border-radius: 2em;
    margin: 0 auto;
}

.testimony-title {
    text-align: center;
}

.testimony-content {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.testimony-left {
    max-width: 30%;
    flex-direction: row;
    margin-right: 10%;
}

.testimony-right {
    text-align: left;
    border-radius: 10px;
}

.mame-diarra-text {
    flex: 1;
    text-align: left;
}

.mame-diarra-img {
    width: 100%;
    height: auto;
}

.testimony-left h3 {
    font-weight: bold;
}

.testimony-left p {
    font-style: italic;
}

.testimony-right p {
    line-height: 1.6;
}
/* ======================================= */
/* ======================================= */


.youtube-wrapper {
    background: linear-gradient(to right, #5c2483, #4e55a2, #41c0f0);
    background-size: 100% 50%; /* Le dégradé prend 50% de la hauteur */
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2em;
}

/* = FOOTER ============================== */
/* ======================================= */
.fifth-wrapper {
    background: linear-gradient(to right, #5c2483, #4e55a2, #41c0f0);
    color: #ffffff;
}

.footer {
    padding-top: 2%;
    padding-bottom: 5%;
    display: flex;
    justify-content: space-around;
}

.footer-text {
    display: flex;
    align-items: center;
    flex-direction: column;
}

.fifth-wrapper p {
    margin: 0.5em 0;
    font-size: 0.9em;
}
/* ======================================= */
/* ======================================= */

/* ========== Responsive Styles ========== */

/* Grands ecrans (PCs, >1200px) */
@media (max-width: 1200px) {
    .paragraph {
        width: 30%; /* Slightly narrower cards */
    }

    .stats-list {
        flex-wrap: wrap; /* Allow stats to wrap */
        justify-content: space-around;
    }

    .stats-element {
        flex: 1 1 45%; /* Two items per row */
        margin: 10px;
    }

    .programs-container {
        gap: 2%;
    }
}

/* Ecrans moyens (Tablettes, 768 à 1200px) */
@media (max-width: 992px) {
    body {
        background-image: url("assets/img/image.png");
    }

    .first-wrapper {
        flex-direction: column; /* Stack the left and right sections */
        align-items: center;
    }

    .left-side, .right-side {
        flex: none;
        width: 100%;
        text-align: center;
        padding: 1em;
    }

    .left-side {
        flex: 1;
        max-width: 100%;
        padding: 20px;
    }

    .right-side {
        display: flex;
        justify-content: center;
    }

    .header-logo {
        top: 5%;
        margin-left: 12%;
        transform: translate(-50%, -5%);
        width: 200px;
    }

    .programs-container {
        flex-direction: column; /* Stack program cards vertically */
        align-items: center;
    }

    .programs-list {
        padding-left: 5%;
        padding-right: 5%;
    }

    .paragraph {
        width: 80%; /* Full-width cards */
        margin: 10px 0;
    }

    .stats-list {
        flex-direction: column;
        align-items: center;
    }

    .stats-element {
        margin-bottom: 20px;
    }

    .testimony-content {
        flex-direction: column; /* Stack testimony content */
        align-items: center;
    }

    .testimony-left, .testimony-right {
        max-width: 100%;
        text-align: center;
    }
}

/* Petits écrans (Tels, <768px) */
@media (max-width: 768px) {
    .wrapper-title {
        font-size: 1rem;
        text-align: center;
        padding-top: 2%;
    }
    
    .cookie-banner {
        display: flex;
        flex-direction: column;
    }
    
    .footer-text {
        margin-bottom: 5%;
    }
    
    body {
        background-size: cover;
    }

    .programs-list {
        padding-left: 5%;
        padding-right: 5%;
    }
    
    .white-background h2 {
        font-size: 200%;
    }

    .custom-shape {
        height: 6em;
        clip-path: polygon(0 0, 100% 0, 100% 50%, 70% 50%, 0% 85%);
    }

    .styled-button, .styled-button-alt {
        padding: 10px 20px;
        font-size: 0.9em;
    }

    .youtube-video iframe {
        width: 100%;
        height: auto;
    }

    .testimony {
        width: 90%;
        padding: 1em;
    }

    .testimony-left {
        margin-bottom: 1em;
    }

    .stats-list {
        flex-direction: column;
        align-items: center;
    }

    .footer {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 1em;
    }

    .footer-logo {
        margin-bottom: 1em;
    }
}

/* Ecrans extra petits (<576px) */
@media (max-width: 576px) {
    .first-wrapper {
        padding: 1em;
    }

    .paragraph {
        margin: 1em 0;
    }
    
    .programs-list {
        list-style-type: none !important;
    }

    .stats-list {
        padding: 0;
    }

    .header-logo {
        top: 5%;
        margin-left: 10%;
        transform: translate(-50%, -5%);
        width: 150px;
        max-width: 90%;
    }

    .styled-button, .styled-button-alt {
        text-align: center;
    }

    .testimony {
        padding: 1em;
    }

    .youtube-wrapper {
        padding: 1em;
    }
}

.form-box, 
.form-box * {
  color: white !important;
  font-family: 'Roboto', sans-serif !important;
}

.form-box input,
.form-box select,
.form-box textarea {
  background-color: transparent !important;
  border: 1px solid white !important;
  color: white !important;
  padding: 8px !important;
  border-radius: 4px !important;
}

.form-box input::placeholder,
.form-box textarea::placeholder {
  color: #ccc !important;
}

.form-box label {
  color: white !important;
}

.form-box button,
.form-box input[type="submit"] {
  color: #005598 !important;
  font-weight: bold !important;
  padding: 0.6em 1.2em !important;
  border-radius: 4px !important;
  cursor: pointer !important;
}


