* {
    margin: 0;
    font-family: "Roboto", sans-serif;
}

/* body {
    background: linear-gradient(135deg, #ebebec 0%, #e9ecef 100%);
    position: relative;
    min-height: 100vh;
} */

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23dee2e6" stroke-width="0.5" opacity="0.3"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.1;
    z-index: -1;
    pointer-events: none;
}

a {
    color: inherit;
}

.navbar {
    background-color: #ebebec;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    /* transform: skewY(-1.5deg); */
    /* oblique légère */
    z-index: 1000;
}

.navbar .container-fluid {
    /* transform: skewY(1.5deg); */
    /* pour compenser l'obliquité du contenu */
}

.navbar-nav .nav-link {
    position: relative;
    color: black;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 12px;

    transition: all 0.3s ease;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 10%;
    width: 0%;
    height: 2px;
    background-color: #f65a2a;
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 80%;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #f65a2a;
}

.navbar-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
    gap: 15px;
}

/* Logo */
.navbar-brand .logo {
    height: 70px;
    width: auto;
}

.nav-scrolled {
    background-color: white !important;
    transition: background-color 0.3s ease, padding 0.3s ease;
}

.nav-scrolled .navbar .container .navbar-collapse .navbar-nav .nav-item .nav-link {
    color: black !important;
}

/* .nav-scrolled .navbar-brand img {
    height: 80px !important;
    transition: height 0.3s ease;
} */
@media (max-width: 768px) {
    /* .navbar-brand img {
        height: 100px;
    } */

    .nav-scrolled .navbar-brand img {
        height: 60px !important;
    }
}

/* Séparateur vertical */
.line-separator-vertical {
    display: inline-block;
    width: 2px;
    height: 40px;
    background-color: #f65a2a;
}

/* Slogan */
.navbar-brand .slogan {
    margin: 0;
    font-size: 14px;
    font-weight: bold;
    color: #1c2b39;
    max-width: 220px;
}

/* Responsive tablette */
@media (max-width: 991.98px) {
    .navbar-brand .logo {
        height: 50px;
    }

    .navbar-brand .slogan {
        font-size: 13px;
        max-width: 180px;
    }

    .line-separator-vertical {
        height: 30px;
    }
}

