.logo img{
    width: 40px;
    height: auto;
}

h1{
    margin: 0px;
    font-family: "work sans", sans-serif;
    font-size: 70px;
}

h2{
    margin: 0px;
    font-family: "work sans", sans-serif;
    font-size: 32px;
    font-weight: 600;
}

h3{
    font-family: "work sans", sans-serif;
    font-size: 24px;
    color: #FCC236;
    margin: 0px;
}

p{
    font-family: "popins", sans-serif;
    font-size: 18px;
    margin: 0px;
}

body{
    margin: 0px;
}

header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px;
    padding-left: 5%;
    padding-right: 5%;
    box-shadow: 0px 7px 7px 0px #00000024;
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: #F3F3F3;
}

#videoContainer{
    height: 100vh;
    display: flex;
    align-items: center;
    padding: 0px 5% 0px 5%;
}

#videoYT{
    border-radius: 10px;
}

.nav ul{
    display: flex;
    gap: 25px;
    list-style: none;
    display: flex;
}


.nav ul a{
    font-family: "work sans", sans-serif;
    text-decoration: none;
    font-weight: 600;
    color: #1C7347;
}

.top_container {
    background: 
        linear-gradient(0deg, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)), 
        url("images/dunfermline.jpg");
    background-size: cover; /* L'image couvre toute la zone */
    background-position: center; /* Centre l'image */
    background-repeat: no-repeat; /* Empêche la répétition de l'image */
    width: 100%;
    height: 100vh; /* 100% de la hauteur de l'écran */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.top_containered {
    background: 
        linear-gradient(0deg, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)), 
        url("images/dunfermline.jpg");
    background-size: cover; /* L'image couvre toute la zone */
    background-position: center; /* Centre l'image */
    background-repeat: no-repeat; /* Empêche la répétition de l'image */
    width: 100%;
    height: 50vh; /* 100% de la hauteur de l'écran */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.top h1, .top h2{
    color: #F3F3F3;
    width: 70%;
}

.hero{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 25px;
}

