
/***********************************************
 * Navbar
 ***********************************************/
.navbar {
    z-index: 10;
    height: 109px;
}
.navbar .nav-link {
    color: #00AA3A;
    font-size: 1.2rem;

    &:hover {
        font-weight: bold;
    }

    &:active {
        color: black;
        text-decoration: underline;
    }

    &::before {
        display: block;
        content: attr(title);
        font-weight: bold;
        height: 0;
        overflow: hidden;
        visibility: hidden;
    }
}

.navbar-toggler {
    color: #00AA3A;
    border: none;
    &:focus, &:active {
        outline: 0;
    }
}
.navbar-toggler-icon {
    /* apply a filter to have the green color on svg */
    filter: invert(56%) sepia(76%) saturate(4167%) hue-rotate(104deg) brightness(95%) contrast(92%);
}

.shadow-green {
    border-bottom: #00AA3A;
    border-left: #00AA3A;
    border-right: #00AA3A;
}

/***********************************************
 * Carousel
 ***********************************************/
#home.owl-carousel {

    .carousel-bg-image {
        background-size: cover;
        height: calc(100vh - 109px);
    }

    .owl-dots {
        position: absolute;
        bottom: 0;
        width: 100%;
        display: flex;
        justify-content: end;
        align-items: center;
        margin-bottom: 20px;
        padding-right: 20px;

        .owl-dot.active > span {
            background-color: #00AA3A;
        }
    }

    .overlay {
        padding-top: 200px;

        .background-transparency {
            background-color: rgba(0, 0, 0, 0.5);
            height: 200px;
            color: white;
            display: flex;
            align-items: center; /* Centrer verticalement */
            justify-content: start; /* Centrer horizontalement */

            .container{
                height: fit-content;

                .intro-title {
                    font-size: 2rem;
                }
                .intro-subtitle {
                    font-size: 1.2rem;
                }
            }
        }
    }
}

/***********************************************
 * Carousel
 ***********************************************/
#services {

    .services {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        grid-gap: 50px;

        .service {
            .icon {
                padding: 50px;
                height: 180px;
                width: 180px;

                margin-left: auto;
                margin-right: auto;

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

                color: #00AA3A;
                background: #f5fff5;
                border-radius: 3%;

                & i {
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    width: 32px;
                    height: 32px;
                }
            }
            .service-title {
                color: #00AA3A;
                text-align: center;
                font-weight: bold;
                margin-top: -60px;
                font-size: 2.2rem;
            }
        }
    }
}

#about {


    .about {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        grid-gap: 50px;

    }

}
/***********************************************
 * Contact
 ***********************************************/

/*--------------------------------------------------------------
# Contact
--------------------------------------------------------------*/
.contact .info-box {
    color: #444444;
    background: #f5fff5;
    padding: 40px 30px 30px 30px;
    border-radius: 3%;
}

.contact .info-box i {
    font-size: 38px;
    line-height: 0;
    color: #000;
}

.contact .info-box h3 {
    font-size: 20px;
    color: #000;
    font-weight: 600;
    margin: 20px 0 10px 0;
}

.contact .info-box p {
    padding: 0;
    line-height: 24px;
    font-size: 14px;
    margin-bottom: 0;
}

.contact .php-email-form {
    background: #f5fff5;
    padding: 30px;
    height: 100%;
    border-radius: 3%;
}

.contact .php-email-form .error-message {
    display: none;
    color: #fff;
    background: #ed3c0d;
    text-align: left;
    padding: 15px;
    margin-bottom: 24px;
    font-weight: 600;
}
.contact .php-email-form .warning-message {
    display: none;
    color: #fff;
    background: #ff7925;
    text-align: left;
    padding: 15px;
    margin-bottom: 24px;
    font-weight: 600;
}
.contact .php-email-form .success-message {
    display: none;
    color: #fff;
    background: #3da21e;
    text-align: left;
    padding: 15px;
    margin-bottom: 24px;
    font-weight: 600;
}

.contact .php-email-form .sent-message {
    display: none;
    color: #fff;
    background: #18d26e;
    text-align: center;
    padding: 15px;
    margin-bottom: 24px;
    font-weight: 600;
}

.contact .php-email-form .loading {
    display: none;
    background: #fff;
    text-align: center;
    padding: 15px;
    margin-bottom: 24px;
}

.contact .php-email-form .loading:before {
    content: "";
    display: inline-block;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    margin: 0 10px -6px 0;
    border: 3px solid #18d26e;
    border-top-color: #eee;
    -webkit-animation: animate-loading 1s linear infinite;
    animation: animate-loading 1s linear infinite;
}

.contact .php-email-form input,
.contact .php-email-form textarea {
    box-shadow: none;
    font-size: 14px;
    border-radius: 7px;
}

.contact .php-email-form input:focus,
.contact .php-email-form textarea:focus {
    border-color: #00AA3A;
}

.contact .php-email-form input {
    padding: 10px 15px;
}

.contact .php-email-form textarea {
    padding: 12px 15px;
}

.contact .php-email-form button[type=submit] {
    background: #00AA3A;
    border: 0;
    padding: 10px 30px;
    color: #fff;
    transition: 0.4s;
    border-radius: 4px;
}

.contact .php-email-form button[type=submit]:hover {
    background: #00AA3A;
}

@-webkit-keyframes animate-loading {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes animate-loading {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}


/***********************************************
 * Other
 ***********************************************/
html, body {
    min-height: 100% !important;
    height: 100%;
    margin: 0;
}
main {
    padding-top: 109px;
    padding-bottom: 109px;

    >div {
        margin-bottom: 60px;
    }
}
footer {
    background-color: white;
    color: #00AA3A;
    padding: 20px 0;
    text-align: center;
    font-size: 0.8rem;
    position: fixed;
    bottom: 0;
    width: 100%;
}

.title {
    color: #00AA3A;
    font-size: 2rem;
    font-weight: bold;
}

.minh-100 {
    height: 100%;
    min-height: 100% !important;
    min-height: -webkit-fill-available !important;
    min-height: -moz-available !important;

}

a {
    color: #00AA3A;
    &:hover {
        color: #00AA3A;
        font-weight: bold;
        text-decoration: underline;
    }
}

.logo {
    height: 70px;
}

.menu-title-head {
    padding-top: 110px;
}
