html {
    scroll-behavior: smooth;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
}
:root {
    --bg : #e0e0e0;
    --nav : #fff;
}
body {
    min-height: 100vh;
    background-color: var(--bg);
    overflow-x: hidden;
    position: relative;
}
body.loading {
    overflow: hidden;
}
.loading-screen {
    position: fixed;
    width: 100%;
    height: 100vh;
    z-index: 1000;
    background-color: #F7F5F2;
    display: flex;
    justify-content: center;
    align-items: center;
}
.screen {
    width: 150px;
    height: 150px;
    overflow: hidden;
    border-radius: 50%;
    position: relative;
}
.screen::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    top: 0;
    left: 0;
    border: 2px solid #0d3161;
    border-top: 0;
    animation: screenAnimation infinite 2s;
}

@keyframes screenAnimation {
    to {
        transform: rotate(0deg);
    }
    from {
        transform: rotate(360deg);
    }
}

.screen img {
    width: 99%;
    height: 99%;
    object-fit: cover;
}
nav {
    position: relative;
    height: 100px;
    width: 100%;
    background-color: var(--nav);
    box-shadow: 0 0 0 10px #dddddd4c;
    padding: 0 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.logo {
    height: 100%;
    width: auto;
    max-width: 315px;
    display: flex;
}
.logo .logo-img {
    height: 100%;
    width: 30%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.logo-img img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}
.logo .logo-text {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    height: 100%;
    width: 70%;
}
.logo .logo-text h3 {
    display: flex;
    gap: 5px;
}
.logo .logo-text span {
    text-transform: uppercase;
    font-size: clamp(18px, 2vw, 25px);
    font-family: "poppins";
    font-weight: 400;
}
.logo .logo-text span:nth-child(1) {
    color: #0B2344;
}
.logo .logo-text span:nth-child(2) {
    color: #C7A16A;
}
.logo .logo-text h4 {
    font-size: clamp(8px, 1vw, 11px);
    font-family: "poppins", sans-serif;
    font-weight: 400;
    color: #0B2344;
}
.nav-links {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
}
.nav-links li {
    padding: 10px 15px;
    position: relative;
    transition: all 0.3s;
}
.nav-links li::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: .7px;
    width: 0%;
    border-radius: 5px;
    background-color: #C7A16A;
    transition: all 0.3s;
}
.nav-links li:hover::before {
    width: 100%;
}
.nav-links li a {
    font-family: "poppins", sans-serif;
    font-size: 16px;
    color: #C7A16A;
    font-weight: 400;
    text-transform: uppercase;
}
.menu {
    height: 100%;
    width: 60px;
    display: none;
    justify-content: center;
    align-items: center;
    color: #0B2344;
    font-size: 26px;
    z-index: 1001;
}
.menu i {
    cursor: pointer;
}

.contact {
    height: 100%;
    width: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.btn-contenaire {
    display: flex;
    gap: 15px;
}
.btn-rdv {
    width: 200px;
    height: 45px;
    background-color: #C7A16A;
    color: #F7F5F2;
    font-family: "poppins", sans-serif;
    font-weight: 400;
    font-size: 14px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    transition: 0.3s all;
}
.btn-rdv.b2 {
    background-color: #0B2344;
}
.btn-rdv:hover {
    background-color: #F7F5F2;
    color: #C7A16A;
}

.btn-rdv:active {
    transform: scale(0.93);
}

.contenaire-fist {
    width: 100%;
    height: calc(100vh - 230px);
    display: flex;
}
.contenaire-left { 
    flex: 1; clip-path: polygon(0 0, 100% 0, 85% 100%, 0 100%);
} 
.contenaire-right { 
    flex: 1; clip-path: polygon(15% 0, 100% 0, 100% 100%, 0 100%);
    margin-left: -100px;
}
.contenaire-right img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}
.contenaire-second {
    background-color: #0B2344;
    width: 100%;
    height: 130px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}