/* Responsive mobile */
@media (max-width: 767.98px) {
    .navbar-brand {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .line-separator-vertical {
        display: none;
    }

    .navbar-brand .slogan {
        font-size: 8px;
        max-width: 100%;
        text-align: left;
    }
}


.responsive-text-warning {
    color: #f65a2a !important;
}


/* Moyen écran (≥768px) */
@media (max-width: 768px) {
    .responsive-text-warning {
        color: white !important;
        /* bleu */
    }
}

/* Grand écran (≥992px) */
@media (max-width: 992px) {
    .responsive-text-warning {
        color: white !important;
        /* vert */
    }
}

/* Très grand écran (≥1200px) */
@media (min-width: 1200px) {
    .responsive-text-warning {
        color: #f65a2a !important;
        /* violet */
    }
}


/* .lien{
    text-transform: uppercase;
} */
/* body{
    background-color: #ebebec !important;
} */
.section-color {
    background: linear-gradient(to right, #f65a2a 50%, #ebebec 50%);
    padding: 40px 0px;
}

/* Version tablette et mobile */
@media (max-width: 991.98px) {

    /* correspond à md et moins */
    .section-color {
        padding: 80px 0px !important;
        background: #f65a2a;
        /* 100% orange */
    }

    .section-title-large {
        font-size: 30px !important;
    }

    .section-services,
    .section-objectifs {
        padding: 80px 0px !important;
    }

}

/* Mobile (sm) */
@media (max-width: 767.98px) {
    .section-title-large {
        font-size: 30px !important;
    }
}

/* Très petit écran */
@media (max-width: 575.98px) {
    .section-title-large {
        font-size: 24px !important;
    }

    .section-services,
    .section-objectifs {
        padding: 80px 0px !important;
    }
}

.section-services,
.section-objectifs {
    padding: 40px 0px;
}

.section-title-large {
    font-size: 36px;
    font-weight: 600;
    line-height: 1.2;
    font-family: "Kanit", sans-serif;
    text-transform: uppercase;
}

.section-title-small {
    margin-bottom: 14px;
    color: inherit;
    text-transform: uppercase;
    font-size: 14px;
    line-height: 15px;
    font-weight: 600;
    font-family: "Kanit", sans-serif;
}

.card-title {
    color: #1c2b39 !important;
    line-height: 1.3;
    font-weight: 600;
    font-family: "Kanit", sans-serif;
}

.card-text {
    text-align: justify;
}

.icon {
    background-color: #f65a2a;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    margin: 15px 0;
    box-shadow: 0 4px 8px rgba(226, 102, 63, 0.3);
}

a.custom-button-link {
    display: inline-block;
    color: #f65a2a;
    background-color: white;
    font-size: 26px;
    line-height: 26px;
    text-align: center;
    font-weight: 900;
    padding-top: 15px;
    width: 56px;
    height: 56px;
    transition: all 0.3s ease;
}

a {
    text-decoration: none !important;
    color: inherit;
}

a.custom-button-link.second-color {
    background-color: #f65a2a;
    color: white;
    width: 45px;
    height: 45px;
    font-size: 20px;
    padding-top: 10px;
}

a.custom-button-link.third-color {

    background-color: #f65a2a;
    color: white;
    width: 250px;
    font-size: 20px;
    padding-top: 10px;
}

a.custom-button-link:hover {
    background-color: #1c2b39;
    color: #f65a2a;
}

/* Barre de contact supérieure */
.top-bar {
    background: linear-gradient(135deg, #1c2b39 0%, #ea663b 50%, #f65a2a 100%);
    color: white;
    padding: 12px 0;
    border-bottom: 1px solid #e9ecef;
    font-size: 14px;
}

.contact-item {
    display: flex;
    align-items: center;
    color: white;
    text-decoration: none;
    margin-right: 40px;
}

.contact-item:hover {
    color: #6c757d;
    text-decoration: none;
}

.contact-item i {
    color: white;
    margin-right: 8px;
    font-size: 16px;
}

.btn-quote {
    background-color: #e64a19;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 0;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.btn-quote:hover {
    background-color: #e64a19;
    color: white;
    transform: translateY(-1px);
}

/* Navigation principale */
.logo {
    height: 80px;
}

@media (max-width: 767.98px) {
    .btn-quote {
        margin-top: 15px;
        width: 100%;
        text-align: center;
    }
}







.partner {
    background: #ebebec;
    padding: 60px 0;
    overflow: hidden;
}

.carousel-wrapper {
    width: 100%;
    overflow: hidden;
    mask-image: linear-gradient(to right,
            transparent,
            black 10%,
            black 90%,
            transparent);
    -webkit-mask-image: linear-gradient(to right,
            transparent,
            black 10%,
            black 90%,
            transparent);
}

.carousel-track {
    display: flex;
    gap: 60px;
    /* animation: scroll 20s linear infinite; */
    width: fit-content;
}

.carousel-track.part {
    /* animation: scroll 20s linear infinite; */
}

.carousel-track.part:hover {
    /* animation-play-state: paused; */
}

.carousel-track:hover {
    /* animation-play-state: paused; */
}

.partner-item {
    flex-shrink: 0;
    width: 220px;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    /* border-radius: 12px; */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 20px;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.partner-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    background-color: #ec714d63;
}

.partner-item img {
    max-width: 100%;
    max-height: 200px;
    object-fit: contain;
    filter: grayscale(20%);
    transition: filter 0.3s ease;
}

.partner-item:hover img {
    filter: grayscale(0%);
}

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

    100% {
        transform: translateX(-50%);
    }
}



@media (max-width: 768px) {
    .partner-item {
        width: 160px;
        height: 80px;
    }

    .carousel-track {
        gap: 40px;
        animation-duration: 15s;
    }


}





#footer {
    background: linear-gradient(135deg, #1c2b39 0%, #ea663b 50%, #f65a2a 100%);
    position: relative;
    overflow: hidden;
    color: #ffffff;
}

#footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(0, 123, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 193, 7, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(40, 167, 69, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

#footer-widgets {
    position: relative;
    z-index: 2;
    padding: 35px 0 35px;
}

.widget {
    margin-bottom: 40px;
}

.widget-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 30px;
    position: relative;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.widget-title span {
    position: relative;
    padding-bottom: 15px;
}

.widget-title span::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, white, #1c2b39);
    border-radius: 2px;
}

.widget_text .textwidget {
    line-height: 1.8;
}

