#stay_connect {
    background-color: #F7E6E9; /* Light background with an old rose color */
    border-radius: 8px;
    padding: 2rem;
    max-width: 500px;
    margin: 0 auto;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Soft shadow */
}

#stay_connect h2 {
    color: #333; /* Darker color for contrast */
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

#newsform .news-form {
    display: block;
    font-size: 1.1rem;
    color: #555; /* Subtle color */
    margin-bottom: 0.5rem; /* Adjusted margin for better spacing */
}

.row-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.8rem; /* Adjust gap for space between input and button */
    flex-wrap: wrap;
}

.finput {
    flex: 1;
    padding: 0.8rem;
    border-radius: 4px;
    border: 1px solid #ccc;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease; /* Transition for focus effect */
}

.finput:focus {
    border-color: #A30F17; /* Focus color matching the button */
    box-shadow: 0 0 5px rgba(163, 15, 23, 0.5); /* Soft red glow */
}

.subscribe {
    width: 100%; /* Full width */
    padding: 0.8rem;
    background-color: #A30F17; /* Button background */
    color: white; /* White text */
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease, transform 0.2s ease; /* Transition effects */
}

.subscribe:hover {
    background-color: #861015; /* Darker red on hover */
    transform: translateY(-2px); /* Slight lift effect */
}

.subscribe:active {
    transform: translateY(1px); /* Slight press effect */
}

input[type="text"]::placeholder, input[type="email"]::placeholder {
    color: #999;
    font-style: italic;
}

@media (max-width: 480px) {
    .row-flex {
        flex-direction: column;
    }

    .finput {
        margin-bottom: 1rem; /* Spacing between input and button */
    }
}
