
/* Custom Video Section Styling */
.wptb-video-section {
    background-color: #000;
    padding-top: 80px;
    padding-bottom: 80px;
}

.custom-video-wrapper {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    background: #111;
    transition: transform 0.3s ease;
    position: relative;
}

.custom-video-wrapper:hover {
    transform: translateY(-5px);
}

.thumb-bg {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.play-btn-overlay {
    width: 80px;
    height: 80px;
    background: rgba(215, 0, 6, 0.8); /* Using the red color from your branding */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 40px;
    transition: all 0.3s ease;
    z-index: 2;
    padding-left: 5px; /* Adjust for play icon alignment */
    animation: playPulse 2s infinite;
}

@keyframes playPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(215, 0, 6, 0.7);
        transform: scale(1);
    }
    70% {
        box-shadow: 0 0 0 20px rgba(215, 0, 6, 0);
        transform: scale(1.1);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(215, 0, 6, 0);
        transform: scale(1);
    }
}

.custom-video-wrapper:hover .play-btn-overlay {
    background: #fff;
    color: #d70006;
    animation: none;
    transform: scale(1.2);
}

.video-popup-link {
    display: block;
    width: 100%;
    height: 100%;
}

@media (max-width: 767px) {
    .wptb-video-section {
        padding-top: 50px;
        padding-bottom: 50px;
    }
    
    .custom-video-wrapper {
        margin-bottom: 20px;
    }

    .play-btn-overlay {
        width: 60px;
        height: 60px;
        font-size: 30px;
    }
}

/* Footer Optimization for Mobile */
@media (max-width: 767px) {
    .footer-widget {
        text-align: center !important;
        margin-bottom: 30px;
    }
    .footer-nav ul {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        padding: 0 !important;
        list-style: none !important;
        margin: 0 !important;
    }
    .footer-nav ul li {
        margin: 10px 0 !important;
    }
    .footer .footer-nav li + li {
        margin-top: 0 !important;
    }
    .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
    }
    .footer-bottom-inner .copyright {
        margin-bottom: 15px;
    }
    .footer-bottom-inner .social-box {
        display: flex !important;
        justify-content: center !important;
        margin-top: 10px !important;
    }
}

/* Global WhatsApp Button */
.whatsapp-global-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    transition: all 0.3s ease;
    animation: waPulse 2s infinite;
}

@keyframes waPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
        transform: scale(1);
    }
    70% {
        box-shadow: 0 0 0 20px rgba(37, 211, 102, 0);
        transform: scale(1.1);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
        transform: scale(1);
    }
}

.whatsapp-global-btn:hover {
    background-color: #128c7e;
    transform: scale(1.1);
    color: #fff;
    animation: none;
}

@media (max-width: 767px) {
    .whatsapp-global-btn {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 25px;
    }
}

/* Mobile Hero Social Icons */
.mobile-hero-social {
    padding: 20px 0;
    background: #000;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-hero-social .social-box.style-oval ul li a {
    width: auto !important;
    height: auto !important;
    border: none !important;
    background: none !important;
    border-radius: 0 !important;
    font-size: 28px !important;
    color: #fff !important;
}

.mobile-hero-social .social-box ul {
    display: flex !important;
    justify-content: center !important;
    gap: 35px !important;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
}

.mobile-hero-social .social-box ul li a:hover {
    color: #d70006 !important;
}

/* Desktop Hero Social Icons Styling */
.desktop-hero-social.style-oval ul li a {
    width: auto !important;
    height: auto !important;
    border: none !important;
    background: none !important;
    border-radius: 0 !important;
    font-size: 22px !important;
    color: #fff !important;
    transform: none !important;
}

.desktop-hero-social.style-oval ul {
    gap: 30px !important;
    flex-direction: column !important;
}

.desktop-hero-social.style-oval ul li {
    transform: none !important;
}

.desktop-hero-social.style-oval ul li a:hover {
    color: #d70006 !important;
    transform: scale(1.2) !important;
}

/* Test Carousel Styles */
.wptb-test-carousel .ratio-1x1 {
    border-radius: 15px;
    overflow: hidden;
}
.wptb-test-carousel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.animated-svg-line svg {
    width: 100%;
    height: auto;
}
