/* ====================================
   Modern Video Play Button Styles
   ==================================== */

.video-section {
    position: relative;
    padding: 100px 0;
    min-height: 500px;
    display: flex;
    align-items: center;
}

/* Parallax Effect Styles */
.parallax-section {
    background-attachment: fixed;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    will-change: transform;
}

/* Fallback for mobile devices where fixed attachment doesn't work well */
@media (max-width: 768px) {
    .parallax-section {
        background-attachment: scroll;
    }
}

.video-content {
    position: relative;
    z-index: 2;
}

/* Video Play Button Container */
.video-play-button {
    display: inline-block;
    position: relative;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.video-play-button:hover {
    transform: scale(1.05);
}

.play-button-wrapper {
    position: relative;
    width: 100px;
    height: 100px;
    display: inline-block;
}

/* Main Play Button Circle */
.play-button-circle {
    position: relative;
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    transition: all 0.3s ease;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.play-button-circle i {
    font-size: 32px;
    color: var(--primary);
    margin-left: 5px;
    /* Slight offset for visual centering */
    transition: color 0.3s ease;
}

.video-play-button:hover .play-button-circle {
    background: var(--primary);
    transform: scale(1.1);
}

.video-play-button:hover .play-button-circle i {
    color: #fff;
}

/* Pulse Animation Rings */
.play-button-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    animation: pulse-animation 2s ease-out infinite;
    z-index: 1;
}

.play-button-pulse.pulse-2 {
    animation-delay: 1s;
}

@keyframes pulse-animation {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }

    100% {
        transform: translate(-50%, -50%) scale(1.8);
        opacity: 0;
    }
}

/* Video Title */
.video-title {
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    line-height: 1.4;
    margin-top: 60px;
}

/* Responsive Design */
@media (max-width: 991px) {
    .video-section {
        padding: 80px 0;
        min-height: 400px;
    }

    .video-title {
        font-size: 28px;
    }

    .play-button-wrapper {
        width: 80px;
        height: 80px;
    }

    .play-button-circle {
        width: 80px;
        height: 80px;
    }

    .play-button-circle i {
        font-size: 26px;
    }

    .play-button-pulse {
        width: 80px;
        height: 80px;
    }
}

@media (max-width: 767px) {
    .video-section {
        padding: 60px 0;
        min-height: 350px;
    }

    .video-title {
        font-size: 24px;
        margin-top: 20px;
    }

    .play-button-wrapper {
        width: 70px;
        height: 70px;
    }

    .play-button-circle {
        width: 70px;
        height: 70px;
    }

    .play-button-circle i {
        font-size: 22px;
    }

    .play-button-pulse {
        width: 70px;
        height: 70px;
    }
}