@import url('https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root {
    --primary-color: #2B3990;
    /* Bleu du logo */
    --primary-dark: #1a237e;
    --secondary-color: #ED1C24;
    /* Rouge du logo */
    --accent-color: #FFD100;
    /* Or du logo */
    --success-color: #06D6A0;

    /* Service Card Colors - ITProtect Style */
    --service-blue: #2B3990;
    --service-red: #ED1C24;
    --service-gold: #FFD100;
    --service-dark: #1e2a5a;

    --text-color: #333333;
    --text-light: #666666;
    --light-bg: #FFFFFF;
    --white: #fff;
    --dark-bg: #004c78;
    --border-color: #eee;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 15px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 50px rgba(0, 0, 0, 0.12);
    --font-heading: 'Rubik', sans-serif;
    --font-body: 'Rubik', sans-serif;
    --primary-light-bg: rgba(43, 57, 144, 0.05);
    --primary-soft-bg: rgba(43, 57, 144, 0.08);
    --primary-deep: #1e2a5a;
    --transition: all 0.3s ease-in-out;
}

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

body {
    font-family: var(--font-body);
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--light-bg);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

/* Text Justification for Content */
.rich-text p,
.about-text p,
.lead-text,
.mission-statement,
.about-secur-content p,
.sbd-intro p,
.about-mission-box p,
.expertise-card p,
.value-card-modern p,
.mission-text p,
.why-text p,
.feature-text p {
    text-align: justify;
}

/* Global List Styling with Icons */
/* Lists with inline icons - style the icon colors consistently with #0ea5e9 (blue) */
.expertise-list li i.fas,
.expertise-list li i.fa-solid,
.approach-benefits li i.fas,
.approach-benefits li i.fa-solid,
.feature-small-list li i.fas,
.feature-small-list li i.fa-solid {
    color: #0ea5e9;
    margin-right: 0.6rem;
    font-size: 1rem;
}

.service-cyber-list li i.fas,
.service-cyber-list li i.fa-solid {
    color: var(--accent-color);
    margin-right: 0.6rem;
    font-size: 0.9rem;
}

.approach-issues li i.fas,
.approach-issues li i.fa-solid {
    color: var(--secondary-color);
    margin-right: 0.6rem;
    font-size: 0.9rem;
}

/* Feature tick list styling */
.features-list .feature-tick i.fas,
.features-list .feature-tick i.fa-solid {
    color: #0ea5e9;
    font-size: 1.1rem;
}

/* Feature small list styling */
.feature-small-list {
    list-style: none;
    padding: 0;
    margin: 15px 0;
}

.feature-small-list li {
    padding: 6px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
}

.feature-small-list li i {
    color: var(--success-color);
    font-size: 0.85rem;
}

/* Styled list - consistent styling across all pages */
.styled-list {
    list-style-type: none;
    margin-left: 0;
    margin-top: 1rem;
    padding: 0;
}

.styled-list li {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    line-height: 1.6;
}

.styled-list li i {
    color: #0ea5e9;
    margin-top: 0.25rem;
    flex-shrink: 0;
    font-size: 1rem;
}

/* Error Pages Styling */
.error-page {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, rgba(43, 57, 144, 0.03) 0%, rgba(237, 28, 36, 0.03) 100%);
}

.error-container {
    text-align: center;
    max-width: 600px;
    padding: 40px;
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
}

.error-icon {
    position: relative;
    display: inline-block;
    margin-bottom: 30px;
}

.error-icon i {
    font-size: 5rem;
    color: var(--primary-color);
    opacity: 0.15;
}

.error-icon .error-code {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    font-family: var(--font-heading);
}

.error-icon.error-500 i,
.error-icon.error-500 .error-code {
    color: var(--secondary-color);
}

.error-icon.error-403 i,
.error-icon.error-403 .error-code {
    color: #f59e0b;
}

.error-page h1 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 700;
}

.error-message {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 30px;
    line-height: 1.7;
}

.error-suggestions {
    text-align: left;
    background: var(--primary-light-bg);
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 30px;
}

.error-suggestions>p {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.error-suggestions .styled-list {
    margin-top: 0;
}

.error-suggestions .styled-list li {
    margin-bottom: 10px;
}

.error-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.error-actions .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.error-actions .btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.error-actions .btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
}

@media (max-width: 576px) {
    .error-icon i {
        font-size: 4rem;
    }

    .error-icon .error-code {
        font-size: 2.5rem;
    }

    .error-page h1 {
        font-size: 1.5rem;
    }

    .error-actions {
        flex-direction: column;
    }

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

/* Lists without inline icons - add icons via CSS */
.info-list li,
.sessions-quick-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.6rem;
}

.info-list li::before {
    content: '\f054';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 4px;
    font-size: 0.65rem;
    color: var(--primary-color);
}

.sessions-quick-list li::before {
    content: '\f073';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 4px;
    font-size: 0.75rem;
    color: var(--accent-color);
}

/* Header - IKA Clean Style */
header {
    background: var(--white);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    align-items: center;
    padding: 1rem 20px;
    max-width: 1400px;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    transition: var(--transition);
    display: flex;
    align-items: center;
    margin-right: 20px;
    flex-shrink: 0;
}

nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.logo:hover {
    transform: scale(1.02);
}

.logo-it {
    color: var(--primary-color);
}

.logo-protect {
    color: var(--secondary-color);
}

.mobile-menu-toggle {
    display: none;
}

/* Navigation - Horizontal Clean */
nav ul {
    display: flex;
    gap: 20px;
    align-items: center;
}

nav ul li {
    position: relative;
}

nav ul li a {
    font-weight: 500;
    color: var(--text-color);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    padding: 10px 0;
    position: relative;
    white-space: nowrap;
}

nav ul li a::after,
.dropdown-toggle::before {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: width 0.3s ease;
}

.dropdown-toggle {
    position: relative;
    padding: 10px 0;
}

nav ul li a:hover::after,
.dropdown-toggle:hover::before {
    width: 100%;
}

nav ul li a:hover,
nav ul li a.active,
nav ul li.active .dropdown-toggle {
    color: var(--secondary-color);
}

nav ul li a.active::after,
nav ul li.active .dropdown-toggle::before {
    width: 100% !important;
}

/* Mega Menu System */
.dropdown {
    position: relative;
}

.dropdown-toggle::after {
    content: '▼';
    font-size: 0.65rem;
    margin-left: 6px;
    transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-toggle::after {
    transform: rotate(180deg);
}

.mega-dropdown {
    position: static !important;
}

.mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100vw;
    max-width: 1000px;
    margin: 20px auto 0;
    background: var(--white);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    transform: translateY(10px);
    z-index: 1000;
    overflow: hidden;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    border-top: 4px solid var(--primary-color);
}

.mega-dropdown:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    margin-top: 10px;
}

.mega-menu-container {
    display: flex;
    min-height: 400px;
}

.mega-menu-list {
    flex: 0 0 40%;
    padding: 30px;
    background: #fcfcfc;
    border-right: 1px solid #eee;
}

.mega-menu-heading {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-light);
    margin-bottom: 20px;
    font-weight: 700;
}

.mega-menu-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 15px;
    border-radius: 8px;
    transition: all 0.2s ease;
    margin-bottom: 5px;
}

.mega-menu-item:hover {
    background: var(--white);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transform: translateX(5px);
    color: var(--primary-color);
}

.item-icon {
    width: 36px;
    height: 36px;
    background: #eee;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: all 0.2s ease;
}

.mega-menu-item:hover .item-icon {
    background: var(--primary-color);
    color: var(--white);
}

.mega-menu-item-title {
    font-weight: 600;
    font-size: 0.95rem;
}

.mega-menu-preview {
    flex: 1;
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    animation: fadeIn 0.3s ease;
}

.preview-placeholder {
    max-width: 400px;
    text-align: center;
}

.preview-icon {
    margin-bottom: 20px;
}

.mega-menu-preview h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    text-align: center;
}

.mega-menu-preview p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 25px;
    font-size: 1rem;
}

.preview-btn {
    display: inline-block;
    padding: 10px 25px;
    background: var(--secondary-color);
    color: var(--white);
    border-radius: 5px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(5px);
    }

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

/* Buttons */
.btn,
.cta-button {
    background: var(--secondary-color);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 500;
    transition: var(--transition);
    display: inline-block;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.btn:hover,
.cta-button:hover {
    background: #c21a1f;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: var(--primary-color);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 4px;
    display: inline-block;
}

.btn-secondary:hover {
    background: var(--primary-dark);
}

.btn-link {
    color: var(--primary-color);
    font-weight: 700;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s;
}

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

/* Hero Section - Cyber Style Enhanced */
.hero {
    background: linear-gradient(135deg, rgba(43, 57, 144, 0.92) 0%, rgba(26, 35, 126, 0.95) 100%),
        url('https://images.unsplash.com/photo-1550751827-4bd374c3f58b?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
    color: var(--white);
    text-align: left;
    padding: 90px 0 120px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    z-index: 1;
}

/* Animated circle decoration */
.hero::after {
    content: '';
    position: absolute;
    top: -150px;
    right: -150px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 209, 0, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
    animation: hero-pulse 6s ease-in-out infinite;
}

@keyframes hero-pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--white);
    max-width: 800px;
}

.hero h1 .hero-highlight {
    color: var(--accent-color);
    font-weight: 800;
    display: inline;
    position: relative;
}

.hero h1 .hero-highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background: rgba(255, 209, 0, 0.3);
    z-index: -1;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    max-width: 650px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    font-weight: 500;
    font-style: italic;
}

/* Hero Buttons */
.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.hero .btn {
    background: var(--accent-color);
    color: var(--primary-color);
    font-weight: 700;
    padding: 15px 35px;
    border-radius: 50px;
}

.hero .btn:hover {
    background: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.hero .btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.5);
    padding: 13px 33px;
    border-radius: 50px;
}

.hero .btn-outline:hover {
    background: var(--white);
    color: var(--primary-color);
    border-color: var(--white);
}

/* Hero Trust Badges */
.hero-trust {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.hero-trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

.hero-trust-item i {
    color: var(--accent-color);
    font-size: 1.2rem;
}

/* Hero floating elements */
.hero-float-badge {
    position: absolute;
    right: 2%;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 30px;
    z-index: 3;
    animation: float 4s ease-in-out infinite;
    display: none;
}

@keyframes float {

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

    50% {
        transform: translateY(-50%) translateX(-10px);
    }
}

@media (min-width: 1200px) {
    .hero-float-badge {
        display: block;
    }
}

.hero-float-badge .badge-icon {
    width: 60px;
    height: 60px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.hero-float-badge .badge-text {
    text-align: center;
    color: var(--white);
}

.hero-float-badge .badge-number {
    font-size: 1.6rem;
    font-weight: 800;
    display: block;
    letter-spacing: 2px;
}

.hero-float-badge .badge-label {
    font-size: 0.85rem;
    opacity: 0.8;
}

/* Sections Separation & Depth */
section {
    padding: 110px 0;
    position: relative;
    border-top: 1px solid rgba(0, 0, 0, 0.04);
}

section:nth-child(even) {
    background-color: var(--primary-light-bg);
    /* Un bleu très léger pour un look premium et cohérent */
}

section:nth-child(odd) {
    background-color: var(--white);
}

/* Subtitle divider for Sections */
section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(0, 0, 0, 0.05), transparent);
}

