.carousel-container {
    padding: 40px 0;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.heading-container h3 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 30px; /* Increased margin for spacing */
    position: relative;
}

.heading-container h3::after {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background-color: #333;
    margin: 10px auto 0;
}

.owl-carousel {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
}

.owl-nav button.owl-next:before,
.owl-nav button.owl-prev:before{
    content: none !important;
}

.owl-carousel .item {
    background-color: #fff;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.5);
    padding: 20px;
    margin: 8px;
    text-align: center;
    transition: transform 0.3s ease;
    width: 250px; /* Fixed width for uniformity */
    height: 350px; /* Fixed height for uniformity */
}


.owl-carousel .item img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    margin-bottom: 15px;
}

.owl-carousel .item h4 {
    font-size: 18px; /* Adjusted size for better visual balance */
    font-weight: 600; /* Consistent boldness */
    margin-bottom: 10px; /* Added margin for spacing */
    line-height: 1.2;
    height: 40px; /* Fixed height to ensure consistency */
}

@media only screen and (max-width: 800px) {
    .owl-carousel .item {
        max-width: 300px;
        margin: 10px auto;

    }
}


.owl-nav {
    margin-top: 0 !important;
    position: absolute;
    top: -16%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
}

.owl-nav button {
    background-color: #fff;
    border: none;
    padding: 15px;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease, transform 0.3s ease;
    font-size: 24px; /* Increased font size for prominence */
    width: 60px; /* Increased width for better visibility */
    height: 60px; /* Increased height for better visibility */
}

.owl-nav button:hover {
    background-color: #e0e0e0;
    transform: scale(1.1);
}

.owl-nav button.owl-prev {
    left: -70px; /* Adjusted position for better alignment */
}

.owl-nav button.owl-next {
    right: -70px; /* Adjusted position for better alignment */
}

/* Hover effect for prev and next buttons */
.owl-theme .owl-nav [class*=owl-]:hover {
    background: #516474;
}

.owl-nav button:before {
    content: '\f104'; /* FontAwesome left arrow */
    font-family: FontAwesome;
    color: #333;
}

.owl-nav button.owl-next:before {
    content: '\f105'; /* FontAwesome right arrow */
}

.owl-dots {
    text-align: center;
    margin-top: 20px;
}

.owl-dots .owl-dot {
    width: 12px;
    height: 12px;
    margin: 5px;
    background-color: #ddd;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.owl-dots .owl-dot.active {
    background-color: #333;
}
