:root {
    --bs-yellow: #ffc107;
    --bs-secondary: #525368;
    --bs-light: #E8F5E9;
    --bs-dark: #000000;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}

h1,
.h1,
h2,
.h2,
.fw-bold {
    font-weight: 700 !important;
}

h3,
.h3,
h4,
.h4,
.fw-medium {
    font-weight: 600 !important;
}

h5,
.h5,
h6,
.h6,
.fw-semi-bold {
    font-weight: 500 !important;
}


/*** 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 {
    transition: .5s;
    font-weight: 500;
}

.btn-primary,
.btn-outline-primary:hover {
    color: var(--bs-light);
}

.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: normal;
}


/*** Navbar ***/
.navbar.sticky-top {
    top: -100px;
    transition: .5s;
}

.navbar .navbar-brand,
.navbar a.btn {
    height: 80px
}

.navbar .navbar-nav .nav-link {
    margin-right: 35px;
    padding: 25px 0;
    color: var(--bs-dark);
    font-size: 18px;
    font-weight: 500;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--bs-yellow);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
}

@media (min-width: 992px) {
    .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;
    }
}


/*** Header ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: rgba(15, 66, 41, .6);
    z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 15%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 3rem;
    background-color: var(--bs-yellow);
    border: 10px solid var(--bs-yellow);
}

@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 450px;
    }
    
    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.page-header {
    background: linear-gradient(rgba(15, 66, 41, .6), rgba(15, 66, 41, .6)), url(../img/1.jpg) center center no-repeat;
    background-size: cover;
}

.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--bs-light);
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
    font-size: 18px;
    color: var(--bs-light);
}


/*** Top Feature ***/
@media (min-width: 991.98px) {
    .top-feature {
        position: relative;
        margin-top: -80px;
        z-index: 1;
    }
}


/*** Facts & Quote ***/
.facts,
.quote {
    background: rgba(15, 66, 41, .6);
}



.service-box {
    background: #fff;
    padding: 25px 20px;
    border-radius: 15px;
    transition: 0.3s;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    height: 100%;
}

.service-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.icon-box {
    width: 70px;
    height: 70px;
    margin: auto;
    margin-bottom: 15px;
    background: var(--bs-yellow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-box img {
    width: 35px;
}

.service-box h5 {
    font-weight: 600;
    margin-bottom: 5px;
}

.service-box p {
    font-size: 14px;
}


/*** Project Portfolio ***/
#portfolio-flters {
    display: inline-block;
    background: var(--bs-light);
    padding: 10px 15px;
}

#portfolio-flters li {
    display: inline-block;
    font-weight: 500;
    color: var(--bs-yellow);
    cursor: pointer;
    transition: .5s;
    border-bottom: 2px solid transparent;
}

#portfolio-flters li:hover,
#portfolio-flters li.active {
    color: var(--bs-dark);
    border-color: var(--bs-dark);
}

.portfolio-inner {
    position: relative;
    overflow: hidden;
}


.portfolio-inner::after {
    left: auto;
    right: 0;
}

.portfolio-inner:hover::before,
.portfolio-inner:hover::after {
    width: 50%;
}

.portfolio-inner .portfolio-text {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: .5s;
    z-index: 3;
    opacity: 0;
}

.portfolio-inner:hover .portfolio-text {
    transition-delay: .3s;
    opacity: 1;
}

.portfolio-inner .portfolio-text .btn {
    background: var(--bs-light);
    color: var(--bs-yellow);
}

.portfolio-inner .portfolio-text .btn:hover {
    background: var(--bs-yellow);
    color: var(--bs-light);
}


/*** Team ***/
.team-item {
    position: relative;
    overflow: hidden;
}

.team-item .team-text {
    position: absolute;
    width: calc(100% - 45px);
    left: -100%;
    bottom: 45px;
    padding: 1.5rem;
    background: #FFFFFF;
    border-radius: 0 4px 4px 0;
    opacity: 0;
    transition: .5s;
}

.team-item:hover .team-text {
    left: 0;
    opacity: 1;
}

.team-item .team-social .btn {
    background: var(--bs-light);
    color: var(--bs-yellow);
}

.team-item .team-social .btn:hover {
    background: var(--bs-yellow);
    color: var(--bs-light);
}

.team-item .team-img .team-social {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .5s;
    z-index: 3;
    opacity: 0;
}

.team-item:hover .team-img .team-social {
    transition-delay: .3s;
    opacity: 1;
}

.business-card{
    background: linear-gradient(135deg, #000000, #1a1a1a);
    color: #fff;
    padding: 30px;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    border-left: 6px solid #ffc107;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.business-card:hover{
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.5);
}

.business-card h5{
    color: #ffc107;
    font-weight: 700;
    font-size: 22px;
}

.business-card .subtitle{
    font-size: 14px;
    margin-bottom: 15px;
    color: #ddd;
}

.business-card ul{
    list-style: none;
    padding: 0;
}

.business-card ul li{
    margin-bottom: 10px;
    font-size: 15px;
}

.business-card ul li i{
    color: #ffc107;
    margin-right: 8px;
}

/* effet décoratif */
.business-card::before{
    content: "";
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: rgba(255,193,7,0.15);
    border-radius: 50%;
}


/*** Footer ***/
.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: var(--bs-light);
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--bs-yellow);
    letter-spacing: 1px;
    box-shadow: none;
}

.copyright {
    color: var(--bs-light);
    background: #072A19;
}

.copyright a {
    color: #FFFFFF;
}

.copyright a:hover {
    color: var(--bs-yellow);
}

.php-email-form .loading,
.php-email-form .error-message,
.php-email-form .sent-message {
  display:none;
  margin-top:15px;
}

.php-email-form .sent-message {
  color:green;
}

.php-email-form .error-message {
  color:red;
}

.php-email-form .alert {
  display: none;
}

.php-email-form .d-block {
  display: block !important;
}

.chiffre-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,193,7,0.15);
    border-radius: 10px;
    padding: 28px 18px 22px;
    text-align: center;
    position: relative;
    transition: all 0.35s ease;
    overflow: hidden;
}
.chiffre-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #ffc107, transparent);
    opacity: 0;
    transition: opacity 0.35s;
}
.chiffre-card:hover {
    background: rgba(255,193,7,0.07);
    border-color: rgba(255,193,7,0.4);
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.4), 0 0 20px rgba(255,193,7,0.1);
}
.chiffre-card:hover::before { opacity: 1; }
.chiffre-card--highlight {
    background: rgba(255,193,7,0.08);
    border-color: rgba(255,193,7,0.4);
}
.chiffre-card--highlight::before { opacity: 1; }
.chiffre-icon {
    width: 54px; height: 54px;
    background: rgba(255,193,7,0.12);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 14px;
    border: 1px solid rgba(255,193,7,0.25);
}
.chiffre-icon i { font-size: 20px; color: #ffc107; }
.chiffre-number {
    font-family: 'Jost', sans-serif;
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700; color: #fff; line-height: 1; display: inline;
}
.chiffre-suffix {
    font-family: 'Jost', sans-serif;
    font-size: clamp(20px, 3vw, 28px);
    font-weight: 700; color: #ffc107; display: inline;
}
.chiffre-label {
    font-family: 'Jost', sans-serif;
    font-size: 13px; font-weight: 600; color: #ffc107;
    text-transform: uppercase; letter-spacing: 1px; margin: 10px 0 6px;
}
.chiffre-desc { font-size: 12px; color: #888; line-height: 1.5; }


