/* =========================
   SCROLL PROGRESS BAR
========================== */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--cyan), #ec4899);
    z-index: 9999;
    transition: width 0.1s ease-out;
    box-shadow: 0 0 10px rgba(37, 99, 235, 0.5);
}

/* =========================
   CUSTOM CURSOR
========================== */
.custom-cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    border: 2px solid var(--primary);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transition: width 0.15s ease-out, height 0.15s ease-out, background 0.15s ease-out, border-color 0.15s ease-out;
    transform: translate(-50%, -50%);
    opacity: 0;
}

.custom-cursor.active {
    opacity: 1;
}

.custom-cursor.hover {
    width: 40px;
    height: 40px;
    background: rgba(37, 99, 235, 0.1);
    border-color: var(--cyan);
}

/* Hide default cursor on desktop */
@media (min-width: 1024px) {
    body.custom-cursor-enabled {
        cursor: none;
    }

    body.custom-cursor-enabled a,
    body.custom-cursor-enabled button,
    body.custom-cursor-enabled .btn {
        cursor: none;
    }
}

/* =========================
   FLOATING ACTION BUTTON
========================== */
.fab {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #25d366, #128c7e);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0;
    transform: scale(0);
}

.fab.visible {
    opacity: 1;
    transform: scale(1);
}

.fab:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 32px rgba(37, 211, 102, 0.6);
}

.fab svg {
    width: 28px;
    height: 28px;
    fill: #fff;
}

/* =========================
   MOBILE MENU (Removed - Migrated to Bootstrap 5)
   ========================== */
/* 
Legacy custom mobile menu styles have been removed. 
The site now uses standard Bootstrap 5 Navbar components for better stability.
Premium styling for the new navbar is now handled in main.css.
*/

/* =========================
   ENHANCED CARD EFFECTS
========================== */
.card-3d {
    transform-style: preserve-3d;
    perspective: 1000px;
}

.card-3d:hover {
    transform: translateY(-8px) rotateX(2deg) rotateY(-2deg);
}

.card-shimmer {
    position: relative;
    overflow: hidden;
}

.card-shimmer::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg,
            transparent 30%,
            rgba(255, 255, 255, 0.1) 50%,
            transparent 70%);
    transform: rotate(45deg);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }

    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}