@font-face {
    font-family: 'Ubuntu';
    src: url('font/Ubuntu-Regular.ttf') format('opentype');
    font-weight: normal;
    font-style: normal;
}
  
:root {
     --primary-blue: #2c2c74;
     --secondary-blue: #2c2c74;
     --accent-orange: #f38314;
     --light-orange: #ff9e5e;
     --white: #ffffff;
     --light-gray: #f5f7fa;
     --dark-gray: #333333;
     --transition: all 0.3s ease;
 }

 * {
     margin: 0;
     padding: 0;
     box-sizing: border-box;
     font-family: 'Ubuntu',sans-serif;
 }

 body {
     background-color: var(--white);
     color: var(--dark-gray);
     line-height: 1.6;
     overflow-x: hidden;
 }

 .container {
     width: 100%;
     max-width: 1200px;
     margin: 0 auto;
     padding: 0 20px;
 }

 /* Header */
 header {
     background-color: var(--white);
     box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
     position: fixed;
     width: 100%;
     z-index: 1000;
     transition: var(--transition);
 }

 header.scrolled {
     background-color: rgba(255, 255, 255, 0.98);
     box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
 }

 nav {
     display: flex;
     justify-content: space-between;
     align-items: center;
     padding: 20px 0;
 }

 .logo {
     font-size: 24px;
     font-weight: 700;
     color: var(--primary-blue);
     text-decoration: none;
     display: flex;
     align-items: center;
 }

 .logo span {
     color: var(--accent-orange);
 }

 .nav-links {
     display: flex;
     list-style: none;
 }

 .nav-links li {
     margin-left: 30px;
 }

 .nav-links a {
     color: var(--dark-gray);
     text-decoration: none;
     font-weight: 500;
     transition: var(--transition);
     position: relative;
 }

 .nav-links a:hover {
     color: var(--primary-blue);
 }

 .nav-links a::after {
     content: '';
     position: absolute;
     width: 0;
     height: 2px;
     background: var(--accent-orange);
     bottom: -5px;
     left: 0;
     transition: var(--transition);
 }

 .nav-links a:hover::after {
     width: 100%;
 }

 .mobile-menu-btn {
     display: none;
     background: none;
     border: none;
     font-size: 24px;
     color: var(--primary-blue);
     cursor: pointer;
 }.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    background: url('images/off.jpg') no-repeat center center/cover;
    color: var(--dark-gray);
    padding: 60px 0;
}

.hero-content {
    max-width: 600px;
    margin-left: 40%;
    padding: 40px;
    text-align: left;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    line-height: 1.6;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* ----------- Responsive mobile ------------ */
@media screen and (max-width: 768px) {
    .hero {
        height: auto;
        padding: 80px 20px;
        background: #2c2c74 !important; /* Remplace l'image uniquement sur mobile */
        color: white;
    }

    .hero-content {
        margin-left: 0;
        padding: 20px;
        max-width: 100%;
        text-align: center;
    }

    .hero h1 {
        font-size: 2rem;
        color: #ffffff;
    }

    .hero p {
        font-size: 1rem;
        color: #e0e0e0;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-secondary {
        border-color: white;
        color: white;
    }

    .btn-secondary:hover {
        background-color: white;
        color: #2c2c74;
    }
}
 /* Animation pour le texte */
 @keyframes fadeInUp {
     from {
         opacity: 0;
         transform: translateY(20px);
     }

     to {
         opacity: 1;
         transform: translateY(0);
     }
 }

 .hero-content h1,
 .hero-content p,
 .btn-group {
     animation: fadeInUp 0.8s ease forwards;
 }

 .hero-content p {
     animation-delay: 0.2s;
 }

 .btn-group {
     animation-delay: 0.4s;
 }
.btn {
    padding: 0.75rem 1.6rem;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 6px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}
.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-buttons a {
    padding: 12px 25px;
    font-weight: 600;
    border-radius: 5px;
    transition: all 0.3s ease;
    text-align: center;
    text-decoration: none;
}
 .social-links a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 50%;
        color: var(--white);
        transition: var(--transition);
    }

    .social-links a:hover {
        background: var(--accent-orange);
        transform: translateY(-3px);
    }


/* Premier bouton : plein (Nos services) */
.btn-orange {
    background-color: #f38314;
    color: #fff;
    border: 2px solid #f38314;
}
.btn-orange:hover {
    background-color: transparent;
    color: #f38314;
    border-color: #f38314;
}

