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

  .tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
  }
  
  .tech-grid a {
  text-decoration: none;
}

.tech-grid a:hover .tech-title {
  color: #00ccff;
}

  .tech-card {                 /* ⬅ ajouter position relative */
    position: relative;
    background-color: #e6e6e6;
    border: 1px solid #2a2a2a;
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 0 6px rgba(0,0,0,0.2);
    color: #eee;
    height: 170px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  /* Pastille statut dispo */
  .status-dot{
    position:absolute;
    top:8px; right:8px;
    width:14px; height:14px;
    border-radius:50%;
    border:2px solid rgba(255,255,255,.6);
    box-shadow: 0 0 6px rgba(0,0,0,.25);
  }
  .status-green{ background:#22c55e; box-shadow:0 0 0 2px rgba(34,197,94,.2); }
  .status-red{   background:#ef4444; box-shadow:0 0 0 2px rgba(239,68,68,.2); }


  .tech-card:hover {
    background-color: #292929;
    transform: translateY(-4px);
    box-shadow: 0 0 10px rgba(0, 191, 255, 0.4);
  }

  .tech-title {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 6px;
    color: #0dcaf0;
  }

  .tech-stack {
    font-size: 0.9rem;
    color: #aaa;
  }

  .tech-comment {
    font-size: 0.85rem;
    color: #ccc;
    margin-top: 8px;
  }
  
  .tech-card img {
    display: block;
    margin: 0 auto;
    max-height: 40px;
    filter: drop-shadow(0 0 3px rgba(255,255,255,0.1));
}

  .icon-django {
    color: #00d8ff; /* exemple : bleu clair React */
    filter: drop-shadow(0 0 2px #00d8ff); /* optionnel pour meilleure lisibilité */
    }
    
  .logo-tech.django {
    filter: brightness(2.0) drop-shadow(0 0 4px #00ccff);
    }

  .logo-tech.react {
    filter: drop-shadow(0 0 4px #00d8ff);
    }
    
    
    
    
  @media (max-width: 960px) {
    .dashboard-content {
      flex-direction: column;
    }

    .sidebar {
      width: 100%;
      height: auto !important;
      position: static !important;
      top: 0 !important;
      margin-bottom: 20px;
    }

    main.col-md-10 {
      margin-top: -500px !important;
    }
  }

  .logo-tech {
    filter: brightness(100%) contrast(100%);
    background-color: transparent;
    max-height: 60px;
    }

