body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #f9f9f9;
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Ensures the body covers the full viewport height */
}

footer {
    background-color: #b4b0b0;
    color: #000000;
    padding: 10px 0;
    text-align: center;
    margin-top: 10rem; /* Automatically pushes the footer to the bottom */
    width: 100%; /* Ensures the footer spans the entire width */
    height: 90%;
}


footer .container {
    max-width: 95%; /* Αυξάνει το συνολικό πλάτος του footer */
    margin: auto; /* Κεντράρει το footer */
}

footer .footer-columns {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap; /* Επιτρέπει στις στήλες να σπάνε σε πολλές γραμμές */
    gap: 30px; /* Αυξάνει την απόσταση μεταξύ των στηλών */
}

footer .footer-column {
    flex: 1 1 400px; /* Αυξάνει το πλάτος κάθε στήλης */
    max-width: 600px; /* Επιτρέπει μεγαλύτερο χώρο για το κείμενο */
    margin: 0 auto; /* Κεντράρει τις στήλες */
    padding: 0 15px; /* Ελαφρύ padding για καλύτερη εμφάνιση */
}

footer .footer-column p {
    text-align: justify; /* Ευθυγραμμισμένο κείμενο */
    font-size: 1rem; /* Μέγεθος γραμματοσειράς για καλύτερη ανάγνωση */
    line-height: 1.4; /* Απόσταση μεταξύ γραμμών */
    margin-top: 1px;
    word-spacing: 0px;            /* πιο «κολλημένες» οι λέξεις */
    letter-spacing: 0.2px;       /* μειώνει το κενό ανάμεσα στα γράμματα */
    line-height: 1.5;
    color: #000000; /* Αφαιρεί περιττά περιθώρια */
}

footer .footer-column h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

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

footer .footer-column ul li {
    margin-bottom: 10px;
}

footer .footer-column ul li a {
    color: #000000;
    text-decoration: none;
    transition: color 0.3s;
}

footer .footer-column ul li a:hover {
    color: #1e90ff;
}

footer .social-icons {
    margin-top: 0px;
}

footer .social-icons a {
    margin: 0 10px;
    color: #000000;
    font-size: 20px;
    text-decoration: none;
    transition: color 0.3s;
}

footer .social-icons a:hover {
    color: #1e90ff;
}

@media only screen and (max-width: 500px) and (min-width: 280px) {
    
    footer {
        width: 100%;
        max-height: 70%;
        position: relative;
        margin-top: 10%; /* Adjust spacing between the image and footer */
        padding: 10px 0;
    }
}

@media only screen and (min-width: 1600px) and (max-width: 1920px) {
    footer {
        width: 100%;
        max-height: 70%;
        position: relative;
        margin-top: 200rem; /* Adjust spacing between the image and footer */
        padding: 10px 0;
    }

    footer p {
        font-size: 20px;
    }

    footer .social-icons a {
        font-size: 25px;
    }
    footer .footer-column p {
        font-size: 1.2rem; /* Μέγεθος γραμματοσειράς για καλύτερη ανάγνωση */
    }
    footer .footer-column ul li a {
        font-size: 1.5rem;
    }
    footer .footer-column ul li {
        font-size: 1.5rem;
    }

    footer .social-icons a {
        font-size: 2rem;
    }
    #p {
        font-size: 1.5rem;
    }
}