/* .hero-cta:hover {
    color: ;
} */

 /* Leaf cut out css */
 .leaf-container {
    padding: 20px 5px;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
}
.leaf-container .desktop-version {
    display: none;
}
.leaf-container .mobile-version {
    display: block;
}
.leaf-container .image-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: start;
}
/* 3 line limit on leaf cut out */
.leaf-container .image-container h3, .leaf-container .image-container p,
.leaf-container .mobile-version h3, .leaf-container .mobile-version p {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
.leaf-container .main-image {
    width: 100%;
    max-width: 735px;
    height: auto;
    min-height: 436.98px;
    object-fit: cover;
    object-position: center;
    border-top-right-radius: 300px;
    border-bottom-left-radius: 300px;
}
.leaf-container .leaf-cutout {
    position: absolute;
    top: 50%;
    left: 70%;
    transform: translate(-50%, -50%);
    width: 435.85px;
    height: 395.17px;
    background: #F0EEE8;
    border-radius: 250px 0px 300px 0px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}
.leaf-container .leaf-cutout .content {
    max-width: 300px;
    text-align: center;
    padding: 8px;
}
.leaf-container .btn {
    display: inline-block;
    border: 2px solid #23366D;
    border-radius: 8px;
    padding: 8px;
    background: transparent;
    color: #23366D;
    font-weight: bold;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: 0.3s;
}
.leaf-container .btn:hover {
    background: #23366D;
    color: #ffffff;
}
/* Mobile Image Adjustments */
.leaf-container .mobile-image-container {
    position: relative;
    text-align: center;
    top: 50px;
    height: 350px;
    background: #f0eee8;
    width: auto;
    border-radius: 208px 0 220px 0;
    overflow: hidden;
    margin: 0 5%;
}
.leaf-container .mobile-image {
    width: 100%;
    height: auto;
    object-fit: contain;
}
.leaf-container .mobile-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 300px;
    padding: 16px;
}
.leaf-container .mobile-main-image{
    border-radius: 0 50px 0 200px;
}
.leaf-container .mobile-image-container.square {
    background: #ffff;
    border-radius: 0;
    height: 300px;
    top: 0;
}

/* Grid layout css started */
    .mobile .owl-carousel {
        position: relative;
        padding: 20px 0;
    }

    .mobile .owl-nav {
        position: absolute;
        top: 50%;
        width: 100%;
        transform: translateY(-50%);
        display: flex;
        justify-content: space-between;
        pointer-events: none;
        padding: 0 15%;
    }

    .mobile .owl-nav button {
        background-color: white;
        border: 2px solid #23366D;
        border-radius: 50%;
        width: 40px;
        height: 40px;
        pointer-events: auto;
    }
    .mobile .owl-nav button span {
        font-size: 72px;
        color: #23366D;
    }

    .mobile .owl-carousel .owl-stage-outer {
        overflow: visible;
    }

    .mobile .owl-item {
        transition: transform 0.3s ease-in-out;
    }

    .mobile .owl-item.active.center {
        transform: scale(1.1);
        z-index: 2;
        filter: blur(0px);
        opacity: 1;
    }

    .mobile .owl-item.active.center .ctm-shadow {
        box-shadow: 0px 0px 10px rgb(0 0 0 / 30%);
    }

    .mobile .owl-item.active,
    .mobile .owl-item:not(.active) {
        transform: scale(1);
        z-index: 1;
        filter: blur(2px);
        opacity: 0.5;
    }

    .mobile .grid_button {
        position: absolute;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
    }

    .mobile .custom-dots {
        display: none !important;
    }

    /* owl carousal overwrites */
    .owl-theme .owl-dots {
        margin-top: 40px !important;
    }
    button.owl-dot.active span{
        background-color: #00abcf !important
    }

/* ended */

/* iPad Specific Adjustments */
@media (min-width: 768px) and (max-width: 1024px) {
    .leaf-container .main-image {
        border-radius: 0 250px;
        max-height: 436.98px;
        max-width: 575px;
    }
    .leaf-container .image-container{
        justify-content: none;
        padding: 0 10%;
    }
    .leaf-container .leaf-cutout {
        border-radius: 230px 0px 230px 0px;
        overflow: hidden;
        top: 45%;
    }
}
@media only screen and (min-device-width: 768px) and (max-device-width: 834px) {
    /* Styles for iPad Mini */
    .leaf-container .leaf-cutout{
        width: 50%;
        left: 75%;
    }
    .leaf-container .image-container{
        padding: 0 !important;
    }
}
/* Mobile specific */
@media (min-width: 640px) {
    .leaf-container .desktop-version {
        display: block;
    }
    .leaf-container .mobile-version {
        display: none;
    }
}
@media only screen and (max-width: 767px) {
    /* Styles for all mobile devices */
    .leaf-container .mobile-image-container{
        margin: 0 2%;
    }
}

@media only screen and (max-width: 991px) {
    body:has(.navbar-block.is-active) {
        overflow: hidden;
    }
}

.custom-search-box {
    display: flex;
    align-items: center;
}

.custom-search-box input {
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.custom-search-box button {
    background-color: #0073aa;
    color: white;
    border: none;
    padding: 8px 12px;
    cursor: pointer;
}

.search-form {
    display: flex;
    justify-content: center;
    width: 100%;
}

.search-container {
    display: flex;
    align-items: center;
    border: 2px solid #1E3264; /* Dark blue border */
    border-radius: 30px; /* Fully rounded corners */
    padding: 10px 15px;
    width: 100%; /* Adjust width as needed */
    background: white;
}

.search-icon {
    color: #1E3264;
    font-size: 18px;
    margin-right: 10px;
}

.search-container input {
    border: none;
    outline: none;
    flex: 1;
    font-style: italic;
    font-size: 16px;
    color: #1E3264;
}

.search-container input::placeholder {
    font-style: italic;
    color: #1E3264;
}

.navbar-inner img.logo-img { 
    max-width: unset !important; 
}

.carousel-box .owl-nav {
    z-index: -111;
}

@media (max-width: 425px) {
    .navbar-inner img.logo-img {
        max-width: 100% !important;
    }
}

@media only screen and (max-width: 767px) {
    .grid-section .container .mobile .carousel-box .owl-nav {
        z-index: 0;
    }
}
