:root {
    /* Color Variables */
    --color-blue: #0036AB;
    --color-orange: #F7A73B;
    --color-blue-2: #0B4779;
    --color-orange-2: #E7901B;
    --color-light-bg: #F8FAFC;
    --color-text-dark: #1E293B;

    /* Font Assignments */
    --font-menu: 'Kantumruy Pro', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-secondary: 'Kumbh Sans', sans-serif;
    --font-arabic: 'Cairo', sans-serif;

    /* Transition Speeds */
    --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: var(--font-body);
    color: var(--color-text-dark);
    background-color: #ffffff;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

/* ==================================================
   RTL / ARABIC GLOBAL TYPOGRAPHY OVERRIDES
   ================================================== */

[dir="rtl"],
[dir="rtl"] body,
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3, [dir="rtl"] h4, [dir="rtl"] h5, [dir="rtl"] h6,
[dir="rtl"] .nav-link-custom,
[dir="rtl"] .section-title,
[dir="rtl"] .project-title,
[dir="rtl"] .project-kicker,
[dir="rtl"] .btn-project-contact,
[dir="rtl"] .footer-title,
[dir="rtl"] .overview-card-title,
[dir="rtl"] .contact-section,
[dir="rtl"] .feature-text {
    font-family: var(--font-arabic), sans-serif !important;
}

/* Directional Icon & SVG Flipping for RTL */
[dir="rtl"] .btn-project-contact svg,
[dir="rtl"] .filiale-link svg,
[dir="rtl"] .bi-arrow-right,
[dir="rtl"] .bi-chevron-right {
    transform: scaleX(-1);
}

/* Swiper Arrow Icon Swap in RTL */


/* ==================================================
   HEADER BASE & NAVIGATION STRUCTURE
   ================================================== */

.site-header {
    position: relative;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1050;
    background: transparent;
    transition: all 0.4s var(--transition-smooth);
}

/* Header Shape Mask Wrapper */
.header-shape-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 105px;
    z-index: 1;
    pointer-events: none;
    filter: drop-shadow(0px 3px 0px var(--color-orange)) drop-shadow(0px 10px 18px rgba(0, 0, 0, 0.25));
    transition: opacity 0.35s var(--transition-smooth), transform 0.35s var(--transition-smooth), visibility 0.35s ease;
}

.header-shape-bg {
    width: 100%;
    height: 200%;
    background-color: #FFFFFF;
    -webkit-mask-image: url('../images/Vector.png');
    mask-image: url('../images/Vector.png');
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
}

/* Main Navigation Bar */
.header-nav-bar {
    position: relative;
    z-index: 2;
    background: transparent !important;
    padding-top: 0px;
    padding-bottom: 0px;
    height: 100px;
    display: flex;
    align-items: flex-start;
    transition: padding 0.4s var(--transition-smooth), background-color 0.4s var(--transition-smooth), box-shadow 0.4s var(--transition-smooth);
}

.header-nav-bar .container-fluid {
    height: 100%;
    display: flex;
    align-items: flex-start;
}

/* Logo Centering inside Curve Notch */
.logo-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 10rem;
    padding-top: 3rem;
    padding-inline-end: 20rem;
    z-index: 10;
}

.header-logo-img {
    height: 200px;
    width: auto;
    object-fit: contain;
    position: relative;
    z-index: 5;
    transition: height 0.4s var(--transition-smooth);
}

@media (max-width: 1921px) {
    .header-shape-bg {
        width: 100%;
        height: 185%;
    }
    .logo-wrapper {
        height: 8rem;
        padding-top: 3rem;
        padding-inline-end: 15rem;
    }
    .header-logo-img {
        height: 175px;
    }
}

@media (max-width: 1601px) {
    .header-shape-bg {
        width: 100%;
        height: 185%;
    }
    .logo-wrapper {
        height: 8rem;
        padding-top: 3rem;
        padding-inline-end: 10rem;
    }
    .header-logo-img {
        height: 160px;
    }
}

@media (max-width: 1440px) {
    .header-shape-bg {
        width: 100%;
        height: 180%;
    }
    .logo-wrapper {
        height: 7rem;
        padding-top: 3rem;
        padding-inline-end: 10rem;
    }
    .header-logo-img {
        height: 150px;
    }
}

