/* Comment or Remove in Prod
Colors are declared in styles/global.css
This block is here for auto complete */
:root {
    /* Primary */
    --primary-light: 255, 255, 255;
    --primary: 224, 224, 224;
    --primary-dark: 180, 180, 180;
    --on-primary: 0, 0, 0;

    /* Secondary */
    --secondary-light: 39, 165, 136;
    --secondary: 21, 92, 79;
    --secondary-dark: 15, 65, 56;
    --on-secondary: 255, 255, 255;

    /* Tertiary */
    --tertiary-light: 255, 255, 230;
    --tertiary: 255, 242, 196;
    --tertiary-dark: 200, 190, 120;
    --on-tertiary: 0, 0, 0;

    --whatsapp-green: 40, 167, 26;
}


.footer {
    position: relative;
    width: 100%;
    background: rgba(var(--grey-light), 0.8);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    padding-top: 3em;
}

.footer__container {
    display: flex;
    justify-content: space-around;
    align-items: start;
    flex-wrap: wrap;
    margin-bottom: 1em;
}

/* Shared styles for all footer columns */

.footer__about p {
    text-align: justify;
}

.footer__contact,
.footer__about,
.footer__map {
    /* background-color: rgb(var(--primary-light), 0.8); */
	background: rgb(var(--primary-light), 0.5);
    padding: 1em;
    border-radius: 10px;
    box-sizing: border-box;
    margin: 1em;
}

.footer__contact,
.footer__map {
    flex: 1 1 30%;
}

.footer__about {
    flex: 1 1 25%;
}

.footer__about,
.footer__map {
    width: fit-content;
    text-align: center;
}

/* Footer column content for all columns */
.footer__contact span,
.footer__about span,
.footer__map span {
    width: 100%;
    font-size: 1em;
    text-align: left;
}

.footer iframe {
    border-radius: 10px;
    text-align: center;
    border: none;
}

.footer a {
    text-decoration: none;
    color: black;
    transition: 0.5s ease;
}

.footer a:hover {
    color: rgb(var(--green-light));
}


.footer h2 {
    position: relative;
    font-weight: bold;
    font-size: 1.2rem;
    color: #222;
    margin-bottom: 1em;
    font-size: 1.8em;
    text-align: left;
}

.follow_h2 {
    margin: 1em auto 0.5em auto;
}

.footer h2::after {
    content: "";
    display: block;
    width: 24px;
    height: 3px;
    background-color: rgb(var(--secondary));
    margin-top: 3px;
    border-radius: 2px;
    transition: width 0.3s ease-in-out;
}

.footer__contact:hover h2::after,
.footer__about:hover h2::after,
.footer__map:hover h2::after {
    width: 50px;
}

.footer__contact a,
.footer__about a,
.footer__map a {
    display: flex;
    align-items: center;
    font-size: 1.3em;
    margin-top: 0.5em;
}
.footer__contact a:hover{
    color: green;
}

/* Address styling */
.footer__contact {
    line-height: normal;
    font-size: 0.9em;
}

/* Footer images */
.footer img {
    height: 2em;
    width: 2em;
    margin-right: 1em;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    padding: 10px;
    transition: transform 0.5s;
}

.footer__social-icons img {
    height: 2.5em;
    width: 2.5em;
    margin: 0em 1em;
}

.footer img:hover {
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.4);
    transform: scale(1.1);
}

.footer__social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    align-items: center;
}


/* Footer credits */
.footer__credits {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5em;
    border-top: 1px double rgb(255, 255, 255, 0.1);
    color: #000000;
    font-size: 0.9rem;
    flex-wrap: wrap;
    background-color: white;
}

.footer__credits .footer__copyright,
.footer__credits .footer__developed-by {
    text-align: center;
}

.footer__credits a {
    color: rgb(var(--green));
    font-weight: 600;
}

.whatsapp-float {
    position: fixed;
    bottom: 2em;
    right: 2em;
    background-color: rgb(var(--whatsapp-green));
    color: white;
    border-radius: 10px;
    padding: 0.5em;
    display: flex;
    align-items: center;
    text-decoration: none;
    font-family: inherit;
    z-index: 10;
    overflow: hidden;
    white-space: nowrap;
    font-weight: bold;
    box-sizing: border-box;
}

.whatsapp-float img {
    width: 3em;
    height: 3em;
}

.whatsapp-float .whatsapp-text {
    max-width: 0;
    padding: 0;
    opacity: 0;
    overflow: hidden;
    font-size: 1em;
    transition: all 0.3s ease;
}

.whatsapp-float:hover .whatsapp-text {
    opacity: 1;
    max-width: 200px;
    padding-right: 1em;
}

@media (min-width: 769px) {
    .footer__credits .footer__copyright {
        text-align: left;
    }

    .footer__credits .footer__developed-by {
        text-align: right;
    }
}

/* Mobile Styles */
@media (max-width: 768px) {
    .footer__credits {
        flex-direction: column;
    }

    .footer__container {
        flex-direction: column;
        align-items: center;
    }

    .footer h2 {
        width: fit-content;
    }

    .footer__contact,
    .footer__about,
    .footer__map {
        width: 95%;
        max-width: 95%;
        box-sizing: border-box;
        padding: 1em;
        margin: 1em auto;
    }

    .footer img {
        margin: 0em 0.5em 0em 0em;
    }

    .socialWrapper {
        margin-right: 0px;
    }


    .whatsapp-float {
        bottom: 1em;
        right: 1em;
        padding: 0px;
    }

    .whatsapp-float .whatsapp-text {
        display: none;
    }
}


@media (max-width: 300px) {
    .footer__contact a,
    .footer__about a {
        font-size: 1.1em;
    }
}