.titre-exam{
        margin-top: 270px;
        text-align: center;
        padding: 40px 20px 20px;
        font-family: 'Segoe UI', sans-serif;
    } 
    .titre-exam h1 {
      color: #4b6cfb;
      font-size: 2rem;
      margin-bottom: 5px;
    }
    .titre-exam p {
      color: #555;
      font-size: 1rem;
    }
    .exam-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 20px;
      padding: 20px;
      max-width: 1100px;
      margin: auto;
    }
    .card {
      background: #fff;
      border-radius: 15px;
      overflow: hidden;
      box-shadow: 0 6px 18px rgba(0,0,0,0.1);
      transition: transform 0.2s, box-shadow 0.2s;
      position: relative;
    }
    .card:hover {
      transform: translateY(-6px);
      box-shadow: 0 12px 25px rgba(0,0,0,0.15);
    }
    .image-container {
      position: relative;
      overflow: hidden;
    }
    .image-container img {
      width: 100%;
      height: 200px;
      object-fit: cover;
      transition: transform 0.4s ease, opacity 0.4s ease;
      cursor: pointer;
    }
    /* Effet hover image */
    .image-container:hover img {
      transform: scale(1.08);
      opacity: 0.8;
    }
   
    .card-content {
      padding: 20px;
    }
    .card-content h3 {
      margin: 0 0 10px;
      font-size: 1rem;
      color: #222;
    }
    .card-content p {
      color: #555;
      font-size: 0.95rem;
      margin-bottom: 15px;
      text-align: center;
    }
    .btns {
      display: flex;
      gap: 10px;
    }
    .btn {
      flex: 1;
      text-align: center;
      padding: 10px;
      border-radius: 8px;
      font-size: 0.9rem;
      font-weight: bold;
      text-decoration: none;
      color: white;
      transition: transform 0.2s, opacity 0.2s;
    }
    .btn:hover {
      transform: scale(1.05);
      opacity: 0.9;
    }
    .pdf { background: linear-gradient(135deg, #4b6cfb, #5b8dff); }
    .corrige { background: linear-gradient(135deg, #00c48c, #06d6a0); }
 
    .back-link {
      display: inline-block;
      margin: 40px 40px;
      text-decoration: none;
      color: #4b6cfb;
      font-weight: bold;
    }
    .back-link i {
      margin-right: 5px;
    }