.contenaire-second .contenaire1, .contenaire-second .contenaire2{
    display: flex;
}
.contenaire-second .contenaire1 .card, .contenaire-second .contenaire2 .card{
    height: 100%;
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.contenaire-second .contenaire1 .card h3, .contenaire-second .contenaire2 .card h3 {
    color: #F7F5F2;
    font-family: "poppins";
    font-size: 20px;
    text-align: center;
    font-weight: 400;
}
.contenaire-second .contenaire1 .card h4, .contenaire-second .contenaire2 .card h4 {
    color: #F7F5F2;
    font-family: "poppins";
    font-size: 16px;
    font-weight: 400;
    text-align: center;
}
.contenaire-second .card:nth-child(1), .contenaire-second .contenaire1 .card:nth-child(2) {
    position: relative;
}
.contenaire-second .card:nth-child(1)::after, .contenaire-second .contenaire1 .card:nth-child(2)::after {
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 0;
    height: 60%;
    width: 1px;
    background-color: #0d3161;
    border-radius: 5px;
}
.contenaire-left {
    padding-left: 5%;
    padding-top: 5%;
}
.contenaire-left h2 {
    font-family: "poppins", sans-serif;
    font-size: clamp(20px, 3vw, 40px);
    color: #0B2344;
    font-weight: 600;
    margin-bottom: 9px;
    padding-right: 19px;
}
.contenaire-left h4 {
    font-family: "poppins", sans-serif;
    font-size: clamp(15px, 1.6vw, 18px);
    color: #0B2344;
    font-weight: 400;
    padding-right: 55px;
    margin-bottom: 9px;
}
.section-title {
    width: 100%;
    height: 160px;
    padding: 3%;
}
#apropos {
    width: 100%;
    min-height: 80vh;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    margin-bottom: 30px;
}
#apropos .aproposLeft {
    display: flex;
    justify-content: center;
    align-items: center;
}
#apropos .aproposLeft .cadre {
    width: 85%;
    height: 85%;
    position: relative;
}
#apropos .aproposLeft .cadre .img1 {
    width: 60%;
    height: 63%;
    border-radius: 16px;
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: 1;
}
#apropos .aproposLeft .cadre .img1 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
#apropos .aproposLeft .cadre .img2 {
    width: 55%;
    height: 58%;
    border-radius: 16px;
    position: absolute;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 2;
}
#apropos .aproposLeft .cadre .img2 img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}
#apropos .aproposRight {
    width: 100%;
    height: 100%;
    padding: 40px;
}
#apropos .aproposRight h2 {
    color: #0d3161;
    text-transform: uppercase;
    font-family: "poppins", sans-serif;
    font-weight: 900;
    text-align: center;
    margin: 15px 0;
    font-size: 2rem;
}
#apropos .aproposRight p {
    color: #0d3161;
    font-family: "poppins", sans-serif;
    line-height: 1.75;
    font-size: 1rem;
    letter-spacing: .5px;
}
#nosServices {
    width: 100%;
    min-height: 200vh;
    padding: 5% 3%;
    display: flex;
    flex-direction: column;
}
.section-tag {
    padding: 4px 14px;
    font-size: .75rem;
    font-family: 'poppins', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .2em;
    background-color: #c7a06a21;
    color: #C7A16A;
    border-radius: 30px;
    border: 1px solid #C7A16A;
    display: inline-block;
    width: 150px;
}
.title-section {
    margin: 2%;
    font-family: "poppins", sans-serif;
    font-size: clamp(30px, 5vw, 50px);
    font-weight: 600;
    color: #C7A16A;
    text-align: center;
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    width: 100%;
    min-height: 100vh;
    justify-content: center;
    align-items: center;
    gap: 15px;
    align-content: center;
}
.services-card {
    background-color: #F7F5F2;
    width: 100%;
    height: 350px;
    border-radius: 3px;
    padding: 25px;
}
.services-card .imgbox {
    width: 100%;
    height: 35%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.services-card .imgbox img {
    height: 100%;
    width: auto;
    object-fit: cover;
}
.services-card h4 {
    font-family: "poppins", sans-serif;
    font-size: clamp(16px, 2vw, 18px);
    color: #0d3161;
    padding-bottom: 8px;
    font-weight: 600;
}
.services-card p {
    font-family: "poppins", sans-serif;
    font-size: clamp(14px, 2vw, 16px);
    color: #040d1a;
    font-weight: 200;
}
.projets {
    margin-top: auto;
    width: 100%;
    min-height: 200px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 300px));
    gap: 15px;
    justify-content: center;
    align-self: flex-end;
}
.projets .track1, .projets .track2, .projets .track3 {
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: center;
}
.projets .track1 img, .projets .track2 img, .projets .track3 img {
    height: 100%;
    width: 50%;
    object-fit: contain;
    cursor: pointer;
}
#contact {
    background-color: #0d3161;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 clamp(10px, 3vw, 30px);
    width: 100%;
    height: 76vh;
}
#contact form {
    display: flex;
    width: 90%;
    max-width: 500px;
    flex-direction: column;
    padding: 20px 10px;
    border-radius: 16px;
    gap: 10px;
}
#contact .header-form {
    height: 50px;
    width: 100%;
    display: flex;
    align-items: center;
    padding-left: 5px;
}
#contact .header-form h3 {
    color: #F7F5F2;
    font-family: "poppins", sans-serif;
    font-weight: 600;
    font-size: clamp(20px, 2.5vw, 30px);

}
#contact form .input-group {
    width: 100%;
    height: 60px;
    display: flex;
    flex-direction: column;
}
#contact form .input-group label, #contact form .input-textarea label {
    color: #F7F5F2;
    font-family: "poppins", sans-serif;
    font-size: 14px;
    padding: 3px 5px;
}
#contact form .input-group input {
    width: 100%;
    height: 40px;
    border-radius: 8px;
    border: 1px solid #dddddd1d;
    background-color: #ffffff09;
    padding: 0 8px;
    outline: none;
    color: #F7F5F2;
    transition: all 0.3s;
}
#contact form .input-group input:focus {
    transform: translateY(-3px);
    border-color: white;
}
#contact form .input-textarea {
    width: 100%;
    height: 150px;
    display: flex;
    flex-direction: column;
}
#contact form .input-textarea textarea {
    width: 100%;
    height: 130px;
    border-radius: 8px;
    border: 1px solid #dddddd1d;
    background-color: #ffffff09;
    padding: 5px 8px;
    outline: none;
    color: #F7F5F2;
    resize: none;
}
#contact form .input-group button {
    height: 40px;
    width: 100%;
    background-color: #0B2344;
    border-radius: 8px;
    font-size: 14px;
    font-family: "poppins", sans-serif;
    font-weight: 400;
    color: white;
    border: none;
    transition: all 0.3s;
    cursor: pointer;
}
#contact form .input-group button:hover {
    background-color: #F7F5F2;
    box-shadow: 0 0 5px #0B2344;
    transform: scale(1.01);
    color: #0d3161;
}
#contact .footer-info {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 3%;
    height: 100%;
}
#contact .footer-info .footer-logo {
    width: 120px;
    height: 120px;
}
#contact .footer-info .footer-logo img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}
.reseau-sociaux {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 30px;
}
.reseau-sociaux .box {
    height: 40px;
    width: 40px;
    border-radius: 50%;
    border: 1.5px solid #dddddd5a;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: 0.3s;
}
.reseau-sociaux .box:hover {
    background-color: #F7F5F2;
    transform: translateY(-5px);
}
.reseau-sociaux .box:hover i {
    color: #0B2344;
}
.reseau-sociaux .box i {
    color: #f7f5f2ad;
    font-size: 20px;
}
.location {
    font-family: "poppins", sans-serif;
    color: #F7F5F2;
    font-weight: 400;
    font-size: clamp(14px, 2vw, 16px);
}
footer {
    width: 100%;
    height: 100px;
    background-color: #0d3161;
    border-top: 1px solid #e0e0e04a;
    display: flex;
    justify-content: center;
    align-items: center;
}
footer p {
    font-size: clamp(14px ,3vw ,17px);
    color: #F7F5F2;
    font-family: "Poppins", sans-serif;
    font-weight: 400;
}

