/* =========================================
   Newsletter CTA Section
   ========================================= */

.newsletter-cta-section {
    position: relative;
    padding-bottom: 160px;
    /* Contact section padding below allows this to naturally attach */
}

/* ---- Box Wrapper ---- */
.cta-box-wrapper {
    position: relative;
    z-index: 10;
    /* Overlap the bottom blue bar */
    margin-bottom: -120px;
}

.cta-box-container {
    max-width: 1200px;
    /* same as other sections */
    margin: 0 auto;
}

.cta-box {
    background: #ffffff;
    padding: 60px 80px;
    border-radius: 8px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    /* Stronger shadow to lift it */
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

/* Left Content */
.cta-content {
    display: flex;
    flex-direction: column;
}

.cta-label {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 13px;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.cta-label::before {
    content: '';
    width: 60px;
    height: 2px;
    background: var(--primary-color);
}

.cta-title {
    font-size: 42px;
    line-height: 1.25;
    color: #1a3353;
    font-weight: 400;
    /* Matching screenshot typography */
    margin: 0;
}

/* Right Action Area */
.cta-action {
    flex-shrink: 0;
}

.cta-btn {
    display: inline-block;
    padding: 16px 32px;
    background: var(--primary-color);
    /* Brighter primary blue like design */
    color: var(--bg-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    border-radius: 4px;
    letter-spacing: 0.5px;
    transition: background 0.3s ease;
}

.cta-btn:hover {
    background: var(--primary-dark);
}

/* ---- Newsletter Bar ---- */
.newsletter-bar {
    background: var(--text-color);
    /* Deep blue background */
    padding: 170px 0 60px 0;
    /* Extra top padding to handle overlap */
    position: relative;
    z-index: 5;
}

.newsletter-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 80px;
}

.newsletter-label {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 15px;
}

.newsletter-label::before {
    content: '';
    width: 60px;
    height: 2px;
    background: var(--primary-color);
}

.newsletter-label span {
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.newsletter-form {
    flex: 2;
    max-width: 500px;
    /* Limit input width */
}

/* Form Styles */
.subscribe-form .input-wrapper {
    display: flex;
    align-items: stretch;
    background: #ffffff;
    border-radius: 4px;
    overflow: hidden;
    padding: 4px;
}

.subscribe-form input {
    flex: 1;
    padding: 14px 20px;
    border: none;
    outline: none;
    font-size: 14px;
    color: #333;
    font-family: inherit;
    background: transparent;
}

.subscribe-form input::placeholder {
    color: #a0aab5;
}

.subscribe-submit {
    background: transparent;
    border: none;
    padding: 0 20px;
    color: #1a3353;
    font-size: 20px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.subscribe-submit:hover {
    color: var(--primary-color);
}

/* ---- Responsive Formatting ---- */
@media (max-width: 991px) {
    .cta-box {
        padding: 50px 40px;
        flex-direction: column;
        text-align: center;
    }

    .cta-label {
        justify-content: center;
    }

    .cta-label::before {
        display: none;
    }

    .cta-title {
        font-size: 32px;
    }

    .newsletter-container {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .newsletter-label {
        justify-content: center;
    }

    .newsletter-label::before {
        display: none;
    }

    .newsletter-form {
        width: 100%;
    }
}

@media (max-width: 767px) {
    .cta-box-wrapper {
        margin-bottom: -40px;
    }

    .newsletter-bar {
        padding: 90px 0 40px 0;
    }

    .cta-title {
        font-size: 26px;
    }

    .cta-box {
        padding: 30px 20px;
    }

    .subscribe-form .input-wrapper {
        flex-direction: column;
        gap: 10px;
        background: transparent;
        padding: 0;
    }

    .subscribe-form input {
        background: #fff;
        border-radius: 4px;
        width: 100%;
    }

    .subscribe-submit {
        background: var(--primary-color);
        color: #fff;
        padding: 12px;
        border-radius: 4px;
        width: 100%;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .cta-title {
        font-size: 22px;
    }

    .cta-label {
        font-size: 12px;
        margin-bottom: 10px;
    }

    .newsletter-label span {
        font-size: 12px;
    }

    .industry-list-section {
        padding: 30px 0;
    }
}