/* ===================================
   CTA (Call to Action) Section and Responsive Component
   =================================== */

/* Main Section Container */
.cta-section {
    position: relative;
    width: 100%;
}

.cta-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin: 0 auto;
    padding: var(--section-break-l) 15px var(--section-break-xl);
    gap: var(--xl);
}

/* Background Image & Overlay */
.cta-background {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.cta-bg-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    /* object-fit: cover; */
    max-width: none;
}

.cta-overlay {
    display: none;
    position: absolute;
    width: 100%;
    height: 100%;
    background: url("images/CTA-Mobile-Background.jpg") center center/cover no-repeat;
}

/* Content Wrapper */
.cta-content {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: var(--xl);
    z-index: 1;
}

/* Text Section */
.cta-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--xxs);
    max-width: 850px;
    width: 100%;
}

.cta-title {
    font-family: 'Blinker', sans-serif;
    font-weight: 600;
    font-size: 54px;
    line-height: 1.2;
    color: var(--white);
    margin: 0;
    white-space: pre-wrap;
    width: 100%;
}

.cta-subtitle {
    font-family: 'Blinker', sans-serif;
    font-weight: 300;
    font-size: 18px;
    line-height: 1.5;
    color: var(--platinum);
    margin: 0;
    width: 100%;
}

/* Buttons Container */
.cta-buttons {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: var(--m);
    position: relative;
}
.cta-buttons .btn-submit{
    font-size: 18px;
    padding-left: var(--m);
    padding-right: var(--m);
    width: auto;
}
.cta-wrpr .nm-row.nm-row-full-nopad.inner{
    margin-left: 0px;
    margin-right: 0px;
}

@media screen and (max-width: 1024px){
    .cta-container {
        padding: var(--xl) 60px;
        gap: var(--l);
    }

    .cta-text {
        max-width: 460px;
    }

    .cta-title {
        font-size: 24px;
        line-height: 1.4;
    }
    .cta-content{
        gap:var(--l)
    }
    .cta-buttons .btn{
        font-size: 18px;
    }
}

@media screen and (max-width: 767px) {
    .cta-overlay {
        display: block;
    }
    .cta-container {
        max-width: 100%;
        padding: var(--section-break-m) 25px;
        gap: var(--xl);
    }
    .cta-text {
        max-width: 100%;
    }
    .cta-title {
        font-size: 24px;
        line-height: 1.4;
    }
    .cta-content {
        gap: var(--xl);
    }
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        width: 100%;
        gap: var(--m);
    }
    .cta-button {
        width: 100%;
    }
    .cta-buttons .btn {
        width: 100%;
        max-width: 325px;
    }
}