@media (max-width: 1366px) {
    .header-shape-bg {
        width: 100%;
        height: 180%;
    }
    .logo-wrapper {
        height: 5rem;
        padding-top: 3rem;
        padding-inline-end: 8rem;
    }
    .header-logo-img {
        height: 130px;
    }
}

@media (max-width: 1280px) {
    .header-shape-bg {
        width: 100%;
        height: 185%;
    }
    .logo-wrapper {
        height: 5rem;
        padding-top: 5rem;
        padding-inline-end: 6rem;
    }
    .header-logo-img {
        height: 130px;
    }
}
@media (max-width: 1164px) {
    
    .header-logo-img {
        height: 100px;
    }
}

.header-nav-bar .navbar-collapse {
    align-self: center;
}

.header-nav-bar .navbar-nav {
    margin-top: 0;
}

.header-nav-bar .lang-switcher {
    margin-top: 0;
}

/* SCROLLED HEADER STATE */
.site-header.scrolled .header-nav-bar {
    background-color: #FFFFFF !important;
    height: auto;
    align-items: center;
    border-bottom: 3px solid var(--color-orange);
    box-shadow: 0px 8px 18px 0px rgba(0, 0, 0, 0.15);
    position: fixed;
    width: 100%;
}

.site-header.scrolled .header-nav-bar .container-fluid {
    align-items: center;
}

.site-header.scrolled .header-shape-wrapper {
    opacity: 0;
    transform: translateY(-10px);
    visibility: hidden;
}

.site-header.scrolled .logo-wrapper {
    height: auto;
    padding-inline-start: 10px;
    padding-top: 0rem;
}

.site-header.scrolled .header-logo-img {
    height: 65px;
}

/* Header Vector Mirror for RTL */
html[dir="rtl"] .header-shape-wrapper {
    transform: scaleX(-1);
}

html[dir="rtl"] .site-header.scrolled .header-shape-wrapper {
    transform: scaleX(-1) translateY(-10px);
    opacity: 0;
}

/* ==================================================
   MENU TYPOGRAPHY & LINK STYLING
   ================================================== */

.nav-link-custom {
    font-family: var(--font-menu);
    font-size: clamp(0.8rem, 1.1vw, 1.6rem);
    font-weight: 600;
    text-transform: uppercase;
    color: var(--color-blue);
    padding: 6px 20px !important;
    position: relative;
    transition: color 0.3s ease;
    letter-spacing: 0.5px;
}

.nav-link-custom:hover,
.nav-link-custom.active {
    color: var(--color-orange) !important;
}

.nav-link-custom.active::after {
    content: '';
    position: absolute;
    bottom: 0px;
    left: 20px;
    right: 20px;
    height: 2px;
    background-color: var(--color-orange);
    border-radius: 2px;
}

/* Language Switcher */
.lang-switcher {
    font-family: var(--font-menu);
    font-weight: 700;
    font-size: clamp(0.8rem, 1.1vw, 1.6rem);
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--color-blue);
}

.lang-btn {
    color: var(--color-blue);
    font-weight: 600;
    text-decoration: none;
    padding: 0 2px;
    transition: color 0.2s ease;
}

.lang-btn:hover,
.lang-btn.active {
    color: var(--color-blue);
    text-decoration: underline;
    text-underline-offset: 5px;
    text-decoration-thickness: 1px;
    font-weight: 600;
}

.lang-divider {
    color: var(--color-blue);
    font-weight: 400;
    opacity: 0.8;
}

/* ==================================================
   HERO SECTION & SWIPER SLIDER
   ================================================== */

.hero-section {
    position: relative;
    width: 100%;
    height: auto;
    padding-top: 0px;
}

.hero-swiper {
    width: 100%;
    height: auto;
}

.hero-swiper .swiper-slide {
    width: 100%;
    height: auto;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-light-bg);
}

.hero-swiper .slide-img {
    width: 100%;
    height: auto;
    display: block;
}

/* Swiper Controls */
.swiper-button-prev,
.swiper-button-next {
    width: 52px;
    height: 52px;
    background-color: var(--color-blue);
    color: #FFFFFF;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease;
}

.swiper-button-prev::after,
.swiper-button-next::after {
    font-size: 20px;
    font-weight: bold;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
    background-color: var(--color-orange);
    border-color: var(--color-orange);
    transform: scale(1.08);
}

.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background-color: rgba(50, 65, 151, 0.7);
    opacity: 1;
}

