/* Related Projects Section */
.related-projects-section {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #e0e0e0;
}

.related-projects-section h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    text-align: center;
}

.related-projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.related-project-item {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.related-project-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.related-project-thumbnail {
    display: block;
    overflow: hidden;
}

.related-project-thumbnail img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.related-project-item:hover .related-project-thumbnail img {
    transform: scale(1.05);
}

.related-project-title {
    padding: 15px;
    margin: 0;
    font-size: 1.1rem;
}

.related-project-title a {
    color: #333;
    text-decoration: none;
}

.related-project-title a:hover {
    color: #0073aa;
}

/* Responsive */
@media (max-width: 768px) {
    .related-projects-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }
    
    .related-projects-section h3 {
        font-size: 1.4rem;
    }
}

@media (max-width: 480px) {
    .related-projects-grid {
        grid-template-columns: 1fr;
    }
}