/* Owl Carousel container */
.history-tabs-carousel {
    display: flex;
    flex-wrap: nowrap;  /* Ensure items don't wrap to the next line */
    overflow: hidden;   /* Hide overflow (unwanted scrollbars) */
    justify-content: flex-start;  /* Align items to the left */
    padding: 40px 0;
}

/* Each project box */
.single-history-box {
    width: 300px;
    margin-right: 30px;   /* Space between items */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover effect for each project box */
.single-history-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* Title and description section */
.text-holder {
    padding: 20px;
}

.text-holder h3 {
    font-size: 20px;
    font-weight: 700;
}

.text-holder p {
    font-size: 16px;
    color: #777;
}

.text-holder .ttm-btn {
    margin-top: 15px;
    background-color: #007bff;
    color: white;
}

/* Image styles */
.image img {
    width: 100%;
    height: auto;
    border-radius: 5px;
}

/* Row layout */
.row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.col-lg-3 {
    width: 25%;
}

.col-lg-6 {
    width: 50%;
}

/* Owl Carousel Buttons (Prev/Next) */
.owl-prev, .owl-next {
    font-size: 24px;
    color: #007bff;
}

.owl-prev:hover, .owl-next:hover {
    color: #0056b3;
}

/* Ensure the carousel has items displayed horizontally */
.owl-stage {
    display: flex;
    flex-direction: row !important;
}

/* Ensure the items inside the carousel are horizontal and scrollable */
.owl-item {
    display: inline-block;
    float: left;
    width: auto !important;
    margin-right: 30px;
}