:root {
    --primary-color: #0066cc;
    --primary-color-rgb: 0, 102, 204;
    --secondary-color: #03d3c3;
    --secondary-color-rgb: 0, 180, 166;
    --dark-color: #003d99;
    --dark-blue: #012c70;
    --dark-blue-rgb: 1, 44, 112;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --transition: all 0.3s ease !important;
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
    sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
}

.logo-bg {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 8px;
    border-radius: 8px;
}

.logo-text {
    color: white;
    font-weight: bolder;
    font-size: 20px;
}

.brand {
    color: #003d99;
    font-weight: bold;
    font-size: 20px;
}

.slogan {
    color: #00b4a6;
    font-size: 15.5px;
    font-weight: 500;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-fadeIn {
    animation: fadeIn 0.6s ease-out;
}

.animate-fadeInUp {
    animation: fadeInUp 0.8s ease-out;
}

.animate-fadeInLeft {
    animation: fadeInLeft 0.8s ease-out;
}

.animate-fadeInRight {
    animation: fadeInRight 0.8s ease-out;
}

.btn-shadow {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.btn-service {
    border: 2px solid white;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
}

.btn-primary-gradient {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border: none;
    color: white;
    transition: all 0.3s ease;
}

.btn-primary-gradient:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 102, 204, 0.3);
    color: white;
    background: linear-gradient(135deg, #0052a3 0%, #009999 100%);
}

.gradient-bg {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.card-hover {
    transition: all 0.3s ease;
    border: 1px solid var(--secondary-color);
    height: 100%;
}

.card-hover:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    border: 2px solid var(--secondary-color);
}

.hero-section {
    position: relative;
    /*min-height: 100vh;*/
    overflow: hidden;
}

.carousel-item {
    width: 100%;
    aspect-ratio: 2 / 1;
}

/*.carousel-item img {
    filter: brightness(0.7);
}*/

.carousel-image {
    width: 100%;
    aspect-ratio: 2 / 1;
    filter: brightness(0.7);
    background-size: cover !important;
}

.carousel-image.slide_1 {
    background: url("../images/slide_1.avif");
}

.carousel-image.slide_2 {
    background: url("../images/slide_2.avif");
}

.carousel-image.slide_3 {
    background: url("../images/slide_3.avif");
}

.carousel-caption {
    bottom: 0;
    top: 0;
    left: 0;
    right: 0;
    padding-left: 5rem;
    padding-right: 5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.3), transparent, rgba(0, 0, 0, 0.3));
}

.carousel-caption h1,
.carousel-caption h2 {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.9);
}

.carousel-caption p {
    font-weight: 400;
    font-size: 22px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    max-width: 600px;
}

.carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin: 0 10px 0 10px;
    transition: all 0.3s;
}

.carousel-indicators .active {
    width: 50px;
    /*border-radius: 10%;*/
}

.carousel-control-next,
.carousel-control-prev {
    width: 80px;
}

.carousel-control-next-icon,
.carousel-control-prev-icon {
    width: 3rem;
    height: 3rem;
}

.lead {
    font-weight: 400
}

