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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

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

/* Header */
.header {
    background-color: #1a1a1a;
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

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

.logo {
    display: flex;
    align-items: center;
    gap: 5px;
    color: white;
    font-size: 18px;
    font-weight: bold;
}

.logo-icon {
    font-size: 24px;
    font-weight: bold;
}

.logo-stars {
    font-size: 12px;
    color: #ff6600;
}

.logo-text {
    margin-left: 5px;
}

.nav-menu {
    display: flex;
    gap: 25px;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
    position: relative;
}

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

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #ff6600;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('MAQUETTE/acceuil.png') center/cover;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-overlay {
    text-align: center;
    color: white;
    z-index: 1;
}

.hero-title {
    font-size: 48px;
    font-weight: bold;
    color: #ff6600;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.hero-text {
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto 30px;
    line-height: 1.8;
}

.btn-hero {
    background-color: white;
    color: #ff6600;
    padding: 12px 40px;
    border: none;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 5px;
    transition: transform 0.3s;
}

.btn-hero:hover {
    transform: scale(1.05);
}

.carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.5);
    cursor: pointer;
}

.dot.active {
    background-color: #ff6600;
}

/* Decorative Pattern */
.decorative-pattern {
    height: 40px;
    background: repeating-linear-gradient(
        45deg,
        #000,
        #000 10px,
        #fff 10px,
        #fff 20px
    );
    margin: 30px 0;
    position: relative;
}

.decorative-pattern::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: repeating-linear-gradient(
        to right,
        transparent,
        transparent 5px,
        #ff0000 5px,
        #ff0000 7px
    );
}

/* Services Section */
.services-section {
    padding: 60px 0;
    background-color: #f5f5f5;
}

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

.service-card {
    background-color: #ff6600;
    padding: 40px 30px;
    text-align: center;
    border-radius: 10px;
    color: white;
    transition: transform 0.3s;
}

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

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

.icon-circle {
    width: 80px;
    height: 80px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 40px;
}

.service-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.service-card p {
    font-size: 16px;
    line-height: 1.6;
}

/* Mission Section */
.mission-section {
    padding: 60px 0;
    background-color: #fafafa;
}

.section-title {
    font-size: 32px;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.title-icon {
    font-size: 40px;
}

.mission-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.mission-image img {
    width: 100%;
    border-radius: 10px;
}

.mission-text p {
    font-size: 16px;
    margin-bottom: 20px;
    line-height: 1.8;
}

/* Values Section */
.values-section {
    padding: 60px 0;
    background-color: #fff;
}

.values-timeline {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    position: relative;
    padding: 20px 0;
}

.value-item {
    padding: 20px 40px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    border-radius: 5px;
    cursor: pointer;
    transition: transform 0.3s;
}

.value-item:hover {
    transform: scale(1.05);
}

.value-item.brown {
    background-color: #8b4513;
}

.value-item.orange {
    background-color: #ff6600;
}

.value-item.red {
    background-color: #ff0000;
}

/* Articles Section */
.articles-section {
    padding: 60px 0;
    background-color: #f5f5f5;
}

.articles-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

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

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    font-weight: bold;
}

.social-icon.whatsapp {
    background-color: #25d366;
}

.social-icon.facebook {
    background-color: #1877f2;
}

.social-icon.twitter {
    background-color: #1da1f2;
}

.social-icon.linkedin {
    background-color: #0077b5;
}

.articles-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
}

.tab {
    padding: 10px 20px;
    background-color: #ddd;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    font-size: 14px;
}

.tab.active {
    background-color: #ff6600;
    color: white;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.article-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

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

.article-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

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

.article-content {
    padding: 20px;
}

.article-content h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #333;
}

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

.btn-article {
    background-color: #ff6600;
    color: white;
    padding: 8px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
}

/* Thematic Blocks */
.thematic-blocks {
    padding: 60px 0;
}

.thematic-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
}

.thematic-block {
    padding: 40px 30px;
    color: white;
    min-height: 500px;
    display: flex;
    flex-direction: column;
}

.thematic-block.brown {
    background-color: #8b4513;
}

.thematic-block.green {
    background-color: #2d5016;
}

.thematic-block.red {
    background-color: #8b0000;
}

.thematic-block h3 {
    font-size: 20px;
    margin-bottom: 20px;
    line-height: 1.4;
}

.thematic-image {
    margin: 20px 0;
    flex: 1;
}

.thematic-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 5px;
}

.thematic-block p {
    margin-bottom: 20px;
    line-height: 1.6;
}

.btn-thematic {
    background-color: white;
    color: #333;
    padding: 10px 25px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    align-self: flex-start;
}

/* Job Offers Section */
.job-offers-section {
    padding: 60px 0;
    background-color: #f5f5f5;
}

.section-title-large {
    font-size: 42px;
    color: #0066cc;
    margin-bottom: 30px;
    text-align: center;
}

.job-search {
    max-width: 800px;
    margin: 0 auto;
}