/* Deuxième bouton : outline (Offres d'emploi) */
.btn-outline-blue {
    background-color: transparent;
    color: #2c2c74;
    border: 2px solid #2c2c74;
}
.btn-outline-blue:hover {
    background-color: #2c2c74;
    color: #fff;
}

/* ✅ VISIBILITÉ sur mobile */
@media (max-width: 768px) {
    .hero-buttons {
        justify-content: center;
    }

    .btn-outline-blue {
        background-color: #fff;
        color: #2c2c74;
        border-color: #fff;
    }

    .btn-outline-blue:hover {
        background-color: #f38314;
        border-color: #f38314;
        color: #fff;
    }
}

 /* Sections */
 section {
     padding: 80px 0;
 }

 .section-title {
     text-align: center;
     margin-bottom: 60px;
     position: relative;
 }

 .section-title h2 {
     font-size: 2.5rem;
     color: var(--primary-blue);
     margin-bottom: 15px;
 }


 /* What We Do Section */
 .features {
     display: flex;
     flex-wrap: wrap;
     justify-content: center;
     gap: 30px;
 }

 .feature-card {
     background: var(--white);
     border-radius: 10px;
     padding: 40px 30px;
     text-align: center;
     width: 100%;
     max-width: 350px;
     box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
     transition: var(--transition);
     position: relative;
     overflow: hidden;
     z-index: 1;
 }
 .feature-card.animate {
    opacity: 0;
    transform: translateY(40px);
}

.feature-card.animate.animated {
    animation: fadeUp 0.8s ease-out forwards;
}


 .feature-card:hover {
     transform: translateY(-10px);
     box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
 }

 .feature-card::before {
     content: '';
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 5px;
     background: var(--accent-orange);
     z-index: 2;
 }

 .feature-icon {
     font-size: 3rem;
     color: var(--primary-blue);
     margin-bottom: 20px;
     transition: var(--transition);
 }

 .feature-card:hover .feature-icon {
     color: var(--accent-orange);
     transform: scale(1.1);
 }

 .feature-card h3 {
     font-size: 1.5rem;
     margin-bottom: 15px;
     color: var(--primary-blue);
 }
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-card.animate {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.5s ease-out;
}

.feature-card.animated {
    animation: fadeUp 0.6s ease-out forwards;
}

 /* Services Section */