/* Specific section overrides */
.hero,
.services-ika,
footer,
.partners {
    border-top: none;
}

.hero::after,
.services-ika::after,
footer::after,
.partners::after {
    display: none;
}

section.dark-section {
    background: var(--primary-color);
    color: var(--white);
    border-top: none;
}

section.dark-section h1,
section.dark-section h2,
section.dark-section h3 {
    color: var(--white);
}

/* Brand Blue Section */
.bg-brand-blue {
    background-color: var(--primary-color) !important;
    color: var(--white) !important;
}

.bg-brand-blue h1,
.bg-brand-blue h2,
.bg-brand-blue>.container>h3,
.bg-brand-blue>.container>p {
    color: var(--white) !important;
}

/* Exclure les cartes de valeurs du style blanc */
.bg-brand-blue .value-card-modern h3 {
    color: var(--primary-color) !important;
}

.bg-brand-blue .value-card-modern p {
    color: var(--text-color) !important;
}

.bg-brand-blue h2::after {
    background: var(--accent-color) !important;
}

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

h1,
h2,
h3 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2rem;
    text-align: center;
    position: relative;
    padding-bottom: 20px;
    margin-bottom: 3rem;
    text-transform: uppercase;
    font-weight: 700;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--secondary-color);
}


.sub-title {
    font-size: 1.2rem;
    color: var(--primary-color);
    text-align: left;
    position: relative;
    padding-bottom: 10px;
    margin-top: 2rem;

    text-transform: uppercase;
    font-weight: 700;
}

/* About Preview Section */
.about-preview {
    background: var(--white);
    padding: 100px 0;
}

.about-container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-text {
    flex: 1;
    text-align: left;
}

.about-text h2 {
    text-align: left;
    margin-bottom: 2rem;
}

.about-text h2::after {
    left: 0;
    transform: none;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.about-text .mission-text {
    background: linear-gradient(135deg, rgba(43, 57, 144, 0.05), rgba(237, 28, 36, 0.05));
    padding: 20px 25px;
    border-left: 4px solid var(--primary-color);
    border-radius: 0 10px 10px 0;
    font-size: 1.05rem;
    color: var(--primary-color);
    margin: 1.5rem 0;
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: var(--shadow-xl);
}

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

    .about-text {
        text-align: center;
    }

    .about-text h2 {
        text-align: center;
    }

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

/* IKA Style Services Section */
.services-ika {
    padding: 0;
    overflow: hidden;
    background: #000c1d;
    /* Fallback color */
}

.services-ika-mission {
    background: linear-gradient(rgba(0, 12, 29, 0.85), rgba(0, 12, 29, 0.85)), url('https://images.unsplash.com/photo-1522071820081-009f0129c71c?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
    padding: 100px 0 140px;
    text-align: center;
    color: var(--white);
}

.services-ika-mission h2 {
    color: var(--white);
    font-size: 2.8rem;
    line-height: 1.4;
    max-width: 900px;
    margin: 0 auto;
    font-weight: 400;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.services-ika-mission .highlight {
    background: rgba(255, 255, 255, 0.25);
    padding: 2px 10px;
    font-weight: 700;
    border-radius: 4px;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
}

.services-ika-mission h2::after {
    display: none;
    /* Remove the default h2 underline if it exists */
}

.services-ika-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    width: 100%;
    max-width: 1100px;
    margin: -60px auto 30px;
    position: relative;
    z-index: 10;
}

.service-ika-card {
    display: flex;
    flex-direction: column;
    min-height: 450px;
    transition: var(--transition);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.service-ika-header {
    padding: 50px 20px;
    text-align: center;
    color: var(--white);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.service-ika-icon {
    width: 60px;
    height: 60px;
}

.service-ika-icon svg {
    width: 100%;
    height: 100%;
}

.service-ika-header h3 {
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
    letter-spacing: 1px;
}

.service-ika-body {
    background: #F4F4F4;
    padding: 40px 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
}

.service-ika-body p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 25px;
}

.ika-link {
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--primary-color);
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition);
}

.ika-link .arrow {
    font-size: 1.2rem;
    color: var(--accent-color);
}

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

/* Colors for cards adapted to Logo */
.service-card-color-1 .service-ika-header {
    background-color: var(--primary-color);
}

.service-card-color-2 .service-ika-header {
    background-color: var(--secondary-color);
}

.service-card-color-3 .service-ika-header {
    background-color: var(--accent-color);
}

.service-card-color-4 .service-ika-header {
    background-color: var(--service-dark);
}

.service-card-color-3 .service-ika-header h3 {
    color: var(--primary-color);
}

.service-card-color-3 .service-ika-header svg {
    fill: var(--primary-color);
}

.service-ika-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    z-index: 10;
}

@media (max-width: 992px) {
    .services-ika-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .services-ika-grid {
        grid-template-columns: 1fr;
    }
}

/* Partner Grid - Enhanced */
.partners {
    background: linear-gradient(180deg, rgba(43, 57, 144, 0.02) 0%, rgba(43, 57, 144, 0.06) 100%);
    padding: 60px 0;
    border-bottom: 1px solid rgba(43, 57, 144, 0.1);
    position: relative;
}

.partners::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color));
}

.partner-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2rem;
}

.partner-card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
}

.partner-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.partner-card img {
    max-width: 150px;
    height: auto;
    transition: var(--transition);
}

/* Cards Grid */
.card-grid,
.team-grid,
.news-grid,
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.formations-grid {
    grid-template-columns: repeat(4, 1fr) !important;
}

@media (max-width: 1200px) {
    .formations-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 768px) {
    .formations-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Card Styles */
.card,
.news-card,
.team-card,
.testimonial-card {
    background: var(--white);
    padding: 35px;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.card::before,
.news-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-color);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

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

.card:hover,
.news-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.card h3,
.news-card h2 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.card p,
.news-card p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
    line-height: 1.7;
}

.card-image,
.news-image,
.main-image {
    width: 100%;
    height: 240px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

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

.icon {
    width: 70px;
    height: 70px;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.15));
    transition: var(--transition);
}

.card:hover .icon {
    transform: scale(1.1) rotate(5deg);
}

/* Badges */
.badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.badge-new {
    background: var(--success-color);
    color: var(--white);
    animation: pulse 2s infinite;
}

.badge-published {
    background: var(--accent-color);
    color: var(--white);
}

.badge-created {
    background: #ffd166;
    color: var(--text-color);
}

.badge-closed {
    background: #e76f51;
    color: var(--white);
}

/* Formation Info Styling */
.formation-info {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
    margin-bottom: 2rem;
}