.cards{
    display: flex;
    justify-content: center;
    background: linear-gradient(to right, transparent 50%, #1C7347 50%);
}

.cards div{
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #F3F3F3;
    color: #1f1f1f;
    width: 20%;
    text-align: center;
    padding: 25px;
    transform: translateY(-50%);  
    box-shadow: 4px 4px 8px 0px rgba(0, 0, 0, 0.20);
}

.fourth{
    height: fit-content !important;
}

.cards div:nth-child(1) {
    background-color: #1C7347;
    color: #F3F3F3;
    border-radius: 10px 0px 0px 10px;
}

.cards div:nth-child(1) img {
    filter: brightness(100%); 
}

.cards div:nth-child(3){
    border-radius: 0px 10px 10px 0px;
}

.cards div img{
    filter: invert(0%) brightness(0%);    
}

.cardContainer{
    margin-left: 5% ;
}

.card{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: fit-content;
    padding: 10px;
    background-color: #F3F3F3;
    border-radius: 10px;
    text-align: left;
    gap: 10px;
}
.card h2{
    font-size: 20px;
}

.card p{
    width: 200px;
    font-size: 14px;
}

.card img{
    width: 200px;
    height: auto;
}

.first{
    display: flex;
    background: linear-gradient(to right, transparent 50%, #1C7347 50%);
    padding-bottom: 100px;
}

.left{
    width: 50%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: left;
}

.left div{
    width: 70%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.right{
    width: 50%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center ;
    text-align: center;
}

.align{
    display: flex;
    gap: 30px;
}

.align:nth-child(2){
    margin-top: 30px;
}

.second{
    background: 
        linear-gradient(0deg, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)), 
        url("images/dunfermline2.jpg");
    background-size: cover; /* L'image couvre toute la zone */
    background-position: center; /* Centre l'image */
    background-repeat: no-repeat; /* Empêche la répétition de l'image */
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 0px 100px 0px;
}

.second_container{
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-left: 100px;
}

.second h2, .second p{
    color: #F3F3F3;
    width: 70%;
}

.cardsContainer{
    display: flex;
    gap: 25px;
}

.card2{
    background-color: #F3F3F3;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 20%;
    border-radius: 10px;
    padding: 20px;
    gap: 10px;
}

.card2 h2, .card2 p{
    margin-top: 10px;
    color: #1C7347;
    width: 90%;
    text-align: center;
}

.third{
    width: 100%;
    height: 100vh;
    display: flex;
}

.third .left img{
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 4px 4px 7px 0px rgba(0, 0, 0, 0.40);
}

.third .left{
    width: 50%;
    padding-left: 100px;
    padding-right: 100px;
}

.third .right{
    width: 50%;
    display: flex;
    flex-direction: column;
    align-items: start;
    text-align: start;
    padding-right: 100px;
    gap: 25px;
}

.valid{
    display: flex;
    gap: 10px;
}

.valid img{
    width: 30px;
    height: auto;
}

.alignn{
    display: flex;
    gap: 70px;
}

.alignn:nth-child(2){
    margin-top: 25px;
}

button{
    background-color: #FCC236;
    color: #F3F3F3;
    border: none;
    padding: 10px 20px;
    border-radius: 10px;
    font-family: "work sans", sans-serif;
    font-weight: 600;
    cursor: pointer;
    width: 150px;
}

button:hover{
    background-color: #EBB125;
    scale: 1.1;
    transition: 0.2s ease-in-out;
}

.scrollToTop {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: rgba(18, 18, 18, 0.5);
    color: white;
    font-size: 24px;
    text-align: center;
    line-height: 50px;
    border-radius: 50%;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}

.scrollToTop:hover {
    background-color: #14532d; /* Changement de couleur au survol */
}

.scrollToTop.show {
    opacity: 1;
    visibility: visible;
}

.fourth{
    background-color: #14532d;
    width: 100%;
    height: fit-content;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: center;
    gap: 100px;
    padding: 50px 0px 50px 0px;
}

.fourth h2{
    color: #F3F3F3;
}

.fourth p{
    color: #D5D5D5;
}

.fourthDiv{
    display: flex;
    flex-direction: column;
}

.fourthCards{
    display: flex;
    align-items: center;
    gap: 25px;
    padding: 0px 100px 0px 100px;
}

.fourthCards div{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.fourthCards div img{
    width: 100px;
    height: auto;
}

.arrow img{
    width: 50px !important;
    height: auto;
}

#shortText{
    width: 70% !important;
    align-self: center;
    text-align: center;
}

.skill {
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 10px;
    font-family: Arial, sans-serif;
    font-size: 16px;
    margin-bottom: 10px;
}

.progress-bar {
    width: 400px; /* Ajuste la largeur selon ton besoin */
    height: 20px;
    background-color: #EAEAEA; /* Couleur du fond */
    border-radius: 6px;
    overflow: hidden;
    position: relative;
}

.progress {
    height: 100%;
    background-color: #1C7347; /* Couleur de la barre verte */
    border-radius: 6px;
    transition: width 0.5s ease-in-out;
}

.percentage {
    color: #F4B400; /* Couleur du pourcentage */
    font-weight: bold;
}

.five{
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
}

.fiveLeft{
    width: 50%;
    padding-left: 100px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.fiveRight{
    width: 50%;
    padding: 0px 100px 0px 100px;
}

.fiveRight img{
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 4px 4px 7px 0px rgba(0, 0, 0, 0.40);
}

.aligner{
    display: flex;
    align-items: center;
    gap: 10px;
}

footer{
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: #1C7347;
    width: 100%;
    height: 80vh;
}

.iconify{
    font-size: 50px;
    color: #F4B400;
}

footer p{
    color: #F3F3F3;
    cursor: pointer;
}

footer p:hover{
    text-decoration: underline;
}

#one p{
    cursor: default !important;
    text-decoration: none;
}

#four p{
    cursor: default !important;
    text-decoration: none;
}

.footerTop{
    display: flex;
    justify-content: space-between;
    padding: 0px 100px 0px 100px;
    height: 45%;
    align-items: center;
}

footer .footerTop img{
    width: 100px;
    height: 140px;
}

#navFooter li a{
    color: #F3F3F3 !important;
}

