/* CTA Section Styles */
.cta-section {
    padding: 50px 0 0 0;
}

.cta-section .container {
    max-width: 1085px;
    margin: 0 auto;
}

.cta-content-wrapper {
    background-color: #314B70;
    background-image: url('https://valleyhomebuilders.com/wp-content/uploads/2025/05/CTA-Background.png');
    background-repeat: no-repeat;
    background-position: right bottom;
    padding: 64px;
    position: relative;
    overflow: hidden;
    margin: 0 auto;
}

.cta-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Default (Mobile) styles first */
.cta-content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
}

.cta-text {
    flex: 0 1 auto;
}

.cta-button-wrapper {
    flex: 0 1 auto;
}

.cta-title {
    color: #ffffff;
    font-size: 40px;
    font-weight: 300;
    margin: 0 0 16px 0;
    line-height: 1.2;
}

.cta-description {
    color: #ffffff;
    font-size: 18px;
    margin: 0;
    font-weight: 300;
}

.cta-button-wrapper .btn.btn-primary {
    display: inline-flex;
    align-items: center;
    background-color: #E6413F;
    color: #ffffff;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 4px;
    font-size: 14px;
    letter-spacing: 0.5px;
    transition: background-color 0.3s ease;
    white-space: nowrap;
    font-family: Raleway, sans-serif;
    font-weight: 700;
    text-transform: uppercase;
}

.cta-button-wrapper .btn.btn-primary::after {
    content: '→';
    margin-left: 8px;
    font-size: 18px;
}

.cta-button-wrapper .btn.btn-primary:hover {
    background-color: #d14b3c;
}

/* Container padding for mobile */
.cta-content-wrapper .container {
    padding: 16px;
}

.cta-content-wrapper {
    padding: 48px 32px;
}

/* Desktop styles */
@media (min-width: 768px) {
    .cta-section {
        padding: 100px 0 0 0;
    }

    .cta-content-wrapper .container {
        padding: 32px;
    }

    .cta-content-wrapper {
        padding: 64px;
    }

    .cta-content-wrapper {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .cta-title {
        font-size: 48px;
        letter-spacing: 2px;
    }

    .cta-description {
        font-size: 18px;
    }
}

@media (min-width: 1200px) {
    .cta-content-wrapper {
        padding: 60px 130px;
        border-radius: 16px;
    }
}