.formation-info p {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.formation-info strong {
    color: var(--primary-color);
    min-width: 120px;
}

/* Solution List */
.solution-item {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    background: var(--white);
    padding: 3.5rem;
    margin-bottom: 3rem;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    align-items: center;
    transition: var(--transition);
}

.solution-item:hover {
    box-shadow: var(--shadow-lg);
    transform: translateX(10px);
}

.solution-content {
    flex: 1;
}

.solution-image {
    flex: 1;
    max-width: 450px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

/* Detail View */
.detail-view {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    margin: 30px 0;
}

.detail-view h1 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

/* Contact Page */
.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
}

.contact-info,
.contact-form {
    flex: 1;
    min-width: 300px;
    background: var(--white);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-family: inherit;
    transition: var(--transition);
    font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

/* Footer */
footer {
    background: var(--primary-color);
    color: #cbd5e0;
    padding: 4rem 0 1rem;
    margin-top: auto;
}

/* Solutions Module Styles */
.solutions-hero {
    background: linear-gradient(rgba(43, 57, 144, 0.95), rgba(30, 42, 90, 0.95)), url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
    padding: 100px 0;
    color: var(--white);
    text-align: center;
    clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
    margin-bottom: 50px;
}

.category-tag-white {
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 20px;
    background: rgba(255, 255, 255, 0.1);
}

.solutions-grid-section {
    padding-bottom: 80px;
}

.solutions-grid-modern {
    display: flex;
    flex-direction: column;
    gap: 60px;
    margin-bottom: 80px;
}

.solution-card-modern {
    display: flex;
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    min-height: 400px;
    transition: var(--transition);
}

.solution-card-modern:nth-child(even) {
    flex-direction: row-reverse;
}

.solution-card-modern:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.solution-card-image {
    flex: 1;
    position: relative;
    overflow: hidden;
    min-height: 300px;
}

.solution-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

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

.solution-card-content {
    flex: 1;
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.solution-card-content h2 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.solution-description {
    color: var(--text-light);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 30px;
}

.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--primary-color);
    color: var(--white);
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid var(--primary-color);
}

.btn-download:hover {
    background: transparent;
    color: var(--primary-color);
    transform: translateY(-2px);
}

.partners-section {
    padding: 60px 0;
    background: #f8f9fa;
    text-align: center;
    border-radius: 20px;
    margin-bottom: 60px;
}

.section-header-center {
    margin-bottom: 40px;
}

.section-header-center h2 {
    color: var(--text-color);
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.divider {
    width: 60px;
    height: 3px;
    background: var(--secondary-color);
    margin: 0 auto;
}

.partners-grid-modern {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 50px;
    align-items: center;
}

.partner-item img {
    height: 50px;
    width: auto;
    transition: var(--transition);
}

.partner-item:hover img {
    transform: scale(1.1);
}

.partner-name {
    font-weight: 700;
    color: var(--text-light);
    font-size: 1.2rem;
}

@media (max-width: 992px) {

    .solution-card-modern,
    .solution-card-modern:nth-child(even) {
        flex-direction: column;
        text-align: center;
    }

    .solution-card-image {
        min-height: 250px;
    }

    .solution-card-content {
        padding: 30px;
        align-items: center;
    }
}

/* Solutions Page - IKA Style */
.page-hero {
    background: linear-gradient(rgba(237, 28, 36, 0.05), rgba(237, 28, 36, 0.05)),
        url('https://images.unsplash.com/photo-1497366216548-37526070297c?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
    padding: 80px 0;
    text-align: center;
    position: relative;
}

.page-hero h1 {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-weight: 700;
    text-transform: uppercase;
}

.breadcrumb-custom {
    font-size: 0.9rem;
    color: var(--text-light);
}

.breadcrumb-custom a {
    color: var(--primary-color);
    font-weight: 600;
}

.breadcrumb-custom span {
    margin: 0 10px;
    color: var(--text-light);
}

/* Solutions Intro Section - IKA Style */
.solutions-intro {
    padding: 80px 0;
    background: var(--white);
    text-align: center;
}

.solutions-intro-content {
    max-width: 900px;
    margin: 0 auto;
}

.section-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(237, 28, 36, 0.1);
    color: var(--secondary-color);
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 25px;
}

.lead-text {
    font-size: 1.8rem;
    color: var(--text-color);
    font-weight: 400;
    line-height: 1.5;
    margin-bottom: 30px;
}

.divider-center {
    width: 60px;
    height: 3px;
    background: var(--secondary-color);
    margin: 0 auto 25px;
}

.solutions-intro-content p {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
}

/* Solutions Grid - IKA Style */
.solutions-grid-ika {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}

.solution-card-ika {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.solution-card-ika:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.solution-ika-header {
    padding: 30px 25px 20px;
    background: var(--white);
}

.solution-ika-header h3 {
    font-size: 1.3rem;
    color: var(--secondary-color);
    font-weight: 700;
    margin: 0;
    letter-spacing: 0.5px;
    line-height: 1.3;
}

.solution-ika-body {
    padding: 0 25px 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.solution-ika-body .solution-description {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 25px;
}

.solution-ika-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    border-radius: 8px;
    margin-top: auto;
}

.solution-ika-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.solution-card-ika:hover .solution-ika-image img {
    transform: scale(1.08);
}

.solution-ika-footer {
    padding: 25px;
    background: var(--white);
    border-top: 1px solid #f0f0f0;
}

.btn-download-ika {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
    text-decoration: none;
}

.btn-download-ika i {
    font-size: 1.3rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.btn-download-ika:hover {
    color: var(--secondary-color);
    gap: 15px;
}

.btn-download-ika:hover i {
    color: var(--secondary-color);
    transform: translateX(3px);
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 80px 20px;
    color: var(--text-light);
}

.empty-state i {
    font-size: 4rem;
    color: var(--border-color);
    margin-bottom: 20px;
}

.empty-state p {
    font-size: 1.1rem;
}

/* Partners Section Styling */
.mb-50 {
    margin-bottom: 50px;
}

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

/* Responsive Design for Solutions Grid */
@media (max-width: 1024px) {
    .solutions-grid-ika {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .solutions-grid-ika {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .page-hero h1 {
        font-size: 2rem;
    }

    .lead-text {
        font-size: 1.4rem;
    }

    .solution-ika-header h3 {
        font-size: 1.1rem;
    }
}


.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 1.5rem;
}

.footer-section ul li::before {
    content: '\f054';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    font-size: 0.7rem;
    color: var(--accent-color);
}

.footer-section ul li a {
    color: #a0aec0;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--secondary-color);
    transform: translateX(5px);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #4a5568;
    padding-top: 2rem;
    font-size: 0.9rem;
}

/* WhatsApp Float - Enhanced with Text */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25d366;
    color: #fff;
    border-radius: 50px;
    padding: 15px 25px;
    box-shadow: var(--shadow-lg);
    z-index: 100;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
}

.whatsapp-float::before {
    content: 'Contactez un expert';
    white-space: nowrap;
}

.whatsapp-float:hover {
    transform: scale(1.08);
    box-shadow: var(--shadow-xl);
    background: #20ba5a;
}

.whatsapp-float img {
    width: 32px;
    height: 32px;
    order: -1;
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 80px;
    }
}

/* Service Detail Page Styles */
.service-hero {
    background: linear-gradient(rgba(43, 57, 144, 0.9), rgba(43, 57, 144, 0.9)), url('https://images.unsplash.com/photo-1550751827-4bd374c3f58b?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
    padding: 100px 0;
    color: var(--white);
    text-align: center;
}

.service-category {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 15px;
    display: block;
}

.service-hero h1 {
    font-size: 3.5rem;
    color: var(--white);
    margin-bottom: 20px;
    font-weight: 800;
}

.service-intro {
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto 30px;
    line-height: 1.6;
    opacity: 0.9;
}

.service-main-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    margin-top: -50px;
    position: relative;
    z-index: 10;
    margin-bottom: 80px;
}

.service-section {
    background: var(--white);
    padding: 50px;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
    margin-bottom: 30px;
}

.section-icon {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-section h2 {
    text-align: left;
    margin-bottom: 25px;
    font-size: 1.8rem;
}

.service-section h2::after {
    left: 0;
    transform: none;
}

.rich-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
}

.service-illustration {
    margin-top: 30px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

/* Sidebar Styles */
.sidebar-box {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    margin-bottom: 30px;
}

.sidebar-box h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 10px;
    display: inline-block;
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-color);
    font-weight: 600;
    transition: var(--transition);
    overflow-wrap: anywhere;
}

.contact-link:hover {
    color: var(--secondary-color);
    transform: translateX(5px);
}

.testimonial-mini {
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}

.testimonial-mini:last-child {
    border-bottom: none;
}

.testimonial-mini p {
    font-style: italic;
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 15px;
}

.client-info strong {
    display: block;
    font-size: 0.9rem;
    color: var(--primary-color);
}

.client-info span {
    font-size: 0.8rem;
    color: var(--text-light);
}

/* Contact Footer Section */
.service-contact-footer {
    background: #f8f9fa;
    padding: 100px 0;
    border-top: 1px solid #eee;
}

.contact-footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.contact-footer-text h2 {
    text-align: left;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.contact-footer-text h2::after {
    left: 0;
    transform: none;
}

.contact-footer-text p {
    font-size: 1.2rem;
    color: var(--text-light);
}

.mini-contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow-xl);
}

.form-row {
    margin-bottom: 20px;
}

.form-row input,
.form-row textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fcfcfc;
    font-family: inherit;
    transition: var(--transition);
}

.form-row input:focus,
.form-row textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(43, 57, 144, 0.1);
    outline: none;
}

.btn-full {
    width: 100%;
    margin-top: 10px;
}

