.ban {
 height: 100%;
    width: 100%;
    background: linear-gradient(135deg, #0d6efd, #6610f2);
    background-size: cover;
    color: white;
    display: flex;
    justify-content: left;
    letter-spacing: 0.05em;
    box-shadow: inset 0 0 150px 40px rgba(255, 255, 255, 0.05);
    padding-bottom: 50px;
    padding-top: 60px;
    
       
}

/* 🔍 Barre de recherche moderne */
.search-box {
    gap: 8px;
}

 .search-input,
 .search-select {
    max-width: 100%;
    border-radius: 10px;
    border: 1px solid #ddd;
    height: 45px;
    padding-left: 12px;
    transition: 0.3s;
}

/* Effet focus champ */
 .search-input:focus,
 .search-select:focus {
    border-color: #ff7a00;
    box-shadow: 0 0 0 0.15rem rgba(255, 122, 0, 0.2);
}

.btn-orange {
    display: inline-block;
    padding: 0.6rem 1.5rem; /* Hauteur et largeur du bouton */
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #ff7e1a, #ff9900); /* dégradé orange */
    border: none;
    border-radius: 8px; /* coins arrondis */
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(255, 153, 0, 0.4);
}

.btn-orange:hover {
    background: linear-gradient(135deg, #ff9900, #ff7e1a);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(255, 153, 0, 0.5);
}

.btn-orange:active {
    transform: translateY(1px);
    box-shadow: 0 3px 6px rgba(255, 153, 0, 0.3);
}

/* 🟧 Bouton orange pro */
 .search-btn {
    background: linear-gradient(135deg, #ff9900, #e78b02);
    color: #fff !important;
    border: none;
    padding: 0 18px;
    border-radius: 10px;
    font-weight: 600;
    height: 45px;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: 0.3s;
}

.search-btn:hover {
    background-color: #e56c00 !important;
}

/* 📱 Responsive */
@media (max-width: 768px) {
    .search-box {
        flex-direction: column;
        align-items: stretch;
        
    }

    .search-input,
     .search-select
      {
        width: 100%;
        flex-direction: column;
    }
      .search-btn {
        width: 60%;
     
    justify-content: center;
    align-items: center;
    text-align: center;
    }
}

.category-card {
  width: 154px;
    height: 70px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: 0.3s ease;
  background: linear-gradient(to bottom right, #ffffff, #f1f1f1);
  box-shadow: 0 0 8px rgba(0,0,0,0.08);
  text-align: center;
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 10px rgba(0,0,0,0.15);
  cursor: pointer;
}

.category-card i {
  font-size: 28px;
    margin-bottom: -8px;
    color: #0d6efd;
}

.category-card span {
  font-size: 15px;
  font-weight: 500;
  color: #333;
}

.section1 {padding-top: 20px !important;   }
.section2 {padding-top: 40px !important; padding-bottom: 40px !important; background-color: #f8f9fa;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw; }
    
   
    
    
.navbar-brand .logo-img {  max-height: 50px;
    width: auto;
    display: block;
    position: relative; }
    
.section3 {padding-top: 40px !important;
    padding-bottom: 40px !important;
    
    background: #f8f9fa !important;
    margin-top: 40px !important;
    border-radius: 8px !important;}
    
   
    
.post-blog3 {  position: relative;
    display: block;  }
    
    .article-header img {
            max-height: 800px !important;
            object-fit: cover !important;
            width: 100%;
            border-radius: 10px !important;
                margin-top: 30px !important;
                box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15) !important;
        }
        .article-content {
            line-height: 1.7;
            font-size: 15px;
                color: #46494b !important;
                margin-top: 20px;
        }
        
         .article-content a {
            
                color:#198754 !important;
                text-decoration: none;
                
        }
        
        .share-buttons a {
            margin-right: 10px;
            font-size: 1.4rem;
            
        }
        
.overlay {
  position: absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background: rgba(0,0,0,0.4);
  transition: background 0.3s;
}
.position-relative:hover .overlay {
  background: rgba(0,0,0,0.25);
}



 