﻿.slider {
    padding: 0;
    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: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    z-index: 10;
    border-radius: 5px;
}

button.prev {
    left: 10px;
}

button.next {
    right: 10px;
}

    button.prev:hover, button.next:hover {
        background-color: rgba(0, 0, 0, 0.8);
    }

@media (max-width: 768px) {
    .slider-item img {
        height: 30vh;
    }

    .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;
    }
}


/* Box Styling */
.choose-item {
    background: #fff;
    padding: 25px 15px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.06);
    transition: 0.3s;
    height: 100%;
}

    /* Hover Effect */
    .choose-item:hover {
        transform: translateY(-5px);
    }

    /* Icon Center */
    .choose-item .icon {
        margin-bottom: 15px;
    }

        /* Font Awesome Icon Style */
        .choose-item .icon i {
            font-size: 35px;
            color: #fff;
        }

    /* Text Center */
    .choose-item .info h5 {
        font-size: 15px;
        color: #333;
        line-height: 1.5;
    }

/* Responsive Fix */
@media (max-width: 768px) {
    .choose-item {
        padding: 20px 10px;
    }
}