@media (max-width: 992px) {
    .service-main-grid {
        grid-template-columns: 1fr;
    }

    .about-grid-modern {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-text {
        order: 2;
    }

    .about-image-wrapper {
        order: 1;
    }

    .contact-footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .service-hero h1 {
        font-size: 2.5rem;
    }
}

/* Formations Module Styles */
.formations-hero,
.formation-detail-hero {
    background: linear-gradient(rgba(43, 57, 144, 0.9), rgba(43, 57, 144, 0.9)), url('https://images.unsplash.com/photo-1524178232363-1fb2b075b655?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
    padding: 80px 0;
    color: var(--white);
    text-align: center;
}

.category-tag {
    background: var(--accent-color);
    color: var(--primary-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 20px;
}

.formations-list-section {
    padding: 80px 0;
}

.formations-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.formation-card-modern {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.formation-card-modern:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.formation-card-image {
    position: relative;
    height: 200px;
}

.formation-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.formation-badge-status {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 5px 12px;
    border-radius: 5px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
}

.formation-badge-status.published {
    background: #27AE60;
}

.formation-badge-status.created {
    background: #F1C40F;
    color: #333;
}

.formation-badge-status.closed {
    background: #E74C3C;
}

.formation-card-body {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

/* Global Page Hero */
.page-hero {
    background: linear-gradient(135deg, rgba(43, 57, 144, 0.95), rgba(26, 35, 126, 0.98)), url('https://images.unsplash.com/photo-1557804506-669a67965ba0?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
    padding: 100px 0;
    color: var(--white);
    text-align: center;
    margin-bottom: 30px;
    border-bottom: 4px solid var(--accent-color);
}

.page-hero h1 {
    font-size: 3rem;
    color: var(--white);
    margin-bottom: 20px;
    font-weight: 800;
}

.page-hero p {
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.9;
    line-height: 1.6;
}

/* About Page Advanced Styles */
.about-intro {
    padding: 100px 0;
}

.section-badge {
    display: inline-block;
    padding: 5px 15px;
    background: rgba(43, 57, 144, 0.08);
    color: var(--primary-color);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.feature-tick {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-weight: 600;
    color: var(--primary-color);
}

.feature-tick i {
    color: var(--accent-color);
    font-size: 1.2rem;
}

.about-image-stack {
    position: relative;
    padding: 20px;
}

.main-image-bg {
    position: absolute;
    top: 50px;
    right: 0;
    width: 80%;
    height: 90%;
    background: var(--primary-color);
    border-radius: 20px;
    z-index: 1;
}

.about-img-1 {
    position: relative;
    z-index: 2;
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
}

.experience-card {
    position: absolute;
    bottom: 50px;
    left: -30px;
    background: var(--accent-color);
    color: var(--primary-color);
    padding: 25px 35px;
    border-radius: 15px;
    z-index: 3;
    box-shadow: var(--shadow-xl);
    text-align: center;
}

.exp-number {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
}

.exp-text {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
}

/* Mission Section */
.mission-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9ff 0%, #e8ebf7 100%);
}

.mission-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.mission-content h2 {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.mission-statement {
    font-size: 1.25rem;
    color: var(--primary-color);
    line-height: 1.8;
    padding: 25px;
    background: var(--white);
    border-left: 4px solid var(--accent-color);
    border-radius: 0 12px 12px 0;
    margin: 25px 0;
    box-shadow: 0 5px 20px rgba(43, 57, 144, 0.1);
}

.mission-points {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-top: 30px;
}

.mission-point {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.mission-icon {
    width: 55px;
    height: 55px;
    background: var(--primary-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    font-size: 1.4rem;
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(43, 57, 144, 0.3);
}

.mission-text h4 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.mission-text p {
    color: var(--text-color);
    font-size: 0.95rem;
    line-height: 1.6;
}

.mission-visual {
    display: flex;
    justify-content: center;
}

.mission-card-main {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: 50px 40px;
    border-radius: 20px;
    text-align: center;
    color: var(--white);
    box-shadow: 0 20px 50px rgba(43, 57, 144, 0.3);
    position: relative;
    overflow: hidden;
}

.mission-card-main::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 209, 0, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.mission-card-icon {
    width: 80px;
    height: 80px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2rem;
    color: var(--primary-color);
}

.mission-card-main h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--white);
}

.mission-card-main p {
    font-size: 1rem;
    line-height: 1.7;
    opacity: 0.95;
}

@media (max-width: 992px) {
    .mission-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .mission-card-main {
        max-width: 400px;
        margin: 0 auto;
    }
}

/* Stats Section */
.stats-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%) !important;
    padding: 100px 0;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.stat-card {
    padding: 40px 25px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.stat-icon {
    width: 70px;
    height: 70px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
    color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(255, 209, 0, 0.3);
}

.stat-number {
    font-size: 3.2rem;
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--accent-color) !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1;
}

.stat-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--white) !important;
    opacity: 1;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Stats sur fond clair (fallback) */
.bg-brand-soft .stat-number,
section:not(.bg-brand-blue):not([style*="primary"]) .stat-number {
    color: var(--primary-color) !important;
}

.bg-brand-soft .stat-label,
section:not(.bg-brand-blue):not([style*="primary"]) .stat-label {
    color: var(--primary-color) !important;
}

/* Values Modern */
.values-section {
    padding: 100px 0;
}

.values-modern-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.value-card-modern {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border-bottom: 4px solid transparent;
}

.value-card-modern h3 {
    color: var(--primary-color) !important;
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.value-card-modern p {
    color: var(--text-color) !important;
    line-height: 1.7;
}

.value-card-modern:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-bottom-color: var(--accent-color);
}

.v-icon {
    width: 60px;
    height: 60px;
    background: rgba(43, 57, 144, 0.05);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    font-size: 1.8rem;
    margin-bottom: 25px;
    transition: var(--transition);
}

.value-card-modern:hover .v-icon {
    background: var(--primary-color);
    color: var(--white);
}

/* Team Styling Enhanced */
.team-image-wrapper {
    position: relative;
    overflow: hidden;
}

.team-social {
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    background: rgba(43, 57, 144, 0.9);
    padding: 15px;
    display: flex;
    justify-content: center;
    gap: 15px;
    transition: var(--transition);
}

.team-card-modern:hover .team-social {
    bottom: 0;
}

.team-social a {
    color: var(--white);
    font-size: 1.1rem;
    transition: var(--transition);
}

.team-social a:hover {
    color: var(--accent-color);
}

.member-role {
    display: inline-block;
    padding: 2px 10px;
    background: var(--accent-color);
    color: var(--primary-color);
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 4px;
    margin-bottom: 10px;
}

/* News Modern Interface */
.news-container-modern {
    padding: 80px 0;
}

.news-main-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
}

.featured-news-card {
    background: var(--white);
    border-radius: 25px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    margin-bottom: 50px;
    transition: var(--transition);
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.featured-image {
    position: relative;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--secondary-color);
    color: var(--white);
    padding: 6px 15px;
    border-radius: 5px;
    font-weight: 700;
    font-size: 0.8rem;
}

.featured-content {
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-date {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.featured-content h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    line-height: 1.3;
}

.btn-read {
    color: var(--primary-color);
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    transition: gap 0.3s;
}

.btn-read:hover {
    gap: 15px;
    color: var(--secondary-color);
}

.news-item-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.news-item-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.news-item-thumb {
    height: 200px;
}

.news-item-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-item-body {
    padding: 25px;
}

/* Sidebar Widgets */
.sidebar-widget {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    margin-bottom: 30px;
}

.sidebar-widget h3 {
    font-size: 1.25rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.sidebar-widget h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--accent-color);
}

.search-form {
    display: flex;
}

.search-form input {
    flex: 1;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px 0 0 8px;
}

.search-form button {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 0 15px;
    border-radius: 0 8px 8px 0;
    cursor: pointer;
}

.newsletter-widget {
    text-align: center;
    background: var(--primary-color);
    color: var(--white);
}

.newsletter-icon {
    width: 60px;
    height: 60px;
    background: var(--accent-color);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.5rem;
}

.newsletter-widget h3::after {
    left: 50%;
    transform: translateX(-50%);
    background: var(--white);
}

.newsletter-form input {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: none;
    margin-bottom: 15px;
}

/* Post Detail Enhancements */
.post-detail-container {
    padding: 60px 0 100px;
}

.post-content-area {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    padding: 0;
}

.post-featured-image {
    width: 100%;
    height: 450px;
}

.post-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-body-rich {
    padding: 50px;
    font-size: 1.15rem;
    line-height: 1.8;
}

.post-footer {
    padding: 30px 50px;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.share-links {
    display: flex;
    align-items: center;
    gap: 15px;
}

.share-links a {
    width: 35px;
    height: 35px;
    background: #f0f2f5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: var(--transition);
}

.share-links a:hover {
    background: var(--primary-color);
    color: var(--white);
}

.recent-post-mini {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.mini-thumb {
    width: 70px;
    height: 70px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.mini-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mini-content h4 {
    font-size: 0.95rem;
    line-height: 1.4;
    margin-top: 3px;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(rgba(43, 57, 144, 0.95), rgba(43, 57, 144, 0.95)), url('https://images.unsplash.com/photo-1550751827-4bd374c3f58b?auto=format&fit=crop&w=1600&q=80') center/cover;
    text-align: center;
    color: var(--white);
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 35px;
    opacity: 0.9;
}

@media (max-width: 992px) {
    .featured-news-card {
        grid-template-columns: 1fr;
    }

    .news-main-layout {
        grid-template-columns: 1fr;
    }

    .about-image-stack {
        margin-top: 50px;
    }

    .post-featured-image {
        height: 300px;
    }
}



.formation-card-body p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.formation-card-footer {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.formation-price {
    font-weight: 700;
    color: var(--secondary-color);
    font-size: 1.1rem;
}

/* Detail Page specific */
.formation-main-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin: -40px 0 80px;
    position: relative;
    z-index: 20;
}

.formation-main-grid>* {
    min-width: 0;
}

.formation-section {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    margin-bottom: 30px;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.section-header h2 {
    margin: 0;
    font-size: 1.6rem;
    text-align: left;
}

.section-header h2::after {
    display: none;
}

.sidebar-card {
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    padding: 30px;
    margin-bottom: 30px;
}

.price-box {
    text-align: center;
    padding-bottom: 25px;
    border-bottom: 1px solid #eee;
    margin-bottom: 25px;
}

.price-label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 5px;
}

.price-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--secondary-color);
}

.registration-form-box h3 {
    font-size: 1.25rem;
    margin-bottom: 20px;
    color: var(--primary-color);
    text-align: center;
}

.form-group {
    margin-bottom: 15px;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fcfcfc;
    font-family: inherit;
    font-size: 0.95rem;
    transition: var(--transition);
}

.form-group input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(43, 57, 144, 0.1);
    outline: none;
}

.form-help {
    font-size: 0.8rem;
    color: var(--text-light);
    margin: 10px 0 20px;
    text-align: center;
}

.already-registered {
    text-align: center;
    padding: 20px;
}

.already-registered p {
    margin-top: 10px;
    font-weight: 600;
    color: var(--success-color);
}

.login-prompt {
    text-align: center;
    padding: 15px;
}

.info-list {
    list-style: none;
    padding: 0;
}

.info-list li {
    padding: 10px 0;
    border-bottom: 1px solid #f9f9f9;
}

/* Responsive */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        gap: 1rem;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        width: 100%;
    }

    .hero {
        padding: 100px 20px 80px;
        text-align: center;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-trust {
        justify-content: center;
    }

    .hero-trust-item span {
        display: none;
    }

    @media (min-width: 480px) {
        .hero-trust-item span {
            display: inline;
        }
    }

    h2 {
        font-size: 2rem;
    }

    .services-grid-colored {
        grid-template-columns: 1fr;
    }

    .solution-item {
        flex-direction: column;
        padding: 2rem;
    }

    .solution-image {
        max-width: 100%;
    }

    .detail-view {
        padding: 25px;
    }

    /* Mobile Menu Navigation */
    .mobile-menu-toggle {
        display: flex;
        flex-direction: column;
        gap: 5px;
        cursor: pointer;
        z-index: 1001;
    }

    .mobile-menu-toggle span {
        display: block;
        width: 30px;
        height: 3px;
        background: var(--primary-color);
        border-radius: 3px;
        transition: 0.3s;
    }

    #nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: var(--white);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
        padding: 100px 30px;
        transition: 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
        z-index: 1000;
        overflow-y: auto;
    }

    #nav-menu.active {
        right: 0;
    }

    nav ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    nav ul li {
        width: 100%;
    }

    nav ul li a {
        font-size: 1.1rem;
        display: block;
        padding: 10px 0;
    }

    /* Mega Menu on Mobile */
    .mega-menu {
        position: static;
        width: 100%;
        max-width: none;
        box-shadow: none;
        border-top: none;
        opacity: 1;
        visibility: visible;
        display: none;
        transform: none;
        margin-top: 10px;
        background: #f9f9f9;
        border-radius: 8px;
    }

    .dropdown.active .mega-menu {
        display: block;
    }

    .mega-menu-container {
        flex-direction: column;
        min-height: auto;
    }

    .mega-menu-list {
        flex: 0 0 100%;
        border-right: none;
        padding: 15px;
    }

    .mega-menu-preview {
        display: none;
    }

    .mega-menu-item {
        padding: 10px;
    }

    /* Hamburger Animation */
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px);
    }
}

/* Animations */
@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

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

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

/* ============================================
   Section About - Style Secur
   ============================================ */
.about-secur {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(43, 57, 144, 0.03) 0%, rgba(43, 57, 144, 0.08) 100%);
    overflow: hidden;
    position: relative;
}