/* Services Section - Modern Design */
.services {
    padding: 100px 0;
    background: linear-gradient(135deg, #f9faff 0%, #f0f4ff 100%);
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: rgba(65, 105, 225, 0.1);
    border-radius: 50%;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-subtitle {
    display: inline-block;
    color: var(--accent-orange);
    font-weight: 600;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.section-title {
    font-size: 2.5rem;
    color: var(--dark-blue);
    margin-bottom: 20px;
    font-weight: 700;
}

.divider {
    width: 80px;
    height: 3px;
    margin: 0 auto;
    border-radius: 3px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: white;
    border-radius: 15px;
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(65, 105, 225, 0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(65, 105, 225, 0.1) 0%, rgba(255, 140, 0, 0.1) 100%);
    border-radius: 20px;
}

.service-icon img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.service-card h3 {
    font-size: 1.5rem;
    color: var(--dark-blue);
    margin-bottom: 20px;
    text-align: center;
    font-weight: 600;
}

.service-content ul {
    list-style: none;
    padding: 0;
}

.service-content li {
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
    color: #555;
    line-height: 1.6;
}

.service-content li span {
    position: absolute;
    left: 0;
    color: var(--accent-orange);
    font-weight: bold;
}

.service-hover-effect {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background:  var(--primary-blue);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
    z-index: -1;
}

.service-card:hover .service-hover-effect {
    transform: scaleX(1);
    height: 100%;
    opacity: 0.05;
}

@keyframes slideInDiagonal {
    from {
        opacity: 0;
        transform: translate(80px, 80px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translate(0, 0) scale(1);
    }
}

.service-card.animate {
    opacity: 0;
    transform: translate(80px, 80px) scale(0.9);
    transition: all 2s ease;
}

.service-card.animated {
    animation: slideInDiagonal 2s ease forwards;
}


.btn-gradient {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    background:var(--accent-orange);
    color: white;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(65, 105, 225, 0.3);
    transition: all 0.3s ease;
    border: none;
    overflow: hidden;
    position: relative;
}

.btn-gradient:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(65, 105, 225, 0.4);
}

.btn-gradient svg {
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.btn-gradient:hover svg {
    transform: translateX(5px);
}

.cta-button {
    text-align: center;
    margin-top: 50px;
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate {
    animation: fadeInUp 0.8s ease forwards;
}

 /* Jobs Section */
 /* Jobs Section - Sophisticated */
.jobs-sophisticated {
    background-color: #fff;
    padding: 80px 0;
    position: relative;
}

.section-header h2 {
    font-weight: 300;
    font-size: 2.2rem;
    letter-spacing: 0.5px;
    color: #333;
}

.divider-line {
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, rgba(55,88,249,0.3), rgba(55,88,249,0.8));
    margin: 0 auto;
}

.illustration-wrapper {
    position: relative;
    max-width: 80%;
}

.elegant-illustration {
    border-radius: 8px;
    filter: grayscale(20%);
    transition: all 0.5s ease;
    z-index: 2;
    position: relative;
}

.circle-decoration {
    position: absolute;
    width: 120%;
    height: 120%;
    background: rgba(55,88,249,0.03);
    border-radius: 50%;
    top: -10%;
    left: -10%;
    z-index: 1;
    animation: pulse 8s infinite alternate;
}

.job-elegant-card {
    background: #f6f6ff;
    border-radius: 8px;
        border: 1px solid #2c2c74;
    padding: 20px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.job-elegant-card:hover {
    border: 1px solid #2c2c74;
    transform: translateX(5px);
    background: #f9faff;
}

.job-icon {
    width: 40px;
    height: 40px;
    background: rgba(55,88,249,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f38314;
    font-size: 1rem;
    flex-shrink: 0;
}

.job-position {
    font-size: 1.1rem;
    font-weight: 500;
    color: #333;
    margin-bottom: 5px;
}

.job-meta {
    font-size: 0.85rem;
    color: #666;
}

.location, .contract {
    display: flex;
    align-items: center;
}

.location i, .contract i {
    margin-right: 5px;
    font-size: 0.8rem;
}

.separator {
    color: #ccc;
}

.job-excerpt {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 10px;
}

.elegant-apply-btn {
    display: inline-block;
    color: #2c2c74;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.elegant-apply-btn i {
    transition: transform 0.3s ease;
}

.elegant-apply-btn:hover {
    color: #1a3ff0;
}

.elegant-apply-btn:hover i {
    transform: translateX(3px);
}

.see-more-link {
    color: #666;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.see-more-link:hover {
    color: #2c2c74;
}

.see-more-link i {
    transition: transform 0.3s ease;
}

.see-more-link:hover i {
    transform: translateY(3px);
}

/* Animations subtiles */
@keyframes pulse {
    0% { transform: scale(1); opacity: 0.03; }
    100% { transform: scale(1.05); opacity: 0.05; }
}

/* Responsive Design */
@media (max-width: 992px) {
    .illustration-wrapper {
        max-width: 100%;
        margin-bottom: 40px;
    }
    
    .elegant-illustration {
        max-width: 400px;
    }
}

@media (max-width: 768px) {
    .jobs-sophisticated {
        padding: 60px 0;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .job-elegant-card {
        padding: 15px;
    }
}

@media (max-width: 576px) {
    .job-elegant-card {
        padding: 15px 10px;
    }
    
    .job-icon {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }
    
    .job-position {
        font-size: 1rem;
    }
}

 /* Resources Section */
 .resources {
     background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
     color: var(--white);
 }

 .resources .section-title h2 {
     color: var(--white);
 }

 .resources .section-title::after {
     background: var(--accent-orange);
 }

 .resources-grid {
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
     gap: 30px;
 }

 .resource-card {
     background: rgba(255, 255, 255, 0.1);
     backdrop-filter: blur(10px);
     border-radius: 10px;
     padding: 30px;
     transition: var(--transition);
     border: 1px solid rgba(255, 255, 255, 0.2);
 }

 .resource-card:hover {
     transform: translateY(-5px);
     background: rgba(255, 255, 255, 0.2);
     box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
 }

 .resource-card h3 {
     margin-bottom: 15px;
     font-size: 1.3rem;
 }

 .resource-card p {
     opacity: 0.9;
     margin-bottom: 20px;
 }

 .btn-resource {
     background: var(--white);
     color: var(--primary-blue);
 }

 .btn-resource:hover {
     background: rgba(255, 255, 255, 0.9);
 }

 /* CTA Section */
/* Version simplifiée avec fond */
.cta {
    position: relative;
    text-align: center;
    padding: 60px 0;
    background: url('images/off.jpg') center/cover no-repeat;
    color: var(--white);
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--accent-orange);
    opacity: 0.9; /* Ajustez cette valeur pour plus ou moins de transparence */
}

.cta .container {
    position: relative;
    z-index: 1;
}

.cta h2 {
    font-size: 2.2rem; /* Légèrement réduit */
    margin-bottom: 20px;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.cta p {
    max-width: 600px;
    margin: 0 auto 30px;
    font-size: 1.1rem;
    opacity: 0.95;
}

.btn-cta {
    background: var(--white);
    color: var(--accent-orange);
    font-size: 1.1rem;
    padding: 12px 35px; /* Légèrement réduit */
    border-radius: 50px;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    color: black;
}

/* Responsive */
@media (max-width: 768px) {
    .cta {
        padding: 50px 0;
    }
    
    .cta h2 {
        font-size: 1.8rem;
    }
    
    .btn-cta {
        padding: 10px 30px;
    }

    .btn-outline-blue {
        background-color: #fff;  /* Fond blanc sur mobile */
        color: #2c2c74;
        border: 2px solid #fff;
    }

    .btn-outline-blue:hover {
        background-color: #f38314;
        border-color: #f38314;
        color: #fff;
    }
}
 /* Footer */
 footer {
     background: var(--dark-gray);
     color: var(--white);
     padding: 60px 0 20px;
 }

 .footer-content {
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
     gap: 40px;
     margin-bottom: 40px;
 }

 .footer-column h3 {
     color: var(--white);
     margin-bottom: 20px;
     font-size: 1.2rem;
     position: relative;
     padding-bottom: 10px;
 }

 .footer-column h3::after {
     content: '';
     position: absolute;
     left: 0;
     bottom: 0;
     width: 40px;
     height: 2px;
     background: var(--accent-orange);
 }

 .footer-column ul {
     list-style: none;
 }

 .footer-column li {
     margin-bottom: 10px;
 }

 .footer-column a {
     color: #bbb;
     text-decoration: none;
     transition: var(--transition);
 }

 .footer-column a:hover {
     color: var(--white);
     padding-left: 5px;
 }

 .social-links {
     display: flex;
     gap: 15px;
     margin-top: 20px;
 }

 .social-links a {
     display: flex;
     align-items: center;
     justify-content: center;
     width: 40px;
     height: 40px;
     background: rgba(255, 255, 255, 0.1);
     border-radius: 50%;
     color: var(--white);
     transition: var(--transition);
 }

 .social-links a:hover {
     background: var(--accent-orange);
     transform: translateY(-3px);
 }

 .footer-bottom {
     text-align: center;
     padding-top: 20px;
     border-top: 1px solid rgba(255, 255, 255, 0.1);
     font-size: 0.9rem;
     color: #bbb;
 }

 /* Animations */
 @keyframes fadeInUp {
     from {
         opacity: 0;
         transform: translateY(20px);
     }

     to {
         opacity: 1;
         transform: translateY(0);
     }
 }

 .animate {
     opacity: 0;
     transform: translateY(20px);
     transition: opacity 0.6s ease, transform 0.6s ease;
 }

 .animate.animated {
     opacity: 1;
     transform: translateY(0);
 }

 /* Responsive */
 @media (max-width: 992px) {
     .hero h1 {
         font-size: 2.8rem;
     }
 }

 @media (max-width: 768px) {
     .mobile-menu-btn {
         display: block;
     }

     .nav-links {
         position: fixed;
         top: 80px;
         left: -100%;
         width: 100%;
         height: calc(100vh - 80px);
         background: var(--white);
         flex-direction: column;
         align-items: center;
         padding: 40px 0;
         transition: var(--transition);
         box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
     }

     .nav-links.active {
         left: 0;
     }

     .nav-links li {
         margin: 15px 0;
     }

    
 }

 @media (max-width: 576px) {
     .hero h1 {
         font-size: 1.8rem;
     }

     .hero p {
         font-size: 1rem;
     }

     .section-title h2 {
         font-size: 1.8rem;
     }
 }