//CTA Wrapper Styles
.ctaWrapper {
    background: #ffffff;
    border-radius: 10px;
    position: relative;
    margin-bottom: 30px;

    .gradient-border {
        position: relative;
        border: 0px solid transparent;
        background: linear-gradient(179.28deg, #dfdaf7 38.76%, rgba(226, 226, 226, 0) 91.78%),
            linear-gradient(180deg, #ffffff 0%, #ffffff 0.01%, #ffffff 100%);
        box-shadow: 0px 59.8544px 117.714px rgba(0, 0, 0, 0.02);
        background-clip: padding-box;
        background-repeat: no-repeat;
        border-radius: 10px;
        overflow: hidden;
        padding: 1px;
    }

    .content {
        background: #fff;
        border-radius: 10px;
        padding: 40px;
        display: flex;
        align-items: center;
        gap: 40px;
        min-height: 200px;
        justify-content: space-between;

        @media (max-width: 992px) {
            flex-direction: column;
            text-align: center;
            padding: 30px;
            gap: 30px;
        }

        @media (max-width: 575.98px) {
            padding: 20px;
            gap: 20px;
        }

        .leftside-content {
            flex: 1;
            max-width: 500px;

            .cta-title {
                font-size: 18px;
                font-weight: 600;
                color: #1E1E1E;
                margin: 0 0 12px 0;
                line-height: 1.3;

                @media (max-width: 768px) {
                    font-size: 20px;
                }

                @media (max-width: 480px) {
                    font-size: 18px;
                }
            }

            .cta-description {
                font-size: 16px;
                color: #666873;
                margin: 0 0 24px 0;
                line-height: 1.5;

                @media (max-width: 480px) {
                    font-size: 14px;
                    margin-bottom: 20px;
                }
            }

            .cta-button {
                padding: 15px 20px;
                background: #008717;
                border-radius: 8px;
                font-weight: 600;
                font-size: 16px;
                line-height: 21px;
                color: #f8f9fa;
                text-decoration: none;
                display: inline-flex;
                align-items: center;
                justify-content: center;
                border: none;
                transition: all 0.3s ease;
                cursor: pointer;

                &:hover {
                    transform: translateY(-2px);
                    color: white;
                    background-color: #126E22;
                }

                &:active {
                    transform: translateY(0);
                }

                @media (max-width: 480px) {
                    width: 100%;
                    padding: 14px 20px;
                }
            }
        }

        .rightside-content {
            flex: 0 0 auto;
            max-width: 320px;
            width: 100%;

            @media (max-width: 992px) {
                max-width: 400px;
            }

            @media (max-width: 480px) {
                max-width: 100%;
            }

            b.video-title-text {
                font-size: 16px;
            }

            .cta-video-player-container {
                display: flex;
                justify-content: center;
                align-items: center;
                margin-top: 10px;

                .cta-video-player-wrapper {
                    position: relative;
                    display: inline-block;
                    // border-radius: 12px;
                    overflow: hidden;
                    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
                    transition: all 0.3s ease;
                    width: 100%;
                    max-width: 320px;

                    &:hover {
                        transform: translateY(-2px);
                        box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);

                        .cta-video-play-button {
                            transform: translate(-50%, -50%) scale(1.1);
                        }
                    }

                    .cta-video-thumbnail {
                        position: relative;
                        display: block;
                        cursor: pointer;
                        width: 100%;

                        .cta-video-player-image {
                            display: block;
                            width: 100%;
                            height: auto;
                            // border-radius: 12px;
                            aspect-ratio: 16/9;
                            object-fit: cover;
                        }

                        .cta-video-play-button {
                            position: absolute;
                            top: 50%;
                            left: 50%;
                            transform: translate(-50%, -50%);
                            background: none;
                            border: none;
                            cursor: pointer;
                            padding: 0;
                            transition: all 0.3s ease;
                            border-radius: 50%;
                            box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);

                            &:hover {
                                box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
                            }

                            &:focus {
                                outline: 2px solid #1786E3;
                                outline-offset: 4px;
                            }

                            svg {
                                display: block;
                                width: 60px;
                                height: 60px;
                                filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.1));

                                @media (max-width: 480px) {
                                    width: 50px;
                                    height: 50px;
                                }
                            }
                        }
                    }

                    .cta-video-embed {
                        position: relative;
                        width: 100%;
                        height: 0;
                        padding-bottom: 56.25%; // 16:9 aspect ratio
                        border-radius: 12px;
                        overflow: hidden;
                        background: #000;

                        .cta-video-close-button {
                            position: absolute;
                            top: 10px;
                            right: 10px;
                            z-index: 10;
                            background: rgba(0, 0, 0, 0.7);
                            color: white;
                            border: none;
                            border-radius: 50%;
                            width: 30px;
                            height: 30px;
                            font-size: 18px;
                            font-weight: bold;
                            cursor: pointer;
                            display: flex;
                            align-items: center;
                            justify-content: center;
                            transition: all 0.3s ease;

                            &:hover {
                                background: rgba(0, 0, 0, 0.9);
                                transform: scale(1.1);
                            }

                            &:focus {
                                outline: 2px solid #1786E3;
                                outline-offset: 2px;
                            }
                        }

                        iframe {
                            position: absolute;
                            top: 0;
                            left: 0;
                            width: 100%;
                            height: 100%;
                            border-radius: 12px;
                            border: none;
                        }
                    }
                }
            }
        }
    }
}