.carousel-section {
    padding-top: 80px;
    padding-bottom: 80px;
    overflow: hidden;
    position: relative;
}
.carousel-section .owl-carousel .owl-nav {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none; /* Allows click-through except buttons */
}
.carousel-section .owl-carousel .owl-stage {
    padding-left: 0 !important;
}
.carousel-section .owl-carousel .owl-stage-outer {
    overflow: unset;
}
.carousel-wrapper {
    position: relative;
}
button.custom-prev.btn {
    background: #fff !important;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 14px 28px,
        rgba(0, 0, 0, 0.22) 0px 10px 10px;
    border: none !important;
    padding: 5px;
}
button.custom-next.btn {
    background: #fff !important;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 14px 28px,
        rgba(0, 0, 0, 0.22) 0px 10px 10px;
    border: none !important;
    padding: 3px;
}
.custom-carousel-nav {
    top: 41%;
    position: absolute;
    width: 100%;
    z-index: 2;
}
.carousel-section h2 {
    font-size: 34px;
    text-align: left;
    font-weight: 700;
}
.carousel-container {
    max-width: 1323px;
    padding-left: 15px;
    padding-right: 15px;
    margin: 0 auto;
    width: 100%;
}
.carousel-section .item {
    margin: 20px 0;
}
.carousel-item__card {
    box-shadow: 0 13px 31px #dce1ed;
    height: 300px;
    border-radius: 12px;
    margin: 30px 0 35px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    font-weight: 500;
    border: 1px solid #dddddd;
}
/* Gallery Page CSS */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px; /* Slightly reduced gap */
}

.gallery-item {
    display: block;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item img {
    width: 100%;
    height: 250px !important;
    display: block;
    margin: 0;
    vertical-align: middle;
    border-radius: 12px;
    transition: transform 0.3s ease;
    -o-object-fit: cover;
       object-fit: cover;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item:hover {
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}
@media (max-width: 767px) {
    .custom-carousel-nav {
        top: 48% !important;
    }
    .placement-experience .play-icon {
        top: 11%;
    }
}

