/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    overflow-x:hidden;
}


/* Hero Section */
.hero {
    min-height: 100vh;

    background-image: linear-gradient(
        rgba(0, 0, 0, 0.8),
        rgba(0, 0, 0, 0.8)
    ),
    url("../images/background.webp");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    display: flex;
    justify-content: center;
    align-items: center;

    text-align: center;
    color: #FFFFFF;

    padding: 20px;
}


/* Content */
.hero-content {
    max-width: 900px;
}


/* Logo */
.hero-logo {
    width: min(650px, 90vw);
    margin-bottom: 40px;
}


/* Title */
.hero h2 {
    font-size: 45px;
    font-weight: 700;
    line-height: 1.2;

    margin-bottom: 20px;

    color: #FFFFFF;
}


/* Description
.hero p {
    font-size: 18px;
    line-height: 1.6;

    color: #f1f1f1;

    max-width: 700px;
    margin: auto;
}
 */

.hero-btn{
    display:inline-block;
    margin-top:35px;
    padding:15px 35px;
    background:#F66C01;
    color:#fff;
    text-decoration:none;
    font-size:18px;
    font-weight:600;
    border-radius:50px;
    transition:.3s ease;
}

.hero-btn:hover{
    background:#000;
    transform:translateY(-3px);
    border: solid 2px #F66C01;
}



@media(max-width:600px){

    .hero-btn{
        padding:12px 25px;
        font-size:16px;
    }

}






/* Responsive tablette */
@media (max-width: 768px) {

    .hero-logo {
        width: min(400px,80vw);
    }


    .hero h3 {
        font-size: 20px;
    }


    .hero p {
        font-size: 16px;
    }

}


/* Responsive téléphone */
@media (max-width: 480px) {

    .hero {
        padding: 15px;
    }

    .hero-logo {
        width: 220px;
    }


    .hero h2 {
        font-size: 24px;
    }


    .hero p {
        font-size: 14px;
    }

}





/* =========================
   SERVICES SECTION
========================= */

.services {

    padding: 80px 8%;

    background-color: #ffffff;

}


/* Title */

.section-title {

    text-align: center;

    margin-bottom: 50px;

}


.section-title h2 {

    font-size: 40px;

    color: #000000;

    margin-bottom: 15px;

}

.section-title h2::after {

    content: "";

    display: block;

    width: 70px;

    height: 4px;

    background-color: #F66C01;

    margin: 15px auto;

}


.section-title p {

    color: #555;

    font-size: 18px;

}


.services-hint{
    text-align:center;
    color:#F66C01;
    font-size:12px;
    font-weight:600;
    margin-bottom:35px;
}





/* =========================
   SERVICE CARDS
========================= */


.services-container {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 30px;

}



.service-card {

    background-color: #ffffff;

    padding: 40px 25px;

    text-align: center;

    border-radius: 20px;

    cursor: pointer;

    box-shadow: 0 10px 25px rgba(0,0,0,0.12);

    transition: all 0.3s ease;

    border: 2px solid transparent;

}



.service-card:hover {

    transform: translateY(-10px);

    border-color: #F66C01;

}




/* =========================
   SERVICES RESPONSIVE
========================= */


@media(max-width:900px){

    .services-container{

        grid-template-columns:repeat(2,1fr);

        gap:20px;

    }

}



@media(max-width:600px){

    .services{

        padding:60px 20px;

    }


    .services-container{

        grid-template-columns:1fr;

        gap:20px;

    }


    .service-card{

        width:100%;

        padding:30px 20px;

    }


    .service-icon{

        width:75px;

        height:75px;

        font-size:40px;

    }


    .service-card h3{

        font-size:22px;

    }


    .service-card p{

        font-size:15px;

    }

}





/* Icons */

.service-icon {

    width: 90px;

    height: 90px;

    margin: 0 auto 25px;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 50px;

    background-color: #fff1e6;

    border-radius: 50%;

}



/* Card title */

.service-card h3 {

    font-size: 25px;

    color: #000000;

    margin-bottom: 15px;

}



/* Description */

.service-card p {

    color: #555;

    line-height: 1.6;

    font-size: 16px;

}



/* ========================= */
/* CAROUSEL */
/* ========================= */

.carousel{

    display:none;

    margin-top:50px;

    background:#fff;

    border-radius:20px;

    padding:30px;

    box-shadow:0 15px 40px rgba(0,0,0,.12);

    position:relative;

}

.carousel.active{

    display:block;

    animation:fade .4s ease;

}

@keyframes fade{

    from{

        opacity:0;
        transform:translateY(20px);

    }

    to{

        opacity:1;
        transform:translateY(0);

    }

}

.close-carousel{

    position:absolute;

    right:20px;
    top:20px;

    width:45px;
    height:45px;

    border:none;

    border-radius:50%;

    background:#F66C01;

    color:#fff;

    font-size:24px;

    cursor:pointer;

}

#carousel-title{

    text-align:center;

    margin-bottom:25px;

    font-size:30px;

    color:#000;

}

.carousel-container{

    display:flex;

    align-items:center;

    justify-content:center;

    gap:25px;

    position: relative;

}