.about-secur::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1550751827-4bd374c3f58b?auto=format&fit=crop&w=800&q=80') center/cover no-repeat;
    opacity: 0.05;
    mask-image: linear-gradient(to left, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
    -webkit-mask-image: linear-gradient(to left, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
}

.about-secur-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

/* Images Stack */
.about-secur-images {
    position: relative;
    min-height: 500px;
}

.about-img-main {
    position: relative;
    z-index: 2;
    width: 85%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(43, 57, 144, 0.2);
}

.about-img-main img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.about-img-secondary {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 55%;
    z-index: 3;
    border-radius: 20px;
    overflow: hidden;
    border: 5px solid var(--white);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.about-img-secondary img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.about-experience-badge {
    position: absolute;
    top: 50%;
    left: -30px;
    transform: translateY(-50%);
    background: var(--primary-color);
    color: var(--white);
    padding: 25px 30px;
    border-radius: 15px;
    z-index: 4;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 15px 40px rgba(43, 57, 144, 0.3);
}

.about-experience-badge .exp-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.about-experience-badge .exp-years {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
}

.about-experience-badge .exp-label {
    font-size: 0.85rem;
    opacity: 0.9;
}

.about-shape-1 {
    position: absolute;
    top: -20px;
    right: 20%;
    width: 100px;
    height: 100px;
    background: var(--primary-color);
    border-radius: 50%;
    opacity: 0.15;
    z-index: 1;
}

.about-shape-2 {
    position: absolute;
    bottom: 20%;
    left: -40px;
    width: 80px;
    height: 80px;
    border: 4px solid var(--primary-color);
    border-radius: 50%;
    opacity: 0.3;
    z-index: 1;
}

/* Content */
.about-secur-content {
    padding-left: 20px;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(43, 57, 144, 0.08);
    color: var(--primary-color);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.about-secur-content h2 {
    font-size: 2.5rem;
    line-height: 1.3;
    color: var(--text-color);
    margin-bottom: 25px;
    text-align: left;
}

.about-secur-content h2::after {
    display: none;
}

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

.about-secur-content .lead {
    font-size: 1.15rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 25px;
}

.about-mission-box {
    background: linear-gradient(135deg, rgba(43, 57, 144, 0.05), rgba(237, 28, 36, 0.03));
    padding: 25px 30px;
    border-left: 4px solid var(--primary-color);
    border-radius: 0 15px 15px 0;
    margin-bottom: 30px;
    position: relative;
}

.about-mission-box i {
    position: absolute;
    top: 15px;
    left: 15px;
    font-size: 1.5rem;
    color: var(--primary-color);
    opacity: 0.3;
}

.about-mission-box p {
    font-style: italic;
    color: var(--primary-color);
    font-weight: 500;
    margin: 0;
    padding-left: 30px;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.about-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.about-feature-item .feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.about-feature-item .feature-text h4 {
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 5px;
}

.about-feature-item .feature-text p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
}

.btn-secur {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--primary-color);
    color: var(--white);
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-secur:hover {
    background: var(--secondary-color);
    transform: translateX(5px);
    box-shadow: 0 10px 30px rgba(237, 28, 36, 0.3);
}

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

.btn-secur:hover i {
    transform: translateX(5px);
}

/* Responsive */
@media (max-width: 992px) {
    .about-secur-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .about-secur-images {
        min-height: 400px;
    }

    .about-secur-content {
        padding-left: 0;
        text-align: center;
    }

    .about-secur-content h2 {
        text-align: center;
        font-size: 2rem;
    }

    .about-features {
        align-items: center;
    }

    .about-experience-badge {
        left: 50%;
        transform: translate(-50%, -50%);
    }
}

/* ============================================
   Section Services - Style CyberGuard (Bleu)
   ============================================ */
.services-cyberguard {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(43, 57, 144, 0.95) 0%, rgba(26, 35, 126, 0.98) 100%),
        url('https://images.unsplash.com/photo-1563986768609-322da13575f3?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat fixed;
    position: relative;
    overflow: hidden;
}

.services-cyberguard::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 1;
}

.services-cyberguard::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 209, 0, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse-glow 4s ease-in-out infinite;
}

@keyframes pulse-glow {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.section-header-cyber {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.section-tag-light {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    color: var(--accent-color);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.section-header-cyber h2 {
    font-size: 2.8rem;
    color: var(--white);
    margin-bottom: 20px;
}

.section-header-cyber h2::after {
    display: none;
}

.text-gradient-light {
    background: linear-gradient(135deg, var(--accent-color), #fff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header-cyber p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 600px;
    margin: 0 auto;
}

/* Services Grid */
.services-cyber-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    position: relative;
    z-index: 2;
}

.service-cyber-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 40px 30px;
    position: relative;
    transition: all 0.4s ease;
    overflow: hidden;
}

.service-cyber-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), var(--secondary-color));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.service-cyber-card:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

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

.service-cyber-number {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 3rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.1);
    line-height: 1;
    transition: all 0.3s ease;
}

.service-cyber-card:hover .service-cyber-number {
    color: rgba(43, 57, 144, 0.1);
}

.service-cyber-icon {
    width: 70px;
    height: 70px;
    background: var(--accent-color);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    font-size: 1.8rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(255, 209, 0, 0.3);
}

.service-cyber-card:hover .service-cyber-icon {
    background: var(--primary-color);
    color: var(--white);
    transform: rotateY(180deg);
}

.service-cyber-card h3 {
    font-size: 1.3rem;
    color: var(--white);
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.service-cyber-card:hover h3 {
    color: var(--primary-color);
}

.service-cyber-card>p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.service-cyber-card:hover>p {
    color: var(--text-light);
}

.service-cyber-list {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
}

.service-cyber-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.service-cyber-card:hover .service-cyber-list li {
    color: var(--text-color);
}

.service-cyber-list li i {
    color: var(--accent-color);
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.service-cyber-card:hover .service-cyber-list li i {
    color: var(--success-color);
}

.service-cyber-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-color);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.service-cyber-card:hover .service-cyber-link {
    color: var(--primary-color);
}

.service-cyber-link:hover {
    gap: 15px;
}

/* Responsive */
@media (max-width: 1200px) {
    .services-cyber-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .services-cyber-grid {
        grid-template-columns: 1fr;
    }

    .section-header-cyber h2 {
        font-size: 2rem;
    }
}

/* ============================================
   Section Why Choose Us (Bleu)
   ============================================ */
.why-choose-us {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(43, 57, 144, 0.05) 0%, rgba(43, 57, 144, 0.12) 100%);
    position: relative;
    overflow: hidden;
}

