/* Main Section */
.demo-video-section {
    background: #fff;
}

/* Card */
.demo-video-card {
    background: #fff;
}

/* Thumbnail */
.demo-video-thumb {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
}

/* Actual YouTube Player */
.demo-video-iframe {
    width: 100%;
    height: 280px;
    border: none;
    border-radius: 14px;
}

/* Image fallback shown before playing */
.demo-video-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 14px;
    transition: opacity 0.3s ease;
}

/* Hide image when video starts */
.demo-video-thumb iframe:hover ~ .demo-video-img {
    opacity: 0;
}

/* Play icon overlay */
.demo-video-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 48px;
    color: white;
    background: rgba(0, 0, 0, 0.6);
    padding: 18px 28px;
    border-radius: 50%;
    pointer-events: none;
}

/* Headings */
.demo-video-heading {
    font-weight: 600;
    margin-bottom: 6px;
    font-size: 24px;
    margin-top: 15px;
}

.demo-video-subtitle {
    font-size: 1rem;
    margin-bottom: 10px;
}

.demo-video-desc {
    font-size: 0.95rem;
    color: #555;
}


/*added*/
/*red button fill to black*/
path.ytp-large-play-button-bg {
    fill: antiquewhite !important;
}
.ytp-large-play-button-red-bg .ytp-large-play-button-bg:hover{
    fill: #212121;
}

/*2*/
.demo-video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    border-radius: 20px;
    cursor: pointer;
    overflow: hidden;
}

.demo-video-thumb {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.demo-video-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    border: 0;
    border-radius: 20px;
}

.demo-video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /* width: 68px; */
    /* height: 48px; */
    height: 60px;
    border: none;
    background: transparent;
    cursor: pointer;
}

.demo-video-play-btn svg path:first-child {
    transition: fill 0.2s ease, fill-opacity 0.2s ease;
}

.demo-video-play-btn:hover svg path:first-child {
    fill: #000;
    fill-opacity: 1;
}

/*force one*/
/* .demo-video-thumb{
    width: 80%;
    height: 80%;
}

.demo-video-wrapper{
    width: 80%;
    height: 80%;
} */