@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');



/* Reset CSS */


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    overflow-x: hidden;
    font-family: montserrat;
}

body {
    font-family: montserrat;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    padding: 0;
    background-color: white;
    box-sizing: border-box;

}

/* Header Styles */
header {
    background-color: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-bottom: 0.001px solid #13349c;
    padding: 5px 60px;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    align-items: center;
}


a, a:hover {
    text-decoration: none;
}

.logo img{
    height: 40px;
    margin-right: 10px;
}

nav {
    padding: 5px 20px;
    display: flex;
    align-items: center;
}

nav a {
    color: black;
}

nav a:hover {
    color: #007BFF;
}

.logo {
    flex: 1;
}

.menu {
    display: flex;
    align-items: center;
    list-style: none;
}

.menu li {
    padding: 15px 30px;
    font-size: 16px;
}

.toggle {
    font-size: 30px;
    display: none;
}



.contact-button {
    background-color:#13349c;
    color: white !important; /* Changez la couleur du texte en blanc avec !important */
    padding: 10px 15px;
    border-radius: 5px;
    text-decoration: none; /* Assurez-vous que le lien ne soit pas souligné */
    display: inline-block; /* Assurez-vous que le bouton soit affiché correctement */
    font-weight: 600; /* Pour rendre le texte un peu plus épais */
    text-align: center; /* Centrez le texte */
    transition: background-color 0.3s ease;
    font-family: montserrat;
}


.contact-button:hover {
    background-color: #007BFF;
}

/* Responsive Styles */
@media screen and (max-width: 1000px) {
    

    header {
        background-color: white;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        border-bottom: 0.001px solid #13349c;
        padding: 0 0;
        position: fixed;
        width: 100%;
        top: 0;
        z-index: 1000;
        align-items: center;
    }
    nav {
        display: block;
        position: relative;
        padding: 15px 20px;
        background-color: white;
        width: 100%;  
    }

    nav a {
        color: black;
    }
    
    nav a:hover {
        color: #007BFF;
    }

    .logo img{
        width: 45%;
        height: 45%;
    }

    .menu {
        margin-top: 15px;
        display: none;
    }

    .menu.active, .toggle{
        display: block;
    }

    .toggle {
        position: absolute;
        top: 15px;
        right: 20px;
    }

    .menu li {
        padding: 20px 20px;
        font-size: 14px;
    }
}





.carousel {
    position: relative;
    width: 100%;
    height: max-content;
    overflow: hidden;
    justify-content: center;
    align-items: center;
}

.images {
    display: flex;
    animation-duration: 20s;
    animation-name: mesImages;
    animation-iteration-count: infinite;
    width: 400%;
}

.image {
    width: 100%;
}

@keyframes mesImages {
    0%{
        transform: translate(0);
    }
    25%{
        transform: translate(-25%);
    }
    50%{
        transform: translate(-50%);
    }
    75%{
        transform: translate(-75%);
    }
    100%{
        transform: translate(-100);
    }
}





.text-block {
    font-size: 1.5em;
    font-weight: bold;
    text-align: center;
    padding: 30px 0px;
    transition: opacity 6s ease, transform 6s ease;
}

.slanted-container {
    width: 100%;
    height: 500px;
    background: white;
    clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    top: 0;
    position: relative;
    overflow: hidden;
    
}
.about-section {
    display: flex;
    align-items: center;
    background-color: white;
    justify-content: space-between;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    max-width: 1200px;
    clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
    height: 100%;
    align-items: center;
    position: relative;
    
}

.about-text {
    padding: 40px;
    flex: 1;
    background-color: #fff;
    text-align: left;
    z-index: 1;
    transition: transform 0.6s ease-out, opacity 1s ease-out;
    opacity: 0;
    overflow: hidden;
}


.about-text h1 {
    font-size: 1.5em;
    color: black; 
    font-family: Verdana;
}

.about-text p {
    font-size: 1em;
    line-height: 1.6;
    color: black;
    margin: 10px 0;
}

