@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@100&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Clicker+Script&family=Poppins:wght@200;300;400;500;600;700&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css');
*{
    margin: 0;
    padding: 0;
    font-family:'Poppins', sans-serif;
    box-sizing: border-box;
}

body{
    background: #080808;
    color: #fff;
    opacity: 0;
    animation: fadeIn 1s ease-in forwards;
}

.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #080808;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 20vh;
    z-index: 9999;
    transition: opacity 1s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes blinkCursor {
    50% {
        border-right-color: transparent;
    }
}
  
@keyframes typeAndDelete {
    0%, 10% {
        width: 0;
    }
    45%, 55% {
        width: 6.2em;
    }
    90%, 100% {
        width: 0;
    }
}

.terminal-loader {
    border: 0.1em solid #333;
    background-color: #1a1a1a;
    color: #0f0;
    font-family: "JetBrains Mono", monospace;
    font-size: 1em;
    padding: 1.5em 1em;
    width: 20em;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 4px;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
    transform: translateY(-50%);
}

.terminal-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1.5em;
    background-color: #333;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    padding: 0 0.4em;
    box-sizing: border-box;
}

.terminal-controls {
    float: right;
}

.control {
    display: inline-block;
    width: 0.6em;
    height: 0.6em;
    margin-left: 0.4em;
    border-radius: 50%;
    background-color: #777;
}

.control.close {
    background-color: #e33;
}

.control.minimize {
    background-color: #ee0;
}

.control.maximize {
    background-color: #0b0;
}

.terminal-title {
    float: left;
    line-height: 1.5em;
    color: #eee;
}

.text {
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    border-right: 0.2em solid green;
    animation: typeAndDelete 4s steps(11) infinite,
             blinkCursor 0.5s step-end infinite alternate;
    margin-top: 1.5em;
}

#header{
    width: 100%;
    height: 100vh;
    background-image: url(Image/DALL·E\ 2025-03-28\ 02.43.47\ -\ A\ dark\ and\ sleek\ digital\ illustration\ of\ a\ network\ engineer\ working\ in\ a\ high-tech\ environment.\ The\ scene\ is\ illuminated\ by\ subtle\,\ moody\ lighting\ wit.webp);
    background-size: cover;
    background-position: center;
}
.container{
    padding: 10px 10%;
}
nav{
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}
.logo{
    width: 140px;
}
nav ul li{
    display: inline-block;
    list-style: none;
    margin: 10px 20px;
}
nav ul li a{
    color:#fff;
    text-decoration: none;
    font-size: 18px;
    position: relative;
}
nav ul li a::after{
    content: '';
    width: 0;
    height: 3px;
    background: #ff004f;
    position: absolute;
    left: 0;
    bottom: -6px;
    transition: 0.5s;
}

nav ul li a:hover::after{
    width: 100%;
}

.header-text{
    margin-top: 20%;
    font-size: 30px;
    opacity: 0;
    animation: fadeIn 1s ease-in forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.header-text h1{
    font-size: 60px;
    margin-top: 20px;
    opacity: 0;
    animation: fadeIn 1s ease-in forwards 0.5s;
}
.header-text h1 span{
    color:#ff004f ;
}
/*----------About------------*/
#about{
    padding: 80px 0;
    color: #ababab;
}

.row{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-left: -15px;
    margin-right: -15px;
    position: relative;
}

.about-col-1{
    flex-basis: 35%;
}
.about-col-1 img{
    width: 100%;
    border-radius: 15px;
    transition: transform 0.3s ease;
    box-shadow: 0 5px 15px rgba(255, 0, 79, 0.2);
}
.about-col-1 img:hover {
    transform: scale(1.02);
}
.about-col-2{
    flex-basis: 60%;
}
.sub-title{
    font-size: 60px;
    font-weight: 600;
    color: #fff;
}
.tab-titles {
    display: flex;
    margin: 20px 0 40px;
    justify-content: center;
    gap: 20px;
}
.tab-links {
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    position: relative;
    padding: 10px 20px;
    transition: all 0.3s ease;
    border-radius: 25px;
    background: transparent;
    color: #fff;
}
.tab-links::after {
    content: '';
    width: 0;
    height: 3px;
    background: #ff004f;
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    transition: width 0.3s ease;
}
.tab-links:hover {
    color: #ff004f;
}
.tab-links.active-link {
    color: #ff004f;
    background: rgba(255, 0, 79, 0.1);
}
.tab-links.active-link::after {
    width: 50%;
}
.tab-contents ul li{
    list-style: none;
    margin: 10px;
}
.tab-contents ul li span{
    color: #b54769;
    font-size: 14px;
}
.personal-info p {
    color: #b54769;
    font-size: 14px;
}
.personal-info p span{
    color: #ababab;
    font-size: 14px;
}