.swiper-pagination-bullet-active {
    width: 34px;
    border-radius: 8px;
    background-color: var(--color-orange) !important;
}

/* RESPONSIVE MEDIA QUERIES FOR HEADER */
@media (max-width: 991.98px) {
    .header-nav-bar {
        background-color: #FFFFFF !important;
        height: auto;
        padding-top: 8px;
        padding-bottom: 8px;
        align-items: center;
        border-bottom: 3px solid var(--color-orange);
        box-shadow: 0px 8px 18px 0px rgba(0, 0, 0, 0.15);
    }
    .header-nav-bar .container-fluid {
        align-items: center;
    }
    .header-shape-wrapper {
        display: none;
    }
    .logo-wrapper,
    .site-header.scrolled .logo-wrapper {
        height: auto;
        padding-top: 8px;
        padding-bottom: 8px;
        padding-inline-start: 0;
        padding-inline-end: 0;
    }

    .header-logo-img,
    .site-header.scrolled .header-logo-img {
        height: 55px;
    }

    .navbar-collapse {
        background: #FFFFFF;
        padding: 20px;
        border-radius: 12px;
        margin-top: 15px;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    }

    .nav-link-custom.active::after {
        bottom: 0;
    }

    .lang-switcher {
        margin-top: 15px;
        padding-top: 10px;
        border-top: 1px solid rgba(0, 0, 0, 0.1);
    }
}

@media (max-width: 768px) {
    .hero-section {
        min-height: auto;
    }

    .swiper-button-prev,
    .swiper-button-next {
        width: 40px;
        height: 40px;
    }

    .swiper-button-prev::after,
    .swiper-button-next::after {
        font-size: 15px;
    }
}

/* ==================================================
   FEATURES OVERLAP SECTION
   ================================================== */

.features-section {
    position: relative;
    z-index: 20;
    margin-top: -30px;
}

/* Single unified white banner container */
.features-swiper {
    background: #FFFFFF;
    border-radius: 4px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    padding: 15px 0;
}

.features-swiper .swiper-wrapper {
    align-items: center;
}

.features-swiper .swiper-slide {
    height: auto;
    display: flex;
}

/* Item layout with vertical dividers */
.feature-card {
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    padding: 15px 25px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    border-right: 1px solid #E0E0E0; /* Vertical divider line */
    transition: background-color 0.2s ease;
}

/* Remove right border on the last slide */
.features-swiper .swiper-slide:last-child .feature-card {
    border-right: none;
}

/* ==================================================
   RTL / ARABIC FEATURES SECTION FIX
   ================================================== */



/* 2. Set natural RTL card layout (Icon on Right, Text on Left) */
/* ==================================================
   RTL / ARABIC FEATURES SECTION FORCED UPRIGHT FIX
   ================================================== */

/* Force the feature cards upright if flipped by Swiper or global transforms */
[dir="rtl"] .features-section .feature-card {
    direction: rtl !important;
    flex-direction: row !important;
    text-align: right !important;
    border-left: 1px solid #E0E0E0 !important;
    border-right: none !important;
}

/* Fix any vertical flip on icons and text specifically */
[dir="rtl"] .features-section .feature-icon,
[dir="rtl"] .features-section .feature-text {
    transform: scaleY(1) rotate(0deg) !important;
    direction: rtl !important;
    text-align: right !important;
}
[dir="rtl"] .features-swiper .feature-text {
    font-size: 0.85rem !important;
    line-height: 1.35 !important;
    word-break: break-word;
}

/* Ensure Swiper container takes full width cleanly */
.features-swiper {
    width: 100%;
    overflow: hidden;
}

[dir="rtl"] .features-swiper .swiper-slide:last-child .feature-card {
    border-left: none !important;
}

.feature-icon-box {
    width: 55px;
    height: 55px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.feature-text {
    font-family: var(--font-menu);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-blue); /* Dark Blue from design */
    text-transform: uppercase;
    line-height: 1.2;
    letter-spacing: 0.3px;
}

/* Responsive adjustments for mobile/tablet */
@media (max-width: 991.98px) {
    .features-section {
        margin-top: 0;
    }
   .features-section .container-fluid {
       padding: 0 !important;
   }

    .feature-card {
        border-right: none; /* Remove vertical divider on slide view */
        padding: 10px 15px;
    }

    .features-pagination {
        position: relative;
        bottom: 0 !important;
        margin-top: 15px;
    }
}


