@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@700&display=swap');

.cat-section {
        padding: 60px 20px;
        max-width: 1800px;
        margin: 0 auto;
        
    }
    
    .cat-section h2 {
        text-align: center;
        margin-bottom: 40px;
        font-size: 2.5rem;
        color: #ffffff;
        position: relative;
    }
    
    .cat-section h2:after {
        content: '';
        position: absolute;
        bottom: -10px;
        left: 50%;
        transform: translateX(-50%);
        width: 100px;
        height: 3px;
        background: linear-gradient(135deg, #4e54c8, #8f94fb);
    }
    
    .cat-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
       
        
    }
    
    .cat-card {
        position: relative;
        border-radius: 12px;
        width: 350px ;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        transition: all 0.4s ease;
        height: 500px;
        cursor: pointer;
    }
    
    .cat-img {
       
        width: 100%;
        height: 90%;
        
        
    }
    
    .cat-overlay {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
        color: white;
        padding: 25px 20px;
        transform: translateY(10px);
        opacity: 0;
        transition: all 0.4s ease;
    }
    
    .cat-card:hover .cat-overlay {
        transform: translateY(0);
        opacity: 1;
    }
    
    .cat-title {
        font-size: 1.5rem;
        margin-bottom: 8px;
        font-weight: 600;
    }
    
    .cat-desc {
        font-size: 0.95rem;
        opacity: 0.9;
    }
    
    .cat-badge {
        position: absolute;
        top: 15px;
        right: 15px;
        background: linear-gradient(135deg, #4e54c8, #8f94fb);
        color: white;
        padding: 6px 12px;
        border-radius: 20px;
        font-size: 0.8rem;
        font-weight: 600;
        z-index: 2;
    }
    
    /* Efecto de brillo al hacer hover */

    
    .cat-card:hover::before {
        opacity: 1;
    }
    
    /* Responsive */
    @media (max-width: 992px) {

        .cat-section {
       text-align: center;
       
        }
        .cat-grid {
            
            
        }
        
        .cat-card {
            height: 500px;
          
        }
    }
    
    @media (max-width: 768px) {
        .cat-section {
            padding: 40px 15px;
        }
        
        .cat-section h2 {
            font-size: 2rem;
            margin-bottom: 30px;
        }
        
        .cat-grid {
           
        }
        
        .cat-card {
           
        }
        
     
    }
    
    @media (max-width: 576px) {
        .cat-grid {
           
            max-width: 400px;
            margin: 0 auto;
        }
        
        .cat-card {
            height: 450px;
           
        }
    }