@import url('https://fonts.googleapis.com/css2?family=Afacad+Flux:wght@300&family=Kumbh+Sans:wght@100..900&family=Newsreader:ital,opsz,wght@0,6..72,200..800;1,6..72,200..800&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

body{
    margin: 0;
    padding: 0;
    font-weight: 500;
    font-family: 'Poppins';
    background-color: #F7F9FF;
    box-sizing: border-box;
}

li{
    list-style: none;
}

.navbar a{
    text-decoration: none;
    color:#F7F9FF;
    font-size: 20.8px;
    font-weight: bold;
}

.navbar a:hover{
    color: #3D79F2;
    
}

header{
    position: fixed;
    width:100%;
    box-shadow: 0 0 15px #001144;
    background-color:#1a2d63;
    z-index:980;
    
}
.navbar{
    width:100%;
    height:90px;
    display: flex;
    align-items: center;
    
}
.navbar .logo{
    padding-left: 10%;
}
.navbar .logo a{
    font-size:24px;
    font-weight: bold;
}




.navbar .links{
    display: flex;
    gap:30px;
    margin-right:30px;
}

.navbar .toggle_btn{
    color: rgb(255, 255, 255);
    font-size:24px;
    cursor:pointer;
    display:none;

}

.assemble{
    margin-left: auto;
    display: flex;
    align-items: center;
    padding-right: 10%;
}


.box-icons{
    display:flex;
    gap: 40px;
    
    
}
.box-icons img{
    width:30px;
}
.box-icons a{
    display:flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    width: 30px;
    height: 30px;
    border:2px solid #F7F9FF;
    text-decoration: none;
    color:#F7F9FF;
    border-radius:50%;
    transition: 0.3s;
}

.box-icons a:hover{
    background-color: #F7F9FF;
    color:black;
    box-shadow: 0 0 15px #727fde6f;
}

.box-icons .cv{
    border:none;
}
/*DROPDROWN MENU*/
.dropdown_menu{
    display: none;
    position: absolute;
    right:32px;
    top:60px;
    transform: translateY(40px);
    height:0;
    width:300px;
    background-color: #C1D0FF;
    backdrop-filter: blur(15px);
    border-radius: 10px;
    overflow: hidden;
    transition: height 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.dropdown_menu.open{
    height:290px;
    transform: translateY(40px);
}
.dropdown_menu li{
    padding:11.2px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dropdown_menu a{
    text-decoration: none;
	color:#1F2D5C;
}
.dropdown_menu .box-icons{
    
    display: flex;
    justify-content: center;
    padding: 11.2px;
}
/*------------------------HERO---------------------------*/
section#hero {
    position: relative; /* ⚡ pour que la flèche "absolute" reste dans la section */
    padding-top: 120px; /* évite que le header cache le titre */
    height: calc(100vh - 60px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #1F2D5C;
    overflow: hidden; /* empêche la flèche de dépasser */
}

#hero h1 {
    font-size: 48px;
    margin-bottom: 16px;
}

#hero p {
    font-size: 24px;
    width: 90%;
    max-width: 600px;
}
#hero .slide-button{
    margin-top: 50px;
    
    position: relative; /* pour bien rester au-dessus de la flèche */
    z-index: 2;
}
.scroll-down {
    position: absolute; /* ✅ reste collée au bas de la section */
    bottom: 25px;       /* espace suffisant pour ne pas toucher le bouton */
    left: 50%;
    transform: translateX(-50%);
    height: 50px;
    width: 30px;
    border: 2px solid #1F2D5C;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 0 15px rgba(211,211,211,0.477);
    z-index: 1; /* sous le bouton */
}

.scroll-down::before,
.scroll-down::after {
    content: "";
    position: absolute;
    top: 20%;
    left: 50%;
    height: 10px;
    width: 10px;
    border: 2px solid #1F2D5C;
    transform: translate(-50%, -100%) rotate(45deg);
    border-top: transparent;
    border-left: transparent;
    animation: scroll-down 2s ease-in-out infinite;
}

.scroll-down::before {
    top: 30%;
    animation-delay: 0.5s;
}

@keyframes scroll-down {
    0%{
        opacity: 0;
    }
    30%, 60%{
        opacity: 1;
    }
    100%{
        top:90%;
        opacity:0;
    }
}
@media(max-width:970px){
    .navbar .links,
    .navbar .box-icons{
        display:none;
    }
    .navbar .toggle_btn{
        display: block;
    }
    .dropdown_menu{
        display: block;
    }
}

