.newsletter-section {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 25px 0;
    margin: 30px 0;
}

.newsletter-container {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    padding: 0 20px;
}

.newsletter-section h3 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.newsletter-section p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.newsletter-form .form-group {
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: center;
}

.newsletter-form input {
    flex: 1;
    max-width: 320px;
    padding: 12px 20px;
    border: 2px solid #e6e9f0;
    border-radius: 8px;
    background: white;
    color: #333;
    font-size: 0.95rem;
    font-family: var(--font-family);
    transition: all 0.3s ease;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.newsletter-form input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.newsletter-form button {
    padding: 12px 30px;
    background: white;
    color: var(--primary-color);
    border: none;
    border-radius: 5px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-family);
    white-space: nowrap;
    border-radius: 50px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.newsletter-form button:hover {
    background: rgba(255, 255, 255, 0.2);
}

.newsletter-form input {
    width: 280px;
    padding: 10px 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 0.9rem;
    font-family: var(--font-family);
    transition: all 0.3s ease;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-form input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.15);
}

.newsletter-form button {
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-family);
    white-space: nowrap;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.newsletter-form button:hover {
    background: rgba(255, 255, 255, 0.2);
}

.newsletter-success {
    margin-top: 10px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
    display: none;
}

@media (max-width: 576px) {
    .newsletter-section {
        padding: 20px 0;
        margin: 20px 0;
    }

    .newsletter-form .form-group {
        flex-direction: column;
        gap: 12px;
    }
    
    .newsletter-form input {
        width: 100%;
    }
    
    .newsletter-form button {
        width: 100%;
    }
}

.newsletter-success.show {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .newsletter-wrapper {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .newsletter-content {
        flex: none;
        text-align: center;
    }

    .newsletter-form {
        flex: none;
        width: 100%;
    }

    .newsletter-form .form-group {
        justify-content: center;
    }

    .newsletter-success {
        position: static;
        margin-top: 15px;
    }
}

@media (max-width: 576px) {
    .pre-footer {
        padding: 25px 15px;
    }

    .newsletter-form .form-group {
        flex-direction: column;
        gap: 12px;
    }
    
    .newsletter-form input {
        max-width: none;
    }

    .newsletter-form button {
        width: 100%;
    }
    
    .newsletter-content h3 {
        font-size: 1.2rem;
    }

    .newsletter-content p {
        font-size: 0.85rem;
    }
}
