﻿.multiple-card-slider .carousel-inner {
    padding: 1em;
}

.multiple-card-slider .card {
    margin: 0 0.5em;
    box-shadow: 2px 6px 8px 0 rgba(22, 22, 26, 0.18);
    border: none;
}

.multiple-card-slider .carousel-control-prev,
.multiple-card-slider .carousel-control-next {
    position: absolute;
    bottom: -40px;
    /* Move below carousel */
    top: auto;
    /* Reset top */
    width: 3em;
    height: 3em;
    border-radius: 50%;
    background-color: #e1e1e1;
}

/* Adjust control positioning */
.multiple-card-slider .carousel-control-prev {
    left: auto;
    right: 4em;
}

.multiple-card-slider .carousel-control-next {
    right: 0;
}

/* Change the arrow color */
.multiple-card-slider .carousel-control-prev-icon,
.multiple-card-slider .carousel-control-next-icon {
    filter: invert(17%) sepia(81%) saturate(2725%) hue-rotate(290deg) brightness(49%) contrast(110%);
}

.multiple-card-slider .carousel-indicators {
    /* margin-bottom: 0; */
    /* width: 10px;
    height: 10px;
    border-radius: 100%; */
    /* background-color: #74045F; */
    position: absolute;
    left: 0;
    bottom: -40px;
    /* Move it outside */
    justify-content: start;
    /* Align indicators to the left */
}

    /* Base styles for indicators */
    .multiple-card-slider .carousel-indicators [data-bs-target] {
        width: 12px;
        height: 12px;
        background-color: #d3d3d3;
        /* Light color for inactive */
        border-radius: 50%;
        /* Makes inactive indicators circular */
        transition: all 0.3s ease-in-out;
    }

    /* Active indicator: Rounded square with dark color */
    .multiple-card-slider .carousel-indicators .active {
        width: 14px;
        height: 14px;
        background-color: #333;
        /* Dark color for active */
        border-radius: 5px;
        /* Makes it rounded square */
    }

@media (min-width: 768px) {
    .multiple-card-slider .carousel-item {
        margin-right: 0;
        flex: 0 0 calc(100% / 4);
        display: block;
        backface-visibility: visible;
    }

    .multiple-card-slider .carousel-inner {
        display: flex;
    }

    .multiple-card-slider .carousel-control-prev {
        right: 5em;
    }

    .multiple-card-slider .carousel-control-next {
        right: 1em;
    }
}

.marquee-container {
    display: flex;
    /* Enable flexbox */
    align-items: center;
    /* Vertically center the content */
    position: relative;
    width: 100%;
    height: 30px;
    overflow: hidden;
    background-color: whitesmoke;
}

.marquee {
    position: absolute;
    /* display: inline-block; */
    white-space: nowrap;
    font-size: 12px;
    font-weight: bold;
    color: red;
    line-height: 20px;
    /* Match the height of the container */
    animation: marquee-animation 10s linear infinite;
}

@keyframes marquee-animation {
    0% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(-100%);
    }
}

.mega-menu {
    width: 100vw;
    /* Full screen width */
    left: 0;
    /* Align to the left edge of the screen */
    right: 0;
    top: 100%;
    /* Below the dropdown toggle */
    position: absolute;
    /* Position relative to the navbar */
    z-index: 1050;
    /* Ensure it appears above other content */
    padding: 20px;
    /* Optional padding for spacing */
    background-color: #fff;
    /* Ensure background matches design */
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    /* Optional shadow for design */
}

    .mega-menu .row {
        margin-left: 0;
        margin-right: 0;
    }

    .mega-menu h5 {
        font-size: 1.25rem;
        font-weight: 600;
        margin-bottom: 1rem;
    }

    .mega-menu ul {
        list-style-type: none;
        padding-left: 0;
    }

        .mega-menu ul li {
            margin-bottom: 0.5rem;
        }

    .mega-menu .dropdown-item {
        padding: 0.5rem 1rem;
    }

.navbar-nav {
    position: static;
    /* Ensure the mega menu aligns to the navbar container */
}

.dropdown-menu.mega-menu {
    left: 0;
    /* Align to the left edge of the navbar */
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
}

/* .navbar-full .dropdown-menu {
        position: absolute !important;
        left: 0 !important;
        right: 0 !important;
      } */

.navbar-full .dropdown,
.navbar-full .navbar-nav .nav-item.dropdown {
    position: static !important;
}

.dropdown {
    position: static !important;
}

.dropdown-menu {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
    margin-top: 0px !important;
    width: 100% !important;
}

.card {
    margin: 0 0.5em;
    box-shadow: 2px 6px 8px 0 rgba(22, 22, 26, 0.18);
    border: none;
}

/* .carousel-control-prev,
        .carousel-control-next {
            background-color: #e1e1e1;
            width: 6vh;
            height: 6vh;
            border-radius: 50%;
            top: 50%;
            transform: translateY(-50%);
        } */

@media (min-width: 768px) {

    .container-fluid.hero {
        backface-visibility: visible;
    }

    .carousel-item {
        margin-right: 0;
        flex: 0 0 calc(100% / 4);
        /* Each card takes up 25% of the carousel's width */
        display: block;
        backface-visibility: visible;
        /* Ensures smooth rendering and avoids flickering during transitions */
    }

    .carousel-inner {
        display: flex;
        padding: 1em;
    }

}

@media (max-width: 768px) {

    .container-fluid.hero {
        background-image: none;
    }

    .card {
        margin-top: 0.5rem;
    }
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-image: none;
    background-color: #ffffff;
    border-radius: 50%;
    width: 6vh;
    height: 6vh;
    /* Remove default arrow icon */
    font-size: 32px;
    /* Increase size if needed */
    color: #74045f;
    /* Change arrow color */
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    /* Move below carousel */
    top: auto;
    /* Reset top */
}

/* Adjust control positioning */
.carousel-control-prev {
    left: auto;
    right: 4em;
}

.carousel-control-next {
    right: 0;
}

.carousel-control-prev-icon::before {
    content: '‹';
    /* Unicode for left arrow */
}

.carousel-control-next-icon::before {
    content: '›';
    /* Unicode for right arrow */
}

.carousel-indicators {
    position: absolute;
    /* Position it outside the carousel */
    bottom: -30px;
    /* Adjust vertical position */
    left: 20px;
    justify-content: left;
    margin-left: 0;
    /* Adjust horizontal position */
    display: flex;
    /* Arrange indicators horizontally */
}

    .carousel-indicators [data-bs-target] {
        bottom: -30px;
        width: 15px;
        /* Adjust indicator size */
        height: 15px;
        /* Adjust indicator size */
        margin: 0 5px;
        /* Spacing between indicators */
        border-radius: 50%;
        /* Make them round */
        background-color: #b73da1;
        /* Inactive color */
        border: none;
        opacity: 1;
        /* Make sure they're visible */
    }

    .carousel-indicators button {
        width: 12px;
        height: 12px;
        border-radius: 50%;
        border: none;
        background-color: rgba(128, 0, 128, 0.4);
        /* Light purple for inactive */
        transition: background-color 0.3s ease;
    }

        .carousel-indicators button.active {
            background-color: purple;
            width: 30px;
            /* height: 12px; */
            border-radius: 20px;
            /* Purple for active */
        }

        .carousel-indicators button:hover {
            background-color: rgba(128, 0, 128, 0.7);
            /* Slightly darker on hover */
        }

/* Optional: Style the carousel container to prevent overlap */
.carousel {
    margin-bottom: 50px;
    /* Adjust as needed to prevent indicators from overlapping content below */
}