.search-bar {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.search-input {
    flex: 1;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

.btn-filter {
    padding: 12px 30px;
    background-color: #ff6600;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.job-filters {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.filter-select {
    flex: 1;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

.cv-upload {
    margin-top: 30px;
}

.upload-box {
    border: 2px dashed #ddd;
    padding: 60px 20px;
    text-align: center;
    border-radius: 10px;
    background-color: white;
    cursor: pointer;
    transition: border-color 0.3s;
}

.upload-box:hover {
    border-color: #ff6600;
}

/* Training CTA */
.training-cta {
    background-color: #1a1a1a;
    color: white;
    padding: 60px 0;
    text-align: center;
}

.training-cta h2 {
    font-size: 32px;
    margin-bottom: 30px;
}

.btn-contact {
    background-color: #ff0000;
    color: white;
    padding: 15px 50px;
    border: none;
    font-size: 18px;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    transition: transform 0.3s;
}

.btn-contact:hover {
    transform: scale(1.05);
}

/* Partners Section */
.partners-section {
    padding: 60px 0;
    background-color: #fff;
}

.partners-title {
    font-size: 36px;
    text-align: center;
    margin-bottom: 40px;
    font-style: italic;
    font-weight: normal;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    align-items: center;
}

.partner-logo {
    text-align: center;
    padding: 20px;
    background-color: #f5f5f5;
    border-radius: 10px;
    font-weight: bold;
    color: #666;
}

/* Contact Section */
.contact-section {
    padding: 60px 0;
    background: linear-gradient(to right, #f5f5f5, #ff6600);
}

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

.contact-form {
    background-color: rgba(255,255,255,0.9);
    padding: 40px;
    border-radius: 10px;
}

.contact-form h3 {
    margin-bottom: 25px;
    font-size: 24px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    font-family: inherit;
}

.contact-form textarea {
    resize: vertical;
}

.btn-send {
    background-color: #ff6600;
    color: white;
    padding: 12px 40px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    width: 100%;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
    justify-content: center;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    color: white;
    font-size: 18px;
}

.contact-icon {
    font-size: 24px;
}

/* Footer */
.footer {
    background: linear-gradient(to right, #1a1a1a, #ff6600);
    padding: 60px 0 20px;
    color: white;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 20px;
}

.footer-flags {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.flag {
    font-size: 24px;
}

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

.social-link {
    width: 35px;
    height: 35px;
    background-color: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    transition: background-color 0.3s;
}

.social-link:hover {
    background-color: rgba(255,255,255,0.4);
}

.footer-map {
    background-color: rgba(255,255,255,0.1);
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-placeholder {
    font-size: 24px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.2);
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        flex-direction: column;
        gap: 10px;
    }

    .hero-title {
        font-size: 32px;
    }

    .mission-content,
    .contact-grid,
    .footer-content,
    .thematic-grid {
        grid-template-columns: 1fr;
    }

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

    .values-timeline {
        flex-direction: column;
        align-items: center;
    }
}

.img-responsive {
    max-width: 100%;
    height: auto;
}

/* Services Page Styles */
.hero-services {
    height: 400px;
    background-color: #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-services-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.services-page-section {
    padding: 60px 0;
    background-color: #f5f5f5;
}

.services-page-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
}

.back-arrow {
    font-size: 24px;
    cursor: pointer;
}

.services-title-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
}

.services-icon {
    font-size: 40px;
}

.services-page-title {
    font-size: 36px;
    color: #333;
}

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

.service-page-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.service-page-card:hover {
    transform: translateY(-5px);
}

.service-page-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

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

.service-page-banner {
    padding: 20px;
    text-align: center;
}

.service-page-banner.red {
    background-color: #ff0000;
    color: white;
}

.service-page-banner h3 {
    font-size: 18px;
    font-weight: bold;
    text-transform: uppercase;
}

/* About Page Styles */
.hero-about {
    height: 400px;
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url('MAQUETTE/a propos (1).png') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

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

.gavel {
    font-size: 80px;
}

.about-section {
    padding: 60px 0;
    background-color: #fafafa;
}

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

.about-title {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 36px;
    color: #333;
}

.about-icon {
    font-size: 40px;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    border: 3px solid #ff0000;
}

.about-text p {
    font-size: 16px;
    margin-bottom: 20px;
    line-height: 1.8;
}

.expertise-axes {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 20px 0;
    font-size: 18px;
    font-weight: bold;
}

.axis-separator {
    color: #666;
}

/* Job Offers Page */
.job-offers-page {
    padding: 60px 0;
    background-color: #f5f5f5;
}

.page-title {
    font-size: 42px;
    text-align: center;
    margin-bottom: 40px;
    color: #333;
}

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

.job-card {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.job-card h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #333;
}

.job-location {
    color: #666;
    margin-bottom: 15px;
}

.job-description {
    margin-bottom: 20px;
    line-height: 1.6;
}

.job-tags {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.tag {
    background-color: #ff6600;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
}

.btn-apply {
    background-color: #ff6600;
    color: white;
    padding: 10px 30px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    width: 100%;
}

/* Gallery Page */
.gallery-section {
    padding: 60px 0;
    background-color: #f5f5f5;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-item {
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

/* References Page */
.references-section {
    padding: 60px 0;
    background-color: #f5f5f5;
}

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

.reference-card {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.reference-card h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #ff6600;
}

.reference-type {
    color: #666;
    font-style: italic;
    margin-bottom: 15px;
}

.reference-card p {
    line-height: 1.6;
}

/* FAQ Page */
.faq-section {
    padding: 60px 0;
    background-color: #f5f5f5;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: white;
    margin-bottom: 20px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.faq-question {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s;
}

.faq-question:hover {
    background-color: #f5f5f5;
}

.faq-question h3 {
    font-size: 18px;
    color: #333;
    flex: 1;
}

.faq-toggle {
    font-size: 24px;
    font-weight: bold;
    color: #ff6600;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-answer p {
    padding: 0 20px 20px;
    line-height: 1.8;
    color: #666;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

/* Scroll to Top Button */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #ff6600;
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    transition: transform 0.3s;
}

.scroll-top:hover {
    transform: scale(1.1);
}

.btn-contact-us {
    background-color: #ff6600;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    margin: 20px 0;
}