/* ==================================================
   GROUP OVERVIEW SECTION
   ================================================== */

.group-overview-section {
    background-color: #F1F8FF;
    position: relative;
    z-index: 5;
}

.overview-text {
    font-family: var(--font-body);
    color: var(--color-blue);
    font-size: clamp(1.05rem, 1.2vw, 1.25rem);
    line-height: 1.65;
    font-weight: 400;
}

.overview-top-text {
    text-align: justify;
}

[dir="rtl"] .overview-text,
[dir="rtl"] .overview-top-text {
    direction: rtl !important;
    text-align: right !important;
}

.overview-card {
   display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

.overview-card-title {
    font-family: var(--font-menu);
    font-size: clamp(0.95rem, 1vw, 1.1rem);
    font-weight: 700;
    color: var(--color-blue);
    text-transform: uppercase;
    line-height: 1.3;
    letter-spacing: 0.4px;
    margin-bottom: 16px;
    height: 2.8rem;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.overview-img-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    background-color: var(--color-blue, #0d233a); /* Fond sombre sur lequel l'image s'estompe */
}

.overview-img-wrapper:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.22);
}

.overview-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 14px;
    transition: opacity 0.35s ease, transform 0.35s ease;
}

/* Atténuation / fondue de l'image au survol */
.overview-img-wrapper:hover .overview-img {
    opacity: 0.15;
    transform: scale(1.03); /* Léger effet de zoom (optionnel) */
}
.overview-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    background: rgba(101, 121, 140, 0.05); /* Teinte sombre uniforme */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
    border-radius: 14px;
}

/* Affichage du texte au survol */
.overview-img-wrapper:hover .overview-overlay {
    opacity: 1;
    visibility: visible;
}

/* Style du texte au survol */
.overview-hover-text {
    color: #ffffff;
    font-size: clamp(1rem, 1.5vw, 2rem);
    line-height: 1.6;
    margin: 0;
    text-align: center;
    font-weight: 400;
}

@media (max-width: 767.98px) {
    .overview-top-text {
        text-align: center;
        text-align-last: center;
    }

    .overview-card-title {
        height: auto;
        min-height: 2.4rem;
        margin-bottom: 12px;
    }

   .overview-img-wrapper {
        max-width: 280px;
        margin: 0 auto;
    }
}

/* ==================================================
   NOS FILIALES SECTION
   ================================================== */

.filiales-section {
   background: linear-gradient(to bottom, #FFFFFF 75%, #F0F5FB 25%);
    position: relative;
}

.section-title {
    font-family: var(--font-menu);
    font-size: clamp(1.6rem, 2.2vw, 2.2rem);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.text-orange {
    color: var(--color-orange);
}

.text-blue {
    color: var(--color-blue);
}

.title-underline {
    width: 75px;
    height: 2px;
    background-color: var(--color-orange);
    margin: 0 auto;
    border-radius: 2px;
}

.filiales-swiper {
    padding: 15px 10px 25px 10px;
}

.filiales-swiper .swiper-wrapper {
    align-items: stretch;
}

.filiales-swiper .swiper-slide {
    height: auto;
    display: flex;
}

.filiale-card {
    background: #FFFFFF;
    border-radius: 16px;
    overflow: hidden;
    width: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.filiale-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.14);
}

.filiale-img-box {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.filiale-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.filiale-card:hover .filiale-img {
    transform: scale(1.05);
}

.filiale-content {
    padding: 24px 16px 18px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    flex-grow: 1;
    background-color: #FFFFFF;
}

.filiale-logo-box {
    width: 100%;
    height: 85px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.filiale-logo {
    max-width: 85%;
    max-height: 75px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.filiale-link {
    color: var(--color-blue);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, color 0.3s ease;
    text-decoration: none;
}

.filiale-card:hover .filiale-link {
    transform: translateX(4px);
    color: var(--color-orange);
}

[dir="rtl"] .filiale-card:hover .filiale-link {
    transform: translateX(-4px);
}

.filiales-prev,
.filiales-next {
    color: var(--color-blue);
    width: 40px;
    height: 40px;
    background: #FFFFFF;
    border-radius: 50%;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.filiales-prev::after,
.filiales-next::after {
    font-size: 16px;
    font-weight: bold;
}

.filiales-prev:hover,
.filiales-next:hover {
    background-color: var(--color-blue);
    color: #FFFFFF;
}

@media (max-width: 1199.98px) {
    .filiale-img-box {
        height: auto;
    }
    .filiale-logo-box {
        height: 75px;
    }
    .filiale-logo {
        max-height: 65px;
    }
}

/* ==================================================
   PROJECT CONTACT PARALLAX SECTION
   ================================================== */

.parallax-section {
    position: relative;
    overflow: hidden;
    width: 100%;
    min-height: 420px;
    display: flex;
    align-items: center;
}

.parallax-bg-wrapper {
    position: absolute;
    top: -20%;
    left: 0;
    width: 100%;
    height: 140%;
    z-index: 1;
    will-change: transform;
}

[dir="rtl"] .parallax-bg-wrapper {
    transform: none !important; /* Prevents city labels on the map from flipping backwards */
}

/* Ensure the white overlay gradient flows from right-to-left for text readability */

/* Right-align text content for Arabic RTL */


.parallax-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.parallax-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.72) 42%, rgba(255, 255, 255, 0) 75%);
    pointer-events: none;
}

[dir="rtl"] .parallax-overlay {
    background: linear-gradient(270deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.8) 15%, rgba(255, 255, 255, 0) 75%) !important;
}


.project-contact-content {
    max-width: 480px;
}
[dir="rtl"] .project-contact-content {
    direction: rtl;
    text-align: right;
}


.project-kicker {
    font-family: var(--font-menu);
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--color-blue);
    letter-spacing: 0.5px;
    display: block;
    margin-bottom: 8px;
}

