.footer {
    background-color: #146A0E;
    color: white;
    padding: 3rem 0;
    width: 100%;
}

.footer-container {
    max-width: 1350px;   /* ✅ ganti dari width fix → max-width */
    width: 100%;
    margin: 0 auto;
    padding: 0 1rem;
    display: grid;
    grid-template-columns: 1.2fr 0.6fr 1.1fr 1.3fr;
    gap: 2rem;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.footer-logo span:first-child {
    color: #19EC15;
}

.footer-logo span {
    font-size: 3.5rem;
}

.footer-tagline {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: white;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: white;
    text-decoration: none;
}

.footer-contact {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.8rem;
}

.footer-contact img {
    width: 30px;
    height: 30px;
    filter: brightness(0) invert(1);
}

/* Newsletter title style */
.footer-links h3,
.newsletter h3 {
    color: white;
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

/* Newsletter form container */
.newsletter-form {
    position: relative;
    background: white;
    border-radius: 4px;
    display: flex;
    align-items: center;
    padding: 0.5rem;
}

/* Newsletter input style */
.newsletter-form input {
    flex: 1;
    padding: 0.5rem;
    border: none;
    background: none;
    outline: none;
    width: auto;
    font-size: 1em;
    line-height: 20px;
    height: 20px;
    font-weight: 500;
}

.newsletter-form ::placeholder {
    color: #146A0E;
    font-size: 1.2em;
    font-weight: 500;
}

/* Newsletter button style */
.newsletter-form button {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    cursor: pointer;
    width: 20px;
    height: 20px;
    flex: none;
}

.newsletter-form button img {
    width: 100%;
    height: 100%;
    display: block;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 2rem;
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    color: white;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 45px;
    height: 45px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-links img {
    width: 100%;
    height: 100%;
    filter: brightness(0) invert(1);
}

/* ✅ Responsif */
@media (max-width: 1024px) {
    .footer-container {
        grid-template-columns: 1fr 1fr; /* tablet → 2 kolom */
    }
}

@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr; /* mobile → 1 kolom */
    }

    .footer-logo span {
        font-size: 2.2rem; /* kecilkan logo */
    }

    .newsletter-form input {
        font-size: 1rem;
        height: 40px; /* lebih nyaman di tap */
    }

    .newsletter-form button {
        width: 40px;
        height: 40px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

.feedback-status {
    font-size: 0.9rem;
    color: #caf8bf;
    margin-top: 0.4rem;
    font-style: italic;
}

