/* Variables CSS */
:root {
    --primary-color: #3fa7de;
    --primary-light: #5bb5e3;
    --primary-dark: #2a8bc7;
    --secondary-color: #064795;
    --accent-color: #064795;
    --text-dark: #2c3e50;
    --text-light: #000000;
    --text-muted: #95a5a6;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --border-color: #e9ecef;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 4px 20px rgba(0, 0, 0, 0.15);
    --border-radius: 8px;
    --transition: all 0.3s ease;
    --font-family: Verdana, Geneva, sans-serif;
}

/* Reset et base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
    max-width: 100vw;
}

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

/* Typographie */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

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

a:hover {
    color: var(--primary-light);
}

/* Boutons */
.btn-primary,
.btn-secondary,
.btn-search,
.btn-apply,
.btn-link {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-decoration: none;
    font-size: 0.95rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

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

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

.btn-search {
    background-color: var(--accent-color);
    color: var(--white);
    padding: 16px 32px;
    font-weight: 600;
}

.btn-search:hover {
    background-color: #053a7a;
    transform: translateY(-2px);
}

.btn-apply {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 8px 16px;
    font-size: 0.9rem;
}

.btn-link {
    background: none;
    color: var(--primary-color);
    padding: 0;
    font-weight: 500;
}

/* Header */
.header {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.navbar {
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand .logo {
    height: 42px;
    width: auto;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
}

.nav-links>li {
    position: relative;
}

.nav-links a {
    color: var(--text-dark);
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

/* Dropdown Menu */
.nav-dropdown {
    position: relative;
}

.dropdown-toggle {
    cursor: pointer;
    user-select: none;
}

.dropdown-toggle i {
    font-size: 0.8rem;
    transition: var(--transition);
    margin-left: 0.5rem;
}

.nav-dropdown:hover .dropdown-toggle i,
.nav-dropdown.active .dropdown-toggle i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white);
    min-width: 250px;
    box-shadow: var(--shadow-hover);
    border-radius: var(--border-radius);
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
    list-style: none;
    margin: 0;
    border: 1px solid var(--border-color);
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--text-dark);
    font-weight: 400;
    transition: var(--transition);
    border-radius: 0;
    white-space: nowrap;
}

.dropdown-menu a:hover {
    background-color: var(--light-gray);
    color: var(--primary-color);
}

.dropdown-menu a::after {
    display: none;
}

.dropdown-divider {
    height: 1px;
    background-color: var(--border-color);
    margin: 0.5rem 0;
}

.nav-auth {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    margin: 3px 0;
    transition: var(--transition);
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--white);
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        padding: 2rem;
        transition: left 0.3s ease;
        box-shadow: var(--shadow);
        overflow-y: auto;
        z-index: 999;
        display: flex !important;
    }

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

    .nav-links {
        display: flex !important;
        flex-direction: column;
        gap: 0;
        width: 100%;
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .nav-links>li {
        width: 100%;
        border-bottom: 1px solid var(--border-color);
        display: block !important;
    }

    .nav-links a {
        display: flex !important;
        padding: 1rem 0;
        justify-content: space-between;
        color: var(--text-dark);
        text-decoration: none;
    }

    .dropdown-menu {
        position: static;
        box-shadow: none;
        background-color: var(--light-gray);
        margin: 0;
        padding: 0;
        opacity: 1;
        visibility: visible;
        transform: none;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        list-style: none;
        border: none;
    }

    .nav-dropdown.active .dropdown-menu {
        max-height: 300px;
        padding: 0.5rem 0;
    }

    .dropdown-menu li {
        display: block !important;
        margin: 0;
    }

    .dropdown-menu a {
        display: block !important;
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
        color: var(--text-dark);
    }

    .nav-auth {
        display: flex !important;
        margin-top: 2rem;
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }

    .nav-auth a {
        display: block !important;
        text-align: center;
        width: 100%;
    }

    .nav-toggle {
        display: flex;
        z-index: 1000;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

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

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

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(63, 167, 222, 0.6) 0%, rgba(91, 181, 227, 0.6) 100%);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--white);
    padding: 120px 0 80px;
    margin-top: 80px;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.text-primary {
    color: #064795;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    opacity: 0.9;
}

/* Search Box */
.search-box {
    background-color: var(--white);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 3rem;
    box-shadow: var(--shadow-hover);
}

.search-form {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 1rem;
    align-items: center;
}

.search-field {
    position: relative;
    display: flex;
    align-items: center;
}

.search-field i {
    position: absolute;
    left: 1rem;
    color: var(--text-muted);
    z-index: 1;
}

.search-input,
.location-input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
}

.search-input:focus,
.location-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(63, 167, 222, 0.1);
}

/* Hero Stats */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

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

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #ffd700;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Quick Filters */
.quick-filters {
    padding: 3rem 0;
    background-color: var(--light-gray);
}

.about {
    padding: 4rem 0;
    background-color: var(--white);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.about-text {
    flex: 1 1 320px;
}

.about-text h2 {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.about-text p {
    font-size: 1rem;
    line-height: 1.8;
    text-align: justify;
}

.about-image {
    flex: 1 1 280px;
    display: flex;
    justify-content: center;
}

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

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(140px, 1fr));
    gap: 1.5rem;
    width: 100%;
}

.about-stat-card {
    background: linear-gradient(135deg, var(--white) 0%, var(--light-gray) 100%);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
}

.about-stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    transform: scaleX(0);
    transition: transform 0.6s ease;
}

.about-stat-card.animate {
    opacity: 1;
    transform: translateY(0);
}

.about-stat-card.animate::before {
    transform: scaleX(1);
}

.about-stat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(63, 167, 222, 0.2);
    border-color: var(--primary-color);
}

.about-stat-card .stat-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

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

.about-stat-card .stat-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.about-stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.about-stat-label {
    font-size: 0.95rem;
    color: var(--text-light);
    font-weight: 500;
}


.quick-filters h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--border-color);
    background-color: var(--white);
    color: var(--text-dark);
    border-radius: 25px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

/* Featured Jobs */
.featured-jobs {
    padding: 4rem 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    margin: 0;
}

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

