/* YouTube Section Styles */
.youtube-section {
    margin-bottom: 40px;
    padding: 30px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.youtube-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.youtube-embed {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.youtube-embed:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.youtube-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.youtube-channel-link {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #FF0000; /* YouTube red */
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: background-color 0.3s;
}

.youtube-channel-link:hover {
    background-color: #CC0000;
}

.youtube-channel-link i {
    margin-right: 8px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .youtube-container {
        grid-template-columns: 1fr;
    }
}
