﻿body {
    font-family: 'Cairo', 'sans-serif';
}

p, h1, h2, h3, h4, h5, h6, h7 {
    font-family: 'Cairo', 'sans-serif';
}
.ads-carousel {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: auto;
    gap: 40px;
    padding: 20px;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    margin-top: 50px;
}

.ad-card {
    flex: 0 0 400px;
    border-radius: 10px;
    background-color: #1a2e50;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
    transition: transform 0.3s ease, opacity 0.3s ease;
    scroll-snap-align: center;
    opacity: 0.6;
    position: relative; /* Make the card a relative container for positioning */
}

    .ad-card img {
        width: 100%;
        height: 200px;
        object-fit: cover;
    }

    .ad-card .ad-content {
        position: absolute; /* Position content over the image */
        bottom: 0; /* Align at the bottom of the card */
        left: 0;
        right: 0;
        color: white;
        padding: 10px;
        box-sizing: border-box;
        text-align: center;
    }

    .ad-card h3 {
        font-size: 18px;
        margin: 20;
    }

    .ad-card p {
        font-size: 14px;
        margin: 5px;
    }

    .ad-card.active {
        flex: 0 0 500px;
        opacity: 1;
        transform: scale(1.1);
    }

.status-circle {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.marquee-container {
    overflow: hidden;
    width: 100%;
    height: 150px;
    white-space: nowrap;
}

.marquee {
    display: inline-block;
    animation: marquee-scroll 10s linear infinite;
    font-size: 18px;
    color: #fff;
    font-weight: bold;
    padding: 5px 0;
}

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

    100% {
        transform: translateX(-100%);
    }
}
.status-circle {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.active {
    background-color: darkblue;
}

.inactive {
    background-color: red;
}

.pagination-wrapper {
    text-align: center;
    margin-top: 20px;
}

.pagination {
    display: inline-flex; /* Use inline-flex for better alignment */
    list-style: none; /* Remove default list styles */
    padding: 0;
    margin: 0;
}

    .pagination li {
        margin: 0 5px; /* Space between pagination items */
    }

    .pagination a,
    .pagination span {
        display: inline-block;
        padding: 10px 15px; /* Increase padding for larger buttons */
        border-radius: 5px; /* Rounded corners */
        text-decoration: none; /* Remove underline */
        background-color: green; /* Bootstrap primary color */
        color: #fff; /* Text color */
        transition: background-color 0.3s; /* Smooth transition */
    }

        .pagination a:hover {
            background-color: #0056b3; /* Darker blue on hover */
        }

    .pagination .active {
        background-color: darkblue; /* Green for active page */
        color: #fff; /* Text color for active page */
    }

    .pagination .disabled {
        color: #6c757d; /* Gray for disabled links */
        pointer-events: none; /* Prevent clicking */
    }

}


