
    * { font-family: 'Nunito', sans-serif; box-sizing: border-box; }

    .hero-section {
    background: linear-gradient(135deg, #1a56db 0%, #1d4ed8 50%, #1e40af 100%);
    min-height: 550px;
    position: relative;
  }

    [x-cloak] {
      display: none !important;
  }
  .dropdown {
    position: absolute;
    left: 0;
    top: 100%;
    margin-top: 4px;
    width: 250px;
    background: #e5e7eb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 10px 15px rgba(0,0,0,0.05);
    max-height: 220px;
    overflow-y: auto;
    display: none;
    z-index: 9000;
}

.item {
    padding: 8px 12px;
    cursor: pointer;
}

.item:hover {
    background: #1a56db;
    color: white;
}
  .hero-section::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 70px;
    background: #e3e8f0;
    clip-path: ellipse(56% 100% at 50% 100%);
    z-index: 15;
  }
  .hero-circle-1 {
    position: absolute;
    top: -80px;
    right: -80px;
    width: 300px;
    height: 300px;
    background: rgba(255,255,255,0.06);
    border-radius: 50%;
    z-index: 2;
  }
  .hero-circle-2 {
    position: absolute;
    bottom: 20px;
    left: -60px;
    width: 200px;
    height: 200px;
    background: rgba(255,255,255,0.04);
    border-radius: 50%;
    z-index: 2;
  }
  .hero-carousel {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
  }
  .carousel-slide {
    transition: opacity 0.8s ease-in-out;
  }
  .carousel-slide.active {
    opacity: 1;
    z-index: 2;
  }
  .carousel-dot.active {
    background-color: white !important;
    width: 2rem !important;
    border-radius: 1rem;
  }
  @media (max-width: 768px) {
    .hero-section::after {
      height: 45px;
    }
    .hero-section {
      min-height: 500px;
    }
    .carousel-prev, .carousel-next {
      padding: 0.5rem;
    }
    .carousel-prev svg, .carousel-next svg {
      width: 1.25rem;
      height: 1.25rem;
    }


    .dropdown {
        width: 100%;
        max-height: 200px;
        background: white;
        border: 1px solid #e5e7eb;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    }
    
    .item {
        padding: 12px 16px;
        font-size: 14px;
    }

  }
 
    /* ---- NAV ---- */
    .nav-active {
      position: relative;
      color: #1a56db !important;
      font-weight: 800;
    }
    .nav-active::after {
      content: '';
      position: absolute;
      bottom: -4px; left: 0; right: 0;
      height: 2px;
      background: #1a56db;
      border-radius: 2px;
    }

    /* ---- NOUVEAUX SELECTS DANS LA NAVBAR ---- */
    .nav-select-wrap {
      display: flex;
      align-items: center;
      gap: 12px;
      background: #f3f4f6;
      border-radius: 10px;
      padding: 4px 12px;
      border: 1px solid #e5e7eb;
    }
    .nav-select {
      border: 1px solid ;
      outline: none;
      padding: 8px 8px;
      font-size: 0.85rem;
      color: #374151;
      background: transparent;
      font-family: 'Nunito', sans-serif;
      cursor: pointer;
      border-radius: 6px;
    }
    .nav-select:hover {
      background: #e5e7eb;
    }
    .nav-search-btn {
      background: #16a34a;
      color: #fff;
      font-weight: 700;
      font-size: 0.8rem;
      padding: 8px 16px;
      border: none;
      cursor: pointer;
      transition: background .2s;
      font-family: 'Nunito', sans-serif;
      flex-shrink: 0;
      border-radius: 8px;
    }
    .nav-search-btn:hover { background: #15803d; }
    
    @media (max-width: 1024px) {
      .nav-select-wrap { gap: 8px; padding: 4px 8px; }
      .nav-select { font-size: 0.75rem; padding: 6px 4px; }
    }
    @media (max-width: 768px) {
      .nav-select-wrap { display: none; }
    }
   

    /* ---- FILTRES MOBILE ---- */
    .mobile-filters {
      display: none;
      flex-direction: column;
      gap: 10px;
      padding: 12px 0;
    }
    .mobile-filters.open {
      display: flex;
    }
    .mobile-select {
      width: 100%;
      padding: 10px;
      border: 1px solid #e5e7eb;
      border-radius: 8px;
      font-family: 'Nunito', sans-serif;
      background: white;
    }
    .mobile-search-btn {
      background: #16a34a;
      color: white;
      padding: 10px;
      border-radius: 8px;
      font-weight: 700;
      border: none;
      cursor: pointer;
    }

    /* ---- CATEGORY CARD ---- */
    .cat-card { transition: transform .2s ease, box-shadow .2s ease; cursor: pointer; }
    .cat-card:hover { transform: translateY(-4px); box-shadow: 0 10px 30px rgba(26,86,219,0.15); }

    /* ---- JOB CARD (STYLE CARTE AVEC BOX SHADOW RENFORCÉ) ---- */
    .job-card {
    background: white;
    border-radius: 1.25rem;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    /* box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15); */
    border: 2px solid #1A56DB;
    display: flex;
    flex-direction: column;
    height: 100%;
    
  }
  .job-card:hover {
    transform: translateY(-6px);
    
  box-shadow: 30px 40px 70px #0000;

  }
  /* Ordre spécifique des éléments */
  .job-card-content {
    padding: 1.2rem;
    display: flex;
    flex-direction: column;
    flex: 1;
  }
  /* Titre en premier */
  .job-card-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.3;
    margin-bottom: 0.5rem;
    background: linear-gradient(90deg, #1a56db, #1e3a8a);
    order: 1;
  }
  /* Sous-titre en deuxième */
  .job-card-subtitle {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1a56db;
    margin-bottom: 1rem;
    letter-spacing: -0.2px;
    order: 2;
  }
  /* Image en troisième */
  .job-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: #eef2ff;
    border-radius: 0.75rem;
    margin-bottom: 1rem;
    order: 3;
  }
  /* Zone des détails (délai, localisation) en quatrième */
  .job-card-details {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: #4b5563;
    margin-bottom: 1rem;
    order: 4;
  }
  .job-card-detail-item {
    display: flex;
    align-items: center;
    gap: 5px;
    background: #f8fafc;
    padding: 0.2rem 0.7rem;
    border-radius: 30px;
  }
  /* Footer avec délai, lien et CDD en bas */
  .job-card-footer {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.8rem;
    border-top: 1px solid #edf2f7;
    padding-top: 0.9rem;
    order: 5;
  }
  .job-card-contract {
    background: #e6f7ec;
    color: #15803d;
    font-weight: 800;
    font-size: 0.7rem;
    padding: 0.25rem 0.7rem;
    border-radius: 40px;
    letter-spacing: 0.3px;
  }
  .job-card-link {
    font-weight: 700;
    font-size: 0.8rem;
    color: #1a56db;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: color 0.2s;
  }
  .job-card-link:hover {
    color: #0f3b9e;
    text-decoration: underline;
  }
  .btn-postuler-card {
    background: #16a34a;
    color: white;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 40px;
    font-size: 0.75rem;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
  }
  .btn-postuler-card:hover {
    background: #15803d;
    transform: scale(1.02);
  }
  .grid-jobs {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.8rem;
    
  }


  @media (max-width: 640px) {
    .grid-jobs {
      grid-template-columns: 1fr;
      gap: 1.5rem;
    }
    .job-card-image {
      height: 180px;
    }
  }

    /* ---- RECRUITER BANNER ---- */
    .recruiter-banner { background: linear-gradient(135deg, #1a56db 0%, #1e3a8a 100%); }

    /* ---- SOCIAL ICONS ---- */
    .social-icon {
      width: 36px; height: 36px;
      border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
      transition: transform .2s, opacity .2s;
    }
    .social-icon:hover { transform: scale(1.1); opacity: .85; }

    /* ---- MOBILE MENU ---- */
    #mobile-menu { display: none; }
    #mobile-menu.open { display: flex; }

    /* ---- ANIMATIONS ---- */
    @keyframes fadeUp {
      from { opacity: 0; transform: translateY(200px); }
      to   { opacity: 1; transform: translateY(0); }
    }
    .fu { animation: fadeUp .55s ease both; }
    .d1 { animation-delay: .05s; }
    .d2 { animation-delay: .18s; }
    .d3 { animation-delay: .28s; }
    .d4 { animation-delay: .38s; }
    .d5 { animation-delay: .48s; }

    /* BOUTON POSTULER SUR CARROUSEL */
    .carousel-apply-btn {
      background: #16a34a;
      color: white;
      font-weight: 800;
      padding: 12px 28px;
      border-radius: 12px;
      border: none;
      cursor: pointer;
      transition: all 0.3s;
      font-size: 1rem;
      margin-top: 16px;
    }
    .carousel-apply-btn:hover {
      background: #15803d;
      transform: scale(1.05);
    }

  
 