/* fonts */
@import url('https://fonts.googleapis.com/css2?family=Dosis:wght@300;400;500;600;700;800&family=Rajdhani:wght@300;400;500;600;700&family=Rubik:wght@300;400;500;600;700&display=swap');

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Rubik', sans-serif;
    text-decoration: none;
    transition: 0.3s;
}

.responsive-img {
    max-width: 100%;
    max-height: 100%;
}

*::selection {
    background-color: #ffaa17;
    color: #fff;
}

html {
    scroll-behavior: smooth;
}

.contanier {
    width: 85%;
    margin: auto;
}

.btn {
    padding: 15px 30px;
    color: #1c1e22;
    font-weight: 500;
    background-color: #ffaa17;
    border-radius: 10px;
    border: 1px solid #ffaa17;
    font-size: 18px;
}

.btn:hover {
    color: #ffaa17;
    background: #fff;
}

section {
    padding: 90px 0 40px;
}

.sec-top {
    text-align: center;
    margin-bottom: 70px;
}

.sec-top h1 {
    color: #1c1e22;
    font-size: 40px;
}

.sec-top h1 span {
    color: #ffaa17;
}

.boxs {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.boxs .box {
    width: 45%;
}

/* start Header */

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: transparent;
    z-index: 1000;
}

header.active {
    background-color: #1c1e22;
    border-bottom: 1px solid #8888884a;
}

header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    max-height: 50px; /* Ajustez la taille maximale du logo */
    height: 50px;
    width: auto;
}

header nav .nav-links a {
    color: #fff;
    margin-left: 50px;
}

header nav .nav-links a:hover,
header nav .nav-links a.active {
    color: #ffaa17;
}

#btn-menu {
    display: none;
}

/* start Hero */

