﻿.learn-box {
    margin-top: 15px;
}
html, section#learnmore {
    scroll-padding-top: 104px;
    scroll-margin-top: 104px;
}
.carousel-alignment-one .owl-item.cloned.active .item {
    display: none !important;
}

.carousel-alignment-one .owl-stage-outer, .carousel-alignment-one .owl-stage,
.carousel-alignment-one .owl-item {
    display: flex;
    justify-content: center;
}

.owl-nav.disabled {
    display: block !important;
}

.carousel-alignment-one {
    display: flex;
    justify-content: space-around;
}
/* Center single item */
.single-item-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* If there are 2 items, align one to the left and one to the right */
.two-items-layout {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px; /* Adjust spacing as needed */
}

    /* Ensure each item takes proper width for 2 items */
    .two-items-layout .item {
        flex: 1;
        max-width: 50%;
    }

/* If there are 3 items, arrange them evenly */
.three-items-layout {
    display: flex;
    justify-content: space-around; /* Spaces items evenly */
    align-items: center;
    gap: 20px;
}

    /* Ensure each item takes proper width for 3 items */
    .three-items-layout .item {
        flex: 1;
        max-width: 30%;
    }

.learn-more {
    padding: 0 0 70px 0;
    display: block;
    position: relative;
}

    .learn-more .container {
        padding-right: 15px;
        padding-left: 15px;
        max-width: 1340px;
        margin: 0 auto;
    }


    .learn-more .title-main {
        font-size: 22px;
        font-weight: 600;
        color: #002855;
        text-transform: uppercase;
        position: relative;
        text-align: center;
        padding-bottom: 40px;
    }

.title-main span {
    position: relative;
}

    .title-main span::after {
        content: '';
        position: absolute;
        background-color: #ffce50;
        height: 2px;
        bottom: -10px;
        right: 0;
        left: 0;
        margin: auto;
        width: 100%;
        text-align: center;
    }

.learn_more_slider {
    position: relative;
    padding: 0 80px;
    z-index: 0;
}

.owl-carousel .owl-stage-outer {
    z-index: -1;
}

.learn_more_slider .owl-nav button.owl-prev {
    position: absolute;
    top: 50%;
    left: -50px;
    margin: 0px !important;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
}

    .learn_more_slider .owl-nav button.owl-prev span {
        opacity: 0;
    }

.learn_more_slider .owl-nav button.owl-next span {
    opacity: 0;
}

.learn_more_slider .owl-nav button.owl-next {
    position: absolute;
    top: 50%;
    right: -50px;
    margin: 0px !important;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
}

.learn_more_slider .owl-nav button.owl-prev:after {
    content: "";
    display: inline-block;
    width: 20px;
    height: 20px;
    border-left: 3px solid #f7ce4f;
    border-bottom: 3px solid #f7ce4f;
    transform: rotate(45deg);
    margin-right: 5px;
    position: absolute;
    left: 10px;
}

.learn_more_slider .owl-nav button.owl-next:after {
    content: "";
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-right: 5px;
    position: absolute;
    right: 5px;
    border-right: 3px solid #f7ce4f;
    border-top: 3px solid #f7ce4f;
    transform: rotate(45deg);
}

.learn-box a {
    display: block;
    position: relative;
    background: #002855;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 1px 3px 1px;
    transition: 0.5s ease-in-out;
}
    .learn-box a:hover {
        box-shadow: 0 4px 8px 0 rgb(0 0 0 / 20%), 0 6px 20px 0 rgb(0 0 0 / 19%);
        transition: 0.5s ease-in-out;
    }
.learn_more_slider .owl-carousel .owl-item img {
    display: block;
    max-width: 100%;
    width: 100%;
    height: 430px;
    /* max-height: 390px; */
    object-fit: fill;
}

.learn-box a h4 {
    font-size: 17px;
    font-weight: 600;
    padding: 16px 0;
    margin: 0px;
    text-decoration: none;
}

.learn_more_slider .owl-theme .item img {
    display: block;
    max-width: 100%;
    width: 100%;
    height: 430px;
    max-height: 390px;
    object-fit: fill;
}

.owl-theme.carousel-alignment {
    display: flex;
    justify-content: space-around;
}

.learn_more_slider .item {
    width: 350px;
}

.owl-carousel.owl-drag .owl-item {
    display: flex;
    justify-content: center;
}
.owl-theme .owl-nav [class*=owl-]:hover {
    background: none !important;
}
section#learnmore {
    scroll-margin-top: 100px;
}
@media screen and (min-width: 865px) and (max-width: 1024px){
    .learn-box a h4 {
        font-size: 16px;
    }
}
@media only screen and (max-width: 999px) {
    .learn-box {
        padding: 0 10px;
    }
}

@media only screen and (min-width: 1320px) {
    .learn_more_slider .owl-theme .item img {
        max-height: 430px;
    }

    .learn_more_slider .item {
        width: 350px;
    }

    .learn_more_slider .owl-carousel .owl-item img {
        max-height: 430px;
    }
}

@media (min-width: 1000px) and (max-width: 1030px) {
    .owl-theme.carousel-alignment .item {
        margin: 0 10px;
    }
}
@media (min-width: 999px) and (max-width: 1300px) {
    .learn_more_slider {
        padding: 0px 11px;
    }

    .owl-carousel.owl-drag .owl-item {
        margin-right: 10px !important;
    }

    .learn-more .container {
        padding-right: 36px;
        padding-left: 36px;
    }

    .learn_more_slider .item {
        width: 300px;
    }
}

@media only screen and (max-width: 999px) {

    .learn_more_slider {
        padding: 0 50px;
    }

    .container {
        padding-right: 0;
        padding-left: 0;
    }

    .learn_more_slider .owl-carousel .owl-stage-outer {
        padding: 0 0px 20px;
    }

    .learn-box {
        padding: 0 10px;
    }
}

@media screen and (max-width: 590px) {
    .learn_more_slider .owl-carousel .owl-item img {
        height: 400px;
    }
}

@media only screen and (max-width: 768px) {
    .learn-box a h4 {
        font-size: 14px;
    }

    .learn_more_slider .owl-carousel .owl-item img {
        height: 310px;
        max-height: 100%;
    }
}

@media screen and (max-width: 420px) {
    .learn_more_slider .owl-carousel .owl-item img {
        height: 320px;
    }
}