/* Global Mobile Enhancements for Active Technology */

/* Footer Mobile Optimizations */
.footer-main {
    margin-top: 80px;
    padding: 60px 0 20px 0;
    border-top: 1px solid var(--border-clr);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    padding-top: 40px;
    border-top: 1px solid var(--border-clr);
}

.whatsapp-fab {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    box-shadow: 0 10px 25px rgba(37,211,102,0.3);
    z-index: 1000;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.whatsapp-fab:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 15px 30px rgba(37,211,102,0.4);
}

/* Mobile Media Queries */
@media (max-width: 991px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .footer-grid ul {
        justify-content: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .whatsapp-fab {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }

    /* Fix image overlaps in some sections */
    img {
        max-width: 100%;
        height: auto;
    }

    /* Hero section font adjustments for small screens */
    .hero-title {
        font-size: 2.2rem !important;
    }
}

/* RTL Specific adjustments for Mobile Menu */
[dir="rtl"] .nav-links {
    right: -100%;
    left: auto;
}
[dir="rtl"] .nav-links.active {
    right: 0;
}
