@import url('https://fonts.googleapis.com/css2?family=Open Sans:ital,wght@0,300..800;1,300..800&display=swap');

body {
    font-family: 'Open Sans', sans-serif;
    margin: 0;
    padding: 0;
}

#bold-text {
    font-weight: 700;
    color: #26266d;
    font-size: 1.3rem;
}

.marquee-container {
    overflow: visible;
    
}

.marquee-text {
    animation: none;
    white-space: normal;
    transform: translateX(0);
    padding-left: 0;
    font-size: clamp(0.75rem, 1.5vw, 0.9rem);
}

@media (max-width: 640px) {
    .marquee-container {
        overflow: hidden !important;
        white-space: nowrap !important;
        position: relative;
        width: 100%;
    }
    
    .marquee-text {
        display: inline-block !important;
        padding-left: 100% !important;
        animation: marquee 15s linear infinite !important;
        animation-play-state: running !important;
        font-size: clamp(0.875rem, 2vw, 1rem) !important;
        white-space: nowrap !important;
    }
    
    .marquee-text:hover {
        animation-play-state: paused !important;
    }
    
    @keyframes marquee {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(-100%);
        }
    }
}

@keyframes spin-slow {
    0% {
        transform: rotate(0deg) scale(1);
    }
    50% {
        transform: rotate(180deg) scale(1.1);
    }
    100% {
        transform: rotate(360deg) scale(1);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) translateX(0);
        opacity: 0.6;
    }
    50% {
        transform: translateY(-20px) translateX(10px);
        opacity: 0.3;
    }
}

@keyframes fade-in {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes zoom-3d {
    0% {
        transform: scale(0.8) rotateY(0deg);
        opacity: 0;
    }
    25% {
        transform: scale(1.1) rotateY(90deg);
        opacity: 1;
    }
    50% {
        transform: scale(1.2) rotateY(180deg);
    }
    75% {
        transform: scale(1.1) rotateY(270deg);
    }
    100% {
        transform: scale(1) rotateY(360deg);
        opacity: 1;
    }
}

.animate-spin-slow {
    animation: spin-slow 3s linear infinite;
}

.animate-3d-zoom {
    animation: zoom-3d 2s ease-in-out;
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

.animate-fade-in {
    animation: fade-in 1s ease-out;
}

.perspective-1000 {
    perspective: 1000px;
}

.transform-gpu {
    transform-style: preserve-3d;
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed !important;
    bottom: 15px !important;
    left: 15px !important;
    width: 50px !important;
    height: 50px !important;
    background-color: #2563eb !important;
    color: white !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 20px !important;
    cursor: pointer !important;
    z-index: 9999 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(20px) !important;
    transition: all 0.3s ease-in-out !important;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3) !important;
}

.scroll-to-top.visible {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}

.scroll-to-top:hover {
    background-color: #1d4ed8 !important;
    transform: translateY(-5px) !important;
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.4) !important;
}

.scroll-to-top:active {
    transform: translateY(0) !important;
}

@keyframes pulse {
    0% {
        box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3) !important;
    }
    50% {
        box-shadow: 0 4px 20px rgba(37, 99, 235, 0.5) !important;
    }
    100% {
        box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3) !important;
    }
}

.scroll-to-top.visible:hover {
    animation: pulse 2s infinite !important;
}

/* For mobile responsiveness */
@media (max-width: 768px) {
    .scroll-to-top {
        width: 45px !important;
        height: 45px !important;
        bottom: 10px !important;
        left: 10px !important;
        font-size: 18px !important;
    }
}

/* For very small screens */
@media (max-width: 480px) {
    .scroll-to-top {
        width: 40px !important;
        height: 40px !important;
        bottom: 8px !important;
        left: 8px !important;
        font-size: 16px !important;
    }
}