.why-choose-us::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1510511459019-5dda7724fd87?auto=format&fit=crop&w=800&q=80') center/cover no-repeat;
    opacity: 0.04;
    mask-image: linear-gradient(to right, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
    -webkit-mask-image: linear-gradient(to right, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
}

.why-choose-us::after {
    content: '';
    position: absolute;
    bottom: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(43, 57, 144, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.why-choose-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.why-choose-content {
    padding-right: 30px;
}

.why-choose-content h2 {
    font-size: 2.5rem;
    line-height: 1.3;
    color: var(--text-color);
    margin-bottom: 20px;
    text-align: left;
}

.why-choose-content h2::after {
    display: none;
}

.why-choose-content>p {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 0;
}

.why-choose-visual {
    display: flex;
    align-items: center;
}

.why-choose-items {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.why-item {
    display: flex;
    gap: 15px;
    padding: 20px;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.why-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(43, 57, 144, 0.1);
}

.why-icon {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.3rem;
    flex-shrink: 0;
}

.why-item:hover .why-icon {
    background: linear-gradient(135deg, var(--secondary-color), #ff4757);
}

.why-text h4 {
    font-size: 1rem;
    color: var(--text-color);
    margin-bottom: 5px;
}

.why-text p {
    font-size: 0.85rem;
    color: var(--text-light);
    margin: 0;
    line-height: 1.5;
}

/* Stats Grid */
.why-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.why-stat-card {
    background: linear-gradient(135deg, #2B3990 0%, #1a237e 100%) !important;
    padding: 35px 25px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(43, 57, 144, 0.25);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.why-stat-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.why-stat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 60px rgba(43, 57, 144, 0.35);
}

.why-stat-card .stat-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 1.5rem;
    color: var(--accent-color);
    transition: all 0.3s ease;
}

.why-stat-card:hover .stat-icon {
    background: var(--accent-color);
    color: var(--primary-color);
    transform: scale(1.1);
}

/* Hero H1 Style Change */
.hero h1 {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
    color: #ffffff;
    max-width: 800px;
    font-style: italic;
    /* Style d'écriture différent */
    letter-spacing: 1px;
}

/* Higher specificity to override global generic rules */
.why-choose-us .why-stats-grid .why-stat-card .stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #ffffff !important;
    line-height: 1;
    margin-bottom: 5px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.why-choose-us .why-stats-grid .why-stat-card .stat-label {
    font-size: 0.9rem;
    color: #ffffff !important;
    font-weight: 500;
    opacity: 0.9;
}

/* Responsive */
@media (max-width: 992px) {
    .why-choose-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .why-choose-content {
        padding-right: 0;
        text-align: center;
    }

    .why-choose-content h2 {
        text-align: center;
    }

    .why-choose-items {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .why-choose-items {
        grid-template-columns: 1fr;
    }

    .why-stats-grid {
        grid-template-columns: 1fr;
    }

    .why-choose-content h2 {
        font-size: 1.8rem;
    }
}

/* ============================================
   Section Testimonials - Cyber Style
   ============================================ */
.testimonials-cyber {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(43, 57, 144, 0.92) 0%, rgba(26, 35, 126, 0.95) 100%),
        url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat fixed;
    position: relative;
    overflow: hidden;
}

.testimonials-cyber::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.03' fill-rule='evenodd'/%3E%3C/svg%3E");
}

.section-header-cyber-light {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    z-index: 2;
}

.section-header-cyber-light h2 {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 0;
}

.section-header-cyber-light h2::after {
    display: none;
}

.testimonial-cyber-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 2;
}

.testimonial-cyber-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 40px;
    position: relative;
    transition: all 0.4s ease;
}

.testimonial-cyber-card:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.testimonial-quote-icon {
    width: 50px;
    height: 50px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.2rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.testimonial-cyber-card:hover .testimonial-quote-icon {
    background: var(--primary-color);
    color: var(--white);
}

.testimonial-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    font-style: italic;
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.testimonial-cyber-card:hover .testimonial-text {
    color: var(--text-color);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
}

.testimonial-cyber-card:hover .testimonial-author {
    border-top-color: rgba(43, 57, 144, 0.15);
}

.author-avatar {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.3rem;
    overflow: hidden;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    font-size: 1.1rem;
    color: var(--white);
    margin-bottom: 3px;
    transition: all 0.3s ease;
}

.testimonial-cyber-card:hover .author-info h4 {
    color: var(--primary-color);
}

.author-info span {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

.testimonial-cyber-card:hover .author-info span {
    color: var(--text-light);
}

@media (max-width: 768px) {
    .testimonial-cyber-grid {
        grid-template-columns: 1fr;
    }

    .section-header-cyber-light h2 {
        font-size: 1.8rem;
    }
}

/* ============================================
   Homepage Split Layout - 65% Main + 35% Sidebar
   ============================================ */
.homepage-split-layout {
    display: flex;
    min-height: 100vh;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Colonne Principale - 65% */
.homepage-main-column {
    flex: 1;
    min-width: 0;
    transition: all 0.4s ease;
}

/* Quand sidebar masquée, main prend 100% */
.homepage-split-layout.sidebar-hidden .homepage-main-column {
    flex: 0 0 100%;
}

/* Sidebar Formations - 35% */
.homepage-sidebar-formations {
    flex: 0 0 380px;
    max-width: 380px;
    background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
    border-left: 1px solid rgba(43, 57, 144, 0.1);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    overflow: hidden;
}

/* Sidebar masquée */
.homepage-split-layout.sidebar-hidden .homepage-sidebar-formations {
    flex: 0 0 0;
    max-width: 0;
    opacity: 0;
    border: none;
}

/* Wrapper Sticky */
.sidebar-formations-sticky {
    position: sticky;
    top: 80px;
    padding: 25px;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
}

/* Header Sidebar */
.sidebar-formations-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 3px solid var(--primary-color);
}

.sidebar-formations-header h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sidebar-formations-header h3 i {
    color: var(--secondary-color);
    font-size: 1.3rem;
}

.sidebar-close-btn {
    width: 35px;
    height: 35px;
    border: none;
    background: rgba(237, 28, 36, 0.1);
    color: var(--secondary-color);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.sidebar-close-btn:hover {
    background: var(--secondary-color);
    color: var(--white);
    transform: rotate(90deg);
}

/* Liste des Formations */
.sidebar-formations-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

/* Item Formation */
.sidebar-formation-item {
    display: flex;
    gap: 15px;
    padding: 15px;
    background: var(--white);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.sidebar-formation-item:hover {
    transform: translateX(-5px);
    box-shadow: 0 8px 25px rgba(43, 57, 144, 0.12);
    border-color: var(--primary-color);
}

/* Image Formation */
.sidebar-formation-img {
    flex: 0 0 90px;
    height: 90px;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

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

.sidebar-formation-item:hover .sidebar-formation-img img {
    transform: scale(1.1);
}

.sidebar-formation-badge {
    position: absolute;
    top: 5px;
    left: 5px;
    background: var(--success-color);
    color: var(--white);
    padding: 3px 8px;
    border-radius: 20px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
}

/* Info Formation */
.sidebar-formation-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.sidebar-formation-info h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 8px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sidebar-formation-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.sidebar-date {
    font-size: 0.75rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 4px;
}

.sidebar-date i {
    color: var(--primary-color);
    font-size: 0.7rem;
}

.sidebar-price {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--secondary-color);
    background: rgba(237, 28, 36, 0.08);
    padding: 3px 10px;
    border-radius: 20px;
}

/* Bouton Voir Tout */
.sidebar-view-all-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px 20px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.sidebar-view-all-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(237, 28, 36, 0.3);
}

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

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

/* Bouton Toggle Formations (visible quand masqué) */
.formations-toggle-btn {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background: var(--secondary-color);
    color: var(--white);
    border: none;
    padding: 15px 20px;
    border-radius: 10px 0 0 10px;
    cursor: pointer;
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    border: solid 1px red !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: -5px 0 20px rgba(43, 57, 144, 0.2);
    z-index: 100;
    transition: all 0.3s ease;
}

.formations-toggle-btn i {
    font-size: 1.5rem;
}

.formations-toggle-btn:hover {
    background: var(--secondary-color);
    padding-right: 25px;
}

/* Afficher le bouton quand sidebar masquée */
.homepage-split-layout.sidebar-hidden~.formations-toggle-btn {
    display: flex;
}

/* Responsive */
@media (max-width: 1200px) {
    .homepage-sidebar-formations {
        flex: 0 0 320px;
        max-width: 320px;
    }
}

/* Formations mobile section : cachée par défaut (desktop) */
.formations-mobile-section {
    display: none;
}

@media (max-width: 992px) {
    .homepage-split-layout {
        flex-direction: column;
    }

    /* Annuler order (la sidebar est maintenant mobile-only dans le HTML) */
    .homepage-main-column {
        order: 0;
    }

    /* Cacher la sidebar desktop sur mobile */
    .homepage-sidebar-desktop {
        display: none !important;
    }

    /* Afficher le bloc formations mobile-only */
    .formations-mobile-section {
        display: block;
        background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
        padding: 40px 0;
        border-bottom: 1px solid rgba(43, 57, 144, 0.1);
    }

    .formations-mobile-header {
        margin-bottom: 25px;
    }

    .formations-mobile-header h2 {
        font-size: 1.8rem;
        margin-top: 8px;
    }

    .formations-mobile-list {
        display: flex;
        flex-direction: column;
        gap: 15px;
        margin-bottom: 20px;
    }

    .formations-toggle-btn,
    .sidebar-close-btn {
        display: none !important;
    }

    .homepage-split-layout.sidebar-hidden .homepage-sidebar-formations {
        flex: none;
        max-width: 100%;
        opacity: 1;
    }
}

@media (max-width: 576px) {
    .sidebar-formations-sticky {
        padding: 20px 15px;
    }
}

/* ===================================
   PAGE LOADER
   =================================== */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.loaded {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
}

.loader-logo {
    width: 120px;
    height: auto;
    margin-bottom: 30px;
    animation: loader-pulse 2s ease-in-out infinite;
}

.loader-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.2);
    border-top-color: var(--accent-color);
    border-radius: 50%;
    animation: loader-spin 1s linear infinite;
    margin: 0 auto 20px;
}

.loader-text {
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    opacity: 0.8;
}

@keyframes loader-spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes loader-pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
}

/* ===================================
   ANIMATED PARTICLES - HERO
   =================================== */
.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: rgba(255, 209, 0, 0.6);
    border-radius: 50%;
    animation: float-particle 15s infinite;
}

.particle:nth-child(1) {
    left: 10%;
    animation-delay: 0s;
    animation-duration: 12s;
}

.particle:nth-child(2) {
    left: 20%;
    animation-delay: 2s;
    animation-duration: 14s;
}

.particle:nth-child(3) {
    left: 30%;
    animation-delay: 4s;
    animation-duration: 10s;
}

.particle:nth-child(4) {
    left: 40%;
    animation-delay: 1s;
    animation-duration: 16s;
}

.particle:nth-child(5) {
    left: 50%;
    animation-delay: 3s;
    animation-duration: 11s;
}

.particle:nth-child(6) {
    left: 60%;
    animation-delay: 5s;
    animation-duration: 13s;
}

.particle:nth-child(7) {
    left: 70%;
    animation-delay: 2.5s;
    animation-duration: 15s;
}

.particle:nth-child(8) {
    left: 80%;
    animation-delay: 0.5s;
    animation-duration: 12s;
}

.particle:nth-child(9) {
    left: 90%;
    animation-delay: 4.5s;
    animation-duration: 14s;
}

.particle:nth-child(10) {
    left: 15%;
    animation-delay: 3.5s;
    animation-duration: 11s;
}

.particle:nth-child(odd) {
    background: rgba(255, 255, 255, 0.4);
    width: 4px;
    height: 4px;
}

.particle:nth-child(3n) {
    background: rgba(237, 28, 36, 0.5);
    width: 8px;
    height: 8px;
}

@keyframes float-particle {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        transform: translateY(-100vh) rotate(720deg);
        opacity: 0;
    }
}

/* Cyber lines animation */
.cyber-line {
    position: absolute;
    width: 1px;
    height: 100px;
    background: linear-gradient(to bottom, transparent, rgba(255, 209, 0, 0.5), transparent);
    animation: cyber-scan 8s linear infinite;
}

.cyber-line:nth-child(11) {
    left: 5%;
    animation-delay: 0s;
}

.cyber-line:nth-child(12) {
    left: 25%;
    animation-delay: 2s;
}

.cyber-line:nth-child(13) {
    left: 45%;
    animation-delay: 4s;
}

.cyber-line:nth-child(14) {
    left: 65%;
    animation-delay: 6s;
}

.cyber-line:nth-child(15) {
    left: 85%;
    animation-delay: 1s;
}

@keyframes cyber-scan {
    0% {
        transform: translateY(-100px);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        transform: translateY(calc(100vh + 100px));
        opacity: 0;
    }
}

/* ===================================
   NEWS SECTION - HOMEPAGE
   =================================== */
.news-home-section {
    padding: 100px 0;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.news-home-header {
    text-align: center;
    margin-bottom: 60px;
}

.news-home-header .section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(43, 57, 144, 0.08);
    color: var(--primary-color);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.news-home-header h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.news-home-header p {
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1rem;
}

.news-home-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.news-home-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
}

.news-home-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(43, 57, 144, 0.15);
}

.news-home-card-img {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.news-home-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-home-card:hover .news-home-card-img img {
    transform: scale(1.1);
}

.news-home-card-date {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: var(--primary-color);
    color: var(--white);
    padding: 8px 15px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.news-home-card-body {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-home-card-body h3 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 12px;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.news-home-card:hover .news-home-card-body h3 {
    color: var(--secondary-color);
}

.news-home-card-body p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-home-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: 15px;
    transition: all 0.3s ease;
}

.news-home-card-link i {
    transition: transform 0.3s ease;
}

.news-home-card:hover .news-home-card-link {
    color: var(--secondary-color);
}

.news-home-card:hover .news-home-card-link i {
    transform: translateX(5px);
}

.news-home-footer {
    text-align: center;
    margin-top: 50px;
}

.news-home-footer .btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 35px;
    border-radius: 50px;
}

@media (max-width: 992px) {
    .news-home-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .news-home-grid {
        grid-template-columns: 1fr;
    }

    .news-home-header h2 {
        font-size: 2rem;
    }
}

/* ===================================
   CTA SECTION - BEFORE FOOTER
   =================================== */
.cta-home-section {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    overflow: hidden;
}

.cta-home-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.03' fill-rule='evenodd'/%3E%3C/svg%3E");
    z-index: 1;
}

/* Decorative shapes */
.cta-home-section::after {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 209, 0, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
}

.cta-home-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.cta-home-text {
    flex: 1;
    max-width: 650px;
}

.cta-home-text h2 {
    font-size: 2.8rem;
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.3;
}

.cta-home-text h2 span {
    color: var(--accent-color);
}

.cta-home-text p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
    margin-bottom: 30px;
}

.cta-features {
    display: flex;
    gap: 30px;
    margin-bottom: 35px;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    font-weight: 500;
}

.cta-feature i {
    width: 24px;
    height: 24px;
    background: var(--accent-color);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
}

.cta-home-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.cta-home-buttons .btn {
    background: var(--accent-color);
    color: var(--primary-color);
    padding: 16px 35px;
    border-radius: 50px;
    font-weight: 700;
}

.cta-home-buttons .btn:hover {
    background: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.cta-home-buttons .btn-outline-light {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.4);
    color: var(--white);
    padding: 14px 33px;
    border-radius: 50px;
}

.cta-home-buttons .btn-outline-light:hover {
    background: var(--white);
    color: var(--primary-color);
    border-color: var(--white);
}

.cta-home-visual {
    flex: 0 0 350px;
    position: relative;
}

.cta-stats-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.cta-stat-item {
    text-align: center;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-stat-item:last-child {
    border-bottom: none;
}

.cta-stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent-color);
    line-height: 1;
    margin-bottom: 5px;
}

.cta-stat-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    font-weight: 500;
}

