﻿.slider {
    padding: 0px;
    margin: 0px;
    position: relative;
    overflow: hidden;
    max-width: 100%;
    margin: auto;
}

.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;
}

.caption {
    position: absolute;
    bottom: 10px; /* Move to the bottom */
    left: 50%;
    transform: translateX(-50%);
    color: white;
    padding: 20px;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
    font-size: 28px;
    font-weight: bold;
    font-weight:900;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.caption h1 {
    margin: 0;
    font-size: 36px;
    line-height:1;
}

.subtext {
    font-size: 18px;
    margin: 10px 0;
    color:#fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.cta-button {
    padding: 10px 20px;
    background-color: #ff5c5c;
    color: white;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #ff2a2a;
}

button.prev, button.next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 0px 5px 0px 5px;
    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);
}

/* Responsive Design */
@media (max-width: 768px) {
    .caption {
        font-size: 18px;
    }

    .caption h1 {
        font-size: 18px;
    }

    .subtext {
        font-size: 14px;
    }

    .cta-button {
        padding: 8px 16px;
    }

    .slider-item img {
        height: 30vh;
    }
}
.custom-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.custom-list-item {
    display: flex;
    align-items: flex-start; /* Align icon and text at the top */
    margin-bottom: 10px; /* Add bottom gap of 10px */
}

.custom-list-icon {
    margin-right: 10px; /* Add space between the icon and text */
}

.custom-list-text, .custom-list-link {
    display: inline-block;
    line-height: 1.5;
    word-wrap: break-word; /* Ensure long words wrap properly */
}

.custom-list-text {
    flex: 1; /* Ensures the text takes the available width and wraps correctly */
}
