/* === Contact Section === */
#contact {
    scroll-margin-top: 100px;
}

.contact-section {
    padding: 70px 20px;
    background: #000000;
    text-align: center;
    color: white;
    animation: fadeInUp 1s ease forwards;
    font-family: 'Lexend', sans-serif;
}

.contact-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 30px;
}

/* === Contact Buttons === */
.contact-items {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 40px;
}

.contact-item {
    padding: 12px 24px;
    border: 2px solid white;
    border-radius: 10px;
    color: white;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background-color: #b87e0b;
}

.contact-item:hover {
    background: #B8860b;
    transform: translateY(-3px);
}

/* === Newsletter and Support Row === */
.newsletter-row {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 30px;
    animation: fadeIn 0.9s ease-in-out;
}

/* === Newsletter Box Override (MailerLite) === */
.ml-form-embedContainer .ml-form-embedWrapper {
    background-color: #b87e0b !important;
    color: white !important;
    border-radius: 8px !important;
    border: 2px solid white !important;
    padding: 2rem !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important;
}

/* === Newsletter Form Inputs === */
.ml-form-embedContainer input {
    background-color: #ffffff !important;
    color: #333 !important;
    border: 2px solid white !important;
    border-radius: 8px !important;
    padding: 10px 14px !important;
    width: 100% !important;
    font-size: 1rem !important;
}

/* === Newsletter Submit Button === */
.ml-form-embedContainer button {
    background-color: #000000 !important;
    color: #ffffff !important;
    font-weight: bold !important;
    border-radius: 8px !important;
    padding: 10px 20px !important;
    font-size: 1rem !important;
    border: none !important;
    cursor: pointer !important;
    transition: background-color 0.3s ease;
}

.ml-form-embedContainer button:hover {
    background-color: #333333 !important;
}

/* === Thank You Box === */
#newsletter-thanks {
    margin-top: 1.5rem;
    padding: 1rem;
    background-color: #b87e0b;
    border: 2px solid #00BFFF;
    border-radius: 10px;
    text-align: center;
}

.thank-you-message {
    font-size: 1.2rem;
    color: #00BFFF;
    font-weight: bold;
    margin: 0;
}

/* === Fade Animations === */
.fade-in-section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-section.is-visible {
    opacity: 1;
    transform: none;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

/* === Responsive === */
@media (max-width: 768px) {
    .contact-items {
        flex-direction: column;
        align-items: center;
    }

    .newsletter-row {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .newsletter-wrapper {
        width: 100%;
        padding: 30px 20px;
        box-sizing: border-box;
    }

    .newsletter-wrapper input,
    .newsletter-wrapper button {
        max-width: 100%;
    }

    .contact-title {
        font-size: 2rem;
    }
}