@media screen and (max-width: 600px) {
    .contenaire-second {
        height: 300px;
    }
}
@media screen and (max-width: 1000px) {
    .contenaire-left h4  {
        padding-right: 50px;
    }
    .btn-contenaire {
        flex-direction: column;
    }
    #apropos {
        grid-template-columns: repeat(1, 1fr);   
    }
    #apropos .aproposLeft {
        min-height: 80vh;
    }
}
@media screen and (max-width: 900px) {
    .menu {
        display: flex;
    }
    .contact {
        display: none;
    }
     .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 35px;

        background: #fff;
        transition: right .4s ease;
        z-index: 1000;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        padding: 0;
    }

    .nav-links li a {
        font-size: 22px;
        letter-spacing: 1px;
    }
    .contenaire-left {
        padding-left: 3%;
        padding-right: 15px;
    }
    #contact {
        flex-direction: column;
        height: auto;
    }
    .footer-info {
        width: 100%;
    }
    
}

@media screen and (max-width: 550px) {
    .contenaire-fist {
        width: 100%;
        height: 100vh;
        display: flex;
        flex-direction: column;
    }
    .contenaire-left { 
        width: 100%;
        height: 50%; 
        clip-path: none;
    } 
    .contenaire-right { 
        width: 100%;
        height: 50%;
        clip-path: none;
        margin-left: 0px;
    }
}
@media screen and (max-width: 400px) {
    .logo-img img {
        height: 80%;
        width: 80%;
    }
    .nav-links-footer li a {
        font-size: 14px;
    }
}
@media screen and (max-width: 654px) {
    .projets {
        height: 600px;
    }
    .projets .track1 img, .projets .track2 img, .projets .track3 img { 
        height: 60%;
    };
};

@media screen and (max-width: 990px) { .projets {height: 400px;} };
