footer {
    background-size: cover;
    color: white;
    padding: 0;
    text-align: center;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

footer img {
    height: 50px;
    transition: transform 0.3s;
}

footer img:hover {
    transform: scale(1.1);
}

/* Facebook and Email logo glow effect */
footer a[href*="facebook"] img,
footer img[src*="email"] {
    filter: drop-shadow(0 0 10px rgba(139, 92, 246, 0.5))
            drop-shadow(0 0 20px rgba(106, 56, 255, 0.4));
    animation: iconGlow 3s ease-in-out infinite;
}

footer a[href*="facebook"] img:hover,
footer img[src*="email"]:hover {
    filter: drop-shadow(0 0 15px rgba(139, 92, 246, 0.7))
            drop-shadow(0 0 30px rgba(106, 56, 255, 0.6));
}

@keyframes iconGlow {
    0%, 100% {
        filter: drop-shadow(0 0 10px rgba(139, 92, 246, 0.5))
                drop-shadow(0 0 20px rgba(106, 56, 255, 0.4));
    }
    50% {
        filter: drop-shadow(0 0 15px rgba(139, 92, 246, 0.7))
                drop-shadow(0 0 30px rgba(106, 56, 255, 0.6));
    }
}

.footercontact {
    background: linear-gradient(0deg, rgba(92,92,92,0.5) 0%, rgba(105,105,105,0.5) 100%), url('/assets/images/background6.webp');
    background-size: cover;
    display: flex;
    align-items: center;
    font-size: 14px;
    line-height: 1.6;        /* was 0.5 — text was overlapping */
    width: 100%;
    justify-content: space-between;
    padding: 20px;
    color: white;
    box-sizing: border-box;
}

.footercontact > div {
    flex: 1 1 0;
    margin: 0 10px;
    padding: 10px;
    text-align: center;      /* ensures all columns center their content */
}

/* Call a Tech section styling */
.footercontact > div:first-child p:first-child {
    font-size: 16px;
    font-weight: bold;
    background: linear-gradient(135deg, #8b5cf6 0%, #c084fc 50%, #6a38ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
    filter: drop-shadow(0 0 8px rgba(139, 92, 246, 0.3));
}

.footercontact > div:first-child p:last-child {
    margin-top: 0;
}

.footercontact > div:first-child a {
    font-size: 20px;
    font-weight: bold;
    color: white;
    text-decoration: none;
    background: linear-gradient(135deg, #8b5cf6 0%, #c084fc 50%, #6a38ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 12px rgba(139, 92, 246, 0.5))
            drop-shadow(0 0 20px rgba(106, 56, 255, 0.4));
    animation: phoneGlow 3s ease-in-out infinite;
    display: inline-block;
    transition: all 0.3s ease;
}

.footercontact > div:first-child a:hover {
    filter: drop-shadow(0 0 15px rgba(139, 92, 246, 0.7))
            drop-shadow(0 0 30px rgba(106, 56, 255, 0.6));
    transform: scale(1.05);
}

@keyframes phoneGlow {
    0%, 100% {
        filter: drop-shadow(0 0 12px rgba(139, 92, 246, 0.5))
                drop-shadow(0 0 20px rgba(106, 56, 255, 0.4));
    }
    50% {
        filter: drop-shadow(0 0 15px rgba(139, 92, 246, 0.7))
                drop-shadow(0 0 25px rgba(106, 56, 255, 0.6));
    }
}

/* Respect prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
    .contacticon img {
        animation: none;
        filter: drop-shadow(0 0 8px rgba(139, 92, 246, 0.3));
    }

    .contacticon p {
        animation: none;
        text-shadow: 0 0 8px rgba(139, 92, 246, 0.3);
    }
}

@media (max-width: 700px) {
    footer {
        flex-direction: column;
        padding: 0;
    }

    .footercontact {
        flex-direction: column;
        align-items: center;
        font-size: 13px;         /* was 11px — too small to read */
        width: 100%;
        padding: 15px 0;
    }

    .footercontact > div {
        margin: 5px 0;
        padding: 8px 0;
        width: 100%;
        text-align: center;
    }
}