
    
        /* Footer */
        footer {
            background-image: var(--gradient-overlay),  url('images/download.jpeg');
            background-size: cover;
            background-position: center;
            background-attachment: fixed;
            color: var(--white);
            padding: 3rem 5%;
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 2rem;
            margin-top: 40px;
        }

        footer h3 {
            margin-bottom: 1rem;
        }

        .copyright {
            text-align: center;
            padding: 1rem;
            background: var(--primary-navy);
            color: var(--white);
        }

        /* Chat Button */
        .chat-btn {
            position: fixed;
            bottom: 2rem;
            right: 2rem;
            background: var(--accent-teal);
            color: var(--white);
            padding: 1rem 2rem;
            border-radius: 9999px;
            text-decoration: none;
            font-weight: 600;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
            transition: transform 0.3s;
        }

        .chat-btn:hover {
            transform: scale(1.1);
        }

@media (min-width: 321px) and (max-width: 540px) {
    footer {
        grid-template-columns: 1fr; /* stack into 1 column */
        text-align: center; /* center text for readability */
        padding: 2rem 1.5rem; /* reduce side padding */
        background-attachment: scroll; /* prevent fixed bg issue on mobile */
    }

    footer h3 {
        margin-top: 1.5rem;
        margin-bottom: 0.5rem;
        font-size: 1.2rem;
    }

    footer p {
        font-size: 0.95rem;
        line-height: 1.4;
    }

    .copyright {
        font-size: 0.85rem;
        padding: 1rem;
    }

    .chat-btn {
        bottom: 1rem;
        right: 1rem;
        padding: 0.8rem 1.6rem;
        font-size: 0.9rem;
    }
}
