.stay-connected-section {
    background-color: #0B1117;
    /* Fallback */
    background-image: url('../../images/newsletter/stay_connected.png');
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 80px 0;
    color: white;
}

.stay-connected-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1;
}

.stay-connected-section .newsletter-container {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.stay-connected-section .newsletter-content {
    flex: 1;
    max-width: 600px;
}

.stay-connected-section .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
    /* Ensure title is white in this dark section */
}

.stay-connected-section .title-underline {
    width: 60px;
    height: 4px;
    background-color: #ff6600;
    /* Orange accent */
    margin-bottom: 30px;
}

.stay-connected-section .newsletter-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 40px;
    color: #e0e0e0;
}

.stay-connected-section .newsletter-form {
    display: flex;
    gap: 15px;
    max-width: 500px;
}

.stay-connected-section .newsletter-form input {
    flex: 1;
    padding: 15px 20px;
    border-radius: 5px;
    border: none;
    font-size: 1rem;
    outline: none;
    background-color: #f5f5f5;
    color: #333;
}

.stay-connected-section .newsletter-form button {
    background-color: #ff6600;
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

.stay-connected-section .newsletter-form button:hover {
    background-color: #e65c00;
}

.stay-connected-section .newsletter-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.stay-connected-section .newsletter-image img {
    max-width: 100%;
    border-radius: 20px;
    /* Rounded corners */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

@media (max-width: 992px) {
    .stay-connected-section .newsletter-container {
        flex-direction: column;
        gap: 40px;
    }

    .stay-connected-section .newsletter-content {
        max-width: 100%;
        text-align: left;
    }

    .stay-connected-section .newsletter-image {
        width: 100%;
        justify-content: center;
    }
}