/* X-Small (less than 576px) */
@media (max-width: 1199.98px) {
    /* Hero Section */
    #hero-section.thankyou-page {
        padding-top: var(--margin-padding-medium);
        & .container-fluid{
            padding: 0 var(--base-font-size);
            & .row.col2{
                flex-direction: column;
                & .col.hero-left{
                    background: var(--tdl-white);
                    border-radius: calc(var(--base-radius) / 2);
                    padding: var(--margin-padding-medium);
                    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
                    text-align: var(--text-align-center);
                    margin-bottom: var(--margin-padding-small);
                    width: var(--iphone-frame-width);
                    & h2{
                        &.line-heading-long {
                            & span {
                                &::after {
                                    height: calc(var(--base-font-size) * 2);
                                }
                            }
                        }
                        &.checkmark {
                            & img{
                                width: 52px;
                                height: auto;
                            }
                        }
                    }
                    & h3{
                        text-decoration: none;
                        font-size: calc(var(--base-font-size) * 1.875);
                    }
                    & p{ 
                        font-size: calc(var(--base-font-size) * 1.16);
                        line-height: calc(var(--base-font-size) * 1.6);
                        font-weight: var(--font-weight-500);
                    }
                    & .btn-holder{
                        display: flex;
                        justify-content: center;
                    }
                }
                & .hero-right {
                    position: relative;
                    width: var(--iphone-frame-width-mobile);
                    height: var(--iphone-frame-height-mobile);
                    margin: var(--margin-padding-medium) auto;
                    &::before {
                        content: '';
                        position: absolute;
                        inset: 0;
                        background-image: url(../../images/phone-frame.png);
                        background-size: contain;
                        background-position: center;
                        background-repeat: no-repeat;
                        z-index: 2;
                        pointer-events: none; 
                    }

                    & video {
                        position: absolute;
                        top: calc(var(--base-font-size) - 6px); 
                        left: calc(var(--base-font-size) - 6px);
                        width: calc(var(--iphone-frame-width-mobile) - 20px);   
                        height: calc(var(--iphone-frame-height-mobile) - 20px); 
                        object-fit: cover;
                        border-radius: var(--base-radius);
                        z-index: 1;
                        outline: none;
                        background: var(--tdl-black);
                    }
                }
            }
        }
    }
}
@media (min-width: 1024px) and (max-width: 1199.98px){
    #hero-section.thankyou-page {
        padding-top: var(--margin-padding-medium);
        & .container-fluid{
            padding: 0 var(--margin-padding-xxlarge);
            & .row.col2{
                flex-direction: row;
                gap: 10%;
                & .col.hero-left{
                    width: 55%;
                }
                & .col.hero-right{
                    margin-right: 0;
                }
            }
        }
    }
}
/* Extra Extra Large (≥1200px) - Actual Desktop Styles */
@media only screen and (min-width: 1200px){
    /* Hero Section */
    #hero-section.thankyou-page {
        & .container-fluid{
            padding: 0 var(--margin-padding-xxlarge);
            & .row.col2{
                justify-content: space-between;
                & .col.hero-left{
                    background: var(--tdl-white);
                    border-radius: calc(var(--base-radius) / 2);
                    padding: var(--margin-padding-large);
                    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
                    text-align: var(--text-align-center);
                    & p{ 
                        font-size: calc(var(--base-font-size) * 1.16);
                        line-height: calc(var(--base-font-size) * 1.6);
                        font-weight: var(--font-weight-500);
                        & span{ /*Font size for span*/
                            font-size: calc(var(--base-font-size) * 1.375);
                        }
                    }
                    & .btn-holder{
                        display: flex;
                        justify-content: center;
                    }
                }
                & .hero-right {
                    position: relative;
                    width: var(--iphone-frame-width);
                    height: var(--iphone-frame-height);
                    margin: 0 0 0 auto;
                    text-align: center;
                    &::before {
                        content: '';
                        position: absolute;
                        inset: 0;
                        background-image: url(../../images/phone-frame.png);
                        background-size: contain;
                        background-position: center;
                        background-repeat: no-repeat;
                        z-index: 2;
                        pointer-events: none; 
                    }
                    & video {
                        width: calc(var(--iphone-frame-width-mobile) - 30px);
                        height: calc(var(--iphone-frame-height-mobile) - 10px);
                        object-fit: cover;
                        border-radius: var(--base-radius);
                        outline: none;
                        background: var(--tdl-black);
                    }
                }
            }
        }
    }
}