/* Footer styles */
.site-footer {
    background: #0d0f27;
    color: #fff;
    padding: 40px 0;
    text-align: center;
    position: relative;
}

.site-footer .footer-brand img {
    height: 50px;
    margin-bottom: 20px;
    border: 5px solid #fff;
    border-radius: 5px;
}

.site-footer .footer-social .list-inline-item {
    margin: 0 10px;
}

.site-footer .footer-social .list-inline-item a {
    color: #fff;
    font-size: 3rem;
}

.site-footer .footer-bottom {
    margin-top: 20px;
}

.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
}

.back-to-top a {
    color: #007bff;
    font-size: 2rem;
}

/* Preloader styles */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #0d0f27;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.preloader .dots {
    display: flex;
    gap: 10px;
}

.preloader .dot {
    width: 15px;
    height: 15px;
    background-color: #fff;
    border-radius: 50%;
    animation: moveUpDown 1.2s infinite;
}

.preloader .dot:nth-child(1) {
    animation-delay: 0s;
}

.preloader .dot:nth-child(2) {
    animation-delay: 0.2s;
}

.preloader .dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes moveUpDown {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Carousel section styles */
.carousel-section {
    background: #fff;
    padding: 60px 0;
    text-align: center;
    overflow: hidden;
    border-bottom: 30px solid #0d0f27;
}

.carousel-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.carousel {
    display: flex;
    animation: scroll 13s linear infinite;
}

.icon-wrapper {
    margin: 0 20px;
    text-align: center;
}

.carousel i, .carousel img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.icon-wrapper p {
    margin-top: 10px;
    font-size: 14px;
    color: #333;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.carousel::before, .carousel::after {
    content: '';
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    background: inherit;
    z-index: 2;
}

.carousel::before {
    left: -100%;
}

.back-to-top {
    position: absolute;
    bottom: 280px; /* Adjust this value to position the button from the bottom of the footer */
    right: 130px; /* Adjust this value to position the button from the right of the footer */
    z-index: 1000; /* Ensure it appears above other content */
}

.back-to-top a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: #007bff;
    color: #fff;
    text-align: center;
    text-decoration: none;
    font-size: 20px;
}

.back-to-top a:hover {
    background-color: #0056b3; /* Changed hover color for better effect */
    color: #fff;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .back-to-top {
        bottom: 280px; 
        right: 30px; 
    }

    .back-to-top a {
        width: 50px; 
        height: 50px; 
        font-size: 18px; 
    }
}

@media (max-width: 480px) {
    .back-to-top {
        bottom: 280px; 
        right: 20px; 
    }

    .back-to-top a {
        width: 40px; 
        height: 40px; 
        font-size: 16px; 
    }
}