.navbar-custom {
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.95) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.navbar-custom.scrolled {
    background-color: rgba(255, 255, 255, 0.98) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/*.nav-item {
    border-radius: 10px;
    transition: var(--transition);
}

.nav-item:hover {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}*/

.nav-item .nav-link {
    font-size: 1.4rem;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    color: var(--primary-color);
    border-radius: 1rem;
    font-weight: 500;
    transition: var(--transition);
}

.nav-item .nav-link:hover {
    transition: var(--transition);
    color: #fff;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.service,
.temoignage {
    background: linear-gradient(to bottom, #f8f9fa, white);
    padding-bottom: 3rem;
    padding-top: 3rem;
}

.service-icon {
    width: 100%;
    aspect-ratio: 4 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 12px;
    margin-bottom: 2rem;
}

.service-puce {
    width: 10px;
    height: 10px;
    background: var(--secondary-color);
    border-radius: 50%;
    margin-right: 10px;
}

.section-divider {
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    margin: 0 auto 1.5rem;
}

.badge-stat {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 1.5rem;
    border-radius: 12px;
    color: white;
    height: 100%;
    text-align: center;
    transition: all 0.3s ease;
}

.badge-stat:hover {
    transform: scale(1.05);
}

.badge-stat small {
    font-weight: 600;
}

.testimonial-card {
    position: relative;
    background: white;
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid #e0e0e0;
}

.testimonial-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--secondary-color);
}

.quote-icon {
    position: absolute;
    top: -15px;
    left: -15px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.contact {
    background: linear-gradient(to bottom, white, #f8f9fa);
    padding-bottom: 3rem;
    padding-top: 3rem;
}

.contact-icon {
    width: 60px;
    height: 60px;
    font-weight: bold;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 12px;
    margin-bottom: 2rem;
}

.contact-link {
    display: block;
    color: #343a40;
    transition: var(--transition);
}

.contact-link:hover {
    font-weight: bold;
    color: var(--primary-color);
}

.contact-form {
    background-color: #fff;
    border-radius: 1rem;
    padding: 3rem;
    border: 1px solid var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-control {
    border: 1px solid var(--primary-color);
    border-radius: 10px;
    padding: 0.875rem 1rem;
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 1rem 0.2rem rgba(var(--secondary-color-rgb), 0.5);
}

.form-label {
    margin-bottom: 0.5rem;
}

.form-control:not(:-ms-input-placeholder) + label {
    left: 10px !important;
    top: -10px;
    background: linear-gradient(180deg, #f3f2f2, #fff);
    padding: 5px 10px;
    height: auto !important;
}

.form-control:focus + label,
.form-control:not(:placeholder-shown) + label {
    left: 20px !important;
    top: -5px;
    background: var(--white);
    padding: 0 10px;
    height: auto !important;
    border-radius: 10px;
}

.copyright {
    background: var(--primary-color);
    position: relative;
    bottom: 0 !important;
    left: 0;
    color: var(--white);
    display: block;
    font-weight: bold;
    overflow-x: hidden;
    padding: 3px;
    white-space: nowrap;
    width: 100%;
    z-index: 1030;
    border-top: 2px solid var(--secondary-color);
}

.footer {
    background: url(../images/footer-bg.avif), linear-gradient(135deg, var(--dark-blue) 0%, var(--dark-blue) 100%);
    color: var(--white);
    padding: 3rem 0 0 0;
    background-size: cover;
}

.footer-custom {
    background: linear-gradient(180deg, #1a1a2e 0%, #0f0f1e 100%);
    color: white;
}

.footer-shape::before {
    position: absolute;
    content: "";
    width: 80px;
    height: 100%;
    top: 0;
    left: -40px;
    background: var(--secondary-color);
    transform: skew(40deg);
}

.footer p {
    color: var(--white);
    font-weight: normal;
}

.footer p.designed {
    color: var(--dark-blue);
    font-weight: normal;
}

.footer-link {
    text-decoration: none;
    color: #fff;
}

.footer-link:hover {
    color: var(--secondary-color);
}

.text-primary {
    color: var(--primary-color) !important;
}

.text-secondary {
    color: var(--secondary-color) !important;
}

.text-dark-blue {
    color: var(--dark-blue) !important;
}

.bg-primary {
    background: var(--primary-color) !important;
    color: var(--white) !important;
}

.bg-secondary {
    background: var(--secondary-color) !important;
    color: var(--white) !important;
}

.social-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: white;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--secondary-color);
    transform: scale(1.1);
    color: var(--dark-blue);
}

/* Go to Top Button */
.go-to-top {
    position: fixed;
    bottom: 100px;
    right: 30px;
    z-index: 1000;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: bold;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.go-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.go-to-top:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(30, 64, 175, 0.4);
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-color));
    color: var(--primary-color);
}

.go-to-top:active {
    transform: translateY(-1px) scale(1.05);
}

.valeur {
    padding: 1rem;
    height: 100%;
    border-radius: 0.5rem;
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.1), rgba(0, 180, 166, 0.1));
    box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--secondary-color);
    transition: var(--transition);
}

.valeur:hover {
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.2);
    transform: scale(1.01);
}

@media screen and (max-width: 768px) {

    body {
        padding: 10px;
    }
    .carousel-item {
        aspect-ratio: 1 / 2;
    }

    .carousel-caption {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .carousel-image {
        aspect-ratio: 1 / 2;
    }

    .carousel-image.slide_1 {
        background: url("../images/slide_mobile_1.avif");
    }

    .carousel-image.slide_2 {
        background: url("../images/slide_mobile_2.avif");
    }

    .carousel-image.slide_3 {
        background: url("../images/slide_mobile_3.avif");
    }
}