.project-title {
    font-family: var(--font-menu);
    font-size: clamp(1.8rem, 2.5vw, 2.4rem);
    font-weight: 800;
    color: var(--color-orange);
    line-height: 1.2;
    margin-bottom: 18px;
    text-transform: uppercase;
}

.project-description {
    font-family: var(--font-body);
    font-size: 1.05rem;
    color: var(--color-blue);
    line-height: 1.6;
    font-weight: 600;
    margin-bottom: 24px;
}

.btn-project-contact {
    background: linear-gradient(180deg, #f7941d 0%, #e67e00 100%);
    color: #FFFFFF !important;
    font-family: var(--font-menu);
    font-size: 0.95rem;
    font-weight: 700;
    padding: 12px 28px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    box-shadow: 0 6px 18px rgba(230, 126, 0, 0.35);
    transition: all 0.3s ease;
    border: none;
}

.btn-project-contact:hover {
    background: linear-gradient(180deg, #e67e00 0%, #d47000 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(230, 126, 0, 0.45);
}

.project-quote-box {
    max-width: 360px;
}

.project-quote {
    font-family: var(--font-body);
    font-size: clamp(1.2rem, 1.8vw, 1.55rem);
    font-weight: 700;
    font-style: italic;
    color: var(--color-blue);
    line-height: 1.35;
    margin-bottom: 10px;
}

.quote-line {
    width: 60px;
    height: 3px;
    background-color: var(--color-orange);
    border-radius: 2px;
}

@media (max-width: 991.98px) {
    .parallax-overlay {
        background: rgba(255, 255, 255, 0.88);
    }
    [dir="rtl"] .parallax-overlay {
    background: rgba(255, 255, 255, 0.88) !important;
}
    
    .project-contact-content,
    .project-quote-box {
        max-width: 100%;
    }
}

/* ==================================================
   ACTUALITÉS SECTION
   ================================================== */

.actualites-section {
    background-color: #F1F8FF;
    position: relative;
}

.actualitesSwiper {
    padding: 15px 10px 25px 10px;
}

.actualitesSwiper .swiper-wrapper {
    align-items: stretch;
}

.actualitesSwiper .swiper-slide {
    height: auto;
    display: flex;
}

.actualite-card {
    background: #FFFFFF;
    border-radius: 16px;
    overflow: hidden;
    width: 100%;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.actualite-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.14);
}

.actualite-img {
    width: 100%;
    height: 100%;
    min-height: 260px;
    object-fit: cover;
    display: block;
    border-radius: 16px;
    transition: transform 0.4s ease;
}

.actualite-card:hover .actualite-img {
    transform: scale(1.03);
}

.actualites-prev,
.actualites-next {
    color: var(--color-blue);
    width: 40px;
    height: 40px;
    background: #FFFFFF;
    border-radius: 50%;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.actualites-prev::after,
.actualites-next::after {
    font-size: 16px;
    font-weight: bold;
}

.actualites-prev:hover,
.actualites-next:hover {
    background-color: var(--color-blue);
    color: #FFFFFF;
}

/* ==================================================
   FOOTER SECTION (RESPONSIVE BOOTSTRAP GRID)
   ================================================== */

.site-footer {
    background-color: #F1F8FF;
    padding: 4rem 0 2rem 0;
    color: var(--color-blue);
    font-family: var(--font-menu);
    text-transform: uppercase;
}

.site-footer .footer-col {
    padding: 0 1.25rem;
    display: flex;
    flex-direction: column;
}


/* Bordures verticales séparatrices sur Desktop uniquement */
@media (min-width: 992px) {
    .site-footer .footer-col-links,
    .site-footer .footer-col-contact,
    .site-footer .footer-col-social {
        border-inline-start: 1.5px solid var(--color-blue);
    }

    .site-footer .footer-col-info {
        padding-inline-start: 0;
    }

    .site-footer .footer-col-social {
        padding-inline-end: 0;
    }
}

.footer-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--color-blue);
    margin-bottom: 1.25rem;
    letter-spacing: 0.5px;
}

