/* ========================================
   Modern Video Section Styles
   ======================================== */

.video_wrapper {
    padding: 80px 0;
    background-color: var(--white-color);
}

.video-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: 1px solid rgba(0, 0, 0, 0.03);
    display: block;
    text-decoration: none !important;
}

.video-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(245, 131, 69, 0.15);
}

.video-thumb {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #f0f0f0;
}

.video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.video-card:hover .video-thumb img {
    transform: scale(1.1);
}

/* Glassmorphic Overlay on Hover with Title area */
.video-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 40%, rgba(22, 23, 26, 0.8) 100%);
    opacity: 0.6;
    transition: all 0.5s ease;
    pointer-events: none;
    z-index: 1;
}

.video-card:hover::after {
    opacity: 0.9;
    background: linear-gradient(to bottom, transparent 20%, rgba(245, 131, 69, 0.9) 100%);
}

.video-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 25px;
    z-index: 2;
    transform: translateY(10px);
    transition: all 0.5s ease;
}

.video-card:hover .video-content {
    transform: translateY(0);
}

.video-title {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    line-height: 1.4;
}

.video-card:hover .video-title {
    color: #fff;
}

/* Modern Pulsing Play Button */
.play-btn1 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: var(--theme-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    z-index: 2;
    transition: all 0.4s ease;
    box-shadow: 0 0 0 0 rgba(245, 131, 69, 0.4);
    animation: pulse-orange 2s infinite;
}

.video-card:hover .play-btn1 {
    background: #fff;
    color: var(--theme-color);
    transform: translate(-50%, -50%) scale(1.1);
}

@keyframes pulse-orange {
  0% {
    box-shadow: 0 0 0 0 rgba(245, 131, 69, 0.7);
  }
  70% {
    box-shadow: 0 0 0 20px rgba(245, 131, 69, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(245, 131, 69, 0);
  }
}

/* Scroll Animations */
[data-ani="fade-up"] {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.reveal-active [data-ani="fade-up"] {
    opacity: 1;
    transform: translateY(0);
}

/* Modern Button Styles for YouTube Links */
.modern-yt-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    background: var(--theme-color);
    color: #fff !important;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.4s ease;
    box-shadow: 0 5px 15px rgba(245, 131, 69, 0.3);
    border: none;
    text-decoration: none;
}

.modern-yt-btn:hover {
    background: var(--title-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    color: #fff !important;
}

.modern-yt-btn i {
    font-size: 20px;
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    .play-btn1 {
        width: 60px;
        height: 60px;
        font-size: 20px;
    }
}

@media (max-width: 575px) {
    .video_wrapper {
        padding: 60px 0;
    }
    
    .video-card {
        border-radius: 20px;
    }

    .modern-yt-btn {
        padding: 10px 22px;
        font-size: 14px;
    }
}
