@import url('https://fonts.googleapis.com/css2?family=Rubik:wght@400;500;700&display=swap');

body{
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    font-family: 'fira-sans', sans-serif;
    width: 100%;
}
* {
    box-sizing: border-box; /* Ensures padding and borders are included in width/height */
}
html, body {
  max-width: 100vw !important;
  overflow-x: hidden !important;
}
.container {
    display: flex;
    align-items: normal;
    flex-direction: column;
    width: 100%;
    overflow: hidden;
    height: 210px;
    z-index: 3000;
}
.container #sidebartoggle {
    display: none;
}
.container .conarrow {
    display: none;
}
.container .nav-backdrop {
    display: none;
}
.container .nav{
    height: 30px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 65%;
    padding: 10px;
    position: absolute;
    left: 10%;
    top: -7px;
    z-index: 3000;
}
.container li{
    list-style: none;
    margin: 0 10px;
    text-wrap: nowrap;
}
.container button{
    background-color: transparent;
    border: solid 2px #00C89A;
    border-radius: 100px;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    height: 50%;
    position: relative;
    top: 5px;
    align-content: center;
    padding: 0px 20px 0px 20px;
    box-shadow: 0px 59px 23px rgba(255, 214, 89, 0.01), 
    0px 33px 20px rgba(255, 214, 89, 0.05), 
    0px 15px 15px rgba(255, 214, 89, 0.09), 
    0px 4px 8px rgba(255, 214, 89, 0.1);
}
.container button.ins{
    margin: 0;
    height: 40px;
    background-color: #FFF;
    color: #00C89A !important;
}
.container button.ins a{
    color: #00C89A;
    text-decoration: none;
}
.container button.ins a:visited{
    color: #00C89A;
}
.container button.con{
    margin: 0 5px;
    height: 40px;
    background-color: #00C89A;
    color: #fff;
}
.container button.con a{
    color: #fff;
    text-decoration: none;
}
.container button.con a:visited{
    color: #fff;
}
.container .lang{
    position: absolute;
    right: 23.3%;
    height: 20px;
    top: 15px;
    width: 10px;
    border: none;
}
.container .lang img{
    width: 20px;
    object-fit: contain;
    position: relative;
    right: 15px;
}
.container div{
    display: flex;
    justify-content: space-between;
}
.logo{
	background-color: rgba(11, 2, 99, 1);
    border-radius: 120px 150px 50px 200px;
    height: fit-content;
    width: 50%;
    height: 300px;
    overflow: hidden;
    position: relative;
    left: -39%;
    top: -200px;
    transform: rotate(13deg);
}
.logo img{
    object-fit: contain;
    position: relative;
    top: 60px;
    left: 39%;
    transform: rotate(-13deg);
    width: 25%;
    height: 120px;
    margin:auto;
    padding: 5px;
}
a{
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
}
.nav a{
    color: #00C89A;
    text-shadow: 0px 3px 40px #0B0263;
}
.nav a:hover, #dropdown-button:hover{
    color: #ffd659;
}
#dropdown-button {
    border: none;
    cursor: pointer;
    color: #00C89A;
    font-size: 16px;
    font-weight: bold;
    position: relative;
    top: 0;
    background-image: url('../droparrow.svg');
    background-repeat: no-repeat;
    background-position: right center;
    background-size: 20px;
    margin: 0;
    box-shadow: none;
}
#dropdown-button:hover {
    background-image: url('data:image/svg+xml;utf8,<svg width="30" height="30" viewBox="0 0 30 30" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M13.9761 19.7875L8.17984 11.5037C7.36609 10.3437 8.19609 8.75 9.61234 8.75L20.3898 8.75C21.8061 8.75 22.6361 10.3437 21.8236 11.5037L16.0248 19.7875C15.9096 19.952 15.7563 20.0864 15.5781 20.1791C15.3999 20.2718 15.202 20.3203 15.0011 20.3203C14.8002 20.3203 14.6023 20.2718 14.4241 20.1791C14.2458 20.0864 14.0914 19.952 13.9761 19.7875Z" fill="%23ffd659"/></svg>');;
}
#dropdown {
    position: absolute;
    background: #FFFFFF;
    border-radius: 5px 24px 12px;
    top: 50px;
    left: 110px;
    width: 250px;
    height: 170px;
    background-color: #FFF;
    z-index: 1000;
    overflow: hidden;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 5px;
    gap: 5px;
}
#dropdown ul {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
}
#dropdown a {
    text-wrap: wrap;
    text-decoration: none;
    font-size: 14px;
    padding: 10px;
    display: block;
    width: 100%;
    text-shadow: none;
}
.spacer{
    margin: auto;
    width: 80%;
    background-color: #ffd559ab;
    height: 1px;
}
.hero {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 40px 30px;
    flex-wrap: wrap;
    background-image: linear-gradient(to right,#0B0263 40%, #00C89A 50%);
    border-radius: 12px;
}
.hero-text {
    max-width: 400px;
    margin: -20px;
    padding: 0;
}
.hero-text h4 {
  color: #ffcc00;
  font-weight: bold;
  font-size: 20px;
  margin: 0;
  padding: 0;
}
.hero-text p{
    color: #ffffff;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 0;
    margin-top: 12px;
}
.laptop{
    position:absolute;
    left: 30%;
    top: 15px;
}
.iphone{
    position: absolute;
    top: 55px;
    right: 5%;
}
.lost{
    position: absolute;
    width: 200px;
    left: 62%;
    top: 290px;
}
.social-iconsu{
    position: absolute;
    top: 350px;
    right: 10px;
}
.social-iconsu img {
  width: 30px;
  height: 30px;
}
.net{
    position: absolute;
    display: flex;
    right: 20px;
    top: 300px;
}
.net p{
    color: #FFFFFF;
}
.howto{
    position: relative;
}
.howto h3{
    color: #00C89A;
    text-decoration: underline;
    text-align: center;
    font-size: 22px;
}
.howtop{
    color: #FFF;
    background-color: #0B0263;
    width: 65%;
    margin: 30px 20px;
    font-size: 22px;
    border-radius: 12px;
    padding: 12px 26px;
    line-height: 35px;
}
.howtop p{
    padding: 0;
    margin: 0;
}
.howto span{
    color: #00C89A;
}
.reserpic{
    position: absolute;
    width: 500px;
    right: 0;
    top: 45px;
}
.filter{
    background-color: #00C89A;
    border-radius: 10px;
    display: flex;
	align-items: center;
	justify-content: center;
    border: none;
    z-index: 42;
    padding: 10px;
    cursor: pointer;
    margin-left: 200px;
    margin-bottom: 50px;
}
.filter a{
    color: #FFF;
    font-weight: bold;
    text-decoration: underline;
}
.filter img{
    object-fit: contain;
    margin-right: 10px;
}
.greenspacer{
    height: 1px;
    width: 90%;
    margin: 20px auto;
    background-color: #00C89A;
}
.marche{
    position: relative;
    width: 100%;
}
.marche h2{
    color: #ffd659;
    text-align: center;
    font-size: 42px;
    font-weight: bold;
}
.marche .howtoleft{
    position: absolute;
    top: 10px;
    width: 120px;
}
.marche .howtoright{
    position: absolute;
    top: 10px;
    width: 130px;
    right: 0;
}
.crsprnt{
    display: flex;
    width: 600px;
    margin: auto;
    justify-content: space-between;
    margin-bottom: 50px;
}
.marche .cours-en-ligne{
    width: fit-content;
    font-weight: bold;
    border: #00C89A solid;
    border-radius: 8px;
    display: flex;
    gap: 10px;
    justify-content: space-around;
    align-items: center;
    padding: 10px;
}
.marche .cours-en-ligne img{
    width: 30px;
    object-fit: contain;
}
.marche .cours-en-ligne p{
    font-size: 16px;
    color: #00C89A;
}
.marche .designs{
    position: absolute;
    width: 50%;
    height: 700px;
    right: 0px;
}
.marche .phoneshadow{
    position: absolute;
    width: 50%;
    top: 40%;
    right: 20%;
}
.marche .phones{
    position: absolute;
    width: 90%;
    height: 100%;
    object-fit: contain;
}
.marche .firstpresent{
    background-color: #0B0263;
    width: 50%;
    text-align: center;
    color: #fff;
    margin-left: 4%;
    font-size: 18px;
    font-weight: bold;
    box-shadow: 0px 353px 141px rgba(1, 201, 155, 0.01), 
    0px 198px 119px rgba(1, 201, 155, 0.05), 
    0px 88px 88px rgba(1, 201, 155, 0.09), 
    0px 22px 49px rgba(1, 201, 155, 0.1);
    border-radius: 12px;
    padding: 10px;
    padding-bottom: 30px;
}
.marche .firstpresent p{
    margin: 0;
}
.marche .con{
    background-color: #00C89A;
    border: solid 2px #00C89A;
    border-radius: 100px;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    height: 50px;
    width: fit-content;
    position: relative;
    top: 5px;
    align-content: center;
    padding: 0px 20px 0px 20px;
    box-shadow: 0px 59px 23px rgba(255, 214, 89, 0.01), 
    0px 33px 20px rgba(255, 214, 89, 0.05), 
    0px 15px 15px rgba(255, 214, 89, 0.09), 
    0px 4px 8px rgba(255, 214, 89, 0.1);
    margin: 30px 300px;
    margin-bottom: 50px;
}
.marche .con a{
    color: #0B0263 !important;
    text-decoration: none;
}
.marche .con a:visited{
    color: #0B0263;
}
.abon h2{
    color: #ffd659;
    text-align: center;
    font-size: 42px;
    font-weight: bold;
}
.presmat{
    width: 100%;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: 220px 220px;
}
.presmat div{
    filter: drop-shadow(0px 88px 35px rgba(11, 2, 99, 0.01)) 
    drop-shadow(0px 50px 30px rgba(11, 2, 99, 0.05)) 
    drop-shadow(0px 22px 22px rgba(11, 2, 99, 0.09)) 
    drop-shadow(0px 6px 12px rgba(11, 2, 99, 0.1));
    margin: 15px;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.presmat p{
    text-align: center;
    font-weight: bold;
}
.presmat img{
    height: 100px;
    width: 100px;
}
.svt, .ingenieur{
    color: #FFFFFF;
    background-color: #54EDCA;
}
.math{
    color: #0B0263;
    background-color: #00C89A;
}
.Phisyque{
    background-color: #9747FF;
    color: #0B0263;
}
.histgeo{
    color: #FFFFFF;
    background-color: #DC7FAD;
}
.eco{
    background-color: #85B3EC;
    color: #FFFFFF;
}
.orga{
    color: #FFFFFF;
    background-color: #E0A309;
}
.ar{
    color: #FFFFFF;
    background-color: #676CC1;
}
.ang{
    color: #0B0263;
    background-color: #ffd659;
}
.isla{
    color: #ffffff;
    background-color: #0c026388;
}
.fr{
    color: #0B0263;
    background-color: #95DDEC;
}
.compta{
    background-color: #80B34F;
    color: #FFFFFF;
}
.abonmat{
    background-color: #0B0263;
    border-radius: 12px;
    width: 70%;
    margin: auto;
    padding: 10px;
    margin-bottom: 20px;
}
.abonmat p{
    text-align: center;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
}
.abonmat span{
    color: #00C89A;
}
.titles{
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
}
.titles h5{
    font-size: 42px;
    color: #00C89A;
    margin-bottom: 0;
    text-decoration: underline;
}
.titles h2{
    font-size: 36px;
    color: #0B0263;
    margin: 0;
}
.titles p{
    margin-top: 0;
    font-size: 20px;
    color: gray;
}
.formholder{
    width: min(800px, 92%);
    margin: 40px auto 80px;
    position: relative;
    background: none;
}
.formback{
    display: none;
}
.formrec{
    display: none;
}
.formu{
    position: relative;
    top: auto;
    z-index: 2;
    width: 100%;
    height: auto;
    background: #f2f5f5;
    border-radius: 18px;
    border: none;
    margin: 0;
    padding: 28px;
    box-shadow: 0px 22px 70px rgba(11, 2, 99, 0.35);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 14px;
    box-sizing: border-box;
}
.formu label {
    display: block;
    font-family: 'Fira Sans', Arial, Helvetica, sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 14px;
    line-height: 1.3;
    color: #0B0263;
    text-wrap: wrap;
    position: static;
    left: auto;
    box-sizing: border-box;
    margin-bottom: 2px;
    opacity: 0.75;
    align-self: end;
}
.formu label[for="mail"],
.formu label[for="phone"],
.formu label[for="message"] {
    grid-column: 1 / -1;
}
.formu input, .formu select {
    width: 100%;
    padding: 14px 16px;
    margin: 0;
    border: 2px solid #9be7d5;
    border-radius: 8px;
    background: #f2f5f5;
    color: #0B0263;
    font-size: 18px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    box-shadow: none;
    outline: none;
    position: static;
    left: auto;
    box-sizing: border-box;
    margin-bottom: 0;
    font-family: 'Fira Sans', Arial, Helvetica, sans-serif;
}
#mail,
#phone {
    grid-column: 1 / -1;
}
.formu textarea {
    grid-column: 1 / -1;
    width: 100%;
    padding: 14px 16px;
    margin: 0;
    border: 2px solid #9be7d5;
    border-radius: 8px;
    background: #f2f5f5;
    color: #0B0263;
    font-size: 18px;
    box-sizing: border-box;
    outline: none;
    resize: vertical;
    min-height: 170px;
    position: static;
    left: auto;
    display: block;
    font-family: 'Fira Sans', Arial, Helvetica, sans-serif;
}
.formu input:focus,
.formu select:focus,
.formu textarea:focus {
    border-color: #00C89A;
    box-shadow: 0 0 0 3px rgba(0, 200, 154, 0.15);
}
.formu button {
    grid-column: 1 / -1;
    min-width: 180px;
    width: fit-content;
    padding: 12px 26px;
    margin: 6px auto 0;
    border: none;
    border-radius: 10px;
    background: #00C89A;
    color: #ffffff;
    font-size: 24px;
    font-weight: 200;
    cursor: pointer;
    box-shadow: 0px 15px 36px rgba(0, 200, 154, 0.28);
    position: static;
    left: auto;
    bottom: auto;
    display: block;
}
.formu button:hover {
    background: #00b98f;
}
.footer {
    position: relative;
    background-color: #6D8DCA;
    color: white;
    font-family: Arial, sans-serif;
    padding: 0px 20px;
    padding-bottom: 0;
    border-top: 5px solid #00C89A;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer-section {
    flex: 1;
    margin: 20px;
    min-width: 250px;
    text-align: center;
}

.logan{
    display: flex;
    align-items: center;
    justify-content: space-around;
}
.footer-logo {
    width: 50%;
    max-width: 100px;
}

.slogan {
    color: #ffc857;
    font-size: 20px;
    width: 50%;
    margin: 0;
    text-shadow: #0B0263 1px 1px;
}
.emof{
    width: 15%;
    object-fit: contain;
    align-self: flex-start;
    transform: rotate(8deg);
}
.description {
    color: #fff;
    font-size: 14px;
    margin-top: 10px;
    line-height: 1.5;
    text-align: left;
    text-shadow: #0B0263 2px 0px;
}
.footer .infos{
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    color: #0B0263;
}
.footer-section h3:not(.slogan) {
    color: #ffc857;
    text-decoration: underline;
    margin-bottom: 15px;
    text-shadow: #0B0263 2px 0px;
}

.apps p{
    text-shadow: #0B0263 2px 0px;
}
.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #FFF;
    text-decoration: none;
    font-weight: bold;
}

