/********** INTERBUS CSS **********/
:root {
    --primary: #4056A1;   /* Bleu principal */
    --secondary: #F57B7B; /* Rose secondaire */
    --light: #F8F9FA;
    --dark: #1A1A2E;
}

/* ---- Font Weights ---- */
.fw-medium { font-weight: 600 !important; }
.fw-semi-bold { font-weight: 700 !important; }

/* ---- Back to Top ---- */
.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 {
    visibility: visible;
    opacity: 1;
    transition: opacity .5s ease-out;
}

/*** Buttons ***/
.btn {
    font-family: 'Nunito', sans-serif;
    font-weight: 600;
    transition: 0.5s;
    border-radius: 0px;
}

.btn.btn-primary {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border: none;
    color: #fff;
}

.btn.btn-primary:hover {
    opacity: 0.85;
}

.btn-square, .btn-sm-square, .btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

.btn-square { width: 38px; height: 38px; }
.btn-sm-square { width: 32px; height: 32px; }
.btn-lg-square { width: 48px; height: 48px; }

/*** Navbar ***/
.navbar-light .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 25px 0;
    color: var(--dark);
    font-size: 15px;
    text-transform: uppercase;
    font-weight: 600;
}

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

.navbar-light.sticky-top {
    top: -100px;
    transition: 0.5s;
}

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

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

/*** Header carousel ***/
.header-carousel .owl-nav {
    position: absolute;
    top: 50%;
    right: 8%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    margin: 7px 0;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: transparent;
    border: 1px solid #FFFFFF;
    font-size: 22px;
    transition: .5s;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    background: var(--secondary);
    border-color: var(--secondary);
}

/*** Page Header ***/
.page-header {
    background: linear-gradient(rgba(26, 26, 46, .7), rgba(26, 26, 46, .7)), url(../img/carousel-1.png);
    background-position: center;
    background-size: cover;
}

.page-header-inner {
    background: rgba(26, 26, 46, .65);
}

/*** Section Title ***/
.section-title {
    position: relative;
    display: inline-block;
    text-transform: uppercase;
    color: var(--primary);
}

.section-title::before {
    position: absolute;
    content: "";
    width: calc(100% + 80px);
    height: 2px;
    top: 4px;
    left: -40px;
    background: var(--secondary);
    z-index: -1;
}

.section-title::after {
    position: absolute;
    content: "";
    width: calc(100% + 120px);
    height: 2px;
    bottom: 5px;
    left: -60px;
    background: var(--secondary);
    z-index: -1;
}

/*** Service Section ***/
.service-item {
    background: var(--light);
    transition: .5s;
    border-radius: 10px;
}

.service-item:hover {
    margin-top: -10px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    color: #fff;
}

.service-item * {
    transition: .5s;
}

.service-item:hover * {
    color: #fff !important;
}

/*** Partner Slider ***/
.partner-slider-container {
    width: 100%;
    overflow: hidden;
    background-color: #ffffff;
    padding: 10px 0;
}

.partner-slider {
    display: flex;
    width: max-content;
    animation: scroll 120s linear infinite;
}

.partner-slide {
    min-width: 150px;
    margin: 0 15px;
}

.partner-slide img {
    max-width: 100%;
    height: 65px;
    border-radius: 10px;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

/*** Progress Banner (site en cours de conception) ***/
.progress-banner {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    color: white;
    text-align: center;
    padding: 12px 0;
    font-weight: 600;
    letter-spacing: 1px;
    font-size: 18px;
    animation: fadeIn 1s ease-in-out;
}

.progress-container {
    width: 100%;
    background-color: #e9ecef;
    height: 6px;
    overflow: hidden;
}

.progress-bar {
    width: 60%;
    height: 6px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    animation: progressMove 4s ease-in-out infinite;
}

@keyframes progressMove {
    0% { width: 0%; }
    50% { width: 80%; }
    100% { width: 0%; }
}

/*** Footer ***/
.footer {
    background: #0e1224;
}

.footer .btn.btn-social {
    margin-right: 5px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    border: 1px solid #FFFFFF;
    border-radius: 35px;
    transition: .3s;
}

.footer .btn.btn-social:hover {
    color: var(--secondary);
    background-color: #fff;
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    color: #FFFFFF;
    font-size: 15px;
    text-transform: capitalize;
    transition: .3s;
}

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

.footer .btn.btn-link:hover {
    letter-spacing: 1px;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #ccc;
}

/*** Animations ***/
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}