.tab-contents {
    display: none;
}

.tab-contents.active-tab {
    display: block;
    animation: fadeIn 0.5s ease forwards;
}

/* Animations pour la section Parcours */
.timeline-item {
    opacity: 0;
    transform: translateY(20px);
}

.active-tab .timeline-item {
    animation: fadeInUp 0.5s ease forwards;
}

.active-tab .timeline-item:nth-child(1) { animation-delay: 0.2s; }
.active-tab .timeline-item:nth-child(2) { animation-delay: 0.4s; }

/* Animations pour la section Certifications */
.small-images .small {
    opacity: 0;
    transform: translateY(20px);
}

.active-tab .small {
    animation: fadeInUp 0.5s ease forwards;
}

.active-tab .small:nth-child(1) { animation-delay: 0.1s; }
.active-tab .small:nth-child(2) { animation-delay: 0.2s; }
.active-tab .small:nth-child(3) { animation-delay: 0.3s; }
.active-tab .small:nth-child(4) { animation-delay: 0.4s; }
.active-tab .small:nth-child(5) { animation-delay: 0.5s; }
.active-tab .small:nth-child(6) { animation-delay: 0.6s; }

/* Animation pour le titre des certifications */
.section-title {
    opacity: 0;
    transform: translateY(20px);
}

.active-tab .section-title {
    animation: fadeInUp 0.5s ease forwards;
}

/* Amélioration des styles existants */
.timeline {
    background: rgba(38, 38, 38, 0.5);
    backdrop-filter: blur(5px);
    box-shadow: 0 5px 15px rgba(255, 0, 79, 0.1);
}

.small-images .small {
    background: rgba(51, 49, 77, 0.8);
    backdrop-filter: blur(5px);
    box-shadow: 0 5px 15px rgba(255, 0, 79, 0.1);
    transition: all 0.3s ease;
}

.small-images .small:hover {
    transform: translateY(-5px);
    filter: brightness(1.1);
    box-shadow: 0 8px 20px rgba(255, 0, 79, 0.2);
}

/*--------------------Compétence---------------->*/
#Compétence{
    padding: 30px 0;
}
.Compétence-list{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-gap: 40px;
    margin-top: 50px;
}
.Compétence-list div{
    background: #262626;
    padding: 40px;
    font-size: 13px;
    font-weight: 300;
    border-radius: 10px;
    transition: background 0.5s, transform 0.5s;
}
.icon_grande{
    font-size: 50px;
    margin-bottom: 30px;
}
.Compétence-list div h2{
    font-size: 30px;
    font-weight: 500;
    margin-bottom: 15px;
}
.Compétence-list div a{
    text-decoration: none;
    color: #fff;
    font-size: 12px;
    margin-top: 20px;
    display: inline-block;
}
.Compétence-list div:hover{
    background: #ff004f;
    transform: translateY(-10px);
}
#network-skills li i {
    font-size: 1.2em;
    margin-right: 10px; 
}
#cyber-skills i {
    font-size: 1.2em; 
    margin-right: 10px; 
}
#code-skills li i {
    font-size: 1.2em;
    margin-right: 10px; 
}