#navFooter ul{
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0px;
}

#navFooter ul li:hover{
    text-decoration: underline #F3F3F3;
}



.contact{
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact img{
    width: 70px !important;
    height: auto;   
}

.info{
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.bar{
    width: 100%;
    height: 2px;
    background-color: #B8B8B8;
}

.email-container {
    display: flex;
    align-items: center;
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    width: 100%; /* Ajuste la largeur si besoin */
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
}


.email-input {
    flex: 1;
    width: 100px;
    border: none;
    padding: 10px;
    font-size: 14px;
    color: #555;
    outline: none;
}

.email-input::placeholder {
    color: #ccc;
}

.email-button {
    background-color: #F4B400; /* Couleur jaune */
    border: none;
    width: 50px; /* Ajuste la largeur du bouton */
    height: auto;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
}

.email-button .iconify{
    color: #F3F3F3;
    font-size: 100%;
}

.email-button img {
    width: 16px; /* Ajuste la taille de l'icône */
    height: auto;
}

.footerMid{
    display: flex;
    justify-content: space-between;
    padding: 25px 100px 0px 100px;
    height: 45%;
    align-items: start;
}

#one{
    width: 20%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#one div{
    display: flex;
    gap: 25px;
}

#two{
    width: 20%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#two div{
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#three{
    width: 20%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#three div{
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#four{
    width: 20%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footerBot{
    height: 10%;
    display: flex;
    justify-content: space-between;
    padding: 0px 100px 0px 100px;
    align-items: center;
}

.footerBot span{
    color: #F4B400;
    height: 30%;
}

.flex{
    display: flex;
}

.leftAbout{
    width: 50%;
    display: flex;
    justify-content: end;
    margin-right: 10%;
}

.rightAbout{
    display: flex;
    flex-direction: column;
    align-items: start;
    width: 50%;
}

#aMettreAGauche{
    text-align: start !important;
}

.leftAbout img{
    width: 400px;
    height: auto;
}

.center{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 100px 0px 50px 0px;
}

.afficheAbout{
    display: flex;
    align-items: center;
    padding-bottom: 100px;
}

.afficheAbout{
    margin-left: 100px;
    margin-right: 100px;
}

.cardMarque{
    display: flex;
    width: 25%;
    padding: 25px;
    flex-direction: column;
    align-items: center;
    justify-content: start;
    gap: 18px;
    border-radius: 20px;
    background: #FFF;
    color: #131313;
}

.aboutTwo{
    background-color: #14532d;
    color: #F3F3F3;
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
}

.aboutTwo div h2, .aboutTwo div p{
    width: 60%;
    text-align: center;
}

#titleAboutTwo{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    padding: 100px 0px 100px 0px;
}

.alignAboutTwoCard{
    display: flex;
    justify-content: center;
    gap: 50px;
    padding-bottom: 100px !important;
    padding: 0% 5% 0% 5%;
}

.cardMarque h2{
    font-size: 20px;
}

.centreMoi{
    display: flex;
    justify-content: center;
}

#webkit{
    padding: 2% 0px 10% 0px;
}

.AboutOne div p{
    width: 70%;
    text-align: center;
}

.align-item-center{
    align-items: center;
}

.separation div:nth-child(1), .separation div:nth-child(2){
    width: 50%;
}

.separation{
    padding: 100px 5% 10% 5%;
}

.separation div:nth-child(2) img{
    padding-left: 10%;
}

.serviceText{
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 25px;
}

.column{
    flex-direction: column;
}

.gap{
    gap: 10px;
}

contact-form {
    width: 50%;
    background: white;
    padding: 20px;
    border-radius: 8px;
}
.contact-form{
    width: 100%;
    overflow: hidden;
}
.form-row {
    width: 100%;
    display: flex;
    justify-content: space-between !important;
    /* gap: 50px; */
}
header .nav a{
    position: relative;
    outline: none !important;
    transition: 0.2s;
}

