/********** Template CSS **********/
:root {
    --primary: #FF6600 !important;
    --bs-primary: #FF6600 !important;
    --secondary: #F8F9FA !important;
    --bs-secondary: #F8F9FA !important;
    --light: #F8F9FA !important;
    --bs-light: #F8F9FA !important;
    --dark: #212529 !important;
    --bs-dark: #212529 !important;
}

.text-primary {
    color: #FF6600 !important;
}

.bg-primary {
    background-color: #FF6600 !important;
}

.btn-primary {
    background-color: #FF6600 !important;
    border-color: #FF6600 !important;
    color: #FFFFFF !important;
    font-weight: 700 !important;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-check:focus + .btn-primary,
.btn-check:active + .btn-primary {
    background-color: #CC5200 !important;
    border-color: #CC5200 !important;
    color: #FFFFFF !important;
    box-shadow: 0 0 0 0.25rem rgba(255, 102, 0, 0.5) !important;
}

.btn-outline-primary {
    color: #FF6600 !important;
    border-color: #FF6600 !important;
    background-color: transparent !important;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active,
.btn-outline-primary:focus-visible,
.btn-check:active + .btn-outline-primary,
.btn-check:checked + .btn-outline-primary,
.show > .btn-outline-primary.dropdown-toggle {
    background-color: #FF6600 !important;
    border-color: #FF6600 !important;
    color: #FFFFFF !important;
    box-shadow: none !important;
}

/* Force le texte et l'icône en blanc au clic */
a.btn-outline-primary:hover,
a.btn-outline-primary:focus,
a.btn-outline-primary:active,
a.btn-outline-primary:hover i,
a.btn-outline-primary:focus i,
a.btn-outline-primary:active i,
a.btn-outline-primary:hover *,
a.btn-outline-primary:focus *,
a.btn-outline-primary:active * {
    color: #FFFFFF !important;
}

/* Supprimer l'effet focus bleu par défaut */
.btn-outline-primary:focus-visible {
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(255, 102, 0, 0.25) !important;
}

body {
    background-color: #FFFFFF;
    color: #212529;
}

h1, h2, h3, h4, h5, h6 {
    color: #212529 !important;
}

p {
    color: #212529 !important;
}

.text-dark {
    color: #212529 !important;
}

/* Force yellow on all primary elements */
a.text-primary,
span.text-primary,
h1.text-primary,
h2.text-primary,
h3.text-primary,
h4.text-primary,
h5.text-primary,
h6.text-primary {
    color: #FF6600 !important;
}

.spinner-grow.text-primary {
    color: #FF6600 !important;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    font-weight: 600;
    transition: .5s;
    border-radius: 50px;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: inherit;
}

.btn-primary {
    color: var(--bs-white);
}


/*** Navbar ***/
.navbar {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 9;
    transition: .5s;
    background-color: transparent !important;
}

.navbar .navbar-nav .nav-link {
    margin-right: 25px;
    padding: 40px 0;
    color: #FFFFFF;
    font-size: 17px;
    text-transform: uppercase;
    outline: none;
    transition: .5s;
}

.navbar .navbar-brand h2 {
    color: #FF6600 !important;
}

.navbar .btn-outline-primary {
    color: #FF6600 !important;
    border-color: #FF6600 !important;
}

.navbar-light .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.5) !important;
}

.navbar-light .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

.navbar.bg-white .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 0, 0, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

.navbar.bg-white .navbar-toggler {
    border-color: rgba(0, 0, 0, 0.1) !important;
}

.navbar.bg-white {
    background-color: #FFFFFF !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar.bg-white .navbar-nav .nav-link {
    color: #212529 !important;
}

.navbar.bg-white .navbar-nav .nav-link:hover,
.navbar.bg-white .navbar-nav .nav-link.active {
    color: #FF6600 !important;
}

.navbar.bg-white .navbar-brand h2 {
    color: #FF6600 !important;
}

.navbar.bg-white .btn-outline-primary {
    color: #FF6600 !important;
    border-color: #FF6600 !important;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--bs-primary);
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link,
    .navbar.bg-white .navbar-nav .nav-link {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        margin-top: 8px;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
        background-color: rgba(0, 0, 0, 0.9);
        padding: 10px;
        border-radius: 5px;
    }
    
    .navbar.bg-white .navbar-nav {
        border-top: 1px solid rgba(0, 0, 0, 0.1);
        background-color: #FFFFFF;
    }
    
    .navbar .navbar-nav .nav-link {
        color: #FFFFFF;
    }
    
    .navbar.bg-white .navbar-nav .nav-link {
        color: #212529;
    }
}

@media (min-width: 992px) {
    .navbar.bg-white .navbar-nav .nav-link {
        padding: 20px 0;
    }

    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}


/*** Header ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding-top: 100px;
    background: rgba(0, 0, 0, .7);
    z-index: 1;
}

.carousel-caption h1,
.carousel-caption h2,
.carousel-caption h3,
.carousel-caption h4,
.carousel-caption h5,
.carousel-caption h6 {
    color: #FFFFFF !important;
}

.carousel-caption p {
    color: #FFFFFF !important;
}

.carousel-caption .title h5::after,
.carousel-caption .title h5::before {
    border-bottom-color: #FFFFFF !important;
}

.carousel-caption .title h1 {
    border-bottom-color: #FFFFFF !important;
}

.carousel-control-prev,
.carousel-control-next {
    width: 10%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
}

@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 550px;
    }
    
    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .carousel-caption h5 {
        font-size: 14px !important;
    }
    
    .carousel-caption h1 {
        font-size: 2rem !important;
    }
    
    .carousel-caption p {
        font-size: 14px !important;
    }
    
    .carousel-caption .btn {
        padding: 10px 20px !important;
        font-size: 14px !important;
    }
    
    .navbar-brand h2 {
        font-size: 1.2rem !important;
    }
}

.page-header {
    padding-top: 200px;
    background: linear-gradient(rgba(0, 0, 0, .7), rgba(0, 0, 0, .7)), url(../img/carousel-1.jpg) top center no-repeat;
    background-size: cover;
}

.page-header .breadcrumb-item + .breadcrumb-item::before {
    color: var(--bs-white);
}


/*** Title ***/
.title {
    margin-bottom: 2rem;
}