/*-------------------Footer-------------------*/
.contact-left p{
    margin-top: 30px;
}
.contact-left p i{
    color: #ff004f;
    margin-right: 15px;
    font-size: 25px;
}
.social-icons a{
    margin-top: 30px;
}
.social-icons a{
    text-decoration: none;
    font-size: 30px;
    margin-right: 15px;
    color: #ababab;
    display: inline-block;
    transition: 0.3s;
}
.social-icons a:hover{
    color: #ff004f;
    transform: translateY(-5px);
}
.btn.btn2{
    display: inline-block;
    background: #ff004f;

}
.footer {
    background-color: #282a2c;
    color: white;
    padding: 30px 0;
    text-align: center;
  }
  
  .footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
  }
  
  .footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
  }
  
  .footer-section {
    flex: 1 1 200px;
    margin-bottom: 20px;
  }
  
  .footer-heading {
    color: #ff004f;
    font-size: 18px;
    margin-bottom: 10px;
  }
  
  .footer-links {
    list-style: none;
    padding: 0;
  }
  
  .footer-links li {
    margin-bottom: 10px;
  }
  
  .footer-links a {
    color: white;
    text-decoration: none;
    transition: all 0.3s ease, transform 0.2s ease;
}
  
  .footer-links a:hover {
    transform: scale(1.05);
    font-weight: bold;
  }
  .contact .social-icons {
    margin-top: 10px;
  }
  
  .contact .social-icons a {
    color: white;
    margin: 0 10px;
    font-size: 24px;
  }
  
  .contact .social-icons a:hover {
    color: #ff004f;
  }
  
  .contact .btn2 {
    background-color: #ff004f;
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 5px;
    margin-top: 20px;
    transition: background 0.3s ease, transform 0.2s ease;
  }
  
  .contact .btn2:hover {
    transform: scale(1.05)
  }
  
  .footer-divider {
    border: 0;
    border-top: 1px solid #ecf0f1;
    margin: 20px 0;
  }
  
  .footer-copy {
    font-size: 14px;
    margin-top: 20px;
  }

  
/*-------------------Footer-------------------*/



.button-container {
    display: flex;
    gap: 15px; /* Espace entre les boutons */
    margin-top: -35px;
    opacity: 0;
    animation: fadeIn 1s ease-in forwards 1s;
}
  
  .btn1 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 600;
    color: white;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
  }
  
  .btn1 i {
    font-size: 16px;
  }
  
  .btn1:hover {
    transform: scale(1.05);
  }
  
  /* Bouton LinkedIn */
  .btn1-linkedin {
    background-color: #0077b5;
  }
  
  .btn1-linkedin:hover {
    background-color: #005582;
  }
  
  /* Bouton CV */
  .btn1-cv {
    background-color: #28a745;
  }
  
  .btn1-cv:hover {
    background-color: #1e7e34;
  }









.padd-15
{
    padding-left: 15px;
    padding-right: 15px;
}



/* About */
.about .about-content
{
    flex: 0 0 100%;
    max-width: 100%;
}
.about .about-content .about-text
{
    flex: 0 0 100%;
    max-width: 100%;
}
.about .about-content .about-text h3
{
    font-size: 24px;
    margin-bottom: 15px;
    font-weight: 700;
}