.about-text a.learn-more {
    display: inline-block;
    margin-top: 50px;
    padding: 10px 20px;
    background-color:#13349c;
    font-weight: 600;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.about-text a.learn-more:hover {
    background-color: #007bff;
}

.about-image {
    flex: 1;
    overflow: hidden;
    position: relative;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 50% 50%);
    width: 60%;
    height: 100%;
    transition: transform 0.6s ease-out, opacity 1s ease-out;
    opacity: 0;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    top: 0;
    left: 0;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 50% 50%);
}

.about-text.animate-left {
    transform: translateX(0);
    opacity: 1;
}

.about-image.animate-right {
    transform: translateX(0);
    opacity: 1;
}

.about-text {
    transform: translateX(-100%);
}

.about-image {
    transform: translateX(100%);
}

.Savoir-faire {
    width: 100%;
    height: 850px;
    background-color: #f2f8ff; /* Couleur de fond bleue */
    clip-path: polygon(0 10%, 100% 0, 100% 90%, 0 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    margin-top: -70px;
    
}

.savoir-faire-section {
    height: max-content;
    max-width: 100%;
    margin: 50px 100px;
    justify-content: center;
    align-items: center;
}

.title-savoir-faire {
    align-items: center;
    justify-content: center;
    text-align: center;
}

.savoir-faire-section h1 {
    font-size: 1.5em;
    color: black; 
    font-family: Verdana;
}

.cards-container {
    display: flex;
    gap: 20px;
    margin-bottom: 10px;
    height: auto;
    margin-left: 10px;
    justify-content: center;
    align-items: center;
    transition: transform 1s, opacity 1s;
    width: 100%;
    overflow: hidden;
}

.card:nth-child(1) {
    margin-top: 60px;
    margin-bottom: 10px;
    z-index: 3;
}

.card:nth-child(2) {
    margin-top: 30px;
    margin-bottom: 50px;
    z-index: 2;
}

.card:nth-child(3) {
    margin-top: 10px;
    margin-bottom: 90px;
    z-index: 1;
}

.card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    width: 360px;
    position: relative;
    margin: 50px 20px;
    z-index: 1; 
    cursor: pointer;  
    
}

.card a {
    text-decoration: none;
    color: black;
}

.card-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 10px;
}

.tag {
    padding: 10px 10px;
    border-radius: 5px;
    color: white;
    font-weight: bold;
    margin-bottom: 5px;
    position: relative;
    z-index: 0;
}

.blue {
    background-color: #007bff;
}

.yellow {
    background-color: #FBDE00;
    color: #13349c;
    position: relative;
    top: -10px; /* Adjust position to overlap */
    left: 30px;
    z-index: 1;
}

.red {
    background-color: #FF7878;
    color: #13349c;
    position: relative;
    top: -10px; /* Adjust position to overlap */
    left: 30px;
    z-index: 1;
}

.green {
    background-color: #43E63F;
    color: #13349c;
    position: relative;
    top: -10px; /* Adjust position to overlap */
    left: 30px;
    z-index: 1;
}

.card p {
    font-size: 1em;
    margin: 10px 0;
    text-align: left;
    font-weight: bold;
    margin-bottom: 30px;
    margin-top: 20px;
}

.card ul {
    list-style: none;
    padding: 0;
    text-align: left;
}

.card li {
    margin-bottom: 20px;
    padding-left: 20px;
    position: relative;
    margin-left: 20px;
}

.card li::before {
    content: '>';
    position: absolute;
    left: 0;
    color: #007bff;
    font-weight: bold;
    display: flex;
    align-items: center; /* Centrer la flèche verticalement */
    height: 100%; /* Assurez-vous que la flèche occupe toute la hauteur de l'élément de liste */
 }

 @keyframes bounceIn {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }
    60% {
        transform: translateX(30%);
        opacity: 1;
    }
    80% {
        transform: translateX(-10%);
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

.cards-container.animate-bounce {
    animation: bounceIn 3s forwards;
}


.Quelques-réalisations {
    width: 100%;
    height: 820px; /* Ajustez la hauteur selon vos besoins */
    background-color: #E6F7FF; /* Couleur de fond bleue */
    clip-path: polygon(0 10%, 100% 0, 100% 100%, 0 100%);
    display: block;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: -110px;
}

.title-réalisations {
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 100px;
  }

.Quelques-réalisations h1 {
    font-size: 1.5em;
    color: black; 
    font-family: Verdana;
}

.projects-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%; /* To center the section vertically */
    padding: 20px;
    box-sizing: border-box;
    overflow: hidden;
}