@media(max-width:800px){
    .dropdown_menu {
        left:2rem;
        width: unset;
    }
    section#hero {
        height: auto; /* évite les décalages fixes */
        padding-bottom: 100px; /* laisse de la place pour la flèche */
    }
    .scroll-down {
        bottom: 10px; /* reste visible mais ne chevauche rien */
    }
    
}
/*--------------------------TIMELINE--------------------------------*/
* {
	padding: 0;
	margin: 0;
	box-sizing: border-box;
	font-family: Poppins;
}
@font-face {
	font-family: Poppins;
	src: url(./fonts/Poppins-Medium.ttf);
}
.main {
	width: 100%;
	height: 1200px;
	display: grid;
	place-items: center;
    background-color: #e9eefc;
	padding: 50px 0;
}
.main .head {
	font-size: 29px;
	color: #1F2D5C;
	position: relative;
	margin-bottom: 100px;
	font-weight: 500;
}
.main .head::after {
	content: " ";
	position: absolute;
	width: 50%;
	height: 3px;
	left: 50%;
	bottom: -5px;
	transform: translateX(-50%);
	background-image: linear-gradient(to right,#0600ffed, #00e7ff);
}

/* Container Css Start  */

.container {
	width: 70%;
	height: auto;
	margin: auto 0;
	position: relative;
}
.container ul {
	list-style: none;
}
.container ul::after {
	content: " ";
	position: absolute;
	width: 2px;
	height: 100%;
	left: 50%;
	top: 0;
	transform: translateX(-50%);
	background-image: linear-gradient(to bottom,#0600ffed, #00e7ff );
}
.container ul li {
	width: 50%;
	height: auto;
	padding: 15px 20px;
	background-color: #fff;
	border-radius: 8px;
	box-shadow: 1px 1px 15px rgba(0, 0, 0, 0.218);
	position: relative;
	margin-bottom: 30px;
	z-index: 99;
}
.container ul li:nth-child(4) {
	margin-bottom: 0;
}
.container ul li .circle {
	position: absolute;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background-color: #0066ffc7;
	top: 0;
	display: grid;
	place-items: center;
}
.circle::after{
	content: ' ';
	width: 12px;
	height: 12px;
	background-color: #0600ffed;
	border-radius: 50%;
}
ul li:nth-child(odd) .circle {
	transform: translate(50%, -50%);
	right: -30px;
}
ul li:nth-child(even) .circle {
	transform: translate(-50%, -50%);
	left: -30px;
}
ul li .date {
	position: absolute;
	width: 130px;
	height: 33px;
	background-color:#3D79F2;
	border-radius: 15px;
	top: -45px;
	display: grid;
	place-items: center;
	color: #fff;
	font-size: 13px;
	box-shadow: 1px 2px 12px rgba(0, 0, 0, 0.318);
}
.container ul li:nth-child(odd) {
	float: left;
	clear: right;
	text-align: right;
	transform: translateX(-30px);
}
ul li:nth-child(odd) .date {
	right: 20px;
}
.container ul li:nth-child(even) {
	float: right;
	clear: left;
	transform: translateX(30px);
}
ul li .heading {
	font-size: 17px;
	color: #1F2D5C;
}
ul li p {
	
	color: #666;
	line-height: 18px;
	margin: 6px 0 4px 0;
}
ul li a {
	
	text-decoration: none;
	color: rgb(18, 54, 214);
	transition: all 0.3s ease;
}


@media only screen and (min-width:798px) and (max-width: 1100px) {
	.container{
		width: 80%;
	}
}

@media only screen and (max-width: 798px) {
    .main{
        height:1400px;
        width:100%;
    }
	.container{
		width: 70%;
		transform: translateX(20px);
	}
	.container ul::after{
		left: -40px;
	}
	.container ul li {
		width: 100%;
		float: none;
		clear: none;
		margin-bottom: 80px;
	}
	.container ul li .circle{
		left: -40px;
		transform: translate(-50%, -50%);
	}
	.container ul li .date{
		left: 20px;
	}
	.container ul li:nth-child(odd) {
		transform: translateX(0px);
		text-align: left;
        margin-bottom: 80px;
	}
	.container ul li:nth-child(even) {
		transform: translateX(0px);
        margin-bottom: 80px;
	}
}

@media only screen and (max-width: 550px) {
	.container{
		width: 80%;
	}
	.container ul::after{
		left: -20px;
	}
	.container ul li .circle{
		left: -20px;
	}
}

@media only screen and (max-width: 550px) {
    .main{
        width:100%;
    }
}

/*----------------------------------CONTACT-------------------------------------------------*/
.contact {
	font-family: Arial, sans-serif;
    background-color: #F7F9FF;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
  }

.contact h1{
	margin-bottom: 25px;
	font-size: 29px;
    color: #1F2D5C;
    position: relative;
    font-weight: 500;
}

.contact h1::after {
    content: " ";
    position: absolute;
    width: 50%;
    height: 3px;
    left: 50%;
    bottom: -5px;
    transform: translateX(-50%);
    background-image: linear-gradient(to right, #0600ffed, #00e7ff);
}
form {
	background-color: #ffffff;
	padding: 20px 30px;
	border-radius: 10px;
	box-shadow: 0 4px 8px rgba(0,0,0,0.1);
	width: 90%;
	max-width: 600px;
  }

  h2 {
	text-align: center;
	color: #333333;
  }

  label {
	display: block;
	margin-top: 15px;
	color: #555555;
	font-weight: bold;
  }

  input, textarea {
	width: 100%;
	padding: 10px;
	margin-top: 5px;
	border: 1px solid #cccccc;
	border-radius: 5px;
	box-sizing: border-box;
	font-size: 14px;
  }

  button {
	margin-top: 20px;
	width: 100%;
	padding: 10px;
	background-color:#3D79F2;
	color: white;
	border: none;
	border-radius: 5px;
	font-size: 16px;
	cursor: pointer;
  }

 


/*---------------------------------------------------CAROUSEL------------------------------------------------------------------------------------*/
.projet {
	font-family: Arial, sans-serif;
    background-color: #F7F9FF;
	display: flex;
	justify-content: center;
	align-items: center;
	
	margin: 0;
	flex-direction: column;
  }

  .carousel {
	position: relative;
	width:80%;
	max-width: 1066px;
	height: 600px;
	overflow: hidden;
	border-radius: 10px;
	box-shadow: 0 4px 10px rgba(0,0,0,0.2);

    
  }

  .carousel-track {
	display: flex;
	transition: transform 0.5s ease-in-out;
	width: 100%;
	height: 100%;
  }

  .projet h1{
	margin-bottom: 25px;
    margin-top:100px;
	font-size: 29px;
    color: #1F2D5C;
    position: relative;
    font-weight: 500;
	
}

.projet h1::after {
    content: " ";
    position: absolute;
    width: 50%;
    height: 3px;
    left: 50%;
    bottom: -5px;
    transform: translateX(-50%);
    background-image: linear-gradient(to right, #0600ffed, #00e7ff);
	
}
  .slide {
	height: 100%;
	flex-shrink: 0;
    position: relative;
  }

  .slide img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	
  }

  .slide p {
	color:black;
	position: absolute;
  }

.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: #3D79F2;
  color: white;
  border: none;
  cursor: pointer;
  border-radius: 50%;
  font-size: 20px;
  transition: background-color 0.3s ease;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.arrow:hover {
  background-color: #16348C;
}

.left {
  left: 0;
}

.right {
  right: 0;
}


   .slide-content {
	position: absolute;
	bottom: 20px;
	left: 20px;
	color: white;
	background: rgba(0, 0, 0, 0.6);
	padding: 15px;
	border-radius: 8px;
	opacity: 0;
	transition: opacity 0.4s ease;
	pointer-events: none;
    width:80%;
  }

  .slide:hover .slide-content {
	opacity: 1;
	pointer-events: auto;
  }

  .slide-text {
	font-size: 18px;
	margin-bottom: 10px;
  }

  .slide-button  {
    background-color:#3D79F2;
	color: white;
	border: none;
	padding: 8px 14px;
	border-radius: 4px;
	cursor: pointer;
	font-size: 16px;
	transition: background-color 0.3s ease;
	width:200px;
    text-decoration:none;
  }

 

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slide {
    min-width: 100%;
    box-sizing: border-box;
    padding: 10px;
}


@media screen and (max-width: 1350px) {
    .carousel-track {
        display: grid !important;
        grid-template-columns: 1fr; 
        gap: 20px;
        transform: none !important;
    }

    .slide {
        min-width: auto !important;
        width: 100%;
    }

    .arrow {
        display: none;
    }
    .projet{
        height:auto;
    }
    .carousel{
        height:auto;
        box-shadow: none;
    }
}



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

  .copyright{
	background-color: #1F2D5C;
	height:80px;
	display: flex;
	justify-content: center;
    align-items: center;
  }

  .copyright p{
	color:white;
  }


  /*-------------------------------BLUR SCROLL------------------------------
.autoBlur{
    animation: autoBlurAnimation linear both;
    animation-timeline: view();
}

@keyframes autoBlurAnimation {
    0%{
        filter:blur(5px);
        opacity: 0;
    }
    35%, 65%{
        filter:blur(0);
        opacity:1;
    }
    100%{
        filter:blur(5px);
        opacity: 0;
    }
}


/*--------------------------------------FADE IN RIGHT------------------------------------
.fadeInRight{
    animation: fadeInAnimation both;
    animation-timeline: view();
}

@keyframes fadeInAnimation{
    0%{
        transform: translateX(-500px) scale(0.2);
        opacity: 0;
        filter:blur(20px);
    }
    35%, 65%{
        filter:blur(0);
        opacity:1;
        transform: translateX(0px) scale(1);

    }
    50%{
        filter:blur(10px);
        
    }
}
*//* --- SECTION GLOBALE --- */
.my-projects {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    background-color: #e9eefc;
    padding: 100px 0;
    box-sizing: border-box;
}

.my-projects h2 {
    font-size: 29px;
    color: #1F2D5C;
    position: relative;
    font-weight: 600;
    margin-bottom: 50px;
    text-align: center;
}

.my-projects h2::after {
    content: "";
    position: absolute;
    width: 50%;
    height: 3px;
    left: 50%;
    bottom: -8px;
    transform: translateX(-50%);
    background-image: linear-gradient(to right, #0600ffed, #00e7ff);
    border-radius: 2px;
}

/* --- GRILLE DES CARTES --- */
.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    width: 80%;
    max-width: 1100px;
}

/* --- CARTE --- */
.certification-card {
    background-color: #fff;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    padding-bottom: 20px;
    cursor: default;
}

.certification-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

/* --- IMAGE --- */
.certif-img {
    width: 100%;
    height: 180px;
    overflow: hidden;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f7f9fc;
}

.certif-img img {
    width: auto;
    height: 100%;
    object-fit: contain;
    transition: transform 0.4s ease, filter 0.3s ease;
    padding: 10px;
}

.certification-card:hover .certif-img img {
    transform: scale(1.05);
    filter: brightness(1.1);
}

/* --- TEXTE --- */
.certif-info {
    padding: 15px 20px;
}

.certif-info h3 {
    color: #1F2D5C;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
}

.certif-info p {
    font-size: 14px;
    color: #555;
    margin-bottom: 15px;
}

/* --- BOUTON --- */
.slide-button {
    display: inline-block;
    background: linear-gradient(to right, #0600ffed, #00e7ff);
    color: #fff;
    padding: 8px 18px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: 0.3s ease;
}

.slide-button:hover {
    opacity: 0.85;
    transform: translateY(-2px);
}

/* --- RESPONSIVE --- */
@media screen and (max-width: 900px) {
    .certifications-grid {
        width: 90%;
        gap: 30px;
    }
}

@media screen and (max-width: 600px) {
    .my-projects h2 {
        font-size: 24px;
    }

    .certif-img {
        height: 150px;
    }

    .certif-info h3 {
        font-size: 18px;
    }

    .slide-button {
        font-size: 13px;
        padding: 7px 14px;
    }
}

/*GRADIANT ANIMATION*/

.gradient{
    background: linear-gradient(to right, #008baa, #7e42a7, #6600c5, #6070fd,#2a46ff, #0099ff, #008ead);
    background-size: 200%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: animate-gradient 2.5s linear infinite;
}

@keyframes animate-gradient {
    to{
        background-position: 200%;
    }
}

/*------------------CAROUSEL STAGE-------------------*/

.stage {
	font-family: Arial, sans-serif;
    background-color:#e9eefc;
	display: flex;
	justify-content: center;
	align-items: center;
	height: 100vh;
	margin: 0;
	flex-direction: column;
  }



  .stage h1{
	margin-bottom: 25px;
	font-size: 29px;
    color: #1F2D5C;
    position: relative;
    font-weight: 500;
	
}

.stage h1::after {
    content: " ";
    position: absolute;
    width: 50%;
    height: 3px;
    left: 50%;
    bottom: -5px;
    transform: translateX(-50%);
    background-image: linear-gradient(to right, #0600ffed, #00e7ff);
	
}