.title .title-left,
.title .title-center,
.title .title-right {
    display: inline-block;
    text-transform: uppercase;
    overflow: hidden;
}

.title .title-center {
    text-align: center;
}

.title .title-right {
    text-align: right;
}

.title .title-left h5,
.title .title-center h5,
.title .title-right h5 {
    position: relative;
    display: inline-block;
    font-size: 18px;
    font-weight: 300;
}

.title .title-left h5::after,
.title .title-center h5::before,
.title .title-center h5::after,
.title .title-right h5::before {
    position: absolute;
    content: "";
    width: 500%;
    height: 0;
    top: 9px;
    border-bottom: 1px solid #212529;
}

.title .title-left h5::after,
.title .title-center h5::after {
    left: calc(100% + 15px);
}

.title .title-right h5::before,
.title .title-center h5::before {
    right: calc(100% + 15px);
}

.title .title-left h1,
.title .title-center h1,
.title .title-right h1 {
    border-bottom: 1px solid #212529;
}


/*** Service ***/
.service-item {
    position: relative;
    margin-top: 2.5rem;
    overflow: hidden;
}

.service-item .service-img {
    position: relative;
    display: inline-block;
}

.service-item .service-img img.rounded-circle {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 1/1;
    image-rendering: auto;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.service-item .service-img::before {
    display: none;
}

.service-item.service-item-left {
    border-radius: 500px 0 0 500px;
    background: linear-gradient(to right, #F8F9FA, #E9ECEF);
}

.service-item.service-item-right {
    border-radius: 0 500px 500px 0;
    background: linear-gradient(to left, #F8F9FA, #E9ECEF);
}

@media (max-width: 767.98px) {
    .service-item.service-item-left,
    .service-item.service-item-right {
        border-radius: 500px 500px 0 0;
        background: linear-gradient(to bottom, #F8F9FA, #E9ECEF);
        text-align: center;
    }
}


/*** Team ***/
.team-item {
    position: relative;
}

.team-item .team-name {
    position: absolute;
    width: 100%;
    height: 60px;
    left: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .7);
}

.team-item .team-body {
    position: relative;
    overflow: hidden;
}

.team-item .team-body .team-before,
.team-item .team-body .team-after {
    position: absolute;
    content: "";
    width: 0;
    height: calc(100% - 60px);
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, .7);
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: .5s;
}

.team-item .team-body .team-after {
    left: auto;
    right: 0;
}

.team-item .team-body .team-before {
    text-align: right;
}

.team-item:hover .team-body .team-before,
.team-item:hover .team-body .team-after {
    width: 50%;
}

.team-item .team-body .team-before span,
.team-item .team-body .team-after span {
    margin: 5px;
    color: #212529;
    opacity: 0;
    transition: .5s;
}

.team-item:hover .team-body .team-before span,
.team-item:hover .team-body .team-after span {
    opacity: 1;
    transition-delay: .2s;
}


/*** Testimonial ***/
.testimonial-carousel {
    max-width: 700px;
    margin: 0 auto;
}

.testimonial-carousel .owl-dots {
    margin-top: 35px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-carousel .owl-dots .owl-dot {
    width: 60px;
    height: 60px;
    margin: 0 5px;
    padding: 10px;
    background: #F8F9FA;
    border-radius: 100px;
    transition: .5s;
}

.testimonial-carousel .owl-dots .owl-dot.active {
    width: 100px;
    height: 100px;
}

.testimonial-carousel .owl-dots .owl-dot img {
    opacity: .1;
    transition: .5s;
    border-radius: 100px;
}

.testimonial-carousel .owl-dots .owl-dot.active img {
    opacity: 1;
}


/*** Footer ***/
.footer {
	background: linear-gradient(180deg, #F8F9FA 0%, #FFFFFF 100%);
	background-size: cover;
    position: relative;
}

.footer::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #FF6600, transparent);
}

@keyframes footerAnimatedBg {
	0% {
        background-position: 0 0;
    }

	100% {
        background-position: -1000px 0;
    }
}

.footer .btn.btn-link {
    display: block;
    padding: 5px 0;
    text-align: left;
    color: #212529;
    text-decoration: none;
    transition: .3s;
}

.footer .btn.btn-link:hover {
    color: #000000;
    letter-spacing: 1px;
}

.footer .btn-social {
    width: 35px;
    height: 35px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid #FF6600;
    color: #FF6600;
}

.footer .btn-social:hover {
    background-color: #FF6600;
    color: #FFFFFF;
}

.footer .copyright {
    padding: 25px 0;
    border-top: 1px solid rgba(0, 0, 0, .1);
}

.footer .copyright a {
    color: #FF6600 !important;
    text-decoration: none;
}

.footer .copyright a:hover {
    text-decoration: underline;
}

.footer .footer-menu a {
    margin-right: 15px;
    padding-right: 15px;
    border-right: 1px solid rgba(0, 0, 0, .3);
    text-decoration: none;
    transition: .3s;
}

.footer .footer-menu a:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
}

.footer .footer-menu a:hover {
    color: #000000;
}

.list-group-item.bg-light {
    background-color: transparent !important;
    color: #212529 !important;
}