#carousel-image{

    width:100%;

    max-width:650px;

    height:800px;

    object-fit:cover;

    border-radius:18px;

    box-shadow:0 10px 25px rgba(0,0,0,.15);

    user-select:none;

}

.carousel-btn{

    width:55px;

    height:55px;

    border:none;

    border-radius:50%;

    background:#F66C01;

    color:white;

    font-size:26px;

    cursor:pointer;

    transition:transform .3s ease;

}

.carousel-btn:hover{

    transform:translateY(0) scale(1.1);

}

#carousel-counter{

    text-align:center;

    margin-top:20px;

    font-weight:bold;

    color:#555;

}

#carousel-dots{

    display:flex;

    justify-content:center;

    gap:10px;

    margin-top:15px;

}

#carousel-dots span{

    width:12px;

    height:12px;

    border-radius:50%;

    background:#ccc;

    cursor:pointer;

    transition:.3s;

}

#carousel-dots span.active{

    background:#F66C01;

}




@media(max-width:768px){

    .carousel-container{

        gap:10px;

    }

    #carousel-image{

        height:300px;

    }

    .carousel-btn{

        width:45px;
        height:45px;

        font-size:20px;

    }

    #carousel-title{

        font-size:22px;

    }

}





@media(max-width:600px){

    .carousel{

        padding:20px;

    }


    .carousel-container{

        gap:0;

    }


    #carousel-image{

        width:100%;

        height:300px;

    }


    .carousel-btn{

        position:absolute;

        top:50%;

        transform:translateY(-50%);

        width:30px;

        height:30px;

        font-size:18px;

        z-index:10;

    }

    .close-carousel{
        width:30px;

        height:30px;

        font-size: 15px ;

    }

    .carousel-btn.prev{

        left:15px;

    }


    .carousel-btn.next{

        right:15px;

    }

    .carousel-btn:hover{

        transform:translateY(-50%) scale(1.1);

    }

}






/* About Section */

.about {

    padding: 80px 8%;

    background-color: #F66C01;

}


.about-container {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 50px;

    align-items: center;

}



.about-image img {

    width: 100%;

    border-radius: 20px;

}



.about-content h2 {

    font-size: 40px;

    color: #000000;

    margin-bottom: 25px;

}



.about-content h2::after {

    content: "";

    display: block;

    width: 70px;

    height: 4px;

    background-color: #F66C01;

    margin-top: 15px;

}



.about-content p {

    color: #000000;

    line-height: 1.8;

    font-size: 18px;

    margin-bottom: 20px;

}



.about-points div {

    margin-bottom: 15px;

    font-size: 18px;

    font-weight: 600;

    color: #000000;

}



/* Responsive */

@media(max-width:900px){

    .about-container {

        grid-template-columns: 1fr;

    }


    .about-content {

        text-align: center;

    }

}







/* =========================
   PARTNERS SECTION
========================= */

.partners{

    padding:80px 8%;

    background:#ffffff;

}

.partners-container{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:30px;

    margin-top:50px;

}

.partner-card{

    background:#fff;

    border-radius:20px;

    padding:30px;

    display:flex;

    justify-content:center;

    align-items:center;

    box-shadow:0 10px 25px rgba(0,0,0,.08);

    transition:.3s ease;

}

.partner-card:hover{

    transform:translateY(-8px);

    box-shadow:0 15px 35px rgba(0,0,0,.15);

}

.partner-card img{

    width:140px;

    height:80px;

    object-fit:contain;

    filter:grayscale(100%);

    opacity:.8;

    transition:.3s ease;

}

.partner-card:hover img{

    filter:none;

    opacity:1;

}

/* Responsive */

@media(max-width:900px){

    .partners-container{

        grid-template-columns:repeat(2,1fr);

    }

    .partner-card img{
        filter: none;
    }


}

@media(max-width:600px){

    .partners{

        padding:60px 20px;

    }


    .partners .section-title h2{
        font-size: 35px;
    }

    .partners-container{

        grid-template-columns:1fr;

        gap:20px;

    }

    .partner-card{

        padding:25px;

    }

    .partner-card img{

        width:120px;

        height:70px;

        filter: none;

    }

}






/* Footer */

.footer {

    background-color: #000000;

    color: #FFFFFF;

    padding: 60px 8% 20px;

}


.footer-container {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 40px;

}


.footer-logo {

    width: 180px;

    margin-bottom: 20px;

}


.footer-box p {

    color: #cccccc;

    line-height: 1.6;

}


.footer-box h3 {

    color: #F66C01;

    margin-bottom: 20px;

}


.footer-box ul {

    list-style: none;

}


.footer-box ul li {

    margin-bottom: 10px;

}


.footer-box a {

    color: white;

    text-decoration: none;

}


.footer-box a:hover {

    color: #F66C01;

}


.footer-bottom {

    text-align: center;

    border-top: 1px solid #333;

    margin-top: 40px;

    padding-top: 20px;

}


/* Responsive */

@media(max-width:768px){

    .footer-container {

        grid-template-columns:1fr;

        text-align: center;

    }

}




