/* Website Enhancements - Visual Feedback & Interactivity */

/* 1.1 Smooth Scroll Behavior */
html {
    scroll-behavior: smooth;
}

/* 1.2 Image Hover Animations */
.image_frame .image_wrapper img {
    transition: transform 0.5s ease, opacity 0.3s ease;
}

.image_frame:hover .image_wrapper img {
    transform: scale(1.05);
}

.icon_box {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.icon_box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

/* 1.3 Loading Indicators */
.loading-spinner {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 4px solid rgba(0, 149, 235, 0.1);
    border-radius: 50%;
    border-top-color: #0095eb;
    animation: spin 1s ease-in-out infinite;
    margin: 20px auto;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.loading-container {
    text-align: center;
    padding: 40px;
    width: 100%;
}

/* 1.4 Page Transitions */
body {
    animation: fadeIn 0.8s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Section Reveal Animation */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Button Pulse Animation for CTAs */

/* Register Now CTA button styling */
.register-btn {
    display: inline-block;
    background-color: #0095eb;
    color: #fff;
    padding: 12px 24px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.3s ease;
    animation: pulse-blue 2s infinite;
    margin-left: 20px;
}

.register-btn:hover {
    background-color: #007cc3;
}

@keyframes pulse-blue {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 149, 235, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(0, 149, 235, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(0, 149, 235, 0);
    }
}

.cta-pulse {
    animation: pulse-blue 2s infinite;
}

/* WhatsApp Floating Button (Phase 2 preview) */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.whatsapp-float.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.whatsapp-float:hover {
    background-color: #128c7e;
    color: #FFF;
    transform: scale(1.1);
}

/* Back to Top Button (Phase 4 preview) */
#back_to_top_custom {
    position: fixed;
    bottom: 110px;
    right: 45px;
    width: 50px;
    height: 50px;
    background: #0095eb;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    border: none;
}

#back_to_top_custom.is-visible {
    opacity: 1;
    visibility: visible;
}

#back_to_top_custom:hover {
    background: #007cc3;
    transform: translateY(-3px);
}

/* Mobile Touch Targets (Phase 6 preview) */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 24px;
    }

    #back_to_top_custom {
        bottom: 80px;
        right: 25px;
        width: 40px;
        height: 40px;
    }
}

/* Cookie Consent Banner */
#cookie-consent-banner {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 600px;
    background-color: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    padding: 20px;
    z-index: 9999;
    border-left: 5px solid #0095eb;
    animation: slideUp 0.5s ease-out;
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cookie-content p {
    margin: 0;
    font-size: 14px;
    color: #333;
    line-height: 1.5;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.cookie-btn.accept {
    background-color: #0095eb;
    color: white;
}

.cookie-btn.accept:hover {
    background-color: #007cc3;
}

.cookie-btn.decline {
    background-color: #f0f0f0;
    color: #666;
}

.cookie-btn.decline:hover {
    background-color: #e0e0e0;
}

@keyframes slideUp {
    from {
        transform: translate(-50%, 100%);
        opacity: 0;
    }

    to {
        transform: translate(-50%, 0);
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    #cookie-consent-banner {
        width: 95%;
        bottom: 10px;
    }
}

/* Breadcrumbs Enhancement */
.breadcrumbs {
    font-size: 14px;
    color: #888;
    margin-bottom: 20px;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.breadcrumbs a {
    color: #666;
    transition: color 0.3s;
    text-decoration: none;
}

.breadcrumbs a:hover {
    color: #0095eb;
}

.breadcrumbs .mfn-breadcrumbs-separator {
    margin: 0 8px;
    color: #ccc;
}