.footer-section ul li a:hover {
    text-decoration: underline;
}

footer p{
    font-weight: bold;
    font-size: 14px;
}
.footer a{
    text-shadow: #0B0263 2px 0px;
}

.footer-bottom {
    border-top: 1px solid #333;
    text-align: center;
    color: #555;
    font-size: 12px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 10px;
}
.footer-bottom a{
    color: #FFFFFF;
    text-shadow: #0B0263 2px 0px;
}

.social-icons a {
    display: inline-flex;
    margin: 0;
}
.social-icons{
    position: absolute;
    top: 320px;
    right: 50%;
    transform: translateX(50%);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 16px 26px;
    border: none;
    border-radius: 12px;
}
.social-icons::after{
    content: "";
    position: absolute;
    background: rgba(0, 200, 154, 0.79);
    filter: blur(50px);
    border-radius: 20px;
    transform: rotate(-180deg);
    width: 100%;
    height: 100%;
    z-index: -1;
}
.social-icons img {
    width: 42px;
    height: 42px;
    object-fit: contain;
}
/* ── Scroll-reveal system ── */
.reveal {
    opacity: 0;
    transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.from-left   { transform: translateX(-60px); }
.reveal.from-right  { transform: translateX( 60px); }
.reveal.from-top    { transform: translateY(-60px); }
.reveal.from-bottom { transform: translateY( 60px); }
.reveal.visible {
    opacity: 1;
    transform: none;
}
@media (max-width: 1250px) {
    .container ul li {
        margin: 0;
    }
    .container .nav {
        width: fit-content;
        gap: 15px;
    }
    .container .lang {
        right: 25%;
    }
    .lost{
        display: none;
    }
    .reserpic{
        display: none;
    }
    .howtop{
        width: 90%;
        margin: auto;
    }
    .filter{
        margin: 30px auto;
    }
}
@media (max-width: 1170px) {
    .container{
        overflow: visible;
    }
    .logo {
        position: relative;
        left: 0%;
        top: 0;
        width: 120px;
        height: 120px;
        border-radius: 12px;
        transform: none;
    }
    .logo img {
        position: relative;
        top: 0;
        left: 0;
        transform: none;
        width: 80%;
        height: 80%;
    }
    .container .header {
        justify-content: flex-start;
    }
    .container .header div:not(.logo) {
        flex-grow: 1;
    }
    .container .nav {
        position: relative;
        left: 0;
        top: 0;
        width: fit-content;
        margin: auto;
    }
    .container .lang {
        display: none;
    }
    .container div {
        align-items: center;
    }
    .container button {
        position: relative;
        top: 0px;
    }
    .container button.ins {
        display: none;
    }
    .hero {
        position: relative;
    }
    .net {
        top: 30%;
    }
    .social-iconsu {
        top: 50%;
    }
    .iphone {
        width: 30%;
        right: 10%;
        top: -30%;
    }
    .laptop {
        top: -50%;
        left: 52%;
        transform: translateX(-50%);
    }
    .hero-text {
        max-width: 380px;
    }
    .howto h3{
        margin-top: 50px;
    }
}
@media (max-width: 1100px) {
    .laptop, .iphone {
        display: none;
    }
    .hero-text {
        max-width: 100%;
    }
    .hero {
        background: linear-gradient(to right, #0B0263, #00C89A);
    }
    .net {
        top: 10%;
    }
    .social-iconsu {
        top: 30%;
    }
    .howto h3{
        margin: 20px auto;
    }
}
@media (max-width: 1000px) {
    .container .con {
        display: none;
    }
    .container .conarrow {
        display: block;
        width: fit-content;
        transform: rotate(180deg);
    }
}
@media (max-width: 900px) {
    .container .header {
        justify-content: space-between;
        padding: 8px 12px;
        background-color: #0B0263;
    }
    .container > .header > div:last-child {
        flex: none;
        min-width: unset;
    }
    .container .nav {
        position: fixed;
        top: 0;
        left: -320px;
        width: min(300px, 85vw);
        height: 100vh;
        margin: 0;
        padding: 100px 16px 24px;
        background: linear-gradient(180deg, rgba(11, 2, 99, 0.98) 0%, rgba(4, 30, 109, 0.98) 100%);
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 30px;
        overflow-y: auto;
        transition: left 0.28s ease;
        z-index: 20000;
    }
    .container .nav.nav-open {
        left: 0;
    }
    body.nav-open {
        overflow: hidden !important;
    }
    .container .nav-backdrop {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(11, 2, 99, 0.45);
        backdrop-filter: blur(2px);
        z-index: 19990;
    }
    .container .nav-backdrop.show {
        display: block;
    }
    .container li {
        margin: 0;
    }
    .container .nav a,
    .container .nav #dropdown-button {
        width: 100%;
        color: #ffffff;
        text-align: left;
        font-size: 16px;
        filter: none;
        padding: 0;
    }
    .container .nav button {
        width: 100%;
        justify-content: flex-start;
        padding: 12px;
        box-shadow: none;
    }
    .container .nav > li {
        display: flex;
        flex-direction: column;
    }
    .container .nav #dropdown {
        position: static;
        width: 100%;
        height: auto;
        overflow: visible;
        background-color: #0B0263;
    }
    .container #sidebartoggle {
        display: block;
        background-color: #00C89A;
        position: relative;
        padding: 0px 9px;
        height: 40px;
        z-index: 30001;
    }
    .container #sidebartoggle img {
        width: 20px;
        height: 20px;
    }
    .marche .howtoleft, .marche .howtoright{
        top: -30px;
    }
    .presmat img{
        height: 80px;
        width: 80px;
    }
    .presmat{
        grid-template-columns: repeat(3, 1fr);
    }
    .social-icons {
        position: relative;
        top: -50px;
        width: fit-content;
        left: 50%;
        transform: translateX(-50%);
    }
    .links {
        display: none;
    }
}
@media (max-width: 800px) {
    .net, .social-iconsu {
        display: none;
    }
    .marche .howtoleft, .marche .howtoright{
        display: none;
    }
    .marche .con{
        display: block;
        margin: 30px auto;
    }
}
@media (max-width: 700px) {
    .marche .designs{
        display: none;
    }
    .marche .firstpresent{
        width: 90%;
        margin: 30px auto;
    }
    .marche .crsprnt{
        width: 100%;
        gap: 20px;
        flex-direction: column;
        align-items: center;
    }
    .footer-container {
        flex-direction: column;
    }
    .footer-bottom {
        flex-wrap: wrap;
        gap: 10px;
        justify-content: center;
    }
    .links {
        display: block;
        margin-bottom: 100px;
    }
}
@media (max-width: 400px){
    .presmat{
        grid-template-columns: 2fr;
    }
}