.hero {
    padding-top: 80px;
    background: url(img/hero-bg.png);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero .contanier {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hero .content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero .content h4 {
    color: #ffaa17;
    font-size: 30px;
}

.hero .content h1 {
    color: #fff;
    font-size: 65px;
    margin: 20px 0 10px;
}

.hero .content p {
    color: #e4e4e4;
    font-size: 30px;
    font-weight: bold;
    margin-bottom: 70px;
}

.hero .button-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hero .hero-img img {
    width: 450px;
}

/* Section About avec image de fond */
.about {
    position: relative;
    background: url('img/banniere.jpg') no-repeat center center/cover;
    color: #1c1e22;
    text-align: center;
    padding: 90px 0 50px;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: rgba(255, 255, 255, 0.8); Filtre blanc */
    z-index: 1;
}

.about .container {
    position: relative;
    z-index: 2;
}

.about .content {
    max-width: 800px;
    margin: 0 auto;
}

.about .content h1 {
    color: #1c1e22;
    font-size: 45px;
    margin-bottom: 20px;
}

.about .content h1 span {
    color: #ffaa17;
}

.about .content h3 {
    color: #1c1e22;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 40px;
}

.about .content p {
    color: #444;
    line-height: 1.8;
    margin-bottom: 70px;
}

.about .btns {
    display: flex;
    justify-content: center;
    gap: 10px;
}

/* start Services */

.services {
    background-color: #f0f4f9;
    text-align: center;
}

.services .boxs .box {
    background-color: #fff;
    padding: 40px 20px;
    border-radius: 10px;
    box-shadow: 0px 5px 20px 0px rgba(128, 112, 22, 0.2);
    position: relative;
    top: 0;
}

.services .boxs .box:hover {
    top: -25px;
}

.services .boxs .box i {
    color: #ffaa17;
    font-size: 50px;
    margin-bottom: 20px;
}

.services .boxs .box h3 {
    color: #1c1e22;
    font-size: 24px;
    margin-bottom: 20px;
}

.services .boxs .box p {
    color: #444;
    margin-bottom: 50px;
}

/* start Portfolio */

.portfolio {
    background-color: #231F20;
}

.portfolio h1{
    color: #e4e4e4;
}

.portfolio .boxs .box {
    margin-bottom: 50px;
    position: relative;
    overflow: hidden;
}

.portfolio .boxs .box img {
    width: 100%;
    height: 100%;
}

.portfolio .boxs .box:hover img {
    transform: scale(1.2);
    rotate: -4deg;
    transition: 0.6s ease-out;
}

.portfolio .boxs .box .box-hover {
    position: absolute;
    left: 0;
    text-align: center;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: #111111b9;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.6s;
    opacity: 0;
}

.portfolio .boxs .box:hover .box-hover {
    opacity: 1;
}

.portfolio .boxs .box .box-hover span {
    color: #fff;
    font-size: 25px;
}

/* start Contact */

.contact {
    background: url('img/contact.jpg') no-repeat center center/cover;
}

.contact form {
    width: 60%;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.contact form input {
    width: 48%;
    font-size: 18px;
    padding: 15px 10px;
    outline: none;
    border: 1px solid rgba(128, 112, 22, 0.3);
    margin-bottom: 20px;
    border-radius: 10px;
}

.contact form textarea {
    border: 1px solid rgba(128, 112, 22, 0.3);
    outline: none;
    border-radius: 10px;
    width: 100%;
    padding: 10px;
}

.contact form textarea:focus,
.contact form input:focus {
    border-color: #ffaa17;
}

.contact form button {
    margin: 40px auto 0;
    cursor: pointer;
}

/* Media */

@media (max-width: 1200px) {
    .contanier {
        width: 90%;
    }

    .hero .content h1 {
        font-size: 50px;
    }

    .hero .content p {
        font-size: 25px;
    }

    .hero .hero-img img {
        width: 380px;
    }

    .hero {
        padding-bottom: 40px;
    }

    .about .content h3 {
        font-size: 20px;
    }

    .about .content p {
        margin-bottom: 50px;
    }

    .about .about-img img {
        width: 380px;
    }

    .services .boxs .box h3 {
        font-size: 22px;
    }

    .contact form {
        width: 70%;
    }
}

@media (max-width: 900px) {
    .hero .content h1 {
        font-size: 40px;
    }

    .hero .content p {
        font-size: 22px;
    }

    .hero .hero-img img {
        width: 340px;
    }

    header nav .nav-links a {
        margin-left: 40px;
    }

    .about .contanier {
        flex-direction: column;
        text-align: center;
    }

    .about .about-img img {
        width: 340px;
    }

    .about .about-img {
        margin-bottom: 40px;
    }

    .boxs .box {
        width: 45%;
        margin-bottom: 40px;
    }

    .contact form {
        width: 80%;
    }
}

@media (max-width: 780px) {
    .hero .contanier {
        flex-direction: column-reverse;
    }

    .hero .hero-img img {
        width: 380px;
    }

    .hero .content h1 {
        font-size: 50px;
    }

    .hero .content {
        margin-top: 40px;
        text-align: center;
    }

    .btn {
        padding: 12px 25px;
    }

    #btn-menu {
        display: block;
        color: #fff;
        font-size: 40px;
    }

    header nav .nav-links {
        position: absolute;
        top: -350px;
        left: 0;
        width: 100%;
        display: flex;
        flex-direction: column;
        background-color: #1c1e22;
    }

    header nav .nav-links.active {
        top: 100%;
    }

    header nav .nav-links a {
        width: 100%;
        margin: auto;
        padding: 20px;
        text-align: center;
        font-size: 20px;
        border-bottom: 1px solid #444;
    }

    header nav .nav-links a.active,
    header nav .nav-links a:hover {
        background-color: #ffaa17;
        color: #1c1e22;
    }
}

@media (max-width: 670px) {
    .hero .content h1 {
        font-size: 40px;
    }

    .hero .hero-img img {
        width: 320px;
    }

    .boxs {
        justify-content: center;
    }

    .boxs .box {
        width: 70%;
    }

    .contact form {
        width: 90%;
    }
}

@media (max-width: 500px) {
    .hero .hero-img img {
        width: 280px;
    }

    .contact form {
        width: 90%;
        justify-content: center;
    }

    .contact form input {
        width: 100%;
    }
}

.projet {
    padding-top: 80px;
    background: url(img/hero-bg.png);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.projet .contanier {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.projet .content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.projet .content h4 {
    color: #ffaa17;
    font-size: 30px;
}

.projet .content h1 {
    color: #fff;
    font-size: 65px;
    margin: 20px 0 10px;
}

.projet .content p {
    color: #e4e4e4;
    font-size: 30px;
    font-weight: bold;
    margin-bottom: 70px;
    text-align: justify;
}

.parcours .contanier .content p{
    text-align: justify;
}

.projet .button-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.projet .projet-img img {
    max-width: 45vw;
}

.content {
    max-width: 800px;
    margin: auto;
}
p {
    margin-bottom: 20px;
}
.bold {
    font-weight: bold;
}

.footer {
    background-color: #fff;
    color: #888;
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid #ddd;
}

.footer p {
    margin: 0;
    font-size: 14px;
}

