﻿.slider {
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    max-width: 100%;
}

.slider-container {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slider-item {
    min-width: 100%;
    box-sizing: border-box;
    position: relative;
}

    .slider-item img {
        width: 100%;
        height: 75vh;
        object-fit: cover;
    }

/*.gradient-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3));
            z-index: 1;
            pointer-events: none;
        }*/

.caption-container {
    position: absolute;
    top: 30%;
    left: 6%;
    color: white;
    padding: 10px;
    text-align: left;
    box-sizing: border-box;
    z-index: 2;
    width: 40%;
}

    .caption-container h2 {
        font-size: 2.3rem;
        color: #fff;
        font-weight: bold;
        margin: 0;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    }

    .caption-container h5 {
        font-size: 1.5rem;
        color: #fff;
        margin-top: 10px;
        text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
    }

    .caption-container a.button {
        display: inline-block;
        margin-top: 15px;
        background-color: #890C25;
        color: black;
        text-decoration: none;
        padding: 10px 20px;
        border-radius: 5px;
        font-size: 1rem;
        color: #fff;
    }

        .caption-container a.button:hover {
            background-color: rgba(255, 255, 255, 1);
            color: #0054b5;
        }

button.prev,
button.next {
    position: absolute;
    top: 55%;
    transform: translateY(-50%);
    width: 35px;
    height: 35px;
    padding: 0;
    background-color: #0054b5;
    color: white;
    border: none;
    cursor: pointer;
    z-index: 10;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

button.prev {
    left: 20px;
}

button.next {
    right: 20px;
}

    button.prev:hover, button.next:hover {
        background-color: #0054b5;
    }

@media (max-width: 768px) {
    .slider {
        margin: 0 auto;
        position: relative;
        overflow: hidden;
        max-width: 100%;
    }

    .slider-item img {
        height: 32vh;
        object-fit: contains;
    }

    button.prev,
    button.next {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 17px;
        height: 17px;
        padding: 0;
        background-color: #0054b5;
        color: white;
        border: none;
        cursor: pointer;
        z-index: 10;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 8px;
    }

    .caption-container {
        width: 100%;
    }

        .caption-container h2 {
            display: none;
            font-size: 1.5rem;
        }

        .caption-container h5 {
            display: none;
            font-size: 1rem;
        }

        .caption-container a.button {
            display: none;
            font-size: 0.9rem;
            padding: 8px 15px;
        }

    .gradient-overlay {
        background: none;
    }
}
/*topbar css*/
/* Mobile View Compact Center Align */
@media (max-width: 768px) {
    .header .top-bar {
        background-color: #fff;
    }

    .top-bar {
        padding: 5px 0 !important;
    }

    .top-bar-inner {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        gap: 5px;
    }

    .top-bar-left,
    .top-bar-right {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .top-bar-list {
        margin: 0;
        padding: 0;
        list-style: none;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 5px;
    }

        .top-bar-list li,
        .register-box {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
            margin: 0;
            padding: 0;
            font-size: 14px;
            line-height: 1.2;
            text-align: center;
        }

            .top-bar-list li i,
            .register-box i {
                font-size: 11px;
            }

    .register-box {
        margin-top: 0 !important;
    }

    .top-bar-list li::after {
        display: none !important;
    }

    .header .top-bar .top-bar-inner .top-bar-left .top-bar-list li {
        color: #11215C;
        display: inline-flex;
        align-items: center;
        column-gap: 10px;
        padding: 5px 0;
    }

    .header .top-bar .top-bar-inner {
        display: flex;
        align-items: center;
        justify-content: space-between;
        column-gap: 30px;
        flex-wrap: wrap;
        row-gap: 0px;
    }
}

@media (max-width: 768px) {

    .top-bar-list li::after,
    .top-bar-list li::before,
    .top-bar-list li span::after,
    .top-bar-list li a::after {
        display: none !important;
        content: none !important;
    }

    .top-bar-list li {
        border: none !important;
        padding-right: 0 !important;
        margin-right: 0 !important;
    }
}
