

footer {
    position: relative; /* Changed from fixed to relative */
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #222;
    color: white;
    padding: 20px;
    text-align: center;
    /*z-index: 1000;  Ensures the footer stays on top of other content */
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Create 3 equal-width columns */
    gap: 20px; /* Space between columns */
    align-items: center; /* Vertically align items */
    justify-items: center; /* Horizontally align items */
}

/* Footer column styles */
.footer-column {
    text-align: center;
}


.footer-column a {
    display: block;
    margin: 10px 0;
    text-decoration: none;
    color: white;
    padding: 10px;
    border-radius: 5px;
    background-color: #5193f7;
    transition: background-color 0.3s ease;
}

.footer-column a:hover {
    background-color: #669ff3;
    color: white;
}

button.email-button, button.instagram-button {
    background-color: #5193f7;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out;
}

button.email-button:hover, button.instagram-button:hover {
    background-color: #669ff3;
    color: white;
}

.footer-rights {
    text-align: center;
    background-color: #222;
    margin: 0;
    padding: 0;
    border-radius: 0%;
}
.footer-rights p {
    text-align: center;
    color: white;
}

@media (max-width: 768px) {
    /* Footer */
    footer {
        background-color: #222; /* Dark background for footer */
        color: white; /* White text for contrast */
        padding: 10px 20px;
        text-align: center;
        font-family: 'Arial', sans-serif;
        font-size: 11px;
    }

    .footer-container {
        display: flex;
        flex-direction: column;  /* Stack columns vertically */
        align-items: center;  /* Center columns horizontally */
        padding: 0;
        margin: auto;
        row-gap: 0;
    }

    .footer-column {
        width: 80%;  /* Ensure each column takes full width */
        text-align: center;  /* Center text inside each column */
    }
    .contact-info {
        flex: 1;
        max-width: 50%;
    }

    .contact-info h4 {
        font-size: 1.4em;
        margin-bottom: 10px;
        font-weight: bold;
    }

    .contact-info p {
        margin: 5px 0;
        font-size: 1em;
    }

    .contact-info a {
        text-decoration: none;
        font-weight: bold;
    }

    .contact-info a:hover {
        text-decoration: underline;
    }

    .email-button,
    .instagram-button {
        display: inline-block;
        margin-top: 10px;
    }

    .email-button {
        color: white;
        padding: 10px 20px;
        border-radius: 5px;
        text-decoration: none;
        font-weight: bold;
        transition: background-color 0.3s ease;
    }


    .instagram-btn {
        color: white;
        padding: 10px 20px;
        border-radius: 5px;
        border: none;
        font-size: 1em;
        cursor: pointer;
        transition: background-color 0.3s ease;
    }


    .footer-rights {
        background-color: #222;
        max-width: 100%;
        text-align: center;
        font-size: 0.9em;
        margin: 0;
        padding: 0;
        border-radius: 0%;
    }

    .footer-rights p {
        text-align: center;
        color: white;
    }
}