/* Job Cards */
.job-card {
    background-color: var(--white);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

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

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.company-logo {
    width: 50px;
    height: 50px;
    border-radius: var(--border-radius);
    overflow: hidden;
    background-color: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
}

.company-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.job-badge {
    background-color: var(--accent-color);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.job-badge.cdd {
    background-color: #064795;
}

.job-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.company-name {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.job-location,
.job-salary {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.job-location i {
    margin-right: 0.5rem;
}

.job-tags {
    display: flex;
    gap: 0.5rem;
    margin: 1rem 0;
    flex-wrap: wrap;
}

.tag {
    background-color: var(--light-gray);
    color: var(--text-dark);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
}

.job-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.job-date {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Partne
rs Section */
.partners {
    padding: 4rem 0;
    background-color: var(--light-gray);
}

.partners h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    align-items: center;
}

.partner-logo {
    background-color: transparent;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: none;
    transition: var(--transition);
    border: 2px solid transparent;
}

.partner-logo:hover {
    transform: translateY(-3px);
    box-shadow: none;
    border-color: transparent;
}

.partner-logo img {
    max-width: 100%;
    max-height: 80px;
    object-fit: contain;
    filter: grayscale(100%);
    transition: var(--transition);
}

/* Ad Banner Section */
.ad-banner {
    padding: 3rem 0;
    background-color: var(--white);
}

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

.ad-image {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

/* ===== AD BANNER SLIDER ===== */
.ad-banner-slider {
    padding: 4rem 0;
    background-color: var(--light-gray);
}

.ad-banner-slider .section-title {
    text-align: center;
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.ad-banner-slider .section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 3rem;
}

.ad-slider-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 60px;
}

.ad-slider-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.ad-slide-page {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.ad-slide-page.active {
    display: block;
    opacity: 1;
}

.ad-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.ad-card {
    background-color: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    height: 100%;
}

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

.ad-card-image {
    width: 100%;
    height: 180px;
    background-color: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.ad-card-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

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

.ad-card-content {
    padding: 1.5rem;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ad-card-content h3 {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin: 0 0 0.5rem 0;
    font-weight: 600;
}

.ad-card-content p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
    line-height: 1.4;
}

.ad-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--white);
    border: 2px solid var(--border-color);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.ad-slider-btn:hover {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
    transform: translateY(-50%) scale(1.1);
}

.ad-slider-btn i {
    font-size: 1rem;
}

.prev-btn {
    left: 0;
}

.next-btn {
    right: 0;
}

.ad-pagination {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 2.5rem;
}

.ad-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #d0d0d0;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.ad-dot:hover {
    background-color: var(--primary-light);
    transform: scale(1.2);
}

.ad-dot.active {
    background-color: var(--primary-color);
    width: 10px;
    height: 10px;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(63, 167, 222, 0.2);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .ad-cards-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .ad-slider-wrapper {
        padding: 0 50px;
    }

    .ad-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .ad-slider-btn {
        width: 40px;
        height: 40px;
    }

    .ad-card-image {
        height: 140px;
        padding: 1rem;
    }

    .ad-card-content {
        padding: 1rem;
    }

    .ad-card-content h3 {
        font-size: 1rem;
    }

    .ad-card-content p {
        font-size: 0.85rem;
    }

    .ad-banner-slider .section-title {
        font-size: 1.5rem;
    }

    .ad-banner-slider .section-subtitle {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .ad-slider-wrapper {
        padding: 0 40px;
    }

    .ad-slider-btn {
        width: 35px;
        height: 35px;
    }

    .prev-btn {
        left: -5px;
    }

    .next-btn {
        right: -5px;
    }

    /* Mobile: une carte à la fois avec slider horizontal */
    .ad-slider-container {
        overflow: hidden;
    }

    .ad-slide-page {
        display: block !important;
        opacity: 1 !important;
    }

    .ad-cards-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 1rem;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .ad-cards-grid::-webkit-scrollbar {
        display: none;
    }

    .ad-card {
        flex: 0 0 calc(100% - 1rem);
        scroll-snap-align: start;
        transition: transform 0.3s ease;
        min-width: calc(100% - 1rem);
    }
}

/* ===== COOKIE POPUP ===== */
.cookie-popup {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--white);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    padding: 1.5rem;
    z-index: 9998;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.cookie-popup.show {
    transform: translateY(0);
}

.cookie-popup.hidden {
    display: none;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.cookie-text {
    flex: 1;
}

.cookie-text h4 {
    margin: 0 0 0.5rem 0;
    color: var(--text-dark);
    font-size: 1.1rem;
}

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

.cookie-text a {
    color: var(--primary-color);
    text-decoration: underline;
}

.cookie-actions {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.btn-cookie {
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 0.9rem;
    white-space: nowrap;
}

.btn-cookie-accept {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-cookie-accept:hover {
    background-color: var(--primary-dark);
}

.btn-cookie-decline {
    background-color: transparent;
    color: var(--text-dark);
    border: 2px solid var(--border-color);
}

.btn-cookie-decline:hover {
    background-color: var(--light-gray);
}

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }

    .cookie-actions {
        flex-direction: column;
        width: 100%;
    }

    .btn-cookie {
        width: 100%;
        text-align: center;
    }

    .cookie-popup {
        padding: 1rem;
    }

    .cookie-text h4 {
        font-size: 1rem;
    }

    .cookie-text p {
        font-size: 0.85rem;
    }
}

/* Brand Showcase Section */
.brand-showcase {
    padding: 4rem 0;
    background-color: var(--white);
}

.showcase-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    align-items: center;
}

.showcase-image img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.showcase-text h2 {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.showcase-text p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1rem;
    text-align: justify;
}

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

/* Services Section */
.services {
    padding: 4rem 0;
}

.services .section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.services .section-header p {
    font-size: 1.1rem;
    color: var(--text-light);
}

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

.service-card {
    text-align: center;
    padding: 2rem;
    border-radius: 12px;
    background-color: var(--white);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.service-icon i {
    font-size: 2rem;
    color: var(--white);
}

.service-card h3 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.service-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: var(--white);
    padding: 4rem 0;
    text-align: center;
}

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

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

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn-secondary {
    background-color: var(--white);
    color: var(--primary-color);
    border: none;
}

.cta-buttons .btn-secondary:hover {
    background-color: var(--light-gray);
}

/* Footer */
.footer {
    background-color: var(--text-dark);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--white);
}

.footer-section p {
    color: #bdc3c7;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

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

.footer-section ul li a:hover {
    color: var(--white);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

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

.social-links a:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid #34495e;
    padding-top: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: #bdc3c7;
    margin: 0;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: #bdc3c7;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    .nav-menu {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-title {
        font-size: 2.3rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .search-form {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .jobs-grid {
        grid-template-columns: 1fr;
    }

    .section-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

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

    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .showcase-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .showcase-text h2 {
        font-size: 1.5rem;
    }

    .ad-banner {
        padding: 2rem 0;
    }

    .about-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .about-stat-card {
        padding: 1.5rem 1rem;
    }

    .about-stat-card .stat-icon {
        width: 50px;
        height: 50px;
    }

    .about-stat-card .stat-icon i {
        font-size: 1.25rem;
    }

    .about-stat-number {
        font-size: 2rem;
    }

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

    .cta-content h2 {
        font-size: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

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

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

@media (max-width: 480px) {
    .hero {
        padding: 100px 0 60px;
    }

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

    .search-box {
        padding: 1.5rem;
    }

    .job-card {
        padding: 1rem;
    }

    .partners-grid {
        grid-template-columns: 1fr;
    }

    .showcase-text h2 {
        font-size: 1.3rem;
    }

    .showcase-text p {
        font-size: 0.9rem;
    }

    .service-card {
        padding: 1.5rem;
    }
}

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

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

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Utilities */
.text-center {
    text-align: center;
}

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

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

.mb-1 {
    margin-bottom: 0.25rem;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.mb-3 {
    margin-bottom: 1rem;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

.mb-5 {
    margin-bottom: 3rem;
}

.mt-1 {
    margin-top: 0.25rem;
}

.mt-2 {
    margin-top: 0.5rem;
}

.mt-3 {
    margin-top: 1rem;
}

.mt-4 {
    margin-top: 1.5rem;
}

.mt-5 {
    margin-top: 3rem;
}

.d-none {
    display: none;
}

.d-block {
    display: block;
}

.d-flex {
    display: flex;
}

.d-grid {
    display: grid;
}

/* Focus states pour l'accessibilité */
button:focus,
input:focus,
select:focus,
textarea:focus,
a:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Smooth scrolling pour les ancres */
html {
    scroll-behavior: smooth;
}

/* Loading states */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.spinner {
    border: 2px solid #f3f3f3;
    border-top: 2px solid var(--primary-color);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
    display: inline-block;
    margin-right: 0.5rem;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* ===== ENTREPRISES.HTML SPECIFIC STYLES ===== */

.featured-companies {
    padding: 4rem 0;
}

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

.company-card {
    background-color: var(--white);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

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

.company-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.company-logo-large {
    width: 80px;
    height: 80px;
    border-radius: var(--border-radius);
    overflow: hidden;
    background-color: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
}

.company-logo-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.company-badge {
    background-color: var(--accent-color);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.company-badge.premium {
    background-color: #064795;
    color: var(--white);
}

.company-name {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.company-sector {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.company-location {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.company-description {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.company-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background-color: var(--light-gray);
    border-radius: var(--border-radius);
}

.company-stats .stat {
    text-align: center;
}

.company-stats .stat-number {
    display: block;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
}

.company-stats .stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.company-footer {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.btn-follow {
    background: none;
    border: 2px solid var(--border-color);
    color: var(--text-dark);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-follow:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.all-companies {
    padding: 4rem 0;
    background-color: var(--light-gray);
}

.companies-filter {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.filter-select {
    padding: 0.5rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    background-color: var(--white);
    color: var(--text-dark);
    cursor: pointer;
    min-width: 200px;
}

.companies-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.company-item {
    background-color: var(--white);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 1.5rem;
    align-items: center;
    transition: var(--transition);
}

.company-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.company-item .company-logo {
    width: 60px;
    height: 60px;
    border-radius: var(--border-radius);
    overflow: hidden;
    background-color: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
}

.company-item .company-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.company-info h4 {
    margin: 0 0 0.25rem 0;
    color: var(--text-dark);
    font-size: 1.1rem;
}

.company-info .sector {
    color: var(--primary-color);
    font-size: 0.9rem;
    margin: 0 0 0.25rem 0;
}

.company-info .location {
    color: var(--text-muted);
    font-size: 0.8rem;
    margin: 0;
}

.company-jobs {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.jobs-count {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.btn-view {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.btn-view:hover {
    background-color: var(--primary-light);
}

/* ===== BLOG.HTML SPECIFIC STYLES ===== */

.blog-categories {
    background-color: var(--light-gray);
    padding: 2rem 0;
}

.categories-filter {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.category-btn {
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--border-color);
    background-color: var(--white);
    color: var(--text-dark);
    border-radius: 25px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
    font-size: 0.9rem;
}

.category-btn:hover,
.category-btn.active {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.featured-article {
    padding: 3rem 0;
}

.article-featured {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    background-color: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.article-featured .article-image {
    position: relative;
    height: 400px;
}

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

.article-featured .article-content {
    padding: 2rem;
}

.article-featured h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.article-excerpt {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.blog-articles {
    padding: 4rem 0;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.article-card {
    background-color: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

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

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

.article-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.article-card .article-content {
    padding: 1.5rem;
}

.article-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
    line-height: 1.3;
}

.article-card .article-excerpt {
    color: var(--text-light);
    line-height: 1.5;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.author-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.author-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: cover;
}

.author-name {
    font-weight: 500;
    color: var(--text-dark);
    font-size: 0.9rem;
}

.article-date {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.article-stats {
    display: flex;
    gap: 1rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.load-more-container {
    text-align: center;
}

.load-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* Newsletter Signup - Design Professionnel */
.newsletter-signup {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

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

.newsletter-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

/* Image Section */
.newsletter-image {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.newsletter-img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.newsletter-img:hover {
    transform: scale(1.02);
}

/* Content Section */
.newsletter-text-content {
    padding: 2rem 0;
}

.newsletter-header h2 {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.2;
}

.newsletter-header p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

/* Formulaire */
.newsletter-form {
    margin-bottom: 2rem;
}

.newsletter-input-group {
    display: flex;
    gap: 1rem;
    align-items: stretch;
}

.input-wrapper {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    background-color: var(--white);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 0 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.input-wrapper:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 4px 20px rgba(63, 167, 222, 0.2);
}

.input-wrapper i {
    color: var(--text-muted);
    margin-right: 0.75rem;
    font-size: 1.1rem;
}

.input-wrapper input {
    flex: 1;
    border: none;
    padding: 1.25rem 0;
    font-size: 1rem;
    background: transparent;
    color: var(--text-dark);
}

.input-wrapper input:focus {
    outline: none;
}

.input-wrapper input::placeholder {
    color: var(--text-muted);
}

.btn-newsletter {
    background: linear-gradient(135deg, #ff6b35 0%, #ff8c42 100%);
    color: var(--white);
    border: none;
    padding: 1.25rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
    white-space: nowrap;
}

.btn-newsletter:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
    background: linear-gradient(135deg, #ff5722 0%, #ff7043 100%);
}

.btn-newsletter i {
    font-size: 0.9rem;
}

/* Features */
.newsletter-features {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
    font-size: 0.95rem;
}

.feature-item i {
    color: var(--primary-color);
    font-size: 1rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .newsletter-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .newsletter-image {
        order: 1;
    }
    
    .newsletter-text-content {
        order: 2;
    }
    
    .newsletter-header h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .newsletter-signup {
        padding: 3rem 0;
    }
    
    .newsletter-input-group {
        flex-direction: column;
        gap: 1rem;
    }
    
    .btn-newsletter {
        justify-content: center;
        padding: 1rem 2rem;
    }
    
    .newsletter-header h2 {
        font-size: 1.8rem;
    }
    
    .newsletter-header p {
        font-size: 1.1rem;
    }
    
    .newsletter-features {
        justify-content: center;
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .newsletter-content {
        gap: 2rem;
    }
    
    .newsletter-header h2 {
        font-size: 1.6rem;
    }
    
    .newsletter-features {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .input-wrapper {
        padding: 0 0.75rem;
    }
    
    .input-wrapper input {
        padding: 1rem 0;
    }
}

/* ===== CONTACT.HTML SPECIFIC STYLES ===== */

.contact-section {
    padding: 4rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
}

.contact-form-container h2 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.contact-form-container p {
    margin-bottom: 2rem;
    color: var(--text-light);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

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

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
}

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

.checkbox-group {
    flex-direction: row;
    align-items: flex-start;
    gap: 0.75rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.9rem;
    line-height: 1.4;
}

.btn-submit {
    align-self: flex-start;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-info {
    background-color: var(--light-gray);
    padding: 2rem;
    border-radius: 12px;
    height: fit-content;
}

.contact-info h3 {
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    color: var(--white);
    font-size: 1.25rem;
}

.contact-details h4 {
    margin: 0 0 0.5rem 0;
    color: var(--text-dark);
    font-size: 1rem;
}

.contact-details p {
    margin: 0;
    color: var(--text-light);
    line-height: 1.5;
}

.contact-social {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.contact-social h4 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.map-section {
    padding: 4rem 0;
    background-color: var(--light-gray);
}

.map-section h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.map-container {
    background-color: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.map-placeholder {
    height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    background-color: #f8f9fa;
}

.map-placeholder i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.map-address {
    font-weight: 500;
    color: var(--text-dark);
}

.faq-section {
    padding: 4rem 0;
}

.faq-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
}

.faq-question:hover {
    background-color: var(--light-gray);
}

.faq-question h4 {
    margin: 0;
    color: var(--text-dark);
}

.faq-question i {
    color: var(--primary-color);
    transition: var(--transition);
}

.faq-answer {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-light);
    line-height: 1.6;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-item.active .faq-question i {
    transform: rotate(45deg);
}

/* ===== AUTH PAGES STYLES ===== */

.auth-section {
    padding: 120px 0 4rem;
    margin-top: 80px;
    background-color: var(--light-gray);
    min-height: calc(100vh - 80px);
}

.auth-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.auth-form-container {
    background-color: var(--white);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    height: fit-content;
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-header h1 {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.auth-header p {
    color: var(--text-light);
    margin: 0;
}

.user-type-selector {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    background-color: var(--light-gray);
    padding: 0.5rem;
    border-radius: var(--border-radius);
}

.user-type-btn {
    flex: 1;
    padding: 1rem;
    border: none;
    background-color: transparent;
    color: var(--text-dark);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.user-type-btn.active {
    background-color: var(--primary-color);
    color: var(--white);
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.input-group i {
    position: absolute;
    left: 1rem;
    color: var(--text-muted);
    z-index: 1;
}

.input-group input,
.input-group select {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 3rem;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
}

.input-group input:focus,
.input-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(11, 34, 148, 0.1);
}

.password-toggle {
    position: absolute;
    right: 1rem;
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0.5rem;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.forgot-password {
    color: var(--primary-color);
    font-size: 0.9rem;
}

.btn-full {
    width: 100%;
    justify-content: center;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.auth-divider {
    text-align: center;
    position: relative;
    margin: 2rem 0;
}

.auth-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background-color: var(--border-color);
}

.auth-divider span {
    background-color: var(--white);
    padding: 0 1rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.social-login {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.btn-social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    background-color: var(--white);
    color: var(--text-dark);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.btn-social:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-google:hover {
    border-color: #db4437;
    color: #db4437;
}

.btn-linkedin:hover {
    border-color: #0077b5;
    color: #0077b5;
}

.auth-footer {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.auth-footer p {
    margin: 0;
    color: var(--text-light);
}

.auth-footer a {
    color: var(--primary-color);
    font-weight: 500;
}

.auth-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.auth-benefits {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.auth-benefits h3 {
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.benefit-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.benefit-icon {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.benefit-icon i {
    color: var(--white);
    font-size: 1.25rem;
}

.benefit-content h4 {
    margin: 0 0 0.5rem 0;
    color: var(--text-dark);
    font-size: 1rem;
}

.benefit-content p {
    margin: 0;
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.4;
}

.auth-stats {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.auth-stats .stat-item {
    text-align: center;
    padding: 1rem;
    background-color: var(--light-gray);
    border-radius: var(--border-radius);
}

.auth-stats .stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.auth-stats .stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.success-stories {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.success-stories h4 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.testimonial {
    font-style: italic;
    color: var(--text-light);
}

.testimonial cite {
    display: block;
    margin-top: 0.5rem;
    font-style: normal;
    font-weight: 500;
    color: var(--primary-color);
}

/* Responsive Design for New Pages */
@media (max-width: 768px) {
    .companies-grid {
        grid-template-columns: 1fr;
    }

    .company-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .company-footer {
        flex-direction: column;
        gap: 1rem;
    }

    .company-item {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1rem;
    }

    .article-featured {
        grid-template-columns: 1fr;
    }

    .article-featured .article-image {
        height: 250px;
    }

    .articles-grid {
        grid-template-columns: 1fr;
    }

    .newsletter-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .newsletter-input {
        flex-direction: column;
        gap: 1rem;
    }

    .newsletter-input input {
        min-width: auto;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .auth-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .auth-form-container {
        padding: 2rem;
    }

    .user-type-btn {
        flex-direction: column;
        gap: 0.25rem;
        font-size: 0.9rem;
    }

    .form-options {
        flex-direction: column;
        align-items: stretch;
    }
}

@media (max-width: 480px) {
    .auth-section {
        padding: 100px 0 2rem;
    }

    .auth-form-container {
        padding: 1.5rem;
    }

    .contact-info {
        padding: 1.5rem;
    }

    .map-placeholder {
        height: 250px;
    }
}

/* ===== OF
FRES.HTML SPECIFIC STYLES ===== */

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: var(--white);
    padding: 120px 0 60px;
    margin-top: 80px;
    text-align: center;
}

.page-header-content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.page-header-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.jobs-count {
    color: #ffd700;
    font-weight: 600;
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

.breadcrumb a {
    color: var(--white);
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb i {
    font-size: 0.7rem;
}

/* Search and Filters */
.search-filters {
    background-color: var(--light-gray);
    padding: 2rem 0;
}

.search-box-main {
    background-color: var(--white);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow);
}

.search-form-main {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 1rem;
    align-items: center;
}

/* Filters Container */
.filters-container {
    background-color: var(--white);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow);
}

.filters-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.filters-header h3 {
    margin: 0;
    color: var(--text-dark);
}

.btn-clear-filters {
    background: none;
    border: 1px solid var(--border-color);
    color: var(--text-light);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.9rem;
}

.btn-clear-filters:hover {
    background-color: var(--light-gray);
    color: var(--text-dark);
}

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

.filter-group {
    display: flex;
    flex-direction: column;
}

.filter-label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.filter-options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* Custom Checkbox */
.filter-checkbox {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--text-dark);
    position: relative;
    padding-left: 2rem;
}

.filter-checkbox input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.checkmark {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 18px;
    width: 18px;
    background-color: var(--white);
    border: 2px solid var(--border-color);
    border-radius: 3px;
    transition: var(--transition);
}

.filter-checkbox:hover .checkmark {
    border-color: var(--primary-color);
}

.filter-checkbox input:checked~.checkmark {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
    left: 5px;
    top: 2px;
    width: 4px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.filter-checkbox input:checked~.checkmark:after {
    display: block;
}

.count {
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-left: auto;
}

/* Results Section */
.jobs-results {
    padding: 3rem 0;
}

.results-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
    gap: 2rem;
}

.results-info h2 {
    margin: 0 0 0.5rem 0;
    color: var(--text-dark);
}

.results-info p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.results-controls {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.sort-dropdown {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sort-dropdown label {
    font-size: 0.9rem;
    color: var(--text-dark);
    white-space: nowrap;
}

.sort-select {
    padding: 0.5rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    background-color: var(--white);
    color: var(--text-dark);
    cursor: pointer;
    min-width: 150px;
}

.view-toggle {
    display: flex;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.view-btn {
    padding: 0.5rem 0.75rem;
    border: none;
    background-color: var(--white);
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
}

.view-btn:hover,
.view-btn.active {
    background-color: var(--primary-color);
    color: var(--white);
}

/* Enhanced Job Cards */
.job-card {
    position: relative;
}

.job-actions {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.btn-favorite {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: var(--transition);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-favorite:hover {
    background-color: var(--light-gray);
    color: var(--primary-color);
}

.btn-favorite.favorited {
    color: #e74c3c;
}

.job-description {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 1rem 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.job-badge.stage {
    background-color: #17a2b8;
}

.job-badge.interim {
    background-color: #6f42c1;
}

.job-badge.freelance {
    background-color: #20c997;
}

/* List View */
.jobs-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.jobs-list .job-card {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 1.5rem;
    align-items: center;
    padding: 1.5rem;
}

.jobs-list .job-header {
    margin: 0;
}

.jobs-list .job-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.jobs-list .job-title {
    margin: 0 0 0.25rem 0;
    font-size: 1.1rem;
}

.jobs-list .company-name,
.jobs-list .job-location,
.jobs-list .job-salary {
    margin: 0;
    font-size: 0.85rem;
}

.jobs-list .job-tags {
    margin: 0.5rem 0 0 0;
}

.jobs-list .job-footer {
    margin: 0;
    padding: 0;
    border: none;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
}

/* Pagination */
.pagination-container {
    margin-top: 3rem;
    text-align: center;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.pagination-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    background-color: var(--white);
    color: var(--text-dark);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.9rem;
}

.pagination-btn:hover:not(:disabled) {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-numbers {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.pagination-number {
    width: 40px;
    height: 40px;
    border: 1px solid var(--border-color);
    background-color: var(--white);
    color: var(--text-dark);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.9rem;
}

.pagination-number:hover,
.pagination-number.active {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.pagination-dots {
    color: var(--text-muted);
    padding: 0 0.5rem;
}

.pagination-info {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Job Alerts CTA */
.job-alerts-cta {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 3rem 0;
}

.job-alerts-cta .cta-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    background-color: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.cta-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cta-icon i {
    font-size: 2rem;
    color: var(--white);
}

.cta-text {
    flex: 1;
}

.cta-text h3 {
    margin: 0 0 0.5rem 0;
    color: var(--text-dark);
    font-size: 1.5rem;
}

.cta-text p {
    margin: 0;
    color: var(--text-light);
}

/* Active nav link */
.nav-links a.active {
    color: var(--primary-color);
}

.nav-links a.active::after {
    width: 100%;
}

/* Responsive Design for Offres Page */
@media (max-width: 768px) {
    .page-header {
        padding: 100px 0 40px;
    }

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

    .search-form-main {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .filters-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .results-header {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }

    .results-controls {
        justify-content: space-between;
        gap: 1rem;
    }

    .jobs-list .job-card {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .jobs-list .job-footer {
        align-items: stretch;
    }

    .pagination {
        flex-wrap: wrap;
        gap: 0.25rem;
    }

    .pagination-btn {
        padding: 0.5rem 0.75rem;
        font-size: 0.8rem;
    }

    .pagination-number {
        width: 35px;
        height: 35px;
        font-size: 0.8rem;
    }

    .job-alerts-cta .cta-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {

    .search-box-main,
    .filters-container {
        padding: 1.5rem;
    }

    .filters-header {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }

    .results-controls {
        flex-direction: column;
        gap: 1rem;
    }

    .sort-dropdown {
        justify-content: space-between;
    }

    .view-toggle {
        align-self: center;
    }

    .pagination-numbers {
        flex-wrap: wrap;
    }
}

/* ===== MODAL DE CANDIDATURE ===== */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
    animation: fadeIn 0.3s ease;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: var(--white);
    margin: auto;
    border-radius: 12px;
    width: 90%;
    max-width: 700px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

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

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--border-color);
}

.modal-header h2 {
    margin: 0;
    color: var(--text-dark);
    font-size: 1.5rem;
}

.modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.modal-close:hover {
    background-color: var(--light-gray);
    color: var(--text-dark);
}

.modal-body {
    padding: 2rem;
}

.job-info-modal {
    background-color: var(--light-gray);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin-bottom: 2rem;
}

.job-info-modal h3 {
    margin: 0 0 0.5rem 0;
    color: var(--text-dark);
    font-size: 1.25rem;
}

.job-info-modal p {
    margin: 0.25rem 0;
    color: var(--text-light);
    font-size: 0.95rem;
}

.application-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

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

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

.application-form .required {
    color: #e74c3c;
}

.application-form input[type="text"],
.application-form input[type="tel"],
.application-form input[type="email"],
.application-form input[type="file"] {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
    font-family: var(--font-family);
}

.application-form input[type="text"]:focus,
.application-form input[type="tel"]:focus,
.application-form input[type="email"]:focus,
.application-form input[type="file"]:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(63, 167, 222, 0.1);
}

.application-form input[type="file"] {
    padding: 0.5rem;
}

.application-form small {
    display: block;
    margin-top: 0.25rem;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.modal-cancel {
    background-color: transparent;
    color: var(--text-dark);
    border: 2px solid var(--border-color);
}

.modal-cancel:hover {
    background-color: var(--light-gray);
}

/* Responsive Modal */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        max-height: 95vh;
    }

    .modal-header {
        padding: 1rem 1.5rem;
    }

    .modal-header h2 {
        font-size: 1.25rem;
    }

    .modal-body {
        padding: 1.5rem;
    }

    .application-form .form-row {
        grid-template-columns: 1fr;
    }

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

    .form-actions button {
        width: 100%;
    }
}

/* ===================================
   COSMOS ACADEMY - PROGRAM SECTION
   =================================== */

.program-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 80px 0;
}

.program-text h2 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 10px;
    font-weight: 700;
}

.program-text h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 30px;
    font-weight: 600;
}

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

.program-image {
    position: relative;
}

.image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.image-wrapper img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

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

.image-overlay {
    position: absolute;
    bottom: 30px;
    left: 30px;
    right: 30px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 25px;
    border-radius: 15px;
    display: flex;
    justify-content: space-around;
    gap: 20px;
}

.overlay-stat {
    text-align: center;
    flex: 1;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
}

/* ===================================
   COSMOS ACADEMY - SERVICES SECTION
   =================================== */

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

.section-header h2 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 15px;
    font-weight: 700;
}

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

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

.service-card-academy {
    position: relative;
    background: #fff;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    overflow: hidden;
}

.service-card-academy::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

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

.service-card-academy:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.service-icon-wrapper {
    margin-bottom: 25px;
}

.service-card-academy .service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    transition: all 0.4s ease;
}

.service-card-academy:hover .service-icon {
    transform: rotateY(360deg);
    border-radius: 50%;
}

.service-card-academy .service-icon i {
    font-size: 2rem;
    color: #fff;
}

.service-card-academy h3 {
    font-size: 1.4rem;
    color: var(--text-dark);
    margin-bottom: 15px;
    font-weight: 600;
}

.service-card-academy p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: 0;
}

.service-number {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 3rem;
    font-weight: 700;
    color: rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
}

.service-card-academy:hover .service-number {
    color: rgba(0, 123, 255, 0.1);
    transform: scale(1.2);
}

/* ===================================
   COSMOS ACADEMY - TESTIMONIALS SECTION
   =================================== */

.testimonials-section-academy {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 80px 0;
}

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

.testimonial-card-academy {
    position: relative;
    background: #fff;
    padding: 35px;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    border: 2px solid transparent;
}

.testimonial-card-academy:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.quote-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.quote-icon i {
    font-size: 1.2rem;
    color: #fff;
}

.testimonial-card-academy .testimonial-content {
    margin-bottom: 25px;
}

.testimonial-card-academy .testimonial-content p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-light);
    font-style: italic;
    margin: 0;
}

.testimonial-card-academy .testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.author-avatar span {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
}

.testimonial-card-academy .author-info h4 {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin: 0 0 5px 0;
    font-weight: 600;
}

.testimonial-card-academy .author-info span {
    font-size: 0.9rem;
    color: var(--text-light);
}

.rating {
    display: flex;
    gap: 5px;
}

.rating i {
    color: #ffc107;
    font-size: 1rem;
}

/* ===================================
   RESPONSIVE - COSMOS ACADEMY
   =================================== */

@media (max-width: 992px) {
    .program-content-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 60px 0;
    }

    .program-text h2 {
        font-size: 2rem;
    }

    .program-text h3 {
        font-size: 1.3rem;
    }

    .image-wrapper img {
        height: 400px;
    }

    .services-grid-academy {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 25px;
    }

    .testimonials-grid-academy {
        grid-template-columns: 1fr;
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .program-text h2 {
        font-size: 1.8rem;
    }

    .program-text p {
        font-size: 1rem;
    }

    .image-wrapper img {
        height: 350px;
    }

    .image-overlay {
        bottom: 20px;
        left: 20px;
        right: 20px;
        padding: 20px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 0.8rem;
    }

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

    .section-header p {
        font-size: 1rem;
    }

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

    .service-card-academy {
        padding: 30px 25px;
    }
}

@media (max-width: 480px) {
    .program-content-grid {
        padding: 40px 0;
    }

    .program-text h2 {
        font-size: 1.5rem;
    }

    .program-text h3 {
        font-size: 1.1rem;
    }

    .image-wrapper img {
        height: 300px;
    }

    .image-overlay {
        flex-direction: column;
        gap: 15px;
    }

    .stat-number {
        font-size: 1.8rem;
    }

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

    .testimonial-card-academy {
        padding: 25px;
    }
}

/* Hero TIC avec image de fond */
.hero-tic {
    background: linear-gradient(135deg, rgba(63, 167, 222, 0.85) 0%, rgba(91, 181, 227, 0.85) 100%), url('../img/cosmos-tic.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Hero SIRH avec image de fond */
.hero-sirh {
    background: linear-gradient(135deg, rgba(63, 167, 222, 0.85) 0%, rgba(91, 181, 227, 0.85) 100%), url('../img/cosmos-sirh.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Hero RH avec image de fond */
.hero-rh {
    background: linear-gradient(135deg, rgba(63, 167, 222, 0.85) 0%, rgba(91, 181, 227, 0.85) 100%), url('../img/hero_cosmos.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Hero Home (index) avec image de fond */
.hero-home {
    background: linear-gradient(135deg, rgba(63, 167, 222, 0.85) 0%, rgba(91, 181, 227, 0.85) 100%), url('../img/hero_cosmos.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Hero Academy avec image de fond */
.hero-academy {
    background: linear-gradient(135deg, rgba(63, 167, 222, 0.85) 0%, rgba(91, 181, 227, 0.85) 100%), url('../img/cosmos-academy-hero.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}


/* ===== MODERN DESIGN STYLES ===== */

/* Hero Modern */
.hero-modern {
    background: #ffffff;
    padding: 140px 0 80px;
    margin-top: 80px;
    text-align: center;
}

.hero-modern-content {
    max-width: 900px;
    margin: 0 auto;
}

.hero-modern-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-modern-subtitle {
    font-size: 1.5rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    font-weight: 400;
}

.hero-stats-modern {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin: 3rem 0;
    padding: 2rem 0;
}

.stat-modern {
    position: relative;
    text-align: center;
    padding: 2rem 1rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.85) 100%);
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.stat-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light), var(--secondary-color));
    background-size: 200% 100%;
    animation: gradientShift 3s ease infinite;
}

.stat-modern::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(63, 167, 222, 0.1) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    transition: all 0.6s ease;
}

.stat-modern:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 45px rgba(63, 167, 222, 0.25);
    border-color: var(--primary-color);
}

.stat-modern:hover::after {
    width: 300px;
    height: 300px;
}

.stat-modern-number {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.75rem;
    line-height: 1;
    position: relative;
    z-index: 1;
    animation: countUp 2s ease-out;
}

.stat-modern:hover .stat-modern-number {
    animation: pulse 0.6s ease;
}

.stat-modern-label {
    font-size: 0.85rem;
    color: var(--text-dark);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 1;
    white-space: nowrap;
}

@keyframes gradientShift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

@keyframes countUp {
    0% {
        opacity: 0;
        transform: translateY(20px) scale(0.8);
    }

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

@keyframes pulse {

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

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

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.btn-large {
    padding: 16px 40px;
    font-size: 1.05rem;
    font-weight: 600;
}

/* About Modern */
.about-modern {
    padding: 5rem 0;
    background-color: #f8f9fa;
}

.about-modern-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

/* Bloc 1: Image */
.about-image-block {
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

/* Bloc 2: Texte */
.about-modern-text {
    padding: 2rem 0;
}

.about-modern-text h2 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 2rem;
    font-weight: 700;
    line-height: 1.2;
}

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

/* Responsive Design pour About */
@media (max-width: 1024px) {
    .about-modern-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .about-image-block {
        order: 1;
    }
    
    .about-modern-text {
        order: 2;
        text-align: center;
    }
    
    .about-modern-text p {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .about-modern {
        padding: 3rem 0;
    }
    
    .about-modern-content {
        gap: 2rem;
    }
    
    .about-modern-text h2 {
        font-size: 2rem;
    }
    
    .about-modern-text p {
        font-size: 1rem;
    }
}

/* Entities Section */
.entities-section {
    padding: 5rem 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.section-header-center {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header-center h2 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 700;
}

.section-header-center p {
    font-size: 1.2rem;
    color: var(--text-light);
}

.entities-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.entity-card {
    position: relative;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.10);
    border-radius: 16px;
    padding: 2rem;
    text-decoration: none;
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
    overflow: hidden;
}

.entity-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

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

.entity-card:hover {
    border-color: rgba(63, 167, 222, 0.3);
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(63, 167, 222, 0.15);
}

.entity-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.entity-card:hover .entity-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 20px rgba(63, 167, 222, 0.3);
}

.entity-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.entity-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.entity-content h3 {
    font-size: 1.25rem;
    color: var(--text-dark);
    margin: 0;
    font-weight: 600;
    line-height: 1.3;
}

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

.btn-entity {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
    align-self: flex-start;
}

.btn-entity:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateX(5px);
}

.btn-entity::after {
    content: '→';
    transition: transform 0.3s ease;
}

.btn-entity:hover::after {
    transform: translateX(3px);
}

/* Responsive Design pour Entities */
@media (max-width: 1024px) {
    .entities-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        max-width: 800px;
    }
}

@media (max-width: 768px) {
    .entities-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        max-width: 100%;
    }
    
    .entity-card {
        padding: 1.5rem;
        gap: 1.25rem;
    }
    
    .entity-icon {
        width: 50px;
        height: 50px;
    }
    
    .entity-icon i {
        font-size: 1.25rem;
    }
    
    .section-header-center h2 {
        font-size: 2rem;
    }
    
    .section-header-center p {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .entities-section {
        padding: 3rem 0;
    }
    
    .entity-card {
        padding: 1.25rem;
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .entity-content {
        align-items: center;
    }
    
    .btn-entity {
        align-self: center;
    }
}

/* CTA Banner */
.cta-banner {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    padding: 5rem 0;
    text-align: center;
}

.cta-banner-content h2 {
    font-size: 2.5rem;
    color: #ffffff;
    margin-bottom: 1rem;
    font-weight: 700;
}

.cta-banner-content p {
    font-size: 1.2rem;
    color: #ffffff;
    margin-bottom: 2.5rem;
    opacity: 0.95;
}

.cta-banner-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.btn-white {
    background-color: #ffffff;
    color: var(--primary-color);
    border: 2px solid #ffffff;
}

.btn-white:hover {
    background-color: transparent;
    color: #ffffff;
    border-color: #ffffff;
}

/* Partners Modern */
.partners-modern {
    padding: 5rem 0;
    background-color: #ffffff;
    overflow-x: hidden;
}

.partners-grid-modern {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    align-items: center;
    margin-top: 3rem;
    width: 100%;
}

.partner-logo-modern {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    transition: all 0.3s ease;
    width: 100%;
}

.partner-logo-modern:hover {
    transform: translateY(-5px);
}

.partner-logo-modern img {
    max-width: 100%;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.6);
    transition: all 0.4s ease;
    transform: scale(1);
}

.partner-logo-modern:hover img {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.5);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-modern-title {
        font-size: 2.8rem;
    }

    .hero-stats-modern {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .entities-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .partners-grid-modern {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .hero-modern {
        padding: 120px 0 60px;
    }

    .hero-modern-title {
        font-size: 2.2rem;
    }

    .hero-modern-subtitle {
        font-size: 1.2rem;
    }

    .hero-stats-modern {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .stat-modern-number {
        font-size: 2rem;
    }

    .stat-modern-label {
        font-size: 0.85rem;
    }

    .hero-cta {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-large {
        width: 100%;
        padding: 14px 30px;
    }

    .about-modern-text h2,
    .section-header-center h2,
    .cta-banner-content h2 {
        font-size: 2rem;
    }

    .about-modern-text p,
    .section-header-center p {
        font-size: 1rem;
    }

    .entities-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .cta-banner {
        padding: 3rem 0;
    }

    .cta-banner-content h2 {
        font-size: 1.8rem;
    }

    .cta-banner-content p {
        font-size: 1rem;
    }

    .cta-banner-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .partners-grid-modern {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        padding: 0;
    }

    .partner-logo-modern {
        padding: 0.75rem;
    }

    .partner-logo-modern img {
        max-width: 90px;
        max-height: 60px;
    }
}

@media (max-width: 480px) {
    .hero-modern-title {
        font-size: 1.8rem;
    }

    .hero-modern-subtitle {
        font-size: 1rem;
    }

    .stat-modern-number {
        font-size: 1.8rem;
    }

    .about-modern,
    .entities-section,
    .cta-banner,
    .partners-modern {
        padding: 3rem 0;
    }

    .section-header-center h2 {
        font-size: 1.6rem;
    }

    .section-header-center p {
        font-size: 0.95rem;
    }

    .partners-grid-modern {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        padding: 0;
    }

    .partner-logo-modern {
        padding: 0.5rem;
    }

    .partner-logo-modern img {
        max-width: 80px;
        max-height: 50px;
    }
}

/* ===== STYLES POUR LES FORMULAIRES ET MODALS ===== */

/* Modal de candidature */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.modal-content {
    background: white;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transform: translateY(-20px);
    transition: transform 0.3s ease;
}

.modal.show .modal-content {
    transform: translateY(0);
}

.modal-header {
    padding: 24px 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 24px;
}

.modal-header h2 {
    margin: 0;
    color: #1f2937;
    font-size: 1.5rem;
    font-weight: 600;
}

.modal-close {
    background: none;
    border: none;
    font-size: 24px;
    color: #6b7280;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: color 0.2s ease, background-color 0.2s ease;
}

.modal-close:hover {
    color: #374151;
    background-color: #f3f4f6;
}

.modal-body {
    padding: 0 24px 24px;
}

/* Formulaires */
.application-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

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

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    color: #374151;
    font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    background-color: #fff;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-group input[type="file"] {
    padding: 8px 12px;
    background-color: #f9fafb;
    border: 2px dashed #d1d5db;
    cursor: pointer;
}

.form-group input[type="file"]:hover {
    border-color: #3b82f6;
    background-color: #eff6ff;
}

.error-message {
    color: #ef4444;
    font-size: 12px;
    margin-top: 4px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.error-message::before {
    content: "⚠";
    font-size: 14px;
}

/* Messages de newsletter */
.newsletter-message {
    margin-top: 15px;
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 14px;
    line-height: 1.4;
    display: flex;
    align-items: center;
    gap: 8px;
}

.newsletter-message.success {
    background-color: #d1fae5;
    border: 1px solid #a7f3d0;
    color: #065f46;
}

.newsletter-message.error {
    background-color: #fee2e2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

.newsletter-message.info {
    background-color: #dbeafe;
    border: 1px solid #93c5fd;
    color: #1e40af;
}

.newsletter-message i {
    font-size: 16px;
    flex-shrink: 0;
}

.form-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #e5e7eb;
}

.btn-secondary {
    background-color: #f3f4f6;
    color: #374151;
    border: 1px solid #d1d5db;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-secondary:hover {
    background-color: #e5e7eb;
    border-color: #9ca3af;
}

.btn-primary {
    background-color: #3b82f6;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary:hover {
    background-color: #2563eb;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.btn-primary:disabled {
    background-color: #9ca3af;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Notifications */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 16px 20px;
    border-radius: 8px;
    color: white;
    font-weight: 500;
    z-index: 10000;
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 400px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    animation: slideInRight 0.3s ease;
}

.notification-success {
    background-color: #10b981;
}

.notification-error {
    background-color: #ef4444;
}

.notification-info {
    background-color: #3b82f6;
}

.notification-close {
    background: none;
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
    padding: 0;
    margin-left: auto;
    opacity: 0.8;
    transition: opacity 0.2s ease;
}

.notification-close:hover {
    opacity: 1;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

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

/* Formulaire newsletter */
.newsletter-form {
    display: flex;
    gap: 12px;
    align-items: center;
}

.newsletter-input {
    display: flex;
    gap: 12px;
    flex: 1;
}

.newsletter-input input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
}

.newsletter-input button {
    white-space: nowrap;
}

/* Responsive */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 20px;
    }

    .application-form .form-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }

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

    .newsletter-input {
        flex-direction: column;
    }

    .notification {
        right: 10px;
        left: 10px;
        max-width: none;
    }
}

/* États de chargement */
.loading {
    position: relative;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: inherit;
}

.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid #f3f4f6;
    border-top: 2px solid #3b82f6;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Amélioration des boutons de candidature */
.application-btn,
.btn-apply,
.apply-btn {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.application-btn:hover,
.btn-apply:hover,
.apply-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
}

.application-btn:active,
.btn-apply:active,
.apply-btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

/* Styles pour les cartes d'offres d'emploi */
.job-card {
    position: relative;
    overflow: hidden;
}

.job-card .application-btn {
    width: 100%;
    justify-content: center;
    margin-top: 16px;
}

/* Animation pour les champs avec erreur */
.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    animation: shake 0.5s ease-in-out;
}

@keyframes shake {

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

    25% {
        transform: translateX(-5px);
    }

    75% {
        transform: translateX(5px);
    }
}

/* ===== STYLES POUR LE FORMULAIRE DE CONTACT ===== */

/* Amélioration des checkboxes personnalisées */
.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.5;
    color: #374151;
}

.checkbox-label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkbox-label .checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid #d1d5db;
    border-radius: 4px;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
    margin-top: 2px;
    position: relative;
}

.checkbox-label input[type="checkbox"]:checked+.checkmark,
.checkbox-label .checkmark.checked {
    background-color: #3b82f6;
    border-color: #3b82f6;
}

.checkbox-label input[type="checkbox"]:checked+.checkmark::after,
.checkbox-label .checkmark.checked::after {
    content: "✓";
    color: white;
    font-size: 12px;
    font-weight: bold;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.checkbox-label:hover .checkmark {
    border-color: #3b82f6;
}

.checkbox-label input[type="checkbox"].error+.checkmark {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

/* Amélioration du formulaire de contact */
.contact-form-container {
    background: #fff;
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
}

.contact-form-container h2 {
    color: #1f2937;
    margin-bottom: 8px;
    font-size: 1.75rem;
    font-weight: 600;
}

.contact-form-container>p {
    color: #6b7280;
    margin-bottom: 24px;
    font-size: 16px;
}

/* Amélioration des informations de contact */
.contact-info {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 32px;
    border-radius: 12px;
    height: fit-content;
}

.contact-info h3 {
    color: white;
    margin-bottom: 24px;
    font-size: 1.5rem;
    font-weight: 600;
}

.contact-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 20px;
    color: white;
}

.contact-details h4 {
    color: white;
    margin-bottom: 4px;
    font-weight: 600;
    font-size: 16px;
}

.contact-details p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    line-height: 1.5;
}

.contact-details a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-details a:hover {
    color: white;
    text-decoration: underline;
}

/* Réseaux sociaux dans le contact */
.contact-social {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-social h4 {
    color: white;
    margin-bottom: 16px;
    font-weight: 600;
}

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

.contact-social .social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-social .social-links a:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* Amélioration du bouton de soumission */
.btn-submit {
    width: 100%;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
    border: none;
    padding: 16px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
}

.btn-submit:disabled {
    background: #9ca3af;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-submit:active {
    transform: translateY(0);
}

/* Amélioration de la section FAQ */
.faq-section {
    background: #f9fafb;
    padding: 80px 0;
}

.faq-item {
    background: white;
    border-radius: 8px;
    margin-bottom: 16px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

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

.faq-question {
    padding: 20px 24px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e5e7eb;
    transition: all 0.2s ease;
}

.faq-item.open .faq-question {
    background: #f3f4f6;
}

.faq-question h4 {
    margin: 0;
    color: #1f2937;
    font-weight: 600;
    font-size: 16px;
}

.faq-question i {
    color: #6b7280;
    transition: transform 0.3s ease;
}

.faq-item.open .faq-question i {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 24px 20px;
    color: #6b7280;
    line-height: 1.6;
    display: none;
}

.faq-answer p {
    margin: 0;
}

.faq-answer a {
    color: #3b82f6;
    text-decoration: none;
}

.faq-answer a:hover {
    text-decoration: underline;
}

/* Animation pour l'ouverture des FAQ */
.faq-item.open .faq-answer {
    animation: fadeInDown 0.3s ease;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

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

/* Responsive pour le formulaire de contact */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .contact-form-container,
    .contact-info {
        padding: 24px;
    }

    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }

    .contact-icon {
        align-self: center;
    }

    .faq-question {
        padding: 16px 20px;
    }

    .faq-answer {
        padding: 0 20px 16px;
    }
}

/* États de focus améliorés */
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
    transform: translateY(-1px);
}

/* Animation pour les éléments de contact */
.contact-item {
    animation: slideInUp 0.6s ease forwards;
    opacity: 0;
    transform: translateY(20px);
}

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

.contact-item:nth-child(2) {
    animation-delay: 0.2s;
}

.contact-item:nth-child(3) {
    animation-delay: 0.3s;
}

.contact-item:nth-child(4) {
    animation-delay: 0.4s;
}

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

/* Message de succès personnalisé */
.success-message {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    margin-top: 20px;
    animation: slideInDown 0.5s ease;
}

.success-message i {
    font-size: 2rem;
    margin-bottom: 10px;
    display: block;
}

/* Amélioration des liens dans les informations de contact */
.contact-details a[href^="tel:"] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.contact-details a[href^="tel:"]:before {
    content: "📞";
    font-size: 14px;
}

.contact-details a[href^="mailto:"] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.contact-details a[href^="mailto:"]:before {
    content: "✉️";
    font-size: 14px;
}
/* ===================================
   SINGLE ARTICLE STYLES
   =================================== */

.article-header {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    padding: 120px 0 60px;
    margin-top: 80px;
    color: var(--white);
}

.article-header-content {
    max-width: 800px;
    margin: 0 auto;
}

.article-header .breadcrumb {
    justify-content: flex-start;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.article-category {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--primary-color);
    padding: 0.4rem 1rem;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
    backdrop-filter: blur(5px);
}

.article-header h1 {
    font-size: 2.8rem;
    line-height: 1.2;
    margin-bottom: 2rem;
    color: var(--white);
}

.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.article-meta .author-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.author-name {
    display: block;
    font-weight: 600;
    color: var(--white);
}

.article-date {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
}

.article-share {
    display: flex;
    gap: 1rem;
}

.share-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.share-btn:hover {
    background-color: var(--white);
    color: var(--primary-color);
    transform: translateY(-3px);
}

/* Article Body Content */
.article-content {
    padding: 60px 0;
    background-color: var(--white);
}

.article-body {
    max-width: 800px;
    margin: 0 auto;
}

.article-image {
    margin-bottom: 3rem;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.article-image img {
    width: 100%;
    height: auto;
    display: block;
}

.article-body .content {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-dark);
}

.article-body .lead {
    font-size: 1.3rem;
    color: var(--text-dark);
    font-weight: 500;
    margin-bottom: 2.5rem;
    padding-left: 1.5rem;
    border-left: 4px solid var(--primary-color);
}

.article-body h2 {
    font-size: 1.8rem;
    margin: 3rem 0 1.5rem;
    color: var(--secondary-color);
}

.article-body h3 {
    font-size: 1.4rem;
    margin: 2rem 0 1rem;
}

.article-body p {
    margin-bottom: 1.5rem;
}

.article-body ul, .article-body ol {
    margin-bottom: 2rem;
    padding-left: 1.5rem;
}

.article-body li {
    margin-bottom: 0.75rem;
}

/* Callout Blocks */
.question-block, .example-box, .tip-box, .warning-box {
    padding: 2rem;
    border-radius: 12px;
    margin: 2.5rem 0;
}

.question-block {
    background-color: #f0f7ff;
    border-left: 5px solid var(--primary-color);
}

.question-block h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.example-box {
    background-color: #f6fdf9;
    border: 1px dashed #2ecc71;
}

.tip-box {
    background-color: #fffaf0;
    border-radius: 12px;
    border: 1px solid #f39c12;
}

.warning-box {
    background-color: #fff5f5;
    border: 1px solid #e74c3c;
}

.warning-box h4 {
    color: #e74c3c;
}

/* Tags & Footer Article */
.article-tags {
    padding: 2rem 0;
    border-top: 1px solid var(--border-color);
    margin-top: 4rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.tag {
    background-color: var(--light-gray);
    padding: 0.5rem 1.25rem;
    border-radius: 30px;
    font-size: 0.9rem;
    color: var(--text-light);
    transition: var(--transition);
    cursor: pointer;
}

.tag:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.related-articles {
    margin-top: 4rem;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.related-card {
    display: block;
    text-decoration: none;
    transition: var(--transition);
}

.related-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 1rem;
    transition: var(--transition);
}

.related-card h4 {
    font-size: 1.1rem;
    color: var(--text-dark);
    line-height: 1.4;
}

.related-card:hover {
    transform: translateY(-5px);
}

.related-card:hover img {
    box-shadow: var(--shadow-hover);
}

@media (max-width: 768px) {
    .article-header h1 {
        font-size: 2rem;
    }
    
    .article-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }
    
    .related-grid {
        grid-template-columns: 1fr;
    }
}

/* Messages de formulaire de contact */
.form-message {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-message.success {
    background-color: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.form-message.success::before {
    content: "✓";
    font-weight: bold;
    font-size: 16px;
}

.form-message.error {
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

.form-message.error::before {
    content: "⚠";
    font-weight: bold;
    font-size: 16px;
}

/* Champs avec erreur */
.contact-form input.error,
.contact-form select.error,
.contact-form textarea.error {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

/* État de chargement du bouton */
.btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.btn-submit .fa-spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ===== JOBS TABS ===== */
.jobs-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--border-color);
}

.tab-btn {
    background: none;
    border: none;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-muted);
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tab-btn:hover {
    color: var(--primary-color);
    background-color: var(--bg-light);
}

.tab-btn.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
    background-color: var(--bg-light);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* ===== JOB CARD EXPIRED STATE ===== */
.job-card.is-expired {
    opacity: 0.7;
    border-color: var(--text-muted);
}

.job-card.is-expired .job-badge {
    background-color: var(--text-muted);
    color: white;
}

.job-card.is-expired .job-title {
    color: var(--text-muted);
}

.job-card.is-expired .btn-apply {
    display: none;
}

/* ===== LOADING SPINNER ===== */
.loading-spinner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    color: var(--text-muted);
}

.loading-spinner i {
    font-size: 2rem;
    margin-bottom: 1rem;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ===== RESPONSIVE TABS ===== */
@media (max-width: 768px) {
    .jobs-tabs {
        flex-direction: column;
        gap: 0;
    }
    
    .tab-btn {
        border-bottom: 1px solid var(--border-color);
        border-radius: 0;
        justify-content: center;
    }
    
    .tab-btn.active {
        border-bottom-color: var(--primary-color);
        border-left: 3px solid var(--primary-color);
    }
}


/* ===== TESTIMONIALS SECTION ===== */
.testimonials-section {
    padding: 5rem 0;
    background: transparent;
}

.testimonials-section .section-header-center {
    text-align: center;
    margin-bottom: 3rem;
}

.testimonials-section .section-header-center h2 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 700;
}

.testimonials-section .section-header-center p {
    font-size: 1.2rem;
    color: var(--primary-color);
    font-weight: 600;
    max-width: 700px;
    margin: 0 auto;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.testimonial-card {
    background-color: transparent;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: none;
    transition: all 0.3s ease;
    border: none;
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 6rem;
    color: rgba(63, 167, 222, 0.1);
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: none;
}

.testimonial-rating {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1.5rem;
}

.testimonial-rating i {
    color: #ffd700;
    font-size: 1.1rem;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-style: italic;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 2px solid var(--light-gray);
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.author-avatar i {
    font-size: 1.5rem;
    color: var(--white);
}

.author-info h4 {
    margin: 0 0 0.25rem 0;
    font-size: 1rem;
    color: var(--text-dark);
    font-weight: 600;
}

.author-info p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.testimonials-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
    padding-top: 2rem;
}

.stat-box {
    text-align: center;
    padding: 2rem 1rem;
    background-color: var(--white);
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.stat-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(63, 167, 222, 0.15);
}

.stat-box .stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-box .stat-label {
    display: block;
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
    .testimonials-section {
        padding: 3rem 0;
    }

    .testimonials-section .section-header-center h2 {
        font-size: 1.8rem;
    }

    .testimonials-section .section-header-center p {
        font-size: 1rem;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .testimonial-card {
        padding: 1.5rem;
    }

    .testimonials-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .stat-box {
        padding: 1.5rem 1rem;
    }

    .stat-box .stat-number {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .testimonials-section .section-header-center h2 {
        font-size: 1.5rem;
    }

    .testimonial-card::before {
        font-size: 4rem;
        top: -5px;
        left: 15px;
    }

    .testimonial-text {
        font-size: 0.95rem;
    }

    .author-avatar {
        width: 45px;
        height: 45px;
    }

    .author-avatar i {
        font-size: 1.25rem;
    }
}