.footer-logo-box {
    margin-bottom: 1.25rem;
}

.footer-logo {
    max-width: 190px;
    height: auto;
}

.footer-legal-info p {
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.55;
    margin-bottom: 0.35rem;
    color: var(--color-blue);
}

.footer-legal-info strong {
    font-weight: 700;
}

.footer-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links-list li {
    margin-bottom: 0.45rem;
}

.footer-links-list a {
    color: var(--color-blue);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.25s ease;
}

.footer-links-list a:hover {
    color: var(--color-orange);
}

.footer-sublinks-list {
    list-style: none;
    padding-inline-start: 1rem;
    margin-top: 0.35rem;
    margin-bottom: 0.35rem;
}

.footer-sublinks-list li {
    margin-bottom: 0.3rem;
}

.footer-sublinks-list a {
    font-size: 0.9rem;
    font-weight: 500;
}

.footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
    font-size: 0.95rem;
    font-weight: 500;
}

.footer-contact-list .footer-icon {
    font-size: 1.15rem;
    color: var(--color-blue);
    min-width: 20px;
    margin-top: 1px;
    display: inline-block;
}

.footer-phone-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.footer-contact-list a {
    color: var(--color-blue);
    text-decoration: none;
    transition: color 0.25s ease;
    font-weight: 500;
    word-break: break-word;
    overflow-wrap: break-word;
}

.footer-contact-list a:hover {
    color: var(--color-orange);
}