header .nav a::after{
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    width: 0;
    transition: 0.2s;
}

header .nav a:hover::after{
    background-color: #1C7347;
    width: 100%;
}


.form-row input {
    width: 45%;
    padding: 10px;
    border: none;
    background: #f2f2f2;
    font-size: 16px;
}

textarea {
    margin-top: 40px !important;
    width: 100%;
    height: 120px;
    padding: 10px;
    border: none;
    background: #f2f2f2;
    font-size: 16px;
    margin-top: 10px;
    resize: none;
}

#contactForm{
    padding: 100px 5% 100px 5%;
}
#serviceContainer{
    display: flex;
    align-items: center;
}


/* Navigation */
.nav {
    display: flex;
    align-items: center;
}


/* Menu normal */
.nav-links {
    display: flex;
    list-style: none;
    gap: 20px;
}

/* Icône du menu burger */
.menu-icon {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.menu-icon span {
    width: 30px;
    height: 3px;
    background: #333;
    transition: 0.3s;
}




@media (max-width: 1200px) {
.hero h1{
    font-size: 48px;
}
.card{
    width: 140px;
}
.cardContainer .card img{
    width: 140px;
}
.cardContainer .card h2{
    font-size: 16px;
}
.cardContainer .card p{
    font-size: 14px;
    width: 100%;
}
.cards h2{
    font-size: 24px;
}
.left, .right{
    height: 50vh;
}
.card2 h2{
    font-size: 20px ;
}
.card2{
    width: 30%;
}
.second_container{
    padding: 0% 5% 0% 5%;
    margin: 0px;
}
.second{
    height: 60vh;
}
#videoContainer{
    display: flex;
    flex-direction: column;
    align-items: start;
    padding: 10% 5% 10% 5%;
    gap: 50px;
    height: 60vh;
}
.footerTop{
    padding: 0px 5% 0px 5%;
    display: flex;
    gap: 10px;
}
.footerTop img{
    display: none;
    /* background-color: red; */
}
.footerTop .contact div:nth-child(2){
    width: 25%;
    /* background-color: green; */
}
.footerTop .contact div:nth-child(3){
    width: 25%;
    /* background-color: yellow; */
}
.footerTop .contact div:nth-child(4){
    width: 25%;
    /* background-color: blue !important; */
}
.footerMid p{
    font-size: 15px;
}
.email-container{
    display: none;
}
.footerBot p{
    font-size: 15px;
}
.footerBot{
    padding: 0px 5% 0px 5%;
}
.contact svg{
    width: 30px !important;
    height: 30px !important;
}
.contact{
    width: fit-content;
    height: fit-content;
}
.info p{
    width: 150px
}
#titleAbout{
    padding: 50px 5% 0px 5%;
}
#titleAbout h2{
    text-align: center;
}
.leftAbout img{
    width: 300px;
}
.rightAbout h2{
    font-size: 22px;
}
.rightAbout p{
    font-size: 16px;
    width: fit-content !important;
}
.flex.afficheAbout{
    padding-top: 50px;
}
.cardMarque p{
    width: 100% !important;
}
.cardMarque img{
    width: 100px;
}
#img img{
    width: 300px;
}
.serviceText h2{
    font-size: 24px;
}
.flex.align-item-center p{
    width: 100%;
}
.fourthCards h2{
    font-size: 24px;
}
.fourthCards{
    padding: 50px 5% 50px 5%;
}
.fourth{
    height: 80vh;
}
section.flex.separation div img{
    width: 300px;
}
section.flex.separation{
    align-items: center;
}
.serviceText h2{
    font-size: 24px;
}

.serviceText p{
    font-size: 18px;
}
.first{
    height: 80vh;
    padding-top: 10%;
}
}

