/* Classes Page Styles */

.classes-section {
    padding: 50px 0;
}

.classes-section h2 {
    color: #333;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 40px;
    text-align: center;
}

.classes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 50px;
    padding: 20px 0;
}

.classes-item {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    height: 100%;
    width: 100%;
}

.classes-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.classes-item img {
    width: 100%;
    height: 367px;
    object-fit: cover;
    display: block;
}

.classes-item-content {
    padding: 20px;
}

.classes-item-content h4 {
    color: #333;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.classes-item-content p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.classes-item-content small {
    display: block;
    color: #999;
    font-size: 0.85rem;
    margin-bottom: 5px;
}

.classes-btn {
    background-color: #007bff;
    color: white;
    padding: 8px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.classes-btn:hover {
    background-color: #0056b3;
}

/* Responsive Design */
@media (max-width: 768px) {
    .classes-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
    }
    
    .classes-section h2 {
        font-size: 2rem;
    }
    
    .classes-item img {
        height: 200px;
    }
}

@media (max-width: 576px) {
    .classes-grid {
        grid-template-columns: 1fr;
    }
    
    .classes-section h2 {
        font-size: 1.5rem;
    }
}