.footer-social-icons {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-social-icons a {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid var(--color-blue);
    color: var(--color-blue-2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer-social-icons a i {
    font-size: 1.35rem;
    line-height: 1;
}

.footer-social-icons a:hover {
    background-color: var(--color-blue-2);
    color: #ffffff;
    transform: translateY(-3px);
}

.footer-divider-line {
    width: 100%;
    height: 1.5px;
    background-color: #6C8CD5;
    margin: 2.8rem 0 1.5rem 0;
    opacity: 0.6;
}

.footer-bottom {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.footer-bottom .copyright-text,
.footer-bottom .filiale-text,
.footer-bottom .credits-text {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-blue);
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.gsa-holding-logo {
    height: 22px;
    width: auto;
    object-fit: contain;
    vertical-align: middle;
}

/* ==================================================
   RTL FOOTER ALIGNMENT & LIST SPACING FIX
   ================================================== */

[dir="rtl"] .site-footer .footer-col {
    text-align: right !important;
}

[dir="rtl"] .footer-contact-list {
    padding: 0 !important;
    margin: 0 !important;
}

[dir="rtl"] .footer-contact-list li {
    display: flex !important;
    flex-direction: row !important; /* Icon stays on right in native RTL */
    align-items: flex-start !important;
    justify-content: flex-start !important;
    text-align: right !important;
    gap: 10px !important;
    width: 100% !important;
}

[dir="rtl"] .footer-contact-list .footer-icon {
    margin: 0 !important;
    flex-shrink: 0 !important;
}

[dir="rtl"] .footer-contact-list a {
    text-align: right !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
}

[dir="rtl"] .footer-legal-info p {
    text-align: right !important;
    direction: rtl !important;
}

[dir="rtl"] .footer-legal-info bdi,
[dir="rtl"] .footer-legal-info span[dir="ltr"] {
    display: inline-block !important;
    direction: ltr !important;
    unicode-bidi: isolate !important;
}
/* Adaptations Écrans Mobiles et Tablettes */
@media (max-width: 991.98px) {
    .site-footer {
        padding: 3rem 0 1.5rem 0;
    }

    .site-footer .footer-col {
        padding: 0 0.75rem;
    }

    .footer-divider-line {
        margin: 2rem 0 1.5rem 0;
    }
}

@media (max-width: 575.98px) {
    .site-footer {
        text-align: center;
    }

    .site-footer .footer-col {
        align-items: center;
    }

    .footer-contact-list li {
        justify-content: center;
    }

    .footer-social-icons {
        justify-content: center;
    }
}

/* ==================================================
   FLOATING WHATSAPP BUTTON
   ================================================== */

.whatsapp-float {
    position: fixed;
    bottom: 60px;
    inset-inline-end: 30px;
    width: 72px;
    height: 72px;
    background-color: #25d366;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
    animation: whatsapp-buzz 4s infinite ease-in-out;
}

.whatsapp-float:hover {
    background-color: #20ba5a;
    color: #ffffff;
    animation: none;
    transform: scale(1.1);
}

@keyframes whatsapp-buzz {
    0%, 70%, 100% {
        transform: rotate(0deg) scale(1);
    }
    72%, 76%, 80%, 84%, 88% {
        transform: rotate(-10deg) scale(1.08);
    }
    74%, 78%, 82%, 86%, 90% {
        transform: rotate(10deg) scale(1.08);
    }
    92% {
        transform: rotate(0deg) scale(1);
    }
}

@media (max-width: 575.98px) {
    .whatsapp-float {
        bottom: 20px;
        inset-inline-end: 20px;
        width: 50px;
        height: 50px;
    }
    
    .whatsapp-float svg {
        width: 26px;
        height: 26px;
    }
}

.contact-section {
  font-family: var(--font-body);
  color: var(--color-blue);
}


/* Typography Rules */
.contact-section .section-title,
.contact-section .card-heading {
  font-family: var(--font-menu);
  color: var(--color-orange-2);
  letter-spacing: -0.02em;
}

.contact-section .section-title {
  font-size: 2.25rem;
}

.contact-section .section-subtitle {
  max-width: 580px;
  color: #64748B;
  font-size: 1rem;
}

/* Badge Accent */
.badge-accent {
  background-color: rgba(239, 77, 0, 0.1);
  color: var(--accent-orange);
  font-family: var(--font-menu);
  border-radius: 50px;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
}

/* Form Card */
.contact-card {
  background: #FFFFFF;
  border-radius: 16px;
  border: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: 0 20px 40px -15px rgba(3, 23, 49, 0.07);
}

.contact-section .form-label {
  font-family: var(--font-menu);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-navy);
  margin-bottom: 0.35rem;
}

/* Form Inputs */
.custom-input {
  border: 1.5px solid #E2E8F0;
  border-radius: calc(var(--radius) / 2);
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  font-family: var(--font-body);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background-color: #F8FAFC;
}

.custom-input:focus {
  background-color: #FFFFFF;
  border-color: var(--color-orange);
  box-shadow: 0 0 0 4px rgba(239, 77, 0, 0.12);
  outline: none;
}

/* Brand Button */
.btn-brand {
  background-color: var(--color-orange-2);
  color: #FFFFFF;
  border: none;
  border-radius: 8px;
  font-family: var(--font-menu);
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 10px 20px -5px rgba(239, 77, 0, 0.35);
}

.btn-brand:hover {
  background-color: var(--color-orange);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 14px 24px -6px rgba(230, 90, 0, 0.45);
}

.btn-brand:active {
  transform: translateY(0);
}

/* Map Card & Container */
.map-card {
  border-radius: 16px;
  min-height: 420px;
  box-shadow: 0 20px 40px -15px rgba(3, 23, 49, 0.07);
  border: 1px solid rgba(226, 232, 240, 0.8);
}

.map-iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
  display: block;
}


@media (min-width: 992px) {
  .map-card {
    min-height: 100%;
  }
  .map-iframe {
    position: absolute;
    top: 0;
    left: 0;
  }
}

.feature-text-wrapper {
      height: 100%;
      display: flex;
      flex-direction: column;
      justify-content: center;
    }

    /* Wrapper for image */
    .feature-img-wrapper {
      width: 100%;
      height: auto; /* Default mobile height */
      border-radius: 0.75rem;
      overflow: hidden;
    }

    .feature-img {
      width: 100%;
      height: auto; /* Show full image on mobile */
      display: block;
      border-radius: 0.75rem;
    }

    /* DESKTOP SPECIFIC STYLES (lg breakpoint >= 992px) */
    @media (min-width: 992px) {
      /* Force row columns to equal height */
      .feature-row {
        align-items: stretch;
      }

      /* Make image container fill the full column height matching text */
      .feature-img-wrapper {
        height: 100%;
      }

      /* Cover the exact height without distortion */
      .feature-img {
        height: 100%;
        object-fit: cover;
      }
    }

  /* ==================================================
   GIE SINGLE FEATURE SECTION
   ================================================== */

.gie-feature-section {
    background-color: #ffffff;
    font-family: var(--font-menu);
    text-transform: uppercase;
}

/* Main Left Wrapper */
.feature-text-wrapper {
    display: flex;
    flex-direction: column;
    text-align: left;
}

[dir="rtl"] .feature-text-wrapper {
    text-align: right !important;
}

/* Callout Box Border on Right side */
[dir="rtl"] .feature-intro-box {
    border-inline-start: 4px solid var(--color-blue) !important;
    border-radius: 8px 0 0 8px !important;
    text-align: right !important;
}

/* Principles List RTL Alignment */
[dir="rtl"] .principle-item {
    flex-direction: row !important; /* Icon on the Right, Content on the Left */
    text-align: right !important;
}

/* Smooth leftward hover shift in RTL */
[dir="rtl"] .principle-item:hover {
    transform: translateX(-6px) !important;
}

[dir="rtl"] .principle-content strong {
    display: inline-block;
    margin-left: 4px;
}

/* Badge Subtitle */
.badge-subtitle {
    display: inline-block;
    align-self: flex-start;
    padding: 0.35rem 1rem;
    background-color: #F1F8FF;
    color: var(--color-blue);
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: 50px;
    letter-spacing: 1px;
}

/* Section Title */
.feature-title {
    color: var(--color-blue);
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: 0.5px;
}

/* Intro Callout Box */
.feature-intro-box {
    background-color: #F1F8FF;
    padding: 1.25rem 0.9rem;
    border-inline-start: 4px solid var(--color-blue);
    border-radius: 0 8px 8px 0;
}

.feature-intro-text {
    color: var(--color-blue);
    font-size: 1.05rem;
    line-height: 1.7;
    font-weight: 500;
}

.feature-intro-text strong {
    font-weight: 800;
}

/* Principles Subheading */
.principles-subheading {
    color: var(--color-blue);
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: 0.5px;
}

/* Principles List */
.feature-principles-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.principle-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background-color: #F1F8FF;
    padding: 1rem 1rem;
    border-radius: 8px;
    border: 1px solid rgba(108, 140, 213, 0.15);
    transition: all 0.3s ease;
}

.principle-item:hover {
    background-color: #ffffff;
    border-color: var(--color-blue);
    box-shadow: 0 4px 15px rgba(0, 51, 102, 0.08);
    transform: translateX(6px);
}

.principle-icon {
    width: 38px;
    height: 38px;
    min-width: 38px;
    background-color: var(--color-blue);
    color: #ffffff;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: background-color 0.3s ease;
}

.principle-item:hover .principle-icon {
    background-color: var(--color-orange);
}

.principle-content {
    color: var(--color-blue);
    font-size: 0.95rem;
    line-height: 1.55;
    font-weight: 500;
}

.principle-content strong {
    font-weight: 800;
    color: var(--color-blue);
}

/* Responsive Adjustments */
@media (max-width: 575.98px) {
    .feature-title {
        font-size: 1.5rem;
    }

    .feature-intro-box {
        padding: 1rem;
    }

    .feature-intro-text {
        font-size: 0.95rem;
    }

    .principle-item {
        padding: 0.85rem 1rem;
    }

    .principle-item:hover {
        transform: none;
    }
}
[dir="rtl"] .btn-readmore {
    display: inline-block;
    direction: rtl;
    text-align: right;
}
[dir="rtl"] .subsidiary-card,
[dir="rtl"] .subsidiary-content {
    direction: rtl !important;
    text-align: right !important;
}  
