/* YouTube Videos Section Styling */
.youtube-videos-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 60px 0;
    margin-top: 40px;
}

.youtube-section-header {
    text-align: center;
    margin-bottom: 50px;
}

.youtube-section-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #1a1a1a;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.youtube-section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(45deg, #FF0000, #CC0000);
    border-radius: 2px;
}

.youtube-section-description {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.youtube-channel-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(45deg, #FF0000, #CC0000);
    color: white !important;
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1rem;
    margin-top: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.3);
}

.youtube-channel-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 0, 0, 0.4);
    color: white !important;
    text-decoration: none;
}

.youtube-icon {
    margin-right: 10px;
    font-size: 1.2rem;
}

/* Featured Videos Grid */
.video-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    font-size: 3rem;
    color: #FF0000;
    margin-bottom: 20px;
    display: block;
}

.feature-title {
    font-size: 1.3rem;
    font-weight: bold;
    color: #1a1a1a;
    margin-bottom: 15px;
}

.feature-description {
    color: #666;
    line-height: 1.5;
    font-size: 0.95rem;
}

/* Video Embedding Styles */
.elementor-element-video-row1,
.elementor-element-video-row2 {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
}

.elementor-element-video1,
.elementor-element-video2,
.elementor-element-video3,
.elementor-element-video4 {
    flex: 1;
    min-width: 300px;
    background: white !important;
    border-radius: 15px !important;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
    overflow: hidden;
}

.elementor-element-video1:hover,
.elementor-element-video2:hover,
.elementor-element-video3:hover,
.elementor-element-video4:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
}

.elementor-element-video1 iframe,
.elementor-element-video2 iframe,
.elementor-element-video3 iframe,
.elementor-element-video4 iframe {
    border-radius: 10px 10px 0 0;
    width: 100%;
    height: 250px;
}

/* Video Title Styling */
.elementor-element-title1 h4,
.elementor-element-title2 h4,
.elementor-element-title3 h4,
.elementor-element-title4 h4 {
    font-size: 1.2rem !important;
    font-weight: bold !important;
    color: #1a1a1a !important;
    margin: 15px 0 10px 0 !important;
    text-align: left;
}

.elementor-element-title1 p,
.elementor-element-title2 p,
.elementor-element-title3 p,
.elementor-element-title4 p {
    color: #666 !important;
    font-size: 0.9rem !important;
    line-height: 1.5 !important;
    text-align: left;
    margin-bottom: 0 !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .youtube-videos-section {
        padding: 40px 0;
    }
    
    .youtube-section-title {
        font-size: 2rem;
    }
    
    .youtube-section-description {
        font-size: 1rem;
        padding: 0 20px;
    }
    
    .youtube-channel-link {
        padding: 12px 25px;
        font-size: 0.9rem;
    }
    
    .video-features {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
    }
    
    .feature-card {
        padding: 25px;
    }
    
    .feature-icon {
        font-size: 2.5rem;
    }
    
    .feature-title {
        font-size: 1.2rem;
    }
    
    .elementor-element-video-row1,
    .elementor-element-video-row2 {
        flex-direction: column;
        gap: 15px;
    }
    
    .elementor-element-video1,
    .elementor-element-video2,
    .elementor-element-video3,
    .elementor-element-video4 {
        min-width: 100%;
        margin: 5px 0 !important;
    }
    
    .elementor-element-video1 iframe,
    .elementor-element-video2 iframe,
    .elementor-element-video3 iframe,
    .elementor-element-video4 iframe {
        height: 200px;
    }
}

@media (max-width: 480px) {
    .youtube-section-title {
        font-size: 1.8rem;
    }
    
    .youtube-channel-link {
        display: block;
        text-align: center;
        margin: 20px auto;
        max-width: 250px;
    }
    
    .feature-card {
        padding: 20px;
    }
    
    .elementor-element-video1 iframe,
    .elementor-element-video2 iframe,
    .elementor-element-video3 iframe,
    .elementor-element-video4 iframe {
        height: 180px;
    }
}
