
.nav a:hover {
    text-decoration: underline;
} 

.hero {
    color: #d4cdff;
    padding: 100px 20px;
    height: 70vh;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: black;
    margin: 0 100px;
}

.hero-content {
    width: 50%;
    padding-left: 5rem;
    display: flex;
    justify-content: center;
    align-items: start;
    flex-direction: column;
    border-radius:5px;
 }

 .hero-content .btn {
    background-color: #161b8c;
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    margin-top: 1rem;
    border-radius: 12px;
    transition: background-color 0.3s ease;
}

 .hero-content .btn:hover {
    background-color: black;
 }

.hero-content p {
    width: 60%;
    margin-top: 0rem;
}

.hero-img {
    width: 80%;
}

.hero-img img {
    width: 100%;
}


.hero h2 {
    font-size: 6rem;
    margin: 0;
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
}



.concept {
    background-color: #d4cdff;
    padding: 50px 0;
    background-color: #161b8c;
    color: white;
    display: flex;
    justify-content: center;
}

.concept-container {
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 30px;
    max-width: 800px;
    width: 90%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.concept-description {
    display: flex;
    align-items: center;
    flex-direction: column;
}

.concept-container:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.concept p {
    color: #333;
    font-size: 1.1rem;
    line-height: 1.6;
}

.concept h2 {
    text-align: center;
    font-family: 'Karrik-Regular', sans-serif;
    color: #161b8c;
}

.description {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 20px;
    box-sizing: border-box;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.block:hover .description {
    opacity: 1;
}

.description p {
    margin-top: 0;
}

.description ul {
    padding-left: 20px;
    text-align: left; 
}

.learn-more {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #161b8c; 
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}


.learn-more:hover {
    background-color: #161b8c;
}

.projects {
    padding: 50px 0;
}

.project {
    margin-bottom: 30px;
}

.project img {
    max-width: 100%;
    border-radius: 5px;
}


.contact {
    background-color: #161b8c;
    color: #ffffff;
    padding: 50px 0;
}

.contact h2 {
    text-align: center;
    margin-bottom: 30px;
}

.contact form {
    max-width: 600px;
    margin: 0 auto;
    /* background-color: #32323798; */
}

.contact label {
    display: block;
    margin-bottom: 10px;
    color: #ffffff;
    font-family: 'Karrik-Regular', sans-serif;
}

.contact input,
.contact textarea {
    font-family: 'Karrik-Regular', sans-serif;
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: none;
    border-radius: 5px;
}

.contact input[type="submit"] {
    background-color: #fdfdff;
    color: #333;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact input[type="submit"]:hover {
    background-color: #ffffff;
}


body {
    font-weight: 300;
    font-family: Roboto, sans-serif;
    line-height: 1.4;
}

.block {
    display: flex;
    background-color: #161b8c;
    padding: 1em;
    max-width: 1000px;
    margin-top: 1em;
}


h1 {
    margin: 0;
    justify-content: flex-start;
}

@media (width>=600px) {
    .block {
        align-items: flex-start;
    }
}


form {
    display: flex;
    flex-direction: column;
    row-gap: 10px;
}


label {
    display: block;
}

input:not([type="submit"]) {
    width: 100%;
}



body {
    color: #000000;
    font-family: 'Open Sans', sans-serif;
    font-weight: 300;
}

h1 {
    text-align: center;
    color: #ffffff;
}

form > div {
    padding: 1em;
    background-color: #32323798;
    background-size:contain;
    border-radius: 5px;
}

input {
    padding: .3em;
    border: 1px solid #000000;
    font-size: inherit;
}


input[type="submit"] {
    padding: .3em 1em;
    background-color: #000000;
    color: #d4cdff;
    border: none;
}

@media (width>= 600px) {
    form {
        flex-direction: row;
        /* row-gap: 0; */
        -moz-column-gap: 10px;
             column-gap: 10px;
        max-width: 1100px;
        margin: auto;
    }


    .form-block {
        background-color: #ffffff;
        border-radius: 15px;
        padding: 20px;
        margin: 20px auto;
        max-width: 600px;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    
    
    

.background {
    background-color:#424040 ;
}


    form > div {
        flex: 1;
    }
}

h2 {
    text-align: center;
    font-size: 2.5rem;
}




.slider-container {
    position: relative;
    width: 50%; 
    max-width: 600px; 
    margin: auto;
    padding-bottom: 50px; 
    text-align: center;
}

h1 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
}

.slider {
    overflow: hidden;
    background-color: #fff;
    border-radius: 10px;
    width: 100%;
    height: 500px; 
}

.slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%; 
}

.slide {
    min-width: 100%; 
    box-sizing: border-box;
     margin:0;
    padding:0;
}

.slide img {
    width: 100%;
    height: 90%;
    object-fit: cover; 
}

button {
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    background-color: white;
    border: 2px solid #ddd;
    border-radius: 50%;
    cursor: pointer;
    padding: 15px;
    font-size: 24px;
    outline: none;
}

button:hover {
    background-color: #ddd;
}

button i {
    pointer-events: none;
}


.prev {
    left: -100px;
}

.prev i {
    transform: rotate(180deg);
}

.next {
    right: -100px;
}



.blocks {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    font-family: 'Karrik-Regular', sans-serif;
}

.block {
    position: relative;
    width: 45%;
    max-width: 400px;
    height: 400px;
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}

.block:hover {
    transform: scale(1.05);
}

.block h3 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
    font-size: 24px;
    color: #fff;
    z-index: 1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.entreprise {
    background-image: url('Images/entreprise-pres.jpg'); 
    background-size: cover;
    background-position: center;
}

.particulier {
    background-image: url('Images/particulier-pres.jpg'); 
    background-size: cover;
    background-position: center;
}

.description {
    display: none;
    transition: display 0.3s ease;
}

.block:hover h3 {
    display: none;
} 

.block:hover .description {
    display: block;
    opacity: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.description p {
    margin-top: 0;
}

.description ul {
    padding-left: 20px;
}



.reviews-wrapper {
    overflow: hidden;
    width: 100%;
}

.reviews-section {
    background-color:#161b8c; 
    padding: 50px 20px;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.reviews-container {
    display: flex;
    transition: transform 0.5s ease;
    will-change: transform;
}

.review {
    max-width: 500px;
    box-sizing: border-box;
    background-color: #444;
    margin: 0 15px;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
    transition: transform 0.5s ease, opacity 0.5s ease;
    color: #fff;
}

.review h3 {
    margin-bottom: 20px;
    font-size: 27px;
    color: #fff;
}

.review img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto 10px auto;
    object-fit: cover;
    display: flex;
    align-items: center;
    justify-content: center;
}

.review-stars {
    color: gold;
}



.nav-button {
    position: absolute;
    top: 60%;
    transform: translateY(-50%);
    background-color: #fff;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 15px;
    font-size: 18px;
    outline: none;
    display: flex;
    align-content: center;
    justify-content: center;
    flex-wrap: wrap;
}




.carousel-buttons button:hover {
    background-color: #ddd;
}

.nav-button.left {
    left: 30px;
}

.nav-button.right {
    right:30px;
}

.nav img {
    width: 50%;
}

.container .categories-container img  {
    width: 100%;
    transition: transform 0.3s ease;
}

.container .categories-container .category-link:hover img {
    transform: scale(0.95);
}




.container .categories-container a {
text-decoration : none;
color: black;
}

.container .categories-container .category-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    margin: 20px auto;
    border: 1px solid #ccc;
    border-radius: 10px;
    max-width: 800px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    background-color: #fff;
}

