
html, body {
    height: auto;
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    overflow-x: hidden;
}

* {
    scroll-behavior: smooth;
}


.custom-footer {
    background-color: #01149F;
    color: white;
    text-align: center;
    font-family: Arial, sans-serif;
    font-size: 14px; 
    padding: 10px 0;  
    margin: 0;    
}

img {
    user-select: none; 
    pointer-events: none; 
}

h2 {
    color: #01149F;
}


.competence {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center; 
    size: 50px;
}


.icons{
    display: flex;
    justify-content: center;
    gap: 50px; 
    margin: 50px;
}


.fade-in {
    animation: fadeIn 1.5s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}


.cursor {
    position: absolute;
    width: 20px; 
    height: 20px; 
    border-radius: 50%;
    background-color: #01149F; 
    pointer-events: none;
    transform: translate(-50%, -50%);
    transition: background-color 0.2s, transform 0.2s, width 0.2s, height 0.2s;
}


.cursor-ripple {
    position: absolute;
    width: 50px; 
    height: 50px; 
    background-color: #01149F;
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    animation: ripple-effect 0.5s ease-out forwards;
}

@keyframes ripple-effect {
    from {
        transform: scale(0);
        opacity: 1;
    }
    to {
        transform: scale(3);
        opacity: 0;
    }
}
  

  .cursor-hide {
    opacity: 0;
  }


header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: #ffffff;
    color: #01149F;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}


.logo {
    font-size: 24px;
    font-weight: 700;
    font-family: 'Open Sans', sans-serif;
    text-decoration: none; 
    color: #01149F;
}


.nav-links ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 20px;
}

.nav-links li {
    margin: 0;
}

.nav-links a {
    text-decoration: none;
    color: #01149F;
    font-size: 16px;
    padding: 5px 10px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.nav-links a:hover {
    border-bottom: 2px solid #01149F; 
    color: #01149F; 
}

.nav-links a.active {
    border-bottom: 2px solid #01149F; 
    color: #01149F; 
}


.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
}

.menu-toggle div {
    height: 3px;
    background-color: #01149F;
    border-radius: 5px;
}


.Accueil_image {
    width: 100%;
    height: auto;
    display: block;
    margin-top: 60px; 
}


.about-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 50px 10%;
    margin-top: 100px;
}

.content {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    width: 100%;
}

.left-text {
    flex: 1;
    padding-right: 20px;
}

.number-divider {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.number-divider .divider {
    width: 50px;
    height: 2px;
    background-color: #01149F;
    margin-right: 10px;
}

.number-divider .number {
    font-size: 24px;
    color: #01149F;
    font-weight: bold;
}

.about-title {
    font-size: 36px;
    font-style: italic;
    margin-bottom: 20px;
    font-family: 'Open Sans', sans-serif;
}

.description {
    font-size: 16px;
    color: #333;
    line-height: 1.6;
    margin-bottom: 15px;
}

.buttons {
    margin-top: 20px;
}

.btn {
    background-color: #01149F;
    color: #ffffff;
    border: 2px solid #01149F;
    padding: 10px 20px;
    margin-right: 10px;
    cursor: pointer;
    border-radius: 30px;
    font-family: 'Open Sans', sans-serif;
    transition: background-color 0.3s, color 0.3s, border 0.3s;
}

.btn:hover {
    background-color: transparent;
    color: #01149F;
    border: 2px solid #01149F;
}
.btn svg {
    transition: fill 0.3s ease; 
    fill: white; 
  }
  
  .btn span {
    color: white; 
    margin-left: 8px;
  }
  
  .btn:hover svg {
    fill: #01149F; 
  }
  
  .btn:hover span {
    color: #01149F; 
  }

.image-container {
    position: relative;
    flex: 1;
    max-width: 400px;
}

.image-container img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

.border-frame {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 100%;
    height: 100%;
    border: 10px solid #01149F;
    z-index: -1;
}


.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s, transform 1s;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}


