/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Hind', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

/* Titles with Roboto - Modern Styles */
h1, h2, h3, h4, h5, h6,
.client-title,
.info-text h2,
.info-graphic h3,
.payment-card h3 {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
}

/* Modern Title Styles */
.client-title,
.news-title {
    position: relative;
    display: inline-block;
    text-align: center;
    width: 100%;
}

.info-text h2,
.contact-info-title,
.contact-form-title {
    position: relative;
    text-align: center;
}

/* Decorative line under titles */
.client-title::after,
.news-title::after,
.info-text h2::after,
.contact-form-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #4a71aa 0%, #2c3e50 100%);
    border-radius: 2px;
}

.news-title::after {
    left: 50%;
    transform: translateX(-50%);
}

.info-text h2::after {
    left: 50%;
    transform: translateX(-50%);
}

.contact-form-title::after {
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, #4a71aa 0%, #2c3e50 100%);
}

/* Gradient text effect for main titles */
.client-title,
.news-title {
    background: linear-gradient(135deg, #2c3e50 0%, #4a71aa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Top Blue Bar */
.top-bar {
    background-color: #4a71aa;
    color: #fff;
    padding: 10px 0;
    font-size: 14px;
    width: 100%;
}

@media (max-width: 768px) {
    .top-bar .d-flex {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start !important;
    }

    .top-bar .contact-info {
        width: 100%;
        flex-wrap: wrap;
    }

    .top-bar .language-switcher {
        width: 100%;
        justify-content: flex-start;
    }
}

/* Bootstrap utility classes override if needed */
.contact-info .gap-4 {
    gap: 1.5rem;
}

.language-switcher .gap-3 {
    gap: 1rem;
}

.contact-item i {
    font-size: 14px;
}

.language-switcher {
    display: flex;
    gap: 15px;
    align-items: center;
}

.language-flag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 2px;
    transition: transform 0.2s ease;
    text-decoration: none;
}

.language-flag:hover {
    transform: scale(1.1);
}

.language-flag.current {
    opacity: 1;
    border: 2px solid #4a71aa;
    border-radius: 4px;
    padding: 2px;
}

.language-flag:not(.current) {
    opacity: 0.7;
}

.language-flag:not(.current):hover {
    opacity: 1;
}

.language-flag img {
    width: 24px;
    height: 18px;
    object-fit: cover;
    border-radius: 2px;
}

.language-flag .flag-emoji {
    font-size: 20px;
}

/* Navigation Bar */
.navbar {
    background-color: #fff;
    width: 100%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0 40px;
}

.logo-small {
    display: flex;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-image {
    height: 80px;
    width: auto;
    object-fit: contain;
    transition: opacity 0.3s ease;
}

.logo-image:hover {
    opacity: 0.8;
}

.logo-bird {
    width: 50px;
    height: 30px;
}

.bird-icon {
    width: 100%;
    height: 100%;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-main {
    font-size: 24px;
    font-weight: bold;
    color: #2c3e50;
}

.logo-sub {
    font-size: 16px;
    color: #3498db;
}

.logo-arabic {
    font-size: 12px;
    color: #2c3e50;
    direction: rtl;
    text-align: right;
}

.logo-tifinagh {
    font-size: 10px;
    color: #2c3e50;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 25px;
    flex: 1;
    justify-content: center;
    position: relative;
}

.nav-menu li {
    position: relative;
    list-style: none !important;
}

.nav-menu > li {
    display: flex;
    align-items: center;
    position: relative;
}

.nav-menu > li {
    display: flex;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px 0;
    position: relative;
}

.nav-menu > li > a:hover,
.nav-menu > li > a.active,
.nav-menu > li.current-menu-item > a,
.nav-menu > li.current-menu-parent > a {
    color: #4a71aa;
    text-decoration: none;
}

.nav-menu > li > a:hover::after,
.nav-menu > li > a.active::after,
.nav-menu > li.current-menu-item > a::after,
.nav-menu > li.current-menu-parent > a::after {
    display: none;
}

/* Sous-menus - Cachés par défaut */
.nav-menu ul.sub-menu,
.nav-menu ul.children,
.nav-menu .sub-menu,
.nav-menu .children,
.nav-menu li ul {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #f5f5f5;
    min-width: 220px;
    max-width: 300px;
    list-style: none !important;
    padding: 8px 0 !important;
    margin: 0 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-radius: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-5px);
    transition: all 0.2s ease;
    z-index: 999;
    display: none !important;
    width: auto !important;
}

/* Afficher au survol seulement sur desktop */
.nav-menu > li:hover > ul.sub-menu,
.nav-menu > li:hover > ul.children,
.nav-menu > li:hover > .sub-menu,
.nav-menu > li:hover > .children,
.nav-menu > li.menu-item-has-children:hover > ul.sub-menu,
.nav-menu > li.menu-item-has-children:hover > .sub-menu,
.nav-menu > li.page_item_has_children:hover > ul.children,
.nav-menu > li.page_item_has_children:hover > .children {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}

/* Maintenir le hover actif quand on passe du parent au sous-menu */
.nav-menu > li.menu-item-has-children:hover,
.nav-menu > li.page_item_has_children:hover {
    position: relative;
}

.nav-menu > li.menu-item-has-children:hover::before,
.nav-menu > li.page_item_has_children:hover::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 8px;
    background: transparent;
    z-index: 998;
}

.nav-menu .sub-menu > li,
.nav-menu .children > li,
.nav-menu ul.sub-menu > li,
.nav-menu ul.children > li {
    width: 100% !important;
    border-bottom: 1px solid #e0e0e0;
    position: relative;
    display: list-item !important;
    list-style: none !important;
    margin: 0 !important;
}

.nav-menu .sub-menu > li:last-child,
.nav-menu .children > li:last-child,
.nav-menu ul.sub-menu > li:last-child,
.nav-menu ul.children > li:last-child {
    border-bottom: none;
}

.nav-menu .sub-menu > li > a,
.nav-menu .children > li > a,
.nav-menu ul.sub-menu > li > a,
.nav-menu ul.children > li > a {
    padding: 12px 24px !important;
    display: block !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    text-transform: none !important;
    white-space: nowrap;
    color: #333 !important;
    text-decoration: none !important;
    transition: all 0.2s ease;
    background-color: transparent;
}

.nav-menu .sub-menu > li > a:hover,
.nav-menu .children > li > a:hover,
.nav-menu ul.sub-menu > li > a:hover,
.nav-menu ul.children > li > a:hover {
    background-color: #e8e8e8;
    color: #4a71aa !important;
    padding-left: 28px !important;
}

.nav-menu .sub-menu > li.current-menu-item > a,
.nav-menu .children > li.current-menu-item > a,
.nav-menu ul.sub-menu > li.current-menu-item > a,
.nav-menu ul.children > li.current-menu-item > a {
    background-color: #e8e8e8;
    color: #4a71aa !important;
}

/* Indicateur de sous-menu (flèche) */
.nav-menu > li.menu-item-has-children > a::after,
.nav-menu > li.page_item_has_children > a::after {
    content: "\f107";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 12px;
    margin-left: 5px;
    transition: transform 0.3s ease;
    display: inline-block;
}

.nav-menu > li:hover > a::after {
    transform: rotate(180deg);
}

/* Sous-menus de niveau 2 (si nécessaire) */
.nav-menu .sub-menu .sub-menu,
.nav-menu .children .children {
    top: 0;
    left: 100%;
    margin-top: 0;
    margin-left: 8px;
}

.nav-menu .sub-menu .menu-item-has-children > a::after,
.nav-menu .children .page_item_has_children > a::after {
    content: "\f105";
    float: right;
}

.nav-icons {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-icons .fa-search {
    font-size: 18px;
    color: #333;
    cursor: pointer;
    transition: color 0.3s;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-icons .fa-search:hover {
    color: #4a71aa;
}

.social-icons {
    display: flex;
    align-items: center;
    gap: 15px;
}

.social-icons a {
    color: #fff;
    font-size: 16px;
    transition: all 0.3s ease;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    text-decoration: none;
    background-color: #4a4a4a;
    border-radius: 50%;
    border: none;
}

.social-icons a.x-icon-link svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.social-icons a .x-icon-fallback {
    width: 18px;
    height: 18px;
    fill: #fff;
    display: none;
}

.social-icons a:has(.fa-x-twitter:empty) .x-icon-fallback,
.social-icons a .fa-x-twitter:empty + .x-icon-fallback {
    display: block !important;
}

.social-icons a .fa-x-twitter:empty {
    display: none;
}

.social-icons a:hover {
    background-color: #4a71aa;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.social-icons a i {
    color: #fff;
}

.menu-toggle {
    display: none;
    font-size: 28px;
    cursor: pointer;
    color: #333;
    transition: all 0.3s;
    padding: 8px;
    border-radius: 4px;
    z-index: 1001;
    position: relative;
}

.menu-toggle:hover {
    color: #4a71aa;
    background-color: #f0f0f0;
}

.menu-toggle.active {
    color: #4a71aa;
}

.menu-toggle.active i::before {
    content: "\f00d";
}

/* Main Content */
.main-content {
    min-height: calc(100vh - 200px);
}

/* Hero Logo Section */
.hero-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 80px 20px 60px;
    background-color: #fff;
}

.logo-large {
    text-align: center;
}

.logo-bird-large {
    width: 200px;
    height: 80px;
    margin: 0 auto 20px;
}

.bird-icon-large {
    width: 100%;
    height: 100%;
}

.logo-text-large {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.logo-main-large {
    font-size: 72px;
    font-weight: bold;
    color: #2c3e50;
    letter-spacing: 2px;
}

.logo-sub-large {
    font-size: 48px;
    color: #3498db;
}

.logo-arabic-large {
    font-size: 24px;
    color: #2c3e50;
    direction: rtl;
    text-align: center;
}

.logo-tifinagh-large {
    font-size: 18px;
    color: #2c3e50;
    text-align: center;
}

/* Image Carousel Section */
.image-carousel-section {
    padding: 0;
    width: 100%;
}

.carousel-swiper {
    width: 100%;
    height: 90vh;
    min-height: 90vh;
    max-height: 900px;
}

.carousel-swiper .swiper-wrapper {
    height: 100%;
}

.carousel-swiper .swiper-slide {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.carousel-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
}

/* Swiper Navigation Buttons */
.carousel-swiper .swiper-button-next,
.carousel-swiper .swiper-button-prev {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.2);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.carousel-swiper .swiper-button-next:after,
.carousel-swiper .swiper-button-prev:after {
    font-size: 20px;
    font-weight: bold;
}

.carousel-swiper .swiper-button-next:hover,
.carousel-swiper .swiper-button-prev:hover {
    background-color: rgba(255, 255, 255, 0.4);
    transform: scale(1.1);
}

/* Swiper Pagination */
.carousel-swiper .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.5);
    opacity: 1;
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.carousel-swiper .swiper-pagination-bullet-active {
    background-color: #fff;
    transform: scale(1.2);
}

/* Scroll to Top Button */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #3498db;
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    transition: background-color 0.3s;
    z-index: 999;
}

.scroll-top:hover {
    background-color: #2980b9;
}

.scroll-top.show {
    display: flex;
}

/* Espace Client Section (Homepage) */
.client-section {
    padding: 80px 20px;
    background-color: #fff;
}

.client-section .client-title {
    text-align: center;
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 60px;
    padding-bottom: 20px;
    letter-spacing: -1px;
}

/* Espace Client Page Styles */
.client-page {
    padding: 60px 20px;
    background-color: #f8f9fa;
}

.client-title {
    text-align: center;
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 60px;
    padding-bottom: 20px;
    letter-spacing: -1px;
}

.payment-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 80px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* Override for Bootstrap grid when used */
.client-section .row {
    margin: 0;
}

.client-section .row > * {
    padding-left: 15px;
    padding-right: 15px;
}

.payment-card {
    background-color: #fff;
    padding: 40px 30px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.payment-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.payment-icon {
    width: 80px;
    height: 80px;
    background-color: #4a71aa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: #fff;
    font-size: 36px;
}

.payment-icon img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.payment-card:nth-child(3) .payment-icon {
    background-color: #2c3e50;
}

/* Stats Section */
.stat-card {
    background-color: #fff;
    padding: 50px 30px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    z-index: 1;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.stat-number {
    margin-bottom: 20px;
    display: flex;
    align-items: baseline;
    justify-content: center;
    flex-wrap: wrap;
}

.stat-value {
    font-family: 'Roboto', sans-serif;
    font-size: 48px;
    font-weight: 700;
    color: #4a71aa;
    display: inline-block;
    line-height: 1;
    margin: 0;
}

.stat-unit {
    font-family: 'Roboto', sans-serif;
    font-size: 36px;
    font-weight: 700;
    color: #4a71aa;
    margin-left: 8px;
    line-height: 1;
    vertical-align: baseline;
}

.stat-label {
    font-family: 'Hind', sans-serif;
    font-size: 16px;
    color: #333;
    font-weight: 400;
    line-height: 1.5;
}

/* Appels d'offres Section */
.tenders-section {
    background-color: #f8f9fa;
    padding: 80px 0;
}

.tenders-title {
    font-family: 'Roboto', sans-serif;
    font-size: 48px;
    font-weight: 700;
    position: relative;
    z-index: 1;
    padding-bottom: 20px;
    letter-spacing: -1px;
    margin-bottom: 20px;
}

.tender-card {
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.tender-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.tender-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-bottom: 1px solid #e0e0e0;
}

.tender-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    font-family: 'Roboto', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background-color: #4a71aa;
    color: #fff;
}

.tender-badge.badge-new {
    background-color: #28a745;
}

.tender-badge.badge-closed {
    background-color: #6c757d;
}

.tender-date {
    font-size: 13px;
    color: #666;
    font-family: 'Hind', sans-serif;
    display: flex;
    align-items: center;
    gap: 6px;
}

.tender-date i {
    color: #4a71aa;
    font-size: 14px;
}

.tender-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.tender-title {
    font-family: 'Roboto', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
    line-height: 1.4;
    letter-spacing: -0.3px;
}

.tender-description {
    font-family: 'Hind', sans-serif;
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
}

.tender-meta {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: auto;
}

.tender-category,
.tender-deadline {
    font-family: 'Hind', sans-serif;
    font-size: 13px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tender-category i,
.tender-deadline i {
    color: #4a71aa;
    font-size: 14px;
    width: 16px;
}

.tender-footer {
    padding: 20px 25px;
    border-top: 1px solid #f0f0f0;
    background-color: #fafafa;
}

.tender-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #4a71aa 0%, #2c3e50 100%);
    color: #fff;
    padding: 10px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-family: 'Hind', sans-serif;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(74, 113, 170, 0.2);
}

.tender-btn:hover {
    background: linear-gradient(135deg, #3a5a8a 0%, #1a2a3a 100%);
    color: #fff;
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(74, 113, 170, 0.3);
}

.tender-btn i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.tender-btn:hover i {
    transform: translateX(4px);
}

.view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: transparent;
    color: #4a71aa;
    padding: 14px 32px;
    border: 2px solid #4a71aa;
    border-radius: 30px;
    text-decoration: none;
    font-family: 'Hind', sans-serif;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.view-all-btn:hover {
    background-color: #4a71aa;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(74, 113, 170, 0.3);
}

.view-all-btn i {
    transition: transform 0.3s ease;
}

.view-all-btn:hover i {
    transform: translateX(4px);
}

/* News Section */
.news-section {
    background-color: #fff;
}

.news-title {
    font-family: 'Roboto', sans-serif;
    font-size: 48px;
    font-weight: 700;
    position: relative;
    z-index: 1;
    padding-bottom: 20px;
    letter-spacing: -1px;
    margin-bottom: 20px;
}

.news-card {
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.news-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    background-color: #f0f0f0;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

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

.news-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-meta {
    font-family: 'Hind', sans-serif;
    font-size: 14px;
    font-weight: 400;
}

.news-headline {
    font-family: 'Roboto', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #2c3e50;
    line-height: 1.4;
    flex: 1;
    transition: color 0.3s ease;
    letter-spacing: -0.3px;
}

.news-card:hover .news-headline {
    color: #4a71aa;
}

.news-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #4a71aa 0%, #2c3e50 100%);
    color: #fff;
    padding: 12px 28px;
    border-radius: 30px;
    text-decoration: none;
    font-family: 'Hind', sans-serif;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    align-self: flex-start;
    margin-top: auto;
    box-shadow: 0 4px 15px rgba(74, 113, 170, 0.3);
    position: relative;
    overflow: hidden;
}

.news-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.news-btn:hover::before {
    left: 100%;
}

.news-btn:hover {
    background: linear-gradient(135deg, #3a5a8a 0%, #1a2a3a 100%);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 113, 170, 0.4);
}

.news-btn i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.news-btn:hover i {
    transform: translateX(4px);
}

.news-btn span {
    position: relative;
    z-index: 1;
}

.payment-card h3 {
    font-size: 20px;
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: 700;
    letter-spacing: -0.2px;
    transition: color 0.3s ease;
}

.payment-card:hover h3 {
    color: #4a71aa;
}

.payment-card p {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.payment-btn {
    display: inline-block;
    color: #2c3e50;
    text-decoration: underline;
    font-weight: 600;
    cursor: pointer;
    transition: color 0.3s;
}

.payment-btn:hover {
    color: #3498db;
}

.info-section {
    background-color: #fff;
}

.info-section .container {
    max-width: 1200px;
}

.info-section .row {
    margin: 0;
}

.info-section .row > * {
    padding-left: 15px;
    padding-right: 15px;
}

.info-text h2 {
    font-size: 42px;
    color: #2c3e50;
    font-weight: 700;
    margin-bottom: 40px;
    padding-bottom: 20px;
    letter-spacing: -0.5px;
    position: relative;
}

.info-text h2::before {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #4a71aa 0%, #2c3e50 100%);
    border-radius: 2px;
}

.info-text p {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
}

.info-graphic {
    position: relative;
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border-radius: 8px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 500px;
}

.info-graphic h3 {
    font-size: 28px;
    color: #4a71aa;
    font-weight: 600;
    text-align: center;
    margin-bottom: 30px;
}

.map-image-container {
    width: 100%;
    position: relative;
}

.map-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
    display: block;
}

.map-container {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-region {
    width: 100%;
    height: 350px;
    background: linear-gradient(135deg, #90caf9 0%, #64b5f6 50%, #42a5f5 100%);
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.map-cities {
    position: absolute;
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 10px;
    padding: 20px;
}

.city {
    background-color: rgba(255, 255, 255, 0.9);
    color: #2c3e50;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Contact Page Styles */
.contact-page {
    padding: 60px 20px;
    background-color: #f8f9fa;
}

.stat-item {
    background-color: #fff;
    padding: 40px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.stat-number {
    font-size: 48px;
    font-weight: bold;
    color: #3498db;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 16px;
    color: #666;
}


/* Contact Section (Homepage) */
.contact-section {
    background-color: #fff;
}

.contact-info-box {
    background-color: #4a71aa;
    color: #fff;
    padding: 60px 50px;
    height: 100%;
    min-height: 600px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-info-title {
    font-family: 'Roboto', sans-serif;
    font-size: 36px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 40px;
    padding-bottom: 20px;
    position: relative;
    letter-spacing: -0.5px;
}

.contact-info-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 2px;
}

.info-label {
    font-family: 'Roboto', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 16px;
    opacity: 0.95;
}

.info-text {
    font-family: 'Hind', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #fff;
    opacity: 0.95;
}

.contact-form-box {
    background-color: #fff;
    padding: 60px 50px;
    height: 100%;
    min-height: 600px;
    position: relative;
}

.contact-form-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background-image: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(0, 0, 0, 0.02) 10px,
        rgba(0, 0, 0, 0.02) 20px
    );
    pointer-events: none;
    opacity: 0.3;
}

.contact-form-title {
    font-family: 'Roboto', sans-serif;
    font-size: 36px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 40px;
    padding-bottom: 20px;
    position: relative;
    letter-spacing: -0.5px;
    z-index: 1;
}

.form-group {
    margin-bottom: 0;
}

.form-label {
    font-family: 'Hind', sans-serif;
    font-size: 14px;
    color: #333;
    margin-bottom: 8px;
    font-weight: 600;
    display: block;
}

.form-control,
.form-select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    font-family: 'Hind', sans-serif;
    transition: border-color 0.3s;
}

.form-control:focus,
.form-select:focus {
    outline: none;
    border-color: #4a71aa;
    box-shadow: 0 0 0 0.2rem rgba(74, 113, 170, 0.25);
}

.form-control[type="textarea"],
textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    background-color: #4a71aa;
    color: #fff;
    padding: 14px 40px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    font-family: 'Hind', sans-serif;
    cursor: pointer;
    transition: background-color 0.3s;
    position: relative;
    z-index: 1;
}

.submit-btn:hover {
    background-color: #3a5a8a;
}

/* Footer */
.footer {
    background-color: #2c3e50;
    color: #fff;
    padding: 60px 0 20px;
    margin-top: 80px;
}

.footer-widget {
    margin-bottom: 40px;
}

.footer-logo-img {
    height: 60px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-title {
    font-family: 'Roboto', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
    letter-spacing: 0.3px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #4a71aa 0%, rgba(74, 113, 170, 0.5) 100%);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.footer-widget:hover .footer-title::after {
    width: 70px;
}

.footer-text {
    font-family: 'Hind', sans-serif;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin: 0;
}

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

.social-link {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 18px;
    position: relative;
}

.social-link.x-icon-link svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.social-link .x-icon-fallback {
    width: 18px;
    height: 18px;
    fill: currentColor;
    display: none;
}

.social-link:has(.fa-x-twitter:empty) .x-icon-fallback,
.social-link .fa-x-twitter:empty + .x-icon-fallback {
    display: block !important;
}

.social-link .fa-x-twitter:empty {
    display: none;
}

.social-link:hover {
    background-color: #4a71aa;
    transform: translateY(-3px);
    color: #fff;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    font-family: 'Hind', sans-serif;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: #4a71aa;
    padding-left: 5px;
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    font-family: 'Hind', sans-serif;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

.footer-contact i {
    color: #4a71aa;
    margin-right: 12px;
    margin-top: 3px;
    font-size: 16px;
    min-width: 20px;
}

.footer-contact span {
    flex: 1;
    line-height: 1.6;
}

.footer-hours {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-hours li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-family: 'Hind', sans-serif;
}

.footer-hours li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.footer-hours .day {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.footer-hours .hours {
    font-size: 14px;
    color: #4a71aa;
    font-weight: 600;
}

.footer-emergency {
    background-color: rgba(74, 113, 170, 0.2);
    padding: 15px;
    border-radius: 8px;
    border-left: 3px solid #4a71aa;
}

.footer-emergency i {
    color: #4a71aa;
    margin-right: 8px;
}

.footer-emergency .emergency-number {
    font-size: 18px;
    font-weight: 700;
    color: #4a71aa;
    margin: 0;
}

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

.copyright {
    font-family: 'Hind', sans-serif;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

.footer-bottom-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 20px;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.footer-bottom-links li {
    display: inline;
}

.footer-bottom-links a {
    font-family: 'Hind', sans-serif;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: #4a71aa;
}

/* Responsive Design */
@media (max-width: 968px) {
    .nav-content {
        padding: 0 20px;
        position: relative;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 0;
        flex-direction: column;
        background-color: #fff;
        width: 100%;
        max-width: 100%;
        text-align: left;
        transition: left 0.3s ease-in-out;
        box-shadow: 0 10px 27px rgba(0,0,0,0.1);
        padding: 80px 0 30px;
        height: 100vh;
        overflow-y: auto;
        z-index: 999;
        gap: 0;
    }

    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid #f0f0f0;
        position: relative;
    }

    .nav-menu > li {
        display: block;
    }

    .nav-menu a {
        display: block;
        padding: 18px 30px;
        font-size: 16px;
        width: 100%;
        text-align: left;
        transition: all 0.3s;
    }

    .nav-menu a:hover,
    .nav-menu a.active {
        background-color: #f8f9fa;
        color: #4a71aa;
        padding-left: 40px;
    }

    /* Sous-menus mobile */
    .nav-menu .sub-menu,
    .nav-menu .children {
        position: static !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        box-shadow: none !important;
        background-color: #f8f9fa !important;
        border-radius: 0 !important;
        margin-top: 0 !important;
        margin-left: 0 !important;
        padding-left: 20px !important;
        padding-right: 0 !important;
        min-width: auto !important;
        max-height: 0 !important;
        overflow: hidden !important;
        transition: max-height 0.3s ease !important;
        display: block !important;
    }

    .nav-menu li.menu-open > .sub-menu,
    .nav-menu li.menu-open > .children {
        max-height: 1000px !important;
    }

    .nav-menu .sub-menu a,
    .nav-menu .children a {
        padding: 15px 30px 15px 40px;
        font-size: 14px;
    }

    .nav-menu .sub-menu a:hover,
    .nav-menu .children a:hover {
        padding-left: 50px;
    }

    .nav-menu .sub-menu .sub-menu,
    .nav-menu .children .children {
        margin-left: 0;
        padding-left: 20px;
    }

    /* Indicateur de sous-menu mobile */
    .nav-menu .menu-item-has-children > a::after,
    .nav-menu .page_item_has_children > a::after {
        content: "\f107";
        font-family: "Font Awesome 6 Free";
        font-weight: 900;
        float: right;
        transition: transform 0.3s ease;
    }

    .nav-menu li.menu-open > a::after {
        transform: rotate(180deg);
    }

    .nav-menu.active {
        left: 0;
    }

    .menu-toggle {
        display: block;
        position: relative;
        z-index: 1001;
    }

    .nav-icons {
        display: none;
    }

    .nav-icons.mobile-visible {
        display: flex;
        position: fixed;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        background-color: rgba(255, 255, 255, 0.95);
        padding: 10px 20px;
        border-radius: 30px;
        box-shadow: 0 4px 15px rgba(0,0,0,0.1);
        z-index: 1000;
    }

    /* Overlay pour fermer le menu */
    .nav-menu::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s, visibility 0.3s;
        z-index: -1;
    }

    .nav-menu.active::before {
        opacity: 1;
        visibility: visible;
    }

    .logo-image {
        height: 60px;
    }

    .top-bar {
        font-size: 12px;
        padding: 8px 0;
    }

    .top-bar .container {
        padding: 0 15px;
    }

    .contact-info {
        flex-wrap: wrap;
        gap: 10px !important;
    }

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

    .language-switcher {
        gap: 8px;
    }

    .language-flag {
        width: 20px;
        height: 20px;
    }

    .logo-main-large {
        font-size: 48px;
    }

    .logo-sub-large {
        font-size: 32px;
    }

    .carousel-swiper {
        height: 600px;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .carousel-prev {
        left: 10px;
    }
    
    .carousel-next {
        right: 10px;
    }

    .stat-value {
        font-size: 42px;
    }

    .stat-unit {
        font-size: 30px;
    }

    .payment-options {
        grid-template-columns: 1fr;
    }

    .info-section {
        grid-template-columns: 1fr;
    }

    .tenders-title,
    .news-title {
        font-size: 36px;
    }

    .tender-card {
        margin-bottom: 20px;
    }

    .news-headline {
        font-size: 18px;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .contact-info-box {
        padding: 40px 30px;
        min-height: auto;
    }

    .contact-form-box {
        padding: 40px 30px;
        min-height: auto;
    }

    .contact-info-title,
    .contact-form-title {
        font-size: 28px;
    }

    .footer {
        padding: 50px 0 20px;
    }

    .footer-bottom-links {
        justify-content: flex-start;
        margin-top: 15px;
    }
}

/* Styles pour les pages Services */
.service-card {
    background-color: #fff;
    padding: 40px 30px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    background-color: #4a71aa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: #fff;
    font-size: 36px;
}

.service-card h3 {
    font-family: 'Roboto', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
}

.service-card p {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.service-link {
    color: #4a71aa;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.service-link:hover {
    color: #3a5a8a;
}

.service-detail-section {
    margin-bottom: 60px;
}

.service-detail-title {
    font-family: 'Roboto', sans-serif;
    font-size: 36px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 30px;
}

.service-detail-title i {
    color: #4a71aa;
    margin-right: 15px;
}

/* Styles pour Espace RH */
.rh-section {
    margin-bottom: 60px;
}

.rh-info-box {
    background-color: #f8f9fa;
    padding: 40px;
    border-radius: 8px;
}

.rh-sidebar {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.rh-sidebar h3 {
    font-family: 'Roboto', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
}

.rh-sidebar .info-item {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e0e0e0;
}

.rh-sidebar .info-item:last-child {
    border-bottom: none;
}

.rh-sidebar .info-item i {
    color: #4a71aa;
    margin-right: 10px;
}

.jobs-section {
    margin-top: 60px;
}

.job-card {
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.job-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.job-header {
    padding: 25px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-bottom: 1px solid #e0e0e0;
}

.job-title {
    font-family: 'Roboto', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 10px;
}

.job-date {
    font-size: 13px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 6px;
}

.job-content {
    padding: 25px;
    flex: 1;
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

.job-footer {
    padding: 20px 25px;
    border-top: 1px solid #f0f0f0;
    background-color: #fafafa;
}

.job-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #4a71aa 0%, #2c3e50 100%);
    color: #fff;
    padding: 10px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.job-btn:hover {
    background: linear-gradient(135deg, #3a5a8a 0%, #1a2a3a 100%);
    color: #fff;
    transform: translateX(4px);
}

/* Styles pour Réclamations */
.reclamation-form-box {
    background-color: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.reclamation-info-box {
    background-color: #4a71aa;
    color: #fff;
    padding: 40px;
    border-radius: 8px;
    height: 100%;
}

.reclamation-info-box h3 {
    font-family: 'Roboto', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 25px;
}

.reclamation-info-box h4 {
    font-family: 'Roboto', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 10px;
}

.reclamation-info-box .info-item {
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.reclamation-info-box .info-item:last-child {
    border-bottom: none;
}

.reclamation-info-box p {
    color: rgba(255,255,255,0.9);
    margin-bottom: 5px;
}

.reclamation-info-box i {
    margin-right: 10px;
    color: #fff;
}

.about-section {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid #e0e0e0;
}

.section-title {
    font-family: 'Roboto', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #4a71aa 0%, #2c3e50 100%);
    border-radius: 2px;
}

/* Styles pour la page Présentation */
.presentation-layout {
    max-width: 1200px;
    margin: 0 auto;
}

.presentation-text-content {
    padding-right: 40px;
}

.presentation-intro p {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 20px;
    text-align: justify;
}

.presentation-intro p.lead {
    font-size: 18px;
    font-weight: 500;
    color: #2c3e50;
    margin-bottom: 25px;
}

.presentation-objectives-section {
    margin-top: 50px;
}

.objectives-title {
    font-family: 'Roboto', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
    padding-bottom: 15px;
    position: relative;
}

.objectives-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #4a71aa 0%, #2c3e50 100%);
    border-radius: 2px;
}

.objectives-intro {
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 20px;
}

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

.objectives-list li {
    font-size: 15px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
    text-align: justify;
}

.objectives-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #4a71aa;
    font-size: 24px;
    line-height: 1.4;
    font-weight: bold;
}

.presentation-visual {
    position: sticky;
    top: 100px;
}

.morocco-map-container {
    width: 100%;
    position: relative;
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.morocco-map-image {
    width: 100%;
    height: auto;
    border-radius: 4px;
    display: block;
}

.presentation-objectives {
    background-color: #f8f9fa;
    padding: 50px 30px;
    border-radius: 8px;
}

.presentation-objectives h2 {
    font-family: 'Roboto', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 30px;
    text-align: center;
}

.objective-card {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
}

.objective-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.objective-icon {
    width: 60px;
    height: 60px;
    background-color: #4a71aa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: #fff;
    font-size: 24px;
}

.objective-card h3 {
    font-family: 'Roboto', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
}

.objective-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

.presentation-values {
    padding: 50px 0;
}

.presentation-values h2 {
    font-family: 'Roboto', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 30px;
    text-align: center;
}

.value-item {
    padding: 30px 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
}

.value-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.value-item i {
    font-size: 48px;
    color: #4a71aa;
    margin-bottom: 20px;
}

.value-item h4 {
    font-family: 'Roboto', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
}

.value-item p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* Styles pour la page Missions et Métiers */
.missions-intro {
    max-width: 900px;
    margin: 0 auto 50px;
}

.missions-intro p.lead {
    font-size: 18px;
    line-height: 1.8;
    color: #333;
    font-weight: 400;
}

.missions-cards {
    margin-top: 50px;
}

.mission-card {
    border: 2px dashed;
    border-radius: 12px;
    padding: 40px 30px;
    height: 100%;
    background-color: #fff;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    min-height: 450px;
    display: flex;
    flex-direction: column;
}

.mission-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.mission-icon-wrapper {
    text-align: center;
    margin-bottom: 30px;
    position: relative;
}

.mission-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    font-size: 48px;
}

.mission-icon::before {
    content: '';
    position: absolute;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: #f5f5f5;
    z-index: -1;
}

.mission-icon::after {
    content: '';
    position: absolute;
    width: 100px;
    height: 100px;
    border: 2px dashed currentColor;
    border-radius: 50%;
    opacity: 0.3;
    z-index: -2;
}

.mission-icon-img {
    width: 80px;
    height: auto;
    max-height: 80px;
    object-fit: contain;
}

.mission-title {
    font-family: 'Roboto', sans-serif;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
    line-height: 1.3;
}

.mission-content {
    flex: 1;
    font-size: 15px;
    line-height: 1.8;
    color: #555;
    text-align: justify;
}

.mission-content p {
    margin-bottom: 0;
}

/* Styles par défaut pour les cartes (fallback) */
.mission-card-red {
    border-color: #dc3545;
}

.mission-icon-red {
    color: #dc3545;
}

.mission-title-red {
    color: #dc3545;
}

.mission-card-blue {
    border-color: #007bff;
}

.mission-icon-blue {
    color: #007bff;
}

.mission-title-blue {
    color: #007bff;
}

.mission-card-green {
    border-color: #28a745;
}

.mission-icon-green {
    color: #28a745;
}

.mission-title-green {
    color: #28a745;
}

/* Responsive pour page Présentation */
@media (max-width: 968px) {
    .presentation-text-content {
        padding-right: 0;
        padding-bottom: 40px;
    }

    .presentation-visual {
        position: static;
    }

    .morocco-map-container {
        padding: 15px;
    }
}

/* Styles pour la page Nos Valeurs */
.valeurs-intro {
    max-width: 900px;
    margin: 0 auto 60px;
}

.valeurs-intro p.lead {
    font-size: 18px;
    line-height: 1.8;
    color: #333;
    font-weight: 400;
    text-align: justify;
}

.valeurs-image-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.valeurs-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.valeurs-placeholder {
    padding: 60px 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
    border: 2px dashed #dee2e6;
}

.valeur-card {
    position: absolute;
    width: 280px;
    min-height: 320px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    transition: transform 0.3s, z-index 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.valeur-card:hover {
    transform: scale(1.05);
    z-index: 100 !important;
    box-shadow: 0 12px 35px rgba(0,0,0,0.3);
}

.valeur-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.3;
    z-index: 1;
}

.valeur-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.4) 70%, rgba(0,0,0,0.6) 100%);
    z-index: 2;
}

.valeur-content {
    position: relative;
    z-index: 3;
    padding: 30px 25px;
    color: #fff;
}

.valeur-title {
    font-family: 'Roboto', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    line-height: 1.3;
}

.valeur-description {
    font-size: 15px;
    line-height: 1.6;
    color: #fff;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
    margin: 0;
}

/* Positions par défaut pour les 5 valeurs */
.valeur-client {
    top: 20px;
    left: 50px;
    transform: rotate(-5deg);
}

.valeur-client:hover {
    transform: rotate(-3deg) scale(1.05);
}

.valeur-innovation {
    top: 30px;
    left: 320px;
    transform: rotate(3deg);
    z-index: 2;
}

.valeur-innovation:hover {
    transform: rotate(2deg) scale(1.05);
}

.valeur-solidarite {
    top: 10px;
    right: 100px;
    transform: rotate(-2deg);
}

.valeur-solidarite:hover {
    transform: rotate(-1deg) scale(1.05);
}

.valeur-respect {
    bottom: 80px;
    left: 80px;
    transform: rotate(4deg);
}

.valeur-respect:hover {
    transform: rotate(3deg) scale(1.05);
}

.valeur-engagement {
    bottom: 60px;
    left: 380px;
    transform: rotate(-3deg);
    z-index: 2;
}

.valeur-engagement:hover {
    transform: rotate(-2deg) scale(1.05);
}

/* Layout dynamique basé sur la position */
.valeur-card[data-position="0"] {
    top: 20px;
    left: 50px;
    transform: rotate(-5deg);
}

.valeur-card[data-position="0"]:hover {
    transform: rotate(-3deg) scale(1.05);
}

.valeur-card[data-position="1"] {
    top: 30px;
    left: 320px;
    transform: rotate(3deg);
    z-index: 2;
}

.valeur-card[data-position="1"]:hover {
    transform: rotate(2deg) scale(1.05);
}

.valeur-card[data-position="2"] {
    top: 10px;
    right: 100px;
    transform: rotate(-2deg);
}

.valeur-card[data-position="2"]:hover {
    transform: rotate(-1deg) scale(1.05);
}

.valeur-card[data-position="3"] {
    bottom: 80px;
    left: 80px;
    transform: rotate(4deg);
}

.valeur-card[data-position="3"]:hover {
    transform: rotate(3deg) scale(1.05);
}

.valeur-card[data-position="4"] {
    bottom: 60px;
    left: 380px;
    transform: rotate(-3deg);
    z-index: 2;
}

.valeur-card[data-position="4"]:hover {
    transform: rotate(-2deg) scale(1.05);
}

/* Responsive pour page Nos Valeurs */
@media (max-width: 1024px) {
    .valeurs-infographic {
        min-height: 800px;
        padding: 20px;
    }

    .valeur-card {
        width: 240px;
        min-height: 280px;
        position: relative !important;
        transform: none !important;
        margin: 20px auto;
        left: auto !important;
        right: auto !important;
        top: auto !important;
        bottom: auto !important;
    }

    .valeur-card:hover {
        transform: scale(1.03) !important;
    }

    .valeur-card[data-position] {
        position: relative !important;
        transform: none !important;
        margin: 20px auto;
        left: auto !important;
        right: auto !important;
        top: auto !important;
        bottom: auto !important;
    }
}

/* Styles pour la page Périmètre */
.perimetre-intro {
    max-width: 900px;
    margin: 0 auto 50px;
}

.perimetre-intro p.lead {
    font-size: 18px;
    line-height: 1.8;
    color: #333;
    font-weight: 400;
    text-align: justify;
}

/* Styles pour la page Clients Particuliers */
.demande-section {
    background-color: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    margin-bottom: 40px;
}

.demande-section .section-title {
    font-family: 'Roboto', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #007bff;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #007bff;
}

.demande-section .section-title::after {
    display: none; /* Désactiver le ::after du style global */
}

.demande-section .section-intro {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 25px;
    text-align: justify;
}

.demande-section .documents-title {
    font-family: 'Roboto', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
    margin-top: 30px;
}

.demande-section .documents-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.demande-section .documents-list li {
    font-size: 15px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
    text-align: justify;
}

.demande-section .documents-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #007bff;
    font-size: 24px;
    line-height: 1.4;
    font-weight: bold;
}

.demande-section .documents-list .sub-list {
    margin-top: 10px;
    margin-left: 20px;
    list-style: none;
    padding: 0;
}

.demande-section .documents-list .sub-list li {
    padding-left: 25px;
    margin-bottom: 8px;
}

.demande-section .documents-list .sub-list li::before {
    content: '◦';
    color: #28a745;
}

.demande-section.branchement-section {
    margin-top: 40px;
}

.demande-section .branchement-tabs {
    border-bottom: 2px solid #e0e0e0;
}

.demande-section .branchement-tabs .nav-link {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    border: none;
    border-bottom: 3px solid transparent;
    padding: 15px 25px;
    margin-right: 10px;
    background-color: transparent;
    transition: all 0.3s;
}

.demande-section .branchement-tabs .nav-link:hover {
    color: #007bff;
    border-bottom-color: #007bff;
}

.demande-section .branchement-tabs .nav-link.active {
    color: #28a745;
    background-color: transparent;
    border-bottom-color: #28a745;
    font-weight: 700;
}

.demande-section .branchement-content {
    padding: 30px 0;
}

.demande-section .branchement-content .tab-pane {
    animation: fadeIn 0.3s ease-in;
}

.demande-section .branchement-content .section-intro {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 25px;
    text-align: justify;
}

/* Styles pour la page Clients Grands Comptes */
.grands-comptes-section {
    background-color: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    margin-bottom: 40px;
}

.grands-comptes-tabs {
    border-bottom: 2px solid #e0e0e0;
}

.grands-comptes-tabs .nav-link {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    border: none;
    border-bottom: 3px solid transparent;
    padding: 15px 25px;
    margin-right: 10px;
    background-color: transparent;
    transition: all 0.3s;
}

.grands-comptes-tabs .nav-link:hover {
    color: #007bff;
    border-bottom-color: #007bff;
    background-color: #f8f9fa;
}

.grands-comptes-tabs .nav-link.active {
    color: #28a745;
    background-color: #f0f0f0;
    border-bottom-color: #28a745;
    font-weight: 700;
}

.grands-comptes-content {
    padding: 30px 0;
}

.tab-content-wrapper {
    background-color: #fff;
    padding: 25px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
}

.grands-comptes-content .section-intro {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 25px;
    text-align: justify;
}

.grands-comptes-content .documents-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.grands-comptes-content .documents-list li {
    font-size: 15px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
    text-align: justify;
}

.grands-comptes-content .documents-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #007bff;
    font-size: 24px;
    line-height: 1.4;
    font-weight: bold;
}

.grands-comptes-content .tab-pane {
    animation: fadeIn 0.3s ease-in;
}

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

/* Styles pour la page Actualités */
.page-title {
    font-family: 'Roboto', sans-serif;
    font-size: 36px;
    font-weight: 700;
    color: #1a5490;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 3px solid #1a5490;
}

.archive-description {
    color: #666;
    font-size: 16px;
    margin-top: 15px;
}

/* Sidebar */
.sidebar {
    background-color: #f5f5f5;
    padding: 25px;
    border-radius: 0;
}

.sidebar-widget {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
}

.sidebar-widget:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.widget-title {
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Formulaire de recherche */
.search-form {
    position: relative;
    display: flex;
    width: 100%;
}

.search-input {
    width: 100%;
    padding: 10px 40px 10px 12px;
    font-size: 14px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    background-color: #fff;
    color: #666;
}

.search-input::placeholder {
    color: #999;
}

.search-input:focus {
    outline: none;
    border-color: #ccc;
}

.search-submit {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #999;
    padding: 5px;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-submit:hover {
    color: #666;
}

/* Liste des articles récents */
.recent-posts-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.recent-posts-list li {
    padding: 12px 0;
    border-bottom: 1px solid #e9ecef;
}

.recent-posts-list li:last-child {
    border-bottom: none;
}

.recent-posts-list li a {
    display: block;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 5px;
    transition: color 0.3s;
}

.recent-posts-list li a:hover {
    color: #1a5490;
}

.recent-posts-list .post-date {
    display: block;
    font-size: 12px;
    color: #999;
}

/* Liste des catégories */
.categories-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.categories-list li {
    padding: 10px 0;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.categories-list li:last-child {
    border-bottom: none;
}

.categories-list li a {
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.categories-list li a:hover {
    color: #1a5490;
}

.categories-list .category-count {
    font-size: 12px;
    color: #999;
}

.no-items {
    color: #999;
    font-size: 14px;
    font-style: italic;
    margin: 0;
}

/* Cartes d'actualités */
.actualites-list {
    margin-bottom: 40px;
}

.actualite-card {
    background-color: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.actualite-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.actualite-thumbnail {
    width: 100%;
    overflow: hidden;
}

.actualite-thumbnail img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

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

.actualite-content {
    padding: 25px;
}

.actualite-title {
    font-family: 'Roboto', sans-serif;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
}

.actualite-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.actualite-title a:hover {
    color: #1a5490;
}

.actualite-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    font-size: 14px;
    color: #666;
    flex-wrap: wrap;
}

.actualite-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.actualite-meta i {
    color: #1a5490;
}

.actualite-category a {
    color: #1a5490;
    text-decoration: none;
}

.actualite-category a:hover {
    text-decoration: underline;
}

.actualite-excerpt {
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
}

.btn-read-more {
    background-color: #1a5490;
    border-color: #1a5490;
    color: #fff;
    padding: 10px 25px;
    border-radius: 4px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
}

.btn-read-more:hover {
    background-color: #144375;
    border-color: #144375;
    color: #fff;
    transform: translateX(5px);
}

/* Page article individuel */
.actualite-single .entry-header {
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 20px;
}

.actualite-single .entry-title {
    font-family: 'Roboto', sans-serif;
    font-size: 36px;
    font-weight: 700;
    color: #1a5490;
    margin-bottom: 20px;
}

.actualite-single .entry-meta {
    display: flex;
    gap: 20px;
    font-size: 14px;
    color: #666;
    flex-wrap: wrap;
}

.actualite-single .entry-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.actualite-single .entry-meta i {
    color: #1a5490;
}

.actualite-single .post-thumbnail {
    border-radius: 8px;
    overflow: hidden;
}

.actualite-single .entry-content {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
}

.actualite-single .entry-content p {
    margin-bottom: 20px;
}

.actualite-single .entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.actualite-single .entry-footer {
    display: flex;
    align-items: center;
}

/* Pagination */
.pagination-wrapper {
    margin-top: 40px;
}

.pagination-wrapper .page-numbers {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.pagination-wrapper .page-numbers a,
.pagination-wrapper .page-numbers span {
    padding: 10px 15px;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    text-decoration: none;
    color: #1a5490;
    transition: all 0.3s;
}

.pagination-wrapper .page-numbers a:hover,
.pagination-wrapper .page-numbers .current {
    background-color: #1a5490;
    color: #fff;
    border-color: #1a5490;
}

/* Responsive pour Actualités */
@media (max-width: 768px) {
    .sidebar {
        margin-top: 40px;
        padding: 20px;
    }

    .actualite-card {
        flex-direction: column;
    }

    .actualite-content {
        padding: 20px;
    }

    .actualite-title {
        font-size: 20px;
    }

    .actualite-single .entry-title {
        font-size: 28px;
    }

    .page-title {
        font-size: 28px;
    }
}

/* Styles pour la page Capital Humain */
.capital-humain-image-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.capital-humain-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.capital-humain-image:hover {
    transform: scale(1.02);
}

/* Styles pour la carte Google Maps */
.perimetre-map {
    max-width: 1200px;
    margin: 0 auto 60px;
}

.map-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* Ratio 16:9 */
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.perimetre-zones {
    max-width: 900px;
    margin: 0 auto;
}

/* Styles pour l'accordéon Bootstrap des zones */
.perimetre-zones .accordion {
    border-radius: 8px;
    overflow: hidden;
}

.perimetre-zones .accordion-item {
    border: none;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 0;
}

.perimetre-zones .accordion-item:last-child {
    border-bottom: none;
}

.perimetre-zones .accordion-button {
    font-family: 'Roboto', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #28a745;
    background-color: #f8f9fa;
    border: none;
    padding: 20px 25px;
    box-shadow: none;
}

.perimetre-zones .accordion-button:not(.collapsed) {
    color: #28a745;
    background-color: #f0f8f2;
}

.perimetre-zones .accordion-button:focus {
    border-color: #28a745;
    box-shadow: 0 0 0 0.25rem rgba(40, 167, 69, 0.25);
}

.perimetre-zones .accordion-button i {
    color: #28a745;
    font-size: 18px;
    transition: transform 0.3s;
}

.perimetre-zones .accordion-button:not(.collapsed) i {
    transform: rotate(180deg);
}

.perimetre-zones .accordion-body {
    padding: 25px;
    background-color: #fff;
}

.perimetre-zones .accordion-body p {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    text-align: justify;
    margin: 0;
}

/* Responsive pour page Missions et Métiers */
@media (max-width: 768px) {
    .mission-card {
        min-height: auto;
        padding: 30px 20px;
    }

    .mission-icon {
        width: 100px;
        height: 100px;
        font-size: 40px;
    }

    .mission-icon::before {
        width: 70px;
        height: 70px;
    }

    .mission-icon::after {
        width: 85px;
        height: 85px;
    }

    .mission-title {
        font-size: 20px;
    }

    .mission-content {
        font-size: 14px;
    }

    .missions-intro p.lead {
        font-size: 16px;
    }
}

/* Responsive pour page Nos Valeurs */
@media (max-width: 1024px) {
    .valeurs-infographic {
        min-height: 800px;
        padding: 20px;
    }

    .valeur-card {
        width: 240px;
        min-height: 280px;
        position: relative !important;
        transform: none !important;
        margin: 20px auto;
        left: auto !important;
        right: auto !important;
        top: auto !important;
        bottom: auto !important;
    }

    .valeur-card:hover {
        transform: scale(1.03) !important;
    }

    .valeur-card[data-position] {
        position: relative !important;
        transform: none !important;
        margin: 20px auto;
        left: auto !important;
        right: auto !important;
        top: auto !important;
        bottom: auto !important;
    }
}

@media (max-width: 640px) {
    .valeurs-infographic {
        min-height: auto;
        padding: 10px;
    }

    .valeur-card {
        width: 100%;
        max-width: 300px;
        min-height: 250px;
    }

    .valeur-title {
        font-size: 20px;
    }

    .valeur-description {
        font-size: 14px;
    }

    .valeurs-intro p.lead {
        font-size: 16px;
    }

    /* Responsive pour page Périmètre */
    .perimetre-intro p.lead {
        font-size: 16px;
    }

    .zone-title {
        font-size: 22px;
    }

    .zone-content {
        padding-left: 20px;
    }

    .zone-content p {
        font-size: 15px;
    }
}

@media (max-width: 640px) {
    .nav-content {
        padding: 0 15px;
    }

    .nav-menu {
        padding: 70px 0 20px;
    }

    .nav-menu a {
        padding: 15px 20px;
        font-size: 15px;
    }

    .menu-toggle {
        font-size: 24px;
    }

    .footer {
        padding: 40px 0 20px;
        margin-top: 60px;
    }

    .footer-title {
        font-size: 18px;
    }

    .footer-logo-img {
        height: 50px;
    }

    .footer-bottom {
        text-align: center;
    }

    .footer-bottom .row {
        flex-direction: column;
    }

    .footer-bottom-links {
        justify-content: center;
        margin-top: 15px;
        gap: 15px;
    }

    .footer-hours li {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .footer-emergency {
        padding: 12px;
    }

    .footer-emergency .emergency-number {
        font-size: 16px;
    }

    .logo-image {
        height: 50px;
    }

    .logo-main-large {
        font-size: 36px;
    }

    .logo-sub-large {
        font-size: 24px;
    }

    .carousel-swiper {
        height: 50vh;
        min-height: 50vh;
        max-height: 500px;
    }
    
    .carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
    
    .indicator {
        width: 10px;
        height: 10px;
    }

    .stat-card {
        padding: 40px 20px;
        min-height: 180px;
    }

    .stat-value {
        font-size: 36px;
    }

    .stat-unit {
        font-size: 26px;
    }

    .stat-label {
        font-size: 14px;
    }

    .tenders-title {
        font-size: 28px;
    }

    .tender-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 15px 20px;
    }

    .tender-content {
        padding: 20px;
    }

    .tender-title {
        font-size: 18px;
    }

    .tender-footer {
        padding: 15px 20px;
    }

    .tender-btn {
        width: 100%;
        justify-content: center;
    }

    .view-all-btn {
        width: 100%;
        justify-content: center;
    }

    /* Responsive pour page Clients Particuliers */
    .demande-section {
        padding: 25px 20px;
    }

    .demande-section .section-title {
        font-size: 24px;
    }

    .demande-section .section-intro {
        font-size: 15px;
    }

    .demande-section .documents-title {
        font-size: 18px;
    }

    .demande-section .documents-list li {
        font-size: 14px;
        padding-left: 20px;
    }

    .demande-section .branchement-tabs .nav-link {
        font-size: 14px;
        padding: 12px 15px;
        margin-right: 5px;
    }

    /* Responsive pour page Clients Grands Comptes */
    .grands-comptes-section {
        padding: 25px 20px;
    }

    .grands-comptes-tabs .nav-link {
        font-size: 14px;
        padding: 12px 15px;
        margin-right: 5px;
    }

    .tab-content-wrapper {
        padding: 20px 15px;
    }

    .grands-comptes-content .section-intro {
        font-size: 15px;
    }

    .grands-comptes-content .documents-list li {
        font-size: 14px;
        padding-left: 20px;
    }

    /* Responsive pour page Capital Humain */
    .capital-humain-image-container {
        padding: 20px 15px;
    }

    /* Responsive pour Publications */
    .publication-card {
        padding: 20px;
    }

    .publication-title {
        font-size: 18px;
    }
}

/* Styles pour la page Publications */
.publications-list {
    margin-top: 40px;
}

.publication-card {
    background-color: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.publication-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
    border-color: #1a5490;
}

.publication-icon {
    text-align: center;
    margin-bottom: 20px;
}

.publication-icon i {
    font-size: 64px;
    color: #dc3545;
    opacity: 0.8;
}

.publication-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.publication-category {
    display: inline-block;
    background-color: #f8f9fa;
    color: #1a5490;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
    align-self: flex-start;
}

.publication-title {
    font-family: 'Roboto', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.4;
    min-height: 56px;
}

.publication-date {
    font-size: 13px;
    color: #666;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.publication-date i {
    color: #1a5490;
}

.publication-description {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
}

.publication-size {
    font-size: 12px;
    color: #999;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.publication-size i {
    color: #666;
}

.publication-actions {
    display: flex;
    gap: 10px;
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
}

.btn-download,
.btn-preview {
    flex: 1;
    padding: 10px 15px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 4px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    border: 2px solid;
}

.btn-download {
    background-color: #1a5490;
    border-color: #1a5490;
    color: #fff;
}

.btn-download:hover {
    background-color: #144375;
    border-color: #144375;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(26, 84, 144, 0.3);
}

.btn-preview {
    background-color: transparent;
    border-color: #1a5490;
    color: #1a5490;
}

.btn-preview:hover {
    background-color: #1a5490;
    border-color: #1a5490;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(26, 84, 144, 0.3);
}

.no-publications {
    margin-top: 40px;
}

.no-publications .alert {
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid;
}

.no-publications .alert-info {
    background-color: #d1ecf1;
    border-color: #0c5460;
    color: #0c5460;
}

.no-publications .alert-warning {
    background-color: #fff3cd;
    border-color: #856404;
    color: #856404;
}

.no-publications .alert i {
    margin-right: 10px;
}

/* Responsive pour Publications */
@media (max-width: 768px) {
    .publication-actions {
        flex-direction: column;
    }

    .btn-download,
    .btn-preview {
        width: 100%;
    }

    .publication-title {
        min-height: auto;
    }
}

/* Styles pour Breadcrumb (Fil d'Ariane) - Design Moderne */
.breadcrumb-nav {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 18px 0;
    border-bottom: 1px solid rgba(74, 113, 170, 0.1);
    margin-bottom: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
}

.breadcrumb-nav::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #4a71aa 0%, #2c3e50 100%);
}

.breadcrumb-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 14px;
    font-family: 'Hind', sans-serif;
}

.breadcrumb-item {
    display: inline-flex;
    align-items: center;
    position: relative;
}

.breadcrumb-item a {
    color: #4a71aa;
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    position: relative;
}

.breadcrumb-item a i {
    font-size: 12px;
    opacity: 0.8;
}

.breadcrumb-item a:hover {
    background-color: rgba(74, 113, 170, 0.1);
    color: #2c3e50;
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(74, 113, 170, 0.15);
}

.breadcrumb-item.active {
    color: #2c3e50;
    font-weight: 600;
    padding: 6px 12px;
    background: linear-gradient(135deg, rgba(74, 113, 170, 0.1) 0%, rgba(44, 62, 80, 0.05) 100%);
    border-radius: 6px;
    position: relative;
}

.breadcrumb-item.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 12px;
    right: 12px;
    height: 2px;
    background: linear-gradient(90deg, #4a71aa 0%, #2c3e50 100%);
    border-radius: 2px;
}

.breadcrumb-separator {
    margin: 0 8px;
    color: #cbd5e0;
    font-size: 12px;
    display: inline-flex;
    align-items: center;
    opacity: 0.6;
    transition: all 0.3s ease;
}

.breadcrumb-separator i {
    font-size: 10px;
    color: #4a71aa;
    opacity: 0.5;
}

.breadcrumb-item:hover + .breadcrumb-separator {
    opacity: 1;
    transform: translateX(2px);
}

/* Responsive pour Breadcrumb */
@media (max-width: 768px) {
    .breadcrumb-nav {
        padding: 14px 0;
    }

    .breadcrumb-list {
        font-size: 13px;
    }

    .breadcrumb-item a {
        padding: 5px 10px;
        font-size: 13px;
    }

    .breadcrumb-item.active {
        padding: 5px 10px;
    }

    .breadcrumb-separator {
        margin: 0 6px;
    }

    .breadcrumb-item a i {
        font-size: 11px;
    }
}

