/* ============================================
   FLOATING ACTION BUTTONS - HOME PAGE ONLY
   ============================================ */

/* Base Floating Button Styles */
.floating-btn {
    position: fixed;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;

    /* Glassmorphic Effect */
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* Hover Effect - Lift Animation */
.floating-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

/* Pulse Border Animation */
.floating-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: inherit;
    border: 2px solid;
    opacity: 0.7;
    animation: pulse-ring 3.5s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
    pointer-events: none;
}

@keyframes pulse-ring {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.7;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.3);
        opacity: 0.4;
    }

    100% {
        transform: translate(-50%, -50%) scale(1.6);
        opacity: 0;
    }
}

/* ============================================
   WHATSAPP FLOATING BUTTON (Bottom-Right)
   ============================================ */
.floating-whatsapp {
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    border-radius: 50%;

    /* WhatsApp Green with Gradient */
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    border: 1px solid rgba(37, 211, 102, 0.3);

    /* Glow Effect */
    box-shadow: 0 8px 32px rgba(37, 211, 102, 0.3);
}

.floating-whatsapp:hover {
    box-shadow: 0 12px 40px rgba(37, 211, 102, 0.5);
}

.floating-whatsapp::after {
    border-color: #25D366;
}

.floating-whatsapp i {
    font-size: 28px;
    color: #ffffff;
}

/* ============================================
   ENROLL NOW FLOATING BUTTON (Bottom-Left)
   ============================================ */
.floating-enroll {
    bottom: 20px;
    left: 20px;
    padding: 14px 28px;
    border-radius: 50px;

    /* Brand Gradient (Navy to Orange) */
    background: linear-gradient(135deg, #ff6b00 0%, #e65100 100%);
    border: 1px solid rgba(255, 107, 0, 0.4);

    /* Glow Effect */
    box-shadow: 0 8px 32px rgba(255, 107, 0, 0.3);

    gap: 10px;
    font-family: 'Ubuntu', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.floating-enroll:hover {
    box-shadow: 0 12px 40px rgba(255, 107, 0, 0.5);
}

.floating-enroll::after {
    border-color: #ff6b00;
    border-radius: 50px;
}

.floating-enroll i {
    font-size: 20px;
    color: #ffffff;
}

/* ============================================
   RESPONSIVE ADJUSTMENTS
   ============================================ */

/* Tablet and Below */
@media (max-width: 768px) {
    .floating-whatsapp {
        width: 55px;
        height: 55px;
        bottom: 15px;
        right: 15px;
    }

    .floating-whatsapp i {
        font-size: 24px;
    }

    .floating-enroll {
        bottom: 15px;
        left: 15px;
        padding: 12px 20px;
        font-size: 0.9rem;
    }

    .floating-enroll i {
        font-size: 18px;
    }
}

/* Mobile - Small Screens */
@media (max-width: 480px) {
    .floating-whatsapp {
        width: 50px;
        height: 50px;
        bottom: 12px;
        right: 12px;
    }

    .floating-whatsapp i {
        font-size: 22px;
    }

    .floating-enroll {
        bottom: 12px;
        left: 12px;
        padding: 10px 18px;
        font-size: 0.85rem;
    }

    .floating-enroll i {
        font-size: 16px;
    }
}

/* ============================================
   VISIBILITY CONTROL - HOME PAGE ONLY
   ============================================ */

/* Hide buttons by default */
.floating-btn {
    display: none;
}

/* Show only on home page */
body.home-page .floating-btn {
    display: flex;
}