.logo-container {
    display: flex;
    justify-content: flex-end; 
    align-items: center;
    margin-bottom: 10px;
}

.logo-svg {
    width: 100px; 
    height: 100px;
    
}


.competences-list {
    list-style: none;
    padding: 0;
}

.competence {
    font-size: 18px;
    color: #333;
    margin-bottom: 10px;
    transition: color 0.3s;
}

.competence:hover {
    color: #01149F;
}


.projet-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 50px 10%;
    margin-top: 100px;
}

.carousel-container {
    position: relative; 
    width: 100%;
    background-color: #f2f2f2; 
    padding: 40px 0; 
    display: flex; 
    justify-content: center; 
}


.carousel {
    display: flex;
    transition: transform 0.5s ease-in-out;
}


.carousel-button {
    position: absolute;
    top: 50%;
    background-color: transparent;
    color: #01149F;
    border: 2px solid #01149F;
    padding: 10px;
    cursor: pointer;
    z-index: 10;
    transform: translateY(-50%); 
    font-size: 30px;
    border-radius: 50%; 
    transition: background-color 0.3s, color 0.3s;
    width: 60px; 
    height: 60px; 
    display: flex;
    justify-content: center;
    align-items: center;
}


.prev {
    left: -50px; 
}


.next {
    right: -50px; 
}



.carousel-button:hover {
    background-color: #01149F;
    color: white;
}

.carousel-slide {
    display: flex;
    justify-content: space-between; 
    width: 100%;
    display: block;
    flex-wrap: nowrap; 
}


.project-card {
    width: 30%; 
    background-color: #fff;
    border-radius: 15px;
    overflow: hidden;
    text-align: center;
    padding: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-right: 15px;
    flex-shrink: 0;
    scroll-snap-align: start;
}

.project-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
}

.project-title {
    margin: 10px 0;
    font-size: 18px;
    font-weight: 500;
}

.project-btn {
    padding: 10px 20px;
    border-radius: 30px;
    background-color: #01149F;
    color: white;
    cursor: pointer;
    border: 2px solid #01149F;
    transition: background-color 0.3s, color 0.3s;
}

.project-btn:hover {
    background-color: transparent;
    color: #01149F;
    border: 2px solid #01149F;
}

.logo-container {
    display: flex;
    justify-content: flex-end; 
    align-items: center;
    margin-bottom: 10px;
}

.logo-svg {
    width: 100px; 
    height: 100px;
}

.section-grise {
    padding: 50px 10%;
    background-color: #f4f4f4; 
}
.contact-full-title {
    padding: 50px 10%;
}
.contact-list {
    list-style: none;
    margin: 0;
    padding: 50px 10%;
}

.contact-item {
    font-size: 18px;
    color: #333;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    transition: color 0.3s;
}

.contact-item:hover {
    color: #01149F; 
}

.contact-item i {
    margin-right: 10px; 
    color: #01149F; 
    font-size: 1.2em;
}

.contact-item a {
    text-decoration: none;
    color: inherit;
}

.contact-item a:hover {
    text-decoration: underline;
}


footer {
    background-color: #01149F;
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: 40px;
}


.menu-toggle.active div {
    background-color: #ffffff;
}



@media screen and (max-width: 1024px) {
    .carousel-container {
        justify-content: center;
        padding: 10px;
    }

    .project-card {
        width: 80%;
        max-width: 250px;
        margin-right: 10px;
    }

    .nav-links ul {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .logo {
        font-size: 22px;
    }
}

@media screen and (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-links ul {
        display: none;
        flex-direction: column;
        align-items: center;
        width: 100%;
        position: absolute;
        top: 60px;
        left: 0;
        background-color: #ffffff;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        padding: 10px 0;
    }

    .nav-links.active ul {
        display: flex;
    }

    .nav-links li {
        margin: 10px 0;
    }

    .nav-links a {
        font-size: 18px;
        padding: 15px;
    }

    .logo {
        font-size: 20px;
    }
}