.project-cards {
    display: flex;
    justify-content: center;
    gap: 20px; /* Space between the cards */
    overflow: hidden;
    
    
}

.project-card {
    position: relative;
    width: 500px;
    height: 350px;
    transition: transform 0.5s ease;
    overflow: hidden;
}

.project-card img {
    width: 100%;
    height: 100%;
    border-radius: 10px;
}

.project-title {
    position: absolute;
    bottom: 30px;
    left: 30px;
    color: white;
    font-size: 24px;
    font-weight: bold;
    z-index: 2;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(13, 13, 15, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.5s ease;
    border-radius: 10px;
}

.project-card:hover .overlay {
    opacity: 1;
}

.text-overlay {
    color: white;
    text-align: center;
    margin: auto;
}

.text-overlay p {
    font-size: 18px;
    margin: 50px 50px;
}

.en-savoir-plus {
    background-color:#13349c;
    color: white !important;
    padding: 10px 80px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    transition: background-color 0.3s ease;
    margin-bottom: 200px;
    margin-top: 60px;
    overflow: hidden;
}

.en-savoir-plus:hover {
    background-color: #007BFF;
}




  
  footer {
    background-color: #fff;
    color: #333;
    padding: 20px 0;
    font-family: montserrat;
    margin-top: 20px;
    align-items: center;
    justify-content: center;
    height: max-content;
}

.footer-container {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    flex-wrap: wrap;
    max-width: max-content;
    margin: 0 50px;
    padding: 0 20px;
    height: max-content;
    overflow: hidden;
}

.footer-logo {
    flex: 1;
    margin: 10px;
    overflow: hidden;
    height: 100%;
    display: block;
}

.footer-logo img {
    width: 150px;
    margin-bottom: 10px;
}

.footer-info {
    flex: 2;
    display: flex;
    justify-content: space-between;
    margin: 15px 100px;
    margin-left: 200px;
}

.info-block h3 {
    margin-bottom: 15px;
    font-size: 16px;
    color: #333;
}

.info-block ul {
    list-style: none;
    padding: 20px;
}

.info-block ul li {
    margin-bottom: 15px;
}

.footer-contact {
    flex: 1;
    margin: 20px 0;
    
}

.footer-contact p {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.footer-contact i {
    margin-right: 10px;
}

.footer-bottom {
    text-align: center;
    padding: 10px 0;
    border-top: 1px solid #13349c;
    margin-left: 80px;
    margin-right: 80px;
    
}



/* Responsive Styles */
@media screen and (max-width: 1000px) {

    .carousel {
        height: max-content; /* Adjusted for smaller screens */
    }

    .text-block {
        font-size: 18px;
        margin-left: 20px;
        margin-right: 20px;
        top: 0;
    }


    .slanted-container {
        width: 100%;
        height: max-content;
        background: white;
        display: block;
        justify-content: center;
        align-items: center;
        top: 0;
        position: relative;
        overflow: hidden;
        clip-path: none;
        
    }

    .about-section {
        flex-direction: column;
        justify-content: space-between;
        height: fit-content;
        clip-path: none;   
    }

    .about-image {
       display: none;  
    }


    
    .Savoir-faire {
        flex-direction: column;
        overflow: hidden;
        height: min-content;
        clip-path: none;
        margin-top: 20px;
      
    }

    .savoir-faire-section {
        margin-top: 20px;
        height: max-content;
        max-width: 100%;
        justify-content: center;
        align-items: center;
        margin: 30px 30px;
        overflow: hidden;
    }
    
    .savoir-faire-section h1 {
        font-size: 24px;
        align-items: center;
        justify-content: center;
        text-align: center;
        font-family: Verdana;
        margin-left: 0;
        
    }



    

    .cards-container {
        flex-direction: column;
        overflow: hidden;
        height: max-content;
        clip-path: none;
        justify-content: center;
        align-items: center;
        gap: 10px;
        margin-left: 0;
        width: 100%;  
    }

    .card {
        width: 90%; /* Full width on smaller screens */
    }

    








    .footer {
        background-color: #fff;
        color: #333;
        padding: 10px 0;
        font-family: montserrat;
        margin-top: 20px;   
    }

    .footer-container {
        flex-direction: column;
        overflow: hidden;
        height: max-content;
        margin: 0 10px;
        padding: 0 10px;
    }


    .footer-info {
        flex-direction: column;
        overflow: hidden;
        justify-content: space-between;  
        flex: 2;
        display: block;
        left: 0;
        margin-left: 10px;
    }


    .info-block {
        margin-top: 10px;
        display: block;
        left: 0;
    }
      
}


@media screen and (max-width: 1200px) {
    .project-cards {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
        width: 90%;
    }

    .project-card {
        height: max-content;
        width: fit-content;
    }

    .Quelques-réalisations {
        clip-path: none;
        height: max-content;

    }

    .text-overlay p {
        font-size: small;
    }

    .title-réalisations h1 {
        font-size: 24px;
        align-items: center;
        justify-content: center;
        text-align: center;
        font-family: Verdana;
        margin-left: 0;
    }

    .title-réalisations {
        align-items: center;
        justify-content: center;
        margin-top: 90px;
        margin-left: 0;
        margin-bottom: 30px;
    }

    .project-title {
        font-size: 20px;
    }
    .project-card img {
        width: 100%;
        height: auto; /* Conserver les proportions des images */
    }

    .en-savoir-plus {
        width: fit-content; /* Adapter la largeur du bouton */
        padding: 10px 80px;
        display: flex;
        text-align: center;
        align-items: center;
        justify-content: center;
        margin-bottom: 20px;
        margin-top: 40px;
    }

    .projects-section {
        height: max-content;
        margin-bottom: 0;
        
    }
    
}

@media screen and (max-width: 800px) {
    .project-cards {
        grid-template-columns: 1fr; /* Passer à une seule colonne */
        gap: 20px;
        margin-right: 30px;
        margin-left: 30px;
    }

    .Quelques-réalisations {
        clip-path: none;
        height: max-content;
        margin-top: 0;
    }

    .project-card {
        margin-bottom: 20px;
        height: max-content;
        width: fit-content;
    }

    .text-overlay p {
        font-size: small;
    }


    .title-réalisations h1 {
        font-size: 24px;
        align-items: center;
        justify-content: center;
        text-align: center;
        font-family: Verdana;
        margin-left: 0;
    }

    .title-réalisations {
        align-items: center;
        justify-content: center;
        margin-top: 50px;
        margin-left: 0;
        margin-bottom: 30px;
    }

    .project-title {
        font-size: 24px;
    }
    .project-card img {
        width: 100%;
        height: auto; /* Conserver les proportions des images */
    }

    .en-savoir-plus {
        width: fit-content; /* Adapter la largeur du bouton */
        padding: 10px 80px;
        display: flex;
        text-align: center;
        align-items: center;
        justify-content: center;
    }
}

@media screen and (max-width: 500px) {
    .project-cards {
        grid-template-columns: 1fr; /* Passer à une seule colonne */
        gap: 10px;
        margin-right: 30px;
        margin-left: 30px;
    }

    .Quelques-réalisations {
        clip-path: none;
        height: max-content;
    }

    .project-card {
        margin-bottom: 10px;
        height: max-content;
        width: fit-content;
    }

    .text-overlay p {
        font-size: xx-small;
    }

    .title-réalisations h1 {
        font-size: 24px; /* Réduire la taille du texte */
    }

    .project-title {
        font-size: 18px;
    }
    .project-card img {
        width: 100%;
        height: auto; /* Conserver les proportions des images */
    }

    .en-savoir-plus {
        width: fit-content; /* Adapter la largeur du bouton */
        padding: 10px 80px;
        display: flex;
        text-align: center;
        align-items: center;
        justify-content: center;
    }
}








