@media (max-width: 768px) {
    html, body {
        overflow-x: hidden !important;
        max-width: 100vw !important;
        position: relative;
    }
} /* Close first @media (max-width: 768px) */

/* Sticky bottom navigation for mobile */
@media (max-width: 768px) {
                .mobile-bottom-nav {
                    position: fixed !important;
                    left: 50% !important;
                    transform: translateX(-50%) !important;
                    bottom: 0 !important;
                    width: 100vw !important;
                    max-width: 100vw !important;
                    height: 60px !important;
                    background: linear-gradient(270deg, #4b6cb7, #182848, #4b6cb7, #182848) !important;
                    background-size: 400% 400% !important;
                    animation: navGradientMove 8s ease infinite !important;
                    display: flex !important;
                    justify-content: space-around !important;
                    align-items: center !important;
                    z-index: 99999 !important;
                    box-shadow: 0 -2px 12px rgba(0,0,0,0.18) !important;
                    border-radius: 0 !important;
                    backdrop-filter: blur(8px) !important;
                    padding: 0 !important;
                    visibility: visible !important;
                    opacity: 1 !important;
                }

                @keyframes navGradientMove {
                    0% {background-position: 0% 50%;}
                    50% {background-position: 100% 50%;}
                    100% {background-position: 0% 50%;}
                }
    .mobile-bottom-nav .nav-link {
        flex: 1;
        text-align: center;
        color: #fff;
        text-decoration: none;
        font-size: 0.95rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        height: 100%;
        transition: background 0.2s, color 0.2s;
        padding: 0 2px;
    }
    .mobile-bottom-nav .nav-link i {
        font-size: 1.5rem;
        margin-bottom: 2px;
        display: block;
    }
    .mobile-bottom-nav .nav-link.active, .mobile-bottom-nav .nav-link:hover {
        color: #4b6cb7;
        background: rgba(255,255,255,0.18);
        border-radius: 12px;
    }

/* Mobile-specific enhancements for AuraStack main site */

/* Improve touch scrolling */
html, body {
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
}

/* Global Mobile Fixes */
@media (max-width: 768px) {
    /* Improve header and navigation for mobile */
    header {
        padding: 0 15px;
        height: 70px;
        position: fixed !important;
        top: 0;
        left: 0;
        right: 0;
        width: 100vw;
        z-index: 999999 !important;
        background: #e53935 !important;
        box-shadow: 0 2px 12px rgba(0,0,0,0.08) !important;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    
    header .left img {
        width: 35px;
        height: 35px;
    }
    
    header .left h2 {
        font-size: 1.5rem;
    }
    
    .menu-icon {
        display: flex !important;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        top: 0;
        height: 70px;
        align-items: center;
        z-index: 1001;
    }

    .box-icons {
        display: none;
    }
    
    .close-icon {
        top: 20px;
        right: 20px;
    }
    
    /* Hero section mobile improvements */
    .hero {
    flex-direction: column;
    padding: 0 20px 64px;
    }
    .hero-info-title,
    .hero-info h1 {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }
    
    .hero-info {
        width: 100%;
        text-align: center;
        padding: 0;
    }
    
    .hero-info h1 {
        font-size: 2.5rem;
        line-height: 1.2;
        margin-bottom: 15px;
    }
    
    .hero-info p {
        font-size: 1rem;
        margin-bottom: 25px;
    }
    
    .hero-info-title {
    margin: 0 auto 10px auto;
    padding-top: 0;
    }
    
    .skills-video-box {
        width: 100%;
        height: 250px;
        margin-top: 30px;
    }
    
    /* Info section mobile fixes */
    .info-section {
        padding: 40px 20px;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 30px;
    }
    
    .info-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .card {
        min-height: auto;
        padding: 25px 20px;
    }
    
    .card h1 {
        font-size: 2.5rem;
        line-height: 1.2;
        margin-top: 0 !important;
        margin-bottom: 10px;
    }
    .card p {
        font-size: 0.9rem;
    }
    
    /* Team section mobile fixes */
    .team-section {
        padding: 40px 20px;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .team-member {
        flex-direction: column;
        text-align: center;
        padding: 25px 15px;
    }
    
    .member-image {
        margin: 0 auto 20px;
        width: 160px !important;
        height: 160px !important;
    }
    
    .member-info {
        padding: 0;
        width: 100%;
    }
    
    .member-info h3 {
        font-size: 1.4rem;
        margin-bottom: 5px;
    }
    
    .role {
        font-size: 1rem;
        margin-bottom: 10px;
    }
    
    .description {
        font-size: 0.9rem;
        line-height: 1.5;
        margin-bottom: 15px;
    }
    
    .social-links {
        justify-content: center;
    }
    
    /* Skills section mobile fixes */
    .skills-section {
        padding: 40px 20px;
    }
    
    .skills-box {
        flex-direction: column;
        padding: 20px;
    }
    
    .skills-image {
        width: 80%;
        margin-bottom: 20px;
    }
    
    .Designer, .coder {
        width: 100%;
        text-align: center;
    }
    
    .Designer h1, .coder h1 {
        font-size: 1.6rem;
    }
    
    .slider {
        --width: 70px;
        --height: 70px;
        margin: 30px auto 0;
    }
    
    /* Contact section mobile fixes */
    .contact-section {
        padding: 40px 20px;
    }
    
    .contact-header h1 {
        font-size: 2rem;
    }
    
    .social-box {
        flex-direction: column;
        padding: 20px;
        width: 100%;
        margin-bottom: 20px;
    }
    
    .social-box a {
        margin-bottom: 15px;
        font-size: 0.9rem;
        width: 100%;
        justify-content: center;
    }
    
    .social-box a i {
        font-size: 1.2rem;
        margin-right: 8px;
    }
    
    .social-icons {
        margin-top: 15px;
        width: 100%;
        justify-content: center;
    }
    
    .contact-box {
        width: 100%;
        padding: 20px;
    }
    
    .contact-box p {
        font-size: 1rem;
        margin-bottom: 8px;
    }
    
    .contact-box input {
        padding: 12px 15px;
        margin-bottom: 15px;
        font-size: 0.9rem;
    }
    
    .input-message {
        min-height: 100px;
    }
    
    .contact-box button {
        width: 100%;
        padding: 12px;
        font-size: 0.9rem;
    }
    
    /* Footer mobile fixes */
    .footer {
        padding: 15px;
        flex-direction: column;
        gap: 15px;
    }
    
    .footer h1 {
        font-size: 0.9rem;
    }


/* Extreme Mobile Fixes (Small Screens) */
@media (max-width: 480px) {
    .hero-info h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .hero-info-title {
        font-size: 0.9rem;
    }
    
    .scroll-down {
        display: none;
    }
    
    .card h1 {
        font-size: 1.3rem;
    }
    
    .member-image {
        width: 140px !important;
        height: 140px !important;
    }
    
    .member-info h3 {
        font-size: 1.3rem;
    }
    
    .slider {
        --width: 60px;
        --height: 60px;
    }
    
    /* Optimize animations for performance on small devices */
    * {
        animation-duration: 0.5s !important;
    }
    
        [data-aos] {
            transition-duration: 0.5s !important;
        }
    } /* Close @media (max-width: 480px) */
    
    } /* Close @media (max-width: 768px) */
} /* Close @media (max-width: 768px) */
/* Toast notification styles */