.about .about-content .about-text p
{
    font-size: 16px;
    line-height: 25px;
}
.about .about-content .personal-info
{
    flex: 0 0 60%;
    max-width: 60%;
    margin-top: 40px;
}
.about .about-content .personal-info .info-item
{
    flex: 0 0 50%;
    max-width: 50%;
}
.about .about-content .personal-info .info-item p
{
    font-weight: 600;
    padding: 10px 0;
    font-size: 16px;
    border-bottom: 1px solid var(--bg-black-50);
}
.about .about-content .personal-info .info-item p span
{
    font-weight: 400;
    margin-left: 4px;
    display: inline-block;
}
.about .about-content .personal-info .buttons
{
    margin-top: 30px;
}
.about .about-content .personal-info .buttons .btn
{
    margin-top: 10px;
}
.about .about-content .skills
{
    flex: 0 0 40%;
    max-width: 40%;
    margin-top: 40px;
}
.about .about-content .skills .skill-item
{
    flex: 0 0 100%;
    max-width: 100%;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.5s ease forwards;
}
.about .about-content .skills .skill-item:nth-child(1) { animation-delay: 0.2s; }
.about .about-content .skills .skill-item:nth-child(2) { animation-delay: 0.4s; }
.about .about-content .skills .skill-item:nth-child(3) { animation-delay: 0.6s; }
.about .about-content .skills .skill-item:nth-child(4) { animation-delay: 0.8s; }
.about .about-content .skills .skill-item h5
{
    line-height: 40px;
    font-weight: 600;
    font-size: 16px;
    text-transform: capitalize;
}
.about .about-content .skills .skill-item .progress
{
    background-color: #262626;
    height: 7px;
    border-radius: 4px;
    width: 100%;
    position: relative;
    overflow: hidden;
}
.about .about-content .skills .skill-item .progress .progress-in
{
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    border-radius: 4px;
    background: linear-gradient(90deg, #ff004f, #ff4d7d);
    animation: fillProgress 1.5s ease-out forwards;
    transform-origin: left;
    transform: scaleX(0);
}
.about .about-content .skills .skill-item .skill-percent
{
    position: absolute;
    right: 0;
    top: -40px;
    font-weight: 400;
    line-height: 40px;
}
.about .about-content .education,
.about .about-content .experience
{
    flex: 0 0 50%;
    max-width: 50%;
    margin-top: 30px;
}
.about .about-content h3.title 
{
    font-size: 24px;
    margin-bottom: 30px;
    font-weight: 700;
}
.about .about-content .timeline-box
{
    flex: 0 0 100%;
    max-width: 100%;
}
.about .about-content .timeline
{
    padding: 30px 15px;
    border-radius: 10px;
    width: 100%;
    position: relative;
}
.about .about-content .timeline .timeline-item
{
    position: relative;
    padding-left: 37px;
    padding-bottom: 50px;
}
.about .about-content .timeline .timeline-item:last-child
{
    padding-bottom: 0;
}
.about .about-content .timeline .timeline-item::before
{
    content: '';
    width: 1px;
    position: absolute;
    height: 100%;
    left: 7px;
    top: 0;
    background-color: pink;
}
.about .about-content .timeline .circle-dot
{
    position: absolute;
    left: 0;
    top: 0;
    height: 15px;
    width: 15px;
    border-radius: 50%;
    background-color: pink;
}
.about .about-content .timeline .timeline-date
{
    font-weight: 400;
    font-size: 14px;
    margin-bottom: 12px;
}
.about .about-content .timeline .timeline-date .fa 
{
    margin-right: 5px;
}
.about .about-content .timeline .timeline-title
{
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 15px;
    text-transform: capitalize;
}
.about .about-content .timeline .timeline-text
{
    line-height: 25px;
    font-size: 16px;
    text-align: justify;
}
.row-about
{
    display: flex;
    flex-wrap: wrap;
    margin-left: -15px;
    margin-right: -15px;
    position: relative;
}

.small-images {
	margin-top: 30px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
}
.small-images .small {
	padding: 20px;
	background-color: #33314d;
	margin: 0 15px 15px 0;
	border-radius: 20px;
	transition: filter 0.5s;
}
.small-images .small:hover {
	filter: brightness(50%);
}
.small-images .small img {
	width: 120px;
}
.spacer{
    height: 200px;
}

.spacer {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100px;
    margin-top: -100px;
}

.scroll-button {
    background-color: rgba(255, 0, 79, 0.8);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    opacity: 1;
}

.scroll-button:hover {
    background-color: rgb(255, 0, 79);
    transform: scale(1.1);
}

.scroll-button.hidden {
    opacity: 0;
    pointer-events: none;
}

.scroll-button i {
    font-size: 24px;
}

@keyframes fillProgress {
    from {
        transform: scaleX(0);
    }
    to {
        transform: scaleX(1);
    }
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Styles responsifs pour la page d'accueil */
@media screen and (max-width: 768px) {
    #accueil {
        padding: 40px 0;
    }

    nav {
        display: none;
    }

    .container {
        padding: 0 20px;
    }

    .header-text {
        padding: 20px 0;
        width: 100%;
    }

    .header-text h1 {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .header-text p {
        font-size: 14px;
        margin-bottom: 30px;
    }

    .about-col-1, .about-col-2 {
        flex: 0 0 100%;
        max-width: 100%;
        padding: 0;
    }

    .about-col-1 img {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
        display: block;
    }

    .Compétence-list {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0;
    }

    .row {
        flex-direction: column;
        padding: 0;
    }
}

@media screen and (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .header-text {
        font-size: 14px;
    }

    .header-text h1 {
        font-size: 24px;
    }

    .sub-title {
        font-size: 28px;
    }

    .about-col-1 img {
        max-width: 300px;
    }

    .Compétence-list div {
        padding: 15px;
    }

    .Compétence-list div h2 {
        font-size: 18px;
    }

    .Compétence-list div a {
        font-size: 12px;
    }
}

@media screen and (max-width: 320px) {
    .container {
        padding: 0 10px;
    }

    .header-text h1 {
        font-size: 20px;
    }

    .sub-title {
        font-size: 24px;
    }

    .about-col-1 img {
        max-width: 250px;
    }

    .Compétence-list div h2 {
        font-size: 16px;
    }

    .Compétence-list div a {
        font-size: 11px;
    }
}

/* Règles pour empêcher le défilement horizontal */
html, body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

.container {
    width: 100%;
    max-width: 1300px;
    padding: 0 15px;
    margin: 0 auto;
    box-sizing: border-box;
}