.widget_text .textwidget p {
    color: #b8c5d1;
    font-size: 1rem;
    margin-bottom: 0;
}

.widget_text .textwidget img {
    filter: brightness(0) invert(1);
    margin-bottom: 25px !important;
    transition: all 0.3s ease;
}

.widget_text .textwidget img:hover {
    filter: brightness(0) invert(1) drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
}

.wprt-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 20px;
}

.wprt-links li {
    margin: 0;
}

.wprt-links li a {
    color: #b8c5d1;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 15px;
}

.wprt-links li a::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: white;
    font-size: 0.7rem;
    transition: all 0.3s ease;
}

.wprt-links li a:hover {
    color: #ffffff;
    transform: translateX(5px);
}

.wprt-links li a:hover::before {
    color: #1c2b39;
    transform: translateX(3px);
}

.widget_information ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.widget_information ul li {
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.widget_information ul li .hl {
    font-weight: 700;
    color: white;
    min-width: 70px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.widget_information ul li .text {
    color: #b8c5d1;
    line-height: 1.6;
    font-size: 0.95rem;
}

.widget_information ul li.address::before,
.widget_information ul li.phone::before,
.widget_information ul li.site::before,
.widget_information ul li.email::before {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: white;
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

.widget_information ul li.address::before {
    content: '\f3c5';
}

.widget_information ul li.site::before {
    content: '\f0ac';
}

.widget_information ul li.phone::before {
    font-family: 'Font Awesome 6 Brands';
    /* très important pour les icônes de marques */
    /* font-weight: 400; */
    content: '\f232';
}

.widget_information ul li.email::before {
    content: '\f0e0';
}

.socials {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #b8c5d1;
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.socials a:hover {
    background: #1577b1;
    color: #ffffff;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 123, 255, 0.3);
}

.socials a:nth-child(2):hover {
    background: #a5209b;
}

.socials a:nth-child(3):hover {
    background: #dc4e41;
}

.socials a:nth-child(4):hover {
    background: #bd081c;
}

.socials a:nth-child(5):hover {
    background: #ea4c89;
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.3);
    padding: 25px 0;
    margin-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    margin: 0;
    color: #b8c5d1;
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    color: #b8c5d1;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

@media (max-width: 768px) {
    #footer-widgets {
        padding: 60px 0 40px;
    }

    .wprt-links {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .widget-title {
        font-size: 1.2rem;
    }

    .socials {
        justify-content: center;
    }

    .footer-bottom .container {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }
}

/* Animation d'apparition */
.widget {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.widget:nth-child(1) {
    animation-delay: 0.1s;
}

.widget:nth-child(2) {
    animation-delay: 0.3s;
}

.widget:nth-child(3) {
    animation-delay: 0.5s;
}

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









.bg-title-page {
    position: relative;
    min-height: 240px;
    display: flex;
    align-items: flex-end;
    background-image:
        linear-gradient(285deg, #1f2e3ba3, #f65a2a78),
        url('https://ix-marketing.imgix.net/case-study_tile_rew.png?auto=format,compress&w=1946');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    overflow: hidden;
}

.bg-title-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #1f2e3ba3, #f65a2a78);
    z-index: 1;
}

.pagetitle-inner {
    position: relative;
    z-index: 2;
    width: 100%;
}



.breadcrumb1 {
    font-size: 1.1rem;
    opacity: 0.9;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.breadcrumb1 a {
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.breadcrumb1 a:hover {
    color: #f65a2a;
    border-bottom-color: #f65a2a;
}

.current-item {
    color: #f65a2a;
    font-weight: 500;
}

/* Animation */
.animatedcustom {
    animation: fadeInUp 1s ease-out;
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Effet de parallaxe léger */
.bg-title-page {
    background-attachment: fixed;
}

/* Responsive */
@media (max-width: 768px) {

    .col-lg-8,
    .col-lg-4 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    h1 {
        font-size: 2.5rem;
    }

    .bg-title-page {
        min-height: 300px;
        background-attachment: scroll;
    }

    .breadcrumb1 {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }

    .container {
        padding: 0 15px;
    }
}

/* Effet de particules flottantes */
.bg-title-page::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(2px 2px at 20% 30%, rgba(255, 255, 255, 0.2), transparent),
        radial-gradient(1px 1px at 40% 70%, rgba(255, 255, 255, 0.1), transparent),
        radial-gradient(1px 1px at 80% 10%, rgba(255, 255, 255, 0.15), transparent);
    background-size: 200px 200px, 150px 150px, 80px 80px;
    animation: sparkle 20s linear infinite;
    z-index: 1;
}

@keyframes sparkle {
    0% {
        transform: translateY(0px);
    }

    100% {
        transform: translateY(-200px);
    }
}

.carousel-card,
.card {
    transition: all 0.3s ease;
    border: 1px solid #f65a2a !important;
}

.carousel-card:hover,
.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    background-color: #ec714d63;
}

.section-about {
    padding: 60px 0;
    /* background-color: #ebebec; */
}


.about-content {
    padding-left: 40px;
}

.about-title {
    color: #1c2b39;
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 25px;
    position: relative;
}

.about-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #1c2b39, #1c2b39);
    border-radius: 2px;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 25px;
}

.about-features {
    list-style: none;
    padding: 0;
}

.about-features li {
    padding: 10px 0;
    font-size: 1rem;
    color: #666;
    position: relative;
    padding-left: 30px;
}

.about-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
}

.cta-button {
    background: linear-gradient(135deg, #1c2b39 0%, #1c2b39 100%);
    color: white;
    padding: 15px 35px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(30, 60, 114, 0.3);
    color: white;
}

@media (max-width: 768px) {
    .about-content {
        padding-left: 0;
        padding-top: 30px;
    }

    .about-title {
        font-size: 2rem;
    }
}




.dropdown-item.active,
.dropdown-item:active {
    color: white !important;
    background-color: #1c2b39 !important;
}

.team-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #ebebec 0%, #e9ecef 100%);
    position: relative;
}

.team-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23ffffff" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="%23ffffff" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="%23ffffff" opacity="0.1"/><circle cx="20" cy="80" r="0.5" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}


.section-subtitle {
    font-size: 1.2rem;
    color: #666;
    font-weight: 300;
    margin-top: 20px;
}

.team-card {
    background: white;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.4s ease;
    height: 100%;
    position: relative;
    border: none;
}

.team-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #1c2b39, #1c2b39, #1c2b39);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.team-card:hover::before {
    transform: scaleX(1);
}

.card-img-container {
    position: relative;
    overflow: hidden;
    height: 295px;
}

.card-img-top {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.team-card:hover .card-img-top {
    transform: scale(1.05);
}

.img-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, #1c2b39b7, #1e3b72b6);
    opacity: 0;
    transition: opacity 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-card:hover .img-overlay {
    opacity: 1;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1c2b39;
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #1c2b39;
    color: white;
    transform: translateY(-3px);
}

.btn-card {
    display: inline-block;
    background-color: #f65a2a;
    color: white;
    width: 100px;
    height: 45px;
    font-size: 20px;
    padding-top: 10px;
    line-height: 26px;
    text-align: center;
    font-weight: 900;
    transition: all 0.3s ease;
}

.card-body {
    padding: 30px 25px;
    /* text-align: center; */
}

.member-name {
    font-size: 1.5rem;
    font-weight: bold;
    color: #1c2b39;
    margin-bottom: 8px;
}

.member-title {
    font-size: 1rem;
    color: #1c2b39;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.member-description {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #666;
    margin-bottom: 0;
}

.expertise-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-top: 20px;
}

.expertise-tag {
    background: #ebebec;
    color: #1c2b39;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

@media (max-width: 768px) {


    .card-img-container {
        height: 250px;
    }

    .team-section {
        padding: 60px 0;
    }
}



.swiper-pagination-bullet-active {
    /* opacity: 1; */
    background: #e64a19 !important;
}



.project-grid {
    padding: 40px;
    /* background-color: #1c2b39; */
    /* couleur fond similaire à ton image */
}

.project-card {
    position: relative;
    overflow: hidden;
    height: 360px;
    /* border-radius: 8px; */
    /* box-shadow: 0 8px 16px rgba(0,0,0,0.4); */
}

.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.project-card:hover img {
    transform: scale(1.05);
}

.project-info {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0));
    width: 100%;
    color: #fff;
}

.project-info .category {
    font-size: 12px;
    text-transform: uppercase;
    color: #f97316;
    /* orange */
    font-weight: 600;
    margin-bottom: 5px;
    display: inline-block;
    border-bottom: 2px solid #f97316;
}

.project-info .title {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
    text-transform: uppercase;
}

/* Responsive */
@media (max-width: 768px) {
    .project-info {
        padding: 12px;
    }

    .project-info .title {
        font-size: 16px;
    }

    .project-info .category {
        font-size: 10px;
    }
}


.experience-badge {
    position: absolute;
    bottom: 0px;
    left: 0px;
    background: linear-gradient(135deg, #13131396 0%, #1c313f4f 100%);
    color: white;
    padding: 30px 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    min-width: 200px;
    text-align: center;
}

.experience-number {
    font-size: 3.5rem;
    font-weight: bold;
    line-height: 1;
    margin-bottom: 10px;
}

.experience-text {
    font-size: 1.1rem;
    font-weight: 500;
    opacity: 0.9;
}

.image-container {
    position: relative;
    overflow: hidden;
    height: 100%;
    transition: transform 0.3s ease;
}

.image-container img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.image-container:hover img {
    transform: scale(1.05);
}

/* Styles pour le chevauchement */
.overlapping-container {
    position: relative;
    height: 500px;
    /* Hauteur fixe pour le conteneur principal */
    width: 100%;
}

.main-image-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 70%;
    height: 100%;
    z-index: 1;
}

.overlay-image-container {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 40%;
    height: 60%;
    z-index: 2;
    border: 4px solid white;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

/* Adaptation du badge pour la petite image */
.overlay-image-container .experience-badge {
    padding: 15px 12px;
    min-width: 120px;
}

.overlay-image-container .experience-number {
    font-size: 14px;
    margin-bottom: 5px;
}

.overlay-image-container .experience-text {
    font-size: 0.8rem;
}

/* Responsive */
@media (max-width: 768px) {
    .overlapping-container {
        height: 400px;
    }

    .main-image-container {
        width: 100%;
    }

    .overlay-image-container {
        width: 50%;
        height: 50%;
        bottom: 10px;
        right: 10px;
    }
}



/* service section */
.services-section,
.projects-section {
    padding: 40px 0px;

    margin: auto;
    box-sizing: border-box;
}

.services-heading {
    text-align: center;
    margin-bottom: 40px;
}

.services-subtitle {
    color: #f65a2a;
    font-size: 16px;
    text-transform: uppercase;
}

.services-main-title {
    color: #1c2b39;
    font-size: 32px;
    margin: 10px 0;
}

.services-carousel {
    position: relative;
    overflow: hidden;
}

.carousel-track-container {
    overflow: hidden;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
    gap: 20px;
}

.carousel-card {
    background: #fff;
    border: 1px solid #f65a2a;
    /* border-radius: 8px; */
    max-width: 100%;
    box-sizing: border-box;
    padding: 20px;
    flex-shrink: 0;
}

.carousel-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    /* border-radius: 6px; */
    margin-bottom: 15px;
}

.card-title {
    margin-bottom: 10px;
    font-size: 20px;
    color: #1c2b39;
}

.card-list {
    padding-left: 20px;
    font-size: 15px;
    color: #444;
}

.carousel-arrow {
    width: 60px;
    height: 60px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: #1c2b39;
    color: white;
    border: none;
    font-size: 24px;
    padding: 10px;
    cursor: pointer;
    z-index: 10;
    border-radius: 50%;
}

.carousel-left {
    left: 10px;
}

.carousel-right {
    right: 10px;
}

/* Responsive behavior */
@media (min-width: 768px) {
    .carousel-card {
        min-width: 50%;
    }
}

@media (min-width: 992px) {
    .carousel-card {
        min-width: 33.3333%;
    }
}

.about-l-shape {
    color: white;
}

.about-l-shape ul {
    list-style: none;
    padding-left: 0;
}

.about-l-shape li::before {
    content: "✓";
    margin-right: 8px;
    color: white;
}


.cta-links {
    margin-top: 40px;
}

.cta-container {
    display: flex;
    justify-content: center;
    background: #eee;
}

.cta-item {
    flex: 1;
    padding: 40px 0;
    text-align: center;
    cursor: pointer;
    transition: background 0.3s;
    color: #222;
}



.cta-item a i {
    font-size: 20px;
    display: block;
    margin-bottom: 10px;
    color: #1c2b39;
}

.cta-item.active {
    background-color: #f65a2a;
    color: white;
    font-weight: bold;
}

.cta-item.active a i,
.cta-item.active a .cta-text {
    color: white;
}

.cta-text {
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #1c2b39;
}

@media (max-width: 768px) {
    .cta-container {
        flex-direction: column;
    }
}



.group-btn {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.custom-btn {
    background: linear-gradient(90deg, #f65a2a, #d94d2a);
    color: white;
    padding: 12px 30px;
    /* border-radius: 30px; */
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease-in-out;
    letter-spacing: 1px;
}

.custom-btn.d-2 {
    background: linear-gradient(90deg, #1c2b39, #1c313f);
}

.custom-btn:hover {
    background: #b64021;
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}


.carousel-caption{
    left: 5%;
    text-align: start;
    bottom: 5.25rem;
}
.carousel-control-next,.carousel-control-prev{
    width: 60px;
    height: 60px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: #1c2b39;
    color: white;
    border: none;
    font-size: 24px;
    padding: 10px;
    cursor: pointer;
    z-index: 10;
    border-radius: 50%
}
/* .carousel-caption {
    position: relative;
    z-index: 2;
} */
.voile {

    position: absolute;
    top: 0; /* Corrigé pour que le voile couvre tout */
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1f2e3ba3, #f65a2a78);
    pointer-events: none; /* Pour ne pas bloquer les clics */
}

@media (max-width: 1399.98px) {
    .custom-btn{
        padding: 17px 21px !important;
        font-size:large;
    }
    p.w-50.text{
        font-size:large !important;
    }
    #carouselExampleDark{
        height: 600px !important;
    }
    .titleSlide{
        font-size: 2rem !important;
    }
}
@media (max-width: 1199.98px) {
    .custom-btn{
        padding: 14px 18px !important;
        font-size:medium;
    }
    p.w-50.text{
        font-size: medium !important;
    }
    #carouselExampleDark{
        height: 575px !important;
    }
    .titleSlide{
        font-size: 1.5rem !important;
    }
}
@media (max-width: 991.98px) {
    .custom-btn{
        padding: 11px 15px !important;
        font-size: small;
    }
    p.w-50.text{
        font-size: small !important;
    }
    #carouselExampleDark{
        height: 500px !important;
    }
    .titleSlide{
        font-size: 1rem !important;
    }
}
@media (max-width: 767.98px) {
    .custom-btn{
        padding: 8px 12px !important;
        font-size: x-small;
    }
    p.w-50.text{
        font-size: x-small !important;
    }
    #carouselExampleDark{
        height: 482px !important;
    }
    .titleSlide{
        font-size: 0.95rem !important;
    }
}
@media (max-width: 575.98px) {
    #carouselExampleDark{
        height: 400px !important;
    }
    .custom-btn{
        padding: 6px 9px !important;
        font-size: xx-small;
    }
    p.w-50.text{
        font-size: x-small !important;
    }
    .imgSlide{
        object-fit: cover;
        object-position: right;
    }
    .titleSlide{
        font-size: 0.80rem !important;
    }
    .navbar-brand .logo {
        height: 31px;
    }
    .navbar-brand {
        gap: 2px;
    }
    .carousel-control-next,.carousel-control-prev{
        width: 40px;
        height: 40px;

    }
    .contact-item {
        font-size: xx-small;
    }
    .contact-item i {
        font-size: 12px;
    }

/* Newsletter Styles */
.widget_newsletter {
    margin-top: 20px;
}

.widget_newsletter h2 {
    color: #f65a2a;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.widget_newsletter p {
    font-size: 0.9rem;
    margin-bottom: 15px;
    color: #666;
}

.widget_newsletter .form-control {
    border-radius: 5px;
    border: 1px solid #ddd;
    padding: 8px 12px;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.widget_newsletter .btn-primary {
    background-color: #f65a2a;
    border-color: #f65a2a;
    border-radius: 5px;
    padding: 8px 20px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.widget_newsletter .btn-primary:hover {
    background-color: #e54a1f;
    border-color: #e54a1f;
}
}
input, textarea {
    width: 100%;
    padding: 15px;
    border: none;
    background: #ebebec;
    /* border-radius: 10px; */
    font-size: 16px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

/* Custom Toast Notifications */
.custom-toast {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    min-width: 350px;
    max-width: 450px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 12px;
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.15),
        0 8px 16px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.8);
    border: none;
    overflow: hidden;
    transform: translateX(100%) translateY(-10px) scale(0.95);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    font-family: 'Segoe UI', 'Roboto', sans-serif;
    backdrop-filter: blur(10px);
}

.custom-toast.show {
    transform: translateX(0) translateY(0) scale(1);
    opacity: 1;
}

.custom-toast.hide {
    transform: translateX(100%) translateY(-10px) scale(0.95);
    opacity: 0;
}

.custom-toast.success {
    background: linear-gradient(135deg, #ffffff 0%, #f0f9f0 100%);
    box-shadow:
        0 20px 40px rgba(40, 167, 69, 0.15),
        0 8px 16px rgba(40, 167, 69, 0.1),
        0 0 0 1px rgba(40, 167, 69, 0.2);
}

.custom-toast.error {
    background: linear-gradient(135deg, #ffffff 0%, #fef2f2 100%);
    border: 1px solid rgba(220, 53, 69, 0.2);
    box-shadow:
        0 20px 40px rgba(220, 53, 69, 0.18),
        0 8px 16px rgba(220, 53, 69, 0.1),
        0 0 0 1px rgba(220, 53, 69, 0.2);
}

.custom-toast.error .toast-text {
    color: #881d1f;
}

.custom-toast.error .toast-close:hover {
    color: #721c24;
    background: rgba(220, 53, 69, 0.08);
}

.custom-toast.info {
    background: linear-gradient(135deg, #ffffff 0%, #e9f2ff 100%);
    box-shadow:
        0 20px 40px rgba(13, 110, 253, 0.12),
        0 8px 16px rgba(13, 110, 253, 0.08),
        0 0 0 1px rgba(13, 110, 253, 0.15);
}

.custom-toast.info .toast-icon {
    background: linear-gradient(135deg, #0d6efd 0%, #3b82f6 100%);
}

.custom-toast.info .toast-progress {
    background: linear-gradient(90deg, #0d6efd 0%, #3b82f6 50%, #0d6efd 100%);
}

.toast-content {
    display: flex;
    align-items: center;
    padding: 18px 24px;
    gap: 16px;
    position: relative;
}

.toast-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

.toast-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 100%);
    border-radius: 50%;
}

.custom-toast.success .toast-icon {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
}

.custom-toast.error .toast-icon {
    background: linear-gradient(135deg, #dc3545 0%, #fd7e14 100%);
}

.toast-text {
    flex: 1;
    font-size: 15px;
    line-height: 1.5;
    color: #2d3748;
    margin: 0;
    font-weight: 500;
    letter-spacing: 0.025em;
}

.toast-close {
    background: none;
    border: none;
    font-size: 20px;
    color: #a0aec0;
    cursor: pointer;
    padding: 4px;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    border-radius: 6px;
    margin-left: 8px;
}

.toast-close:hover {
    color: #4a5568;
    background: rgba(0, 0, 0, 0.05);
    transform: scale(1.1);
}

.toast-progress {
    height: 4px;
    background: linear-gradient(90deg, #f65a2a 0%, #ea663b 50%, #f65a2a 100%);
    width: 100%;
    transform-origin: left;
    animation: progress 4s ease-in-out forwards;
    position: relative;
}

.toast-progress::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0) 100%);
    animation: shimmer 2s ease-in-out infinite;
}

.custom-toast.success .toast-progress {
    background: linear-gradient(90deg, #28a745 0%, #20c997 50%, #28a745 100%);
}

.custom-toast.error .toast-progress {
    background: linear-gradient(90deg, #dc3545 0%, #fd7e14 50%, #dc3545 100%);
}

@keyframes progress {
    from {
        transform: scaleX(1);
    }
    to {
        transform: scaleX(0);
    }
}

@keyframes shimmer {
    0%, 100% {
        opacity: 0;
        transform: translateX(-100%);
    }
    50% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Success Message Styles (comme contact) */
.success-message {
    background: #2ecc71;
    color: white;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    display: none;
    animation: slideIn 0.5s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive adjustments for toasts */
@media (max-width: 480px) {
    .custom-toast {
        min-width: 320px;
        max-width: 90vw;
        right: 10px;
        left: 10px;
        top: 15px;
    }

    .toast-content {
        padding: 16px 20px;
        gap: 14px;
    }

    .toast-text {
        font-size: 14px;
    }

    .toast-icon {
        width: 28px;
        height: 28px;
        font-size: 14px;
    }
}