@media (max-width: 430px) {
    .nav ul{
        display: none;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 52px;
        right: 0px;
        background: white;
        width: 200px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        padding: 15px;
    }

    .nav-links.active {
        display: flex;
    }

    .menu-icon {
        display: flex;
    }
    .first{
        display: flex;
        flex-direction: column;
        background: #F3F3F3;
    }
    .cards{
        background: #F3F3F3;
    }
    .left, .right{
        width: 100%;
    }
    .cards svg{
        width: 25px;
        height: 25px;
    }
    .cards h2{
        font-size: 14px;
    }
    .cards p{
        font-size: 12px;
    }
    .cards div{
        padding: 5%;
    }

    .hero h1{
        font-size: 26px;
    }

    .hero h2{
        font-size: 20px;
    }
    .right{
        margin-top: 50%;
        margin-bottom: 100px;
    }
    .card{
        background-color: #14532d;
    }
    .card h2, .card p{
        color: #F3F3F3;
        font-size: 14px !important;
    }
    .first{
       height: fit-content;
    }
    .card2{
        padding: 5%;
        width: 90%;
    }
    .card2 h2{
        font-size: 14px;
    }
    .second{
        height: fit-content;
    }
    .cardsContainer{
        display: flex;
        flex-direction: column;
    }
    .second_container{
        align-items: center;
    }
    .second_container h2{
        width: 90%;        
        font-size: 24px;
        text-align: center;
    }
    .second_container p{
        font-size: 14px;
        width: 90%;
        text-align: center;
    }
    .cardContainer{
        margin: 0px;
    }
    .left h2{
        font-size: 18px ;
    }
    #videoContainer iframe{
        width: 100% !important;
        height: auto;
    }

    #videoContainer div{
        width: 100%;
    }
    .serviceText h2, .serviceText p{
        text-align: center;
    }
    .footerTop{
        display: flex;
        flex-direction: column;
        gap: 25px;
        padding-top: 5%;
        padding-bottom: 5%;
    }
    .contact{
        width: 100%;
    }
    .info{
        width: 100% !important;
    }

    .info p{
        width: 100% !important;
    }
    .footerMid{
        display: none;
    }
    .footerBot{
        padding-top: 10%;
        display: flex;
        flex-direction: column;
    }
    footer{
        height: fit-content;
        padding: 10% 0% 10% 0%;
    }
    #titleAbout h3{
        font-size: 24px;
    }
    #titleAbout h2{
        font-size: 22px !important;
    }
    #titleAbout p{
        font-size: 18px;
    }
    .afficheAbout{
        display: flex;
        flex-direction: column !important;
        align-items: center;
        gap: 25px;
    }
    div.flex.afficheAbout{
        width: 80%;
        padding: 0px 5% 0px 5%;
        margin: 0px;
    }
    .leftAbout, .rightAbout{
        width: 100%;
        margin: 0px;
    }
    .leftAbout img{
        width: 200px;
    }

    .rightAbout h2{
        font-size: 22px;
    }

    .rightAbout p{
        font-size: 18px;
    }
    .leftAbout{
        display: flex;
        justify-content: center;
    }
    .AboutOne{
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    #aMettreAGauche{
        padding-bottom: 50px;
    }
    #titleAboutTwo h2, #titleAboutTwo p{
        width: 80%;
    }
    .alignAboutTwoCard{
        flex-direction: column;
    }
    .cardMarque{
        width: 85%;
    }
    .AboutOne div:nth-child(1){
        padding: 50px 5% 0px 5%;
    }
    .AboutOne p, .AboutOne h2{
        text-align: center;
        width: 100% !important;
    }
    #webkit{
        padding-bottom: 50px;
    }
    #serviceContainer{
        flex-direction: column;
    }
    .serviceText{
        width: 100% !important;
    }
    .serviceText h3, .serviceText h2, .serviceText p{
        text-align: center;
    }
    .serviceText .flex.column.gap{
        display: flex;
        justify-content: center;
        align-items: center;
        padding-bottom: 50px;
    }
    #img img{
        width: 200px;
        padding: 0px;
    }
    .fourth{
        height: fit-content;
        padding: 50px 0px 50px 0px;
    }
    .fourthDiv{
        padding: 0px 5% 0px 5%;
    }
    .fourthCards{
        flex-direction: column;
    }
    #serviceSection{
        flex-direction: column;
    }
    #serviceSection img{
        width: 200px;
    }
} 
