
a:hover{
    color: #fdb040 !important;
    text-decoration: unset !important;

}
.banner {
    padding: 50px 0px;
    background-color: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('/wp-content/uploads/2024/08/25417.jpg');
    object-fit: contain;
    position: relative;
}
.banner:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    pointer-events: none;
}

.banner h1 {
    margin: 0;
    color: #FFF;
    position: relative;
    z-index:1;
}
h2, h2 font{
    font-size: 1em !important; 
    font-weight: 500 !important;
    font-family: 'Archivo' !important;
}

.category-column {
    position: relative;
    text-align: center;
    margin-bottom: 30px;

}

.image-area {
    position: relative;

}

.category-column .image {
    width: 100%;
    border-radius: 12px;
    transition: transform 0.3s ease;
}
.category-column .image img{
    border-radius: 12px;
    transition: transform 0.3s ease;
    max-height: 150px;
    width: 100%;
    object-fit: cover;
}

.hover_effect {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 165px;
    display: flex;
    object-position:top;
    align-items: flex-end;
    justify-content: center;
    background: rgba(0, 0, 0, 0.6); /* Semi-transparent background */
    color: #fff; /* White text color */
    opacity: 0;
    border-radius: 12px; /* Match the image border-radius */
    z-index: -2;
    padding: 20px 10px;
    text-align: left;
    background-size: cover;
}
.hover_effect:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
     object-position:top;
    background-color: rgba(0, 0, 0, 0.5);
    pointer-events: none;
    border-radius: 12px;
}
.child-categories{
    position: relative;
    z-index: 1;
    text-align: center;
}



/* Modal Content/Box */
.modal-content {
    position: absolute;
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-height: 300px;
    display: flex;
    justify-content: flex-end;
    border-radius: 12px;
    border: unset;
    background-size: cover;
}
.modal-content:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    pointer-events: none;
    border-radius: 12px;
}
.modal-content ul{
    list-style: none;
    position: relative;
    z-index: 1;
}
.modal-content ul a{
    color: #FFF;
    text-decoration: unset;
    font-size: 16px;
    font-family: 'Archivo';
    font-weight: 400px;
}

/* The Close Button */
.close {
    color: #FFF !important;
    float: right !important;
    font-size: 34px !important;
    font-weight: bold !important;
    text-align: right;
    position: absolute;
    z-index: 1;
    top: 8px;
    right: 16px;
    opacity: 1 !important;
}
/* Base styles for the icon */
.scroll-icon {

    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background-color: #32436d;
    color: #fff;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
    transition: opacity 0.3s, transform 0.3s;
    opacity: 0;
    left: 50%;
    transform: translateX(-50%) !important;
}

/* Show the icon when scrolled down */
.scroll-icon.show {
    opacity: 1;
}

/* Style for down arrow */
.scroll-icon.down .arrow-icon {
    width: 50px;
    border-radius: 100px;
}

/* Style for up arrow */
.scroll-icon.up .arrow-icon {
    transform: rotate(180deg);
    width: 50px;
    border-radius: 100px;
}

#myModal .main-category-name{
    position: relative;
    z-index: 1;
}
#myModal .main-category-name h2{
    color: #FFF;
    text-decoration: unset;
    font-size: 16px;
    font-family: 'Archivo';
    font-weight: 400px;
}

.main-category-name {
    margin-top: 15px;
}

.main-category-name .cat-name h2 {
    margin: 0;
    font-size: 1rem;
}
.main-category-name .link{
    display: flex;
    justify-content: flex-start;
    gap: 20px;
    align-items: center;
}
.main-category-name svg{
    font-size: 12px;
    width: 20px;
    color: #32436d;
}

span.kb-svg-icon-wrap.kb-svg-icon-fe_arrowUpRight.kt-btn-icon-side-right {
    border-radius: 8px;
    padding: 5px 8px 8px 8px;
    background-color: var(--global-palette1);
}
.child-categories a{
    color: #FFF;
    text-decoration: unset;
    font-family: 'Archivo';
    display: block;
    margin-bottom: 5px;
}
.cat_name_mobile{
    display: none;
}

@media(min-width: 600px){
    .image-area:hover .hover_effect {
        opacity: 1;
        z-index: 2;
    }
    .open_popup_mobile{
        cursor: pointer;
    }
}

@media(max-width: 600px){
    h1{
        font-size: 2rem;
    }
    .scroll-icon {
        display: flex;
    }
    .cat_name_desktop{
        display: none;
    }
    .cat_name_mobile{
        display: block;
    }
}