/* ============================================
   SCROLL ARROWS FOR MOBILE INNER SECTIONS
   ============================================ */

/* Only show on mobile/tablet (up to 1024px) */
@media screen and (max-width: 1024px) {
    /* Scroll arrows for inner sections - FIXED POSITION (floating) */
    .scroll-arrow {
        position: fixed !important; /* Changed from absolute to fixed for floating effect */
        z-index: 10000; /* Higher z-index to stay on top */
        width: 32px;
        height: 32px;
        border-radius: 50%;
        background: rgba(78, 205, 196, 0.9);
        border: 2px solid rgba(255, 255, 255, 0.4);
        color: white;
        font-size: 18px;
        font-weight: bold;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
        backdrop-filter: blur(10px);
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
        user-select: none;
        -webkit-tap-highlight-color: transparent;
        pointer-events: auto;
    }

    /* Up arrow - fixed at top center of viewport */
    .scroll-arrow-up {
        top: 80px !important; /* Position from top of viewport */
    }

    /* Down arrow - fixed at bottom center of viewport */
    .scroll-arrow-down {
        bottom: 80px !important; /* Position from bottom of viewport */
    }

    .scroll-arrow:hover,
    .scroll-arrow:active {
        background: rgba(78, 205, 196, 1);
    }

    .scroll-arrow:hover {
        transform: translateX(-50%) scale(1.1);
    }

    .scroll-arrow:active {
        transform: translateX(-50%) scale(0.95);
    }

    /* Ensure containers are positioned relative for arrows */
    .projects-gallery-container,
    .clients-logos-grid,
    .careers-jobs-list {
        position: relative !important;
    }
}

/* Hide arrows on desktop (1025px and above) - Protected from mobile changes */
@media screen and (min-width: 1025px) {
    .scroll-arrow {
        display: none !important;
    }
}

/* Smaller arrows on very small screens */
@media screen and (max-width: 480px) {
    .scroll-arrow {
        width: 28px;
        height: 28px;
        font-size: 16px;
    }
}