/* Floating decorative element */
.cta-floating-icon {
    position: absolute;
    bottom: -30px;
    left: -30px;
    width: 80px;
    height: 80px;
    background: var(--accent-color);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary-color);
    box-shadow: 0 15px 40px rgba(255, 209, 0, 0.4);
    animation: cta-float 3s ease-in-out infinite;
}

@keyframes cta-float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

@media (max-width: 992px) {
    .cta-home-content {
        flex-direction: column;
        text-align: center;
    }

    .cta-home-text {
        max-width: 100%;
    }

    .cta-features {
        justify-content: center;
        flex-wrap: wrap;
    }

    .cta-home-buttons {
        justify-content: center;
    }

    .cta-home-visual {
        flex: none;
        width: 100%;
        max-width: 400px;
    }
}

@media (max-width: 576px) {
    .cta-home-text h2 {
        font-size: 2rem;
    }

    .cta-features {
        flex-direction: column;
        gap: 15px;
    }

    .cta-home-buttons {
        flex-direction: column;
    }

    .cta-home-buttons .btn,
    .cta-home-buttons .btn-outline-light {
        width: 100%;
        text-align: center;
    }
}

/* ==============================================
   SESSIONS & INSCRIPTION STYLES
   ============================================== */

/* Sessions Table */
.sessions-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-top: 20px;
}

.sessions-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.sessions-table th,
.sessions-table td {
    padding: 15px 20px;
    text-align: left;
    border-bottom: 1px solid #eee;
    white-space: nowrap;
}

.sessions-table th {
    background: var(--primary-color);
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sessions-table tr:hover {
    background: #f8f9fa;
}

.sessions-table tr:last-child td {
    border-bottom: none;
}

/* Badges */
.badge {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.badge-available {
    background: #d4edda;
    color: #155724;
}

.badge-full {
    background: #f8d7da;
    color: #721c24;
}

.badge-open {
    background: #d4edda;
    color: #155724;
}

.badge-planned {
    background: #fff3cd;
    color: #856404;
}

.badge-in_progress {
    background: #cce5ff;
    color: #004085;
}

.badge-completed {
    background: #e2e3e5;
    color: #383d41;
}

.badge-cancelled {
    background: #f8d7da;
    color: #721c24;
}

.btn-disabled {
    background: #ccc;
    color: #666;
    cursor: not-allowed;
    pointer-events: none;
}

/* Sessions Quick List in Sidebar */
.sessions-summary h4 {
    font-size: 1rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

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

.sessions-quick-list li {
    margin-bottom: 10px;
}

.sessions-quick-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    background: #f8f9fa;
    border-radius: 8px;
    text-decoration: none;
    color: var(--text-color);
    transition: all 0.3s ease;
}

.sessions-quick-list a:hover {
    background: var(--primary-color);
    color: white;
}

.sessions-quick-list .session-name {
    font-weight: 600;
    font-size: 0.9rem;
}

.sessions-quick-list .session-date {
    font-size: 0.85rem;
    opacity: 0.8;
}

/* No Sessions Message */
.no-sessions-message {
    text-align: center;
    padding: 40px 20px;
    background: #f8f9fa;
    border-radius: 12px;
}

.no-sessions-message p {
    margin-bottom: 10px;
    color: #666;
}

/* Session Card (for session list) */
.session-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
    overflow: hidden;
}

.session-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 25px 30px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-color-dark, #0a1628));
    color: white;
}

.session-card-header h2 {
    margin: 0 0 10px;
    font-size: 1.5rem;
    color: white;
}

.session-card-header .session-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.session-card-header .meta-item {
    font-size: 0.9rem;
    opacity: 0.9;
}

.session-card-header .meta-item i {
    margin-right: 5px;
}

.session-formations-list {
    padding: 25px 30px;
}

.session-formations-list h3 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--text-color);
}

.formations-grid-mini {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.formation-mini-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: #f8f9fa;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.formation-mini-card:hover {
    background: #eef1f5;
    transform: translateX(5px);
}

.formation-mini-card h4 {
    margin: 0 0 8px;
    font-size: 1rem;
    color: var(--primary-color);
}

.formation-mini-meta {
    display: flex;
    gap: 15px;
    font-size: 0.85rem;
    color: #666;
}

.formation-mini-meta i {
    margin-right: 4px;
    color: var(--primary-color);
}

.session-card-footer {
    padding: 20px 30px;
    border-top: 1px solid #eee;
    text-align: center;
}

/* Session Detail Page */
.session-formations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.session-formation-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.session-formation-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.sf-card-image {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.sf-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sf-card-body {
    padding: 25px;
}

.sf-card-body h3 {
    margin: 0 0 10px;
    font-size: 1.2rem;
    color: var(--primary-color);
}

.sf-card-body>p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.sf-card-meta {
    margin-bottom: 20px;
}

.sf-card-meta .meta-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.sf-card-meta .meta-row:last-child {
    border-bottom: none;
}

.sf-card-meta .meta-label {
    color: #888;
    font-size: 0.9rem;
}

.sf-card-meta .meta-value {
    font-weight: 600;
    color: var(--text-color);
}

.sf-card-meta .meta-value.price {
    color: var(--primary-color);
}

.sf-card-actions {
    display: flex;
    gap: 10px;
}

.sf-card-actions .btn {
    flex: 1;
    text-align: center;
}

/* Inscription Page */
.inscription-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

@media (max-width: 992px) {
    .inscription-wrapper {
        grid-template-columns: 1fr;
    }
}

.inscription-summary h2 {
    font-size: 1.5rem;
    margin-bottom: 25px;
    color: var(--primary-color);
}

.summary-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.summary-section {
    padding: 25px;
    border-bottom: 1px solid #eee;
}

.summary-section:last-child {
    border-bottom: none;
}

.summary-section h3 {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.summary-section h3 i {
    margin-right: 8px;
    color: var(--primary-color);
}

.summary-content h4 {
    margin: 0 0 8px;
    font-size: 1.1rem;
    color: var(--primary-color);
}

.summary-content p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.summary-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.summary-meta span {
    font-size: 0.9rem;
    color: #666;
}

.summary-meta i {
    margin-right: 5px;
    color: var(--primary-color);
}

.summary-places {
    text-align: center;
}

.places-badge {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
}

.places-badge.available {
    background: #d4edda;
    color: #155724;
}

.places-badge.full {
    background: #f8d7da;
    color: #721c24;
}

/* Inscription Form */
.inscription-form-container {
    position: sticky;
    top: 100px;
}

.inscription-form-box {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 30px;
}

.inscription-form-box h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.inscription-form-box .form-intro {
    color: #666;
    margin-bottom: 25px;
}

.inscription-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 15px;
}

@media (max-width: 576px) {
    .inscription-form .form-row {
        grid-template-columns: 1fr;
    }
}

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

.inscription-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-color);
}

.inscription-form label .required {
    color: #dc3545;
}

.inscription-form input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.inscription-form input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.inscription-form .form-note {
    font-size: 0.85rem;
    color: #888;
    margin: 15px 0;
}

.inscription-form .form-privacy {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.inscription-form .form-privacy p {
    font-size: 0.85rem;
    color: #666;
    margin: 0;
}

.inscription-form .form-actions {
    margin-top: 20px;
}

.btn-lg {
    padding: 15px 30px;
    font-size: 1.1rem;
}

.btn-full {
    width: 100%;
}

/* Already Registered Box */
.already-registered-box,
.session-full-box {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 40px;
    text-align: center;
}

.already-registered-box .success-icon,
.session-full-box .warning-icon {
    margin-bottom: 20px;
}

.already-registered-box h3 {
    color: #155724;
    margin-bottom: 15px;
}

.session-full-box h3 {
    color: #856404;
    margin-bottom: 15px;
}

/* Messages/Alerts */
.messages-container {
    margin-bottom: 20px;
}

.alert {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 10px;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert-warning {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeeba;
}

/* No Content Message */
.no-content-message {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 16px;
}

.no-content-message i {
    font-size: 4rem;
    color: #ddd;
    margin-bottom: 20px;
}

.no-content-message h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.no-content-message p {
    color: #666;
    margin-bottom: 10px;
}

/* Formation Card Meta */
.formation-card-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: #666;
}

.formation-card-meta .meta-item i {
    margin-right: 5px;
    color: var(--primary-color);
}

/* Section intro */
.section-intro {
    text-align: center;
    margin-bottom: 40px;
}

.section-intro h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.section-intro p {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Page hero small */
.page-hero-sm {
    padding: 60px 0 !important;
}

/* Button outline */
.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
}

.btn-outline-light {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.btn-outline-light:hover {
    background: white;
    color: var(--primary-color);
}

/* ===================================
   INSCRIPTION PAGE - BLUE CARDS
   =================================== */
.summary-section-blue {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-deep) 100%) !important;
    color: white !important;
    position: relative;
    overflow: hidden;
}

.summary-section-blue::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: pulse-glow 4s ease-in-out infinite;
}

.summary-section-blue h3,
.summary-section-blue h4,
.summary-section-blue p,
.summary-section-blue span {
    color: white !important;
    position: relative;
    z-index: 1;
}

.summary-section-blue .summary-meta span i {
    color: var(--accent-color) !important;
}

.summary-section-blue .places-badge {
    background: rgba(255, 255, 255, 0.2) !important;
    color: white !important;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.summary-section-blue .places-badge.available {
    background: rgba(6, 214, 160, 0.2) !important;
    border-color: rgba(6, 214, 160, 0.5);
}

/* Service Detail Page - Blue Cards */
.sidebar-box.contact-box-blue {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-deep) 100%);
    color: white;
    border: none;
}

.sidebar-box.contact-box-blue h3,
.sidebar-box.contact-box-blue p {
    color: white !important;
}

.sidebar-box.contact-box-blue .contact-link {
    color: rgba(255, 255, 255, 0.9) !important;
    border-color: rgba(255, 255, 255, 0.3);
}

.sidebar-box.contact-box-blue .contact-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white !important;
}

/* ===================================
   FOOTER SEPARATOR - CYBERSECURITY THEME
   =================================== */
.footer-separator {
    height: 4px;
    background: linear-gradient(90deg,
            transparent 0%,
            var(--primary-color) 15%,
            var(--secondary-color) 50%,
            var(--primary-color) 85%,
            transparent 100%);
    position: relative;
    margin-bottom: 0;
}

.footer-separator::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 0;
    right: 0;
    height: 20px;
    background: url("data:image/svg+xml,%3Csvg width='100' height='20' viewBox='0 0 100 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 10 L10 0 L20 10 L30 0 L40 10 L50 0 L60 10 L70 0 L80 10 L90 0 L100 10 L100 20 L0 20 Z' fill='%232B3990' opacity='0.1'/%3E%3C/svg%3E") repeat-x;
    background-size: 100px 20px;
}

