.testimonial-item {
    position: relative;
    background-size: cover;
    background-position: center;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: white;
    padding: 20px;
    text-align: left;
    cursor: pointer;
}

    .testimonial-item::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5); /* Dark overlay */
        border-radius: 15px;
    }

    .testimonial-item img {
        width: 90px;
        height: 90px;
        border-radius: 50%;
        object-fit: cover;
        position: relative;
        z-index: 1;
        margin-bottom: 10px;
    }

    .testimonial-item h3 {
        position: relative;
        z-index: 1;
        margin: 0;
        font-size: 1.5rem;
    }

    .testimonial-item p {
        position: relative;
        z-index: 1;
        font-size: 1rem;
        margin-top: 5px;
        margin-bottom: 5px;
    }

    .testimonial-item small {
        position: absolute;
        bottom: 20px;
        right: 20px;
        z-index: 1;
    }

.carousel-control-prev, .carousel-control-next {
    width: 2%;
}

.carousel-indicators {
    bottom: -30px;
}

.carousel-inner {
    position: relative;
    width: 100%;
    overflow: hidden;
    width: 1304px;
    margin-left: -91px;
}

.previous-events-table {
    width: 100%;
    margin-top: 20px;
    border-collapse: collapse;
    font-family: 'Arial', sans-serif;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1); /* Add box shadow for depth */
    border: 1px solid #ddd; /* Add border for structure */
}

    .previous-events-table th,
    .previous-events-table td {
        border: 1px solid #ddd;
        padding: 12px;
    }

    .previous-events-table th {
        background-color: #4caf50; /* Header background color */
        color: white;
        text-align: left;
        font-size: 16px;
        padding-top: 14px;
        padding-bottom: 14px;
        box-shadow: 0 2px 2px rgba(0,0,0,0.1); /* Header box shadow */
    }

    .previous-events-table tr:nth-child(even) {
        background-color: #f2f2f2; /* Even row background color */
    }

    .previous-events-table tr:hover {
        background-color: #ddd; /* Hover effect color */
    }

.event-image {
    width: 100px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
}

.event-button {
    background-color: #007bff;
    color: white;
    padding: 8px 16px; /* Smaller padding for button */
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-size: 14px; /* Adjust font size */
}

    .event-button:hover {
        background-color: #0056b3;
    }

/* DataTables styling */
.dataTables_wrapper {
    position: relative;
    clear: both;
    font-size: 14px;
}

    .dataTables_wrapper .dataTables_length {
        float: left;
        margin-top: 10px;
    }

    .dataTables_wrapper .dataTables_filter {
        text-align: right;
        margin-top: 10px;
    }

    .dataTables_wrapper .dataTables_paginate {
        float: right;
        margin-top: 10px;
    }

    .dataTables_wrapper .dataTables_info {
        float: left;
        margin-top: 10px;
    }

    .dataTables_wrapper .dataTables_processing {
        position: absolute;
        top: 50%;
        left: 50%;
        width: 100%;
        height: 40px;
        margin-left: -50%;
        margin-top: -25px;
        padding-top: 20px;
        text-align: center;
        font-size: 1.2em;
    }

/* DataTables buttons styling */
.dt-buttons {
    margin-bottom: 10px;
}

.dt-button {
    background-color: #007bff;
    color: white;
    padding: 8px 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-right: 10px;
    font-size: 14px; /* Adjust font size */
}

    .dt-button:hover {
        background-color: #0056b3;
    }


.carousel-slide{
    position: relative;
    left: 0px;
}