.footer-separator::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(43, 57, 144, 0.4);
    margin-top: -30px;
}

/* Cyber Security Visual Elements */
.cyber-security-icon {
    position: relative;
    display: inline-block;
}

.cyber-security-icon::before {
    content: '\f3ed';
    /* Shield icon */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--accent-color);
    font-size: 1.2rem;
    animation: shield-pulse 2s ease-in-out infinite;
}

@keyframes shield-pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.7;
        transform: scale(1.1);
    }
}

/* Lock pattern background for cyber sections */
.cyber-pattern-bg {
    background-image:
        linear-gradient(rgba(43, 57, 144, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(43, 57, 144, 0.03) 1px, transparent 1px);
    background-size: 20px 20px;
    position: relative;
}

.cyber-pattern-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%232B3990' fill-opacity='0.02'%3E%3Cpath d='M30 28 L32 26 L32 22 L28 22 L28 26 Z M30 32 C27.79 32 26 30.21 26 28 C26 25.79 27.79 24 30 24 C32.21 24 34 25.79 34 28 C34 30.21 32.21 32 30 32 Z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
    pointer-events: none;
}

/* ===================================
   ABOUT PAGE - EXPERTISE SECTION
   =================================== */
.expertise-section {
    padding: 100px 0;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.expertise-card {
    background: white;
    border-radius: 16px;
    padding: 40px 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-top: 4px solid var(--primary-color);
}

.expertise-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(43, 57, 144, 0.15);
}

.expertise-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-deep));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: white;
    font-size: 1.8rem;
}

.expertise-card h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.expertise-card>p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.6;
}

.expertise-list {
    list-style: none;
    padding: 0;
    margin-top: 15px;
}

.expertise-list li {
    padding: 8px 0;
    color: var(--text-color);
    display: flex;
    align-items: flex-start;
    gap: 12px;
    line-height: 1.6;
}

.expertise-list li i {
    color: #0ea5e9;
    margin-top: 4px;
    flex-shrink: 0;
    font-size: 1rem;
}

/* ===================================
   SECURITY BY DESIGN SECTION
   =================================== */
.security-by-design-section {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(43, 57, 144, 0.03) 0%, rgba(237, 28, 36, 0.03) 100%);
}

.sbd-content {
    max-width: 1000px;
    margin: 0 auto;
}

.sbd-intro {
    text-align: center;
    margin-bottom: 50px;
}

.sbd-intro .lead-text {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.sbd-intro p {
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.8;
}

.comparison-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.approach-card {
    background: white;
    border-radius: 16px;
    padding: 35px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.approach-card.traditional {
    border-top: 4px solid #dc3545;
}

.approach-card.security-by-design {
    border-top: 4px solid var(--success-color);
    background: linear-gradient(135deg, rgba(6, 214, 160, 0.05) 0%, white 100%);
}

.approach-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.approach-header i {
    font-size: 2rem;
}

.approach-card.traditional .approach-header i {
    color: #dc3545;
}

.approach-card.security-by-design .approach-header i {
    color: var(--success-color);
}

.approach-header h3 {
    color: var(--primary-color);
    margin: 0;
}

.approach-card>p {
    background: rgba(0, 0, 0, 0.03);
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-weight: 500;
    color: var(--text-color);
}

.approach-issues,
.approach-benefits {
    list-style: none;
    padding: 0;
}

.approach-issues li,
.approach-benefits li {
    padding: 10px 0;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.approach-issues li i {
    color: #dc3545;
    margin-top: 4px;
}

.approach-benefits li i {
    color: #0ea5e9;
    margin-top: 4px;
}

/* Section badge with icon */
.section-badge i {
    margin-right: 10px;
    color: var(--accent-color);
}

/* Responsive */
@media (max-width: 768px) {
    .expertise-grid {
        grid-template-columns: 1fr;
    }

    .comparison-grid {
        grid-template-columns: 1fr;
    }

    .expertise-card {
        padding: 30px 20px;
    }
}

/* Testimonials Sidebar - Blue Background Modification */
.testimonials-sidebar-blue {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-deep) 100%) !important;
    color: white !important;
    border: none !important;
    box-shadow: var(--shadow-lg);
}

.testimonials-sidebar-blue h3 {
    color: white !important;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.testimonials-sidebar-blue .testimonial-mini {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.testimonials-sidebar-blue .testimonial-mini p {
    color: rgba(255, 255, 255, 0.9) !important;
}

.testimonials-sidebar-blue .client-info strong {
    color: var(--accent-color) !important;
}

.testimonials-sidebar-blue .client-info span {
    color: rgba(255, 255, 255, 0.7) !important;
}

/* Formation Sidebar - Blue Background Modification */
.sidebar-card-blue {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-deep) 100%) !important;
    color: white !important;
    border: none !important;
    box-shadow: var(--shadow-lg);
}

.sidebar-card-blue h3,
.sidebar-card-blue h4 {
    color: white !important;
}

.sidebar-card-blue .price-box {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.sidebar-card-blue .price-label {
    color: rgba(255, 255, 255, 0.8) !important;
}

.sidebar-card-blue .price-value {
    color: var(--accent-color) !important;
}

.sidebar-card-blue .sessions-quick-list li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-card-blue .sessions-quick-list li:last-child {
    border-bottom: none;
}

.sidebar-card-blue .sessions-quick-list li a {
    color: white !important;
    background: transparent !important;
}

.sidebar-card-blue .sessions-quick-list li a:hover {
    background: rgba(255, 255, 255, 0.1);
}

.sidebar-card-blue .session-name {
    color: var(--accent-color) !important;
}

.sidebar-card-blue .session-date {
    color: rgba(255, 255, 255, 0.7) !important;
}

.sidebar-card-blue .info-list li {
    color: white !important;
}

.sidebar-card-blue .info-list li strong {
    color: var(--accent-color) !important;
}

/* ============================================
   Correctifs Responsivité Mobile
   ============================================ */

/* Désactiver background-attachment:fixed sur mobile (performances iOS/Android) */
@media (max-width: 768px) {
    .services-cyberguard {
        background-attachment: scroll;
    }

    .testimonials-cyber {
        background-attachment: scroll;
    }
}

/* Réduire la hauteur des images dans les cartes sur petit écran */
@media (max-width: 576px) {

    .formation-card-image,
    .news-home-card-img {
        height: 150px;
    }
}

/* ============================================
   Formation Detail Page - Responsive
   ============================================ */

/* Tablet : passer en colonne unique */
@media (max-width: 992px) {
    .formation-main-grid {
        grid-template-columns: 1fr;
        margin: -20px 0 60px;
        gap: 30px;
    }
}

/* Mobile : réduire les paddings */
@media (max-width: 768px) {
    .formation-section {
        padding: 25px 20px;
    }

    .section-header {
        gap: 10px;
    }

    .section-header h2 {
        font-size: 1.3rem;
    }

    .sidebar-card {
        padding: 20px;
    }

    .sidebar-box {
        padding: 20px;
    }

    /* Hero de la page formation detail */
    .formation-detail-page .page-hero {
        padding: 60px 0;
    }

    .formation-detail-page .page-hero h1 {
        font-size: 1.8rem;
    }

    /* Hero meta badges (durée, etc.) */
    .hero-meta {
        flex-wrap: wrap !important;
        gap: 10px !important;
        justify-content: center !important;
    }
}

/* Petit mobile */
@media (max-width: 576px) {
    .formation-section {
        padding: 20px 15px;
    }

    .sidebar-card {
        padding: 15px;
    }

    .sidebar-box {
        padding: 15px;
    }

    .section-header h2 {
        font-size: 1.15rem;
    }

    .formation-detail-page .page-hero h1 {
        font-size: 1.5rem;
    }

    /* Sessions quick list : empiler nom et date */
    .sessions-quick-list a {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
}
/* ==========================================================================
   STRATEGIC FLOW DESIGN (MISSION & EXPERTISE)
   ========================================================================== */

.strategic-flow-section {
    padding: 0;
    overflow: hidden;
    background: #fff;
    position: relative;
}

.strategic-flow-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 80vh;
}

.flow-side {
    padding: 100px 8%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.flow-mission {
    background: #ffffff;
    position: relative;
}

.flow-expertise {
    background: var(--primary-color);
    color: #ffffff;
    position: relative;
    box-shadow: -20px 0 50px rgba(0,0,0,0.1);
}

.flow-side h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 30px;
    position: relative;
}

.flow-mission h2 { color: var(--primary-color); }
.flow-expertise h2 { color: var(--accent-color); }

.flow-side .lead-text {
    font-size: 1.3rem;
    margin-bottom: 25px;
    font-weight: 600;
}

.flow-mission .lead-text { color: var(--primary-color); }
.flow-expertise .lead-text { color: var(--accent-color); }

.flow-text {
    font-size: 1.1rem;
    line-height: 1.8;
}

.feature-rich-list {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature-item-modern {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.f-icon-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.2rem;
}

.flow-mission .f-icon-circle {
    background: var(--primary-soft-bg);
    color: var(--primary-color);
}

.flow-expertise .f-icon-circle {
    background: rgba(255, 209, 0, 0.1);
    color: var(--accent-color);
}

.f-content h4 {
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.f-content p {
    font-size: 0.95rem;
    opacity: 0.9;
    margin: 0;
}

/* Comparison Table Modern */
.sbd-comparison-wrapper {
    margin-top: 50px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.comparison-col {
    background: rgba(255,255,255,0.05);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.1);
}

.comparison-col.it-protect {
    background: rgba(255, 209, 0, 0.05);
    border-color: rgba(255, 209, 0, 0.2);
}

.comparison-col h4 {
    color: var(--accent-color);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.comparison-col ul {
    margin-top: 20px;
    padding: 0;
}

.comparison-col li {
    font-size: 0.9rem;
    padding: 8px 0;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    opacity: 0.9;
}

.comparison-col li i {
    margin-top: 4px;
}

.bad-icon { color: #ff5252; }
.good-icon { color: var(--success-color); }

/* Connector element */
.flow-connector {
    position: absolute;
    top: 50%;
    right: -15px;
    width: 30px;
    height: 30px;
    background: var(--accent-color);
    transform: translateY(-50%) rotate(45deg);
    z-index: 10;
}

@media (max-width: 1200px) {
    .strategic-flow-grid {
        grid-template-columns: 1fr;
    }
    .flow-connector {
        display: none;
    }
    .flow-side {
        padding: 80px 5%;
    }
}

@media (max-width: 768px) {
    .sbd-comparison-wrapper {
        grid-template-columns: 1fr;
    }
}


.details-texte
{
    text-align: justify;
    font-size: 2.2em !important;
}
