.sect-home {
    min-height: 1000px;
    /*margin-left: -15px;
    margin-right: -15px;*/
}

.youth-art-hero-section {
    width: 100%;
    /*margin-top: 108px;*/
    background-color: #032168;
    position: relative;
    display: flex;
    height: 600px;
    align-items: center;
}

.youth-art-hero-section-inner {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
}

.youth-art-hero-section img {
    width: 100%;
}

/************* KV container Start *************/
.youth-art-hero-left {
    display: inline-block;
    float: left;
    width: 50%;
    position: relative;
    z-index: 2;
}

.youth-art-hero-left h1 {
    font-size: 56px;
    color: var(--xbh-yellow-color);
}

.youth-art-hero-left p {
    color: #fff;
    font-size: 20px;
}

.youth-art-hero-right {
    display: inline-block;
    float: right;
    position: absolute;
    /*height: 600px;*/
    width: 30%;
    right: 10%;
    /*bottom: 0;*/
    top: 0;
    @media (max-width: 2200px) {
       right: 0%;
    }
    @media (max-width: 1600px) {
        right: 5%;
        width: 22%;
    }
    @media (max-width: 1280px) {
        top: -10%;
    }
    @media (max-width: 900px) {
        top: -25%;
        right: 7%;
    }

}

.youth-art-hero-button {
    display: inline-block;
    margin-top: 20px;
}

.youth-art-hero-button a {
    font-size: 20px;
    line-height: 1.6em;
    display: inline-block;
    padding: 8px 16px;
    color: #FFF;
    border: 1px solid #fff;
}

.youth-art-hero-button a:hover {
    background-color: #fff;
    color: var(--xbh-blue-color);
    border: 1px solid var(--xbh-blue-color);
}



/************* KV container END *************/

.youth-art-section2 {
    position: relative;
    width: 100%;
    margin: 0px 0px 0px;
    padding: 0px;
    overflow: hidden;
    /* This creates space for the 80% bg and 20% yellow */
    /*padding-top: 80vh;8? /* 80% of viewport height */
    /*background-color: var(--xbh-yellow-color);*/
    background-color: rgba(254, 207, 19, 0.9);
}

.youth-art-section2-bg {
    position: fixed; /* This makes it stay in place while scrolling */
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh; /* 80% of viewport height */
    background-image: url('../../images/home-section2-bg.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: -1; /* Places it behind other content */
}

.youth-art-section2-inner {
    position: relative;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    padding: 96px 20px;
    align-items: center;
    /*background-color: var(--xbh-yellow-color);*/
}

.youth-art-section2-left {
    /*display: flex;*/
    width: 100%;
    max-width: 300px;
    box-sizing: border-box;
    /*padding-left: 20px;*/
    text-align: center;
}

.youth-art-section2-right {
    /*padding-left: 40px;*/
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
    /*padding-top: 96px;
    padding-bottom: 96px;*/
    width: 100%;
    font-weight: 500;
    max-width: 1024px;
    margin: auto;
    font-size: 1em;
    line-height: 1.8;
}

.youth-art-section-2-button {
    display: inline-block;
    margin-top: 20px;
}

.youth-art-section-2-button a {
    font-size: 16px;
    line-height: 1.6em;
    color: var(--xbh-blue-color);
    text-decoration: none;
    border: 1px solid var(--xbh-blue-color);
    padding: 8px 16px;
    display: inline-block;
}

.youth-art-section-2-button a:hover {
    background: var(--xbh-hoverwhite-color);
}

.youth-art-section3 {
    background-image: url(../../images/color-background-paper.jpg);
    background-size: cover;
    background-position: left;
}

.youth-art-section3-inner {
    position: relative;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 96px 20px 42px 20px;
    align-items: center;
    /*background-color: var(--xbh-yellow-color);*/
    text-align: center;
}

.youth-art-section4 {
    background-color: #EDEDF2;
    display: inline-block;
    width: 100%;
    margin: 0;
    padding: 0;
}

.youth-art-section4-inner {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
    padding-top: 42px;
    padding-bottom: 42px;
    align-content: center;
}

.cate-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    column-gap: 24px;
    row-gap: 24px;
}

.cate-btn {
    width: 100%;
    max-width: 280px;
    min-height: 150px;
    border-radius: 10px;
    padding: 10px 20px;
}

/*********** home share Start  ***************/
.footer-share {
    background-color: var(--xbh-white-color);
}

.footer-share__wrapper {
    position: relative;
    padding: 20px 0;
    max-width: 1440px;
    margin-left: auto;
    margin-right: auto;
}

.footer-share__content {
    display: flex;
    align-items: center;
    text-align: center;
    width: 200px;
    margin: auto;
}

#whatspp-share-button {
    width: 34px;
    height: 34px;
    background: var(--xbh-yellow-color);
    border-radius: 3px;
    padding: 3px 8px;
    display: inline-block;
    position: static;
    border-radius: 100%;
}

#whatspp-share-button img {
    width: 18px;
    height: 18px;
}
/*********** home share End  ***************/


/*@media only screen and (max-width: 2500px) {
    .youth-art-hero-left {
        width: 50%;
    }
}

@media only screen and (max-width: 2050px) {
    .youth-art-hero-left {
        width: 40%;
    }
}

@media only screen and (max-width: 1440px) {
    .youth-art-hero-left {
        width: 30%;
    }
}*/

@media only screen and (max-width: 1280px) {
    .youth-art-hero-left {
        width: 50%;
    }

    .youth-art-hero-section {
        /* height: unset;
       padding: 96px 20px;*/
    }
}

@media only screen and (max-width: 1120px) {
    .cate-btn {
        padding: 10px 10px;
    }

    .cate-btn p {
        font-size: 1em;
        min-height: 3.7em;
    }

    .cate-btn p.small {
        font-size: 0.85em;
    }
}

@media only screen and (max-width: 1024px) {
    .youth-art-hero-section {
        align-items: start;
    }

    .youth-art-hero-left {
        width: 50%;
        margin-top: 20px;
    }
}

@media only screen and (max-width: 768px) {
    .youth-art-hero-section {
        padding: unset;
        display: block;
    }

    .youth-art-hero-left {
        width: 100%;
        padding: 20px;
    }

    .youth-art-hero-right {
        /*display: inline-block;
        position: relative;
        height: 500px;
        width: 100%;
        right: unset;*/
        display:none;
    }

    div#itemList {
        width: 50%;
        margin: auto;
    }

    .youth-art-hero-left h1 {
        font-size: 48px;
    }

    .youth-art-hero-left p {
        font-size: 20px;
    }

    .youth-art-hero-button a {
        font-size: 20px;
    }

    .youth-art-section2-inner {
        display: block;
        padding: 48px 20px;
    }

    .youth-art-section2-left {
        max-width: 100%;
    }

    .youth-art-section2-right {
        padding-left: 0px;
        padding-right: 0px;
    }

    .youth-art-section-2-button {
        display: block;
        text-align: center;
    }

    .youth-art-section3-inner {
        padding: 48px 20px 42px 20px;
    }

    .txt-y-brush {
        padding: 5px 0px 10px 0px;
    }
}

@media only screen and (max-width: 520px) {
    .youth-art-hero-left h1 {
        font-size: 40px;
    }

    .youth-art-hero-left p {
        font-size: 16px;
    }

    div#itemList {
        width: 70%;
    }

    .youth-art-hero-button a {
        font-size: 16px;
    }
    
    .youth-art-hero-left {
        padding: 20px 0px;
    }

    .youth-art-hero-right {
        /*top: -50px;
        height: 350px;*/
    }

    .cate-grid {
        grid-template-columns: repeat(2, 1fr);
        column-gap: 12px;
        row-gap: 12px;
    }

    .cate-btn p {
        min-height: 2.5em;
    }

    .cate-btn {
        min-height: 130px;
    }


}


/*** for bg temp Start ***/
  
        .youth-art-hero-section {
            position: relative;
            overflow: hidden;
            /*height: 100vh;*/ /* Full viewport height */
            min-height: 600px; /* Minimum height to match your image */
        }
        
        .bg-slider {
            position: absolute;
            width: 100%;
            height: 100%;
            top: 0;
            /*left: 0;*/
            left: 50%;
            z-index: 0;
            background-color: #032168; /* Blue background color */
            max-width: 2600px;
            transform: translate(-50%, 0%);
        }
        
        .bg-slide {
            position: absolute;
            width: 1920px;
            height: 600px; /* Match your image height */
            background-size: contain; /* Changed to contain for better responsive behavior */
            background-position: center center;
            background-repeat: no-repeat;
            opacity: 0;
            transition: opacity 1.5s ease-in-out;
            /*top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);*/
            left: 0;
        }
        
        .bg-slide:first-child {
            opacity: 1;
        }
        
        .bg-clickable-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 1;
            cursor: pointer;
        }
        
        .youth-art-hero-section-inner {
            position: relative;
            z-index: 2;
            height: 100%;
            display: flex;
            align-items: center;
        }

        .bg-clickable-overlay {
            z-index: 3;
        }

        .youth-art-hero-section-inner {
            z-index:unset;
        }

        .youth-art-hero-right {
            z-index:99;
        }

        .kv-desktop {
            visibility: visible;
            display:block;
        }

        .kv-tablet {
            visibility: hidden;
            display:none;
        }

        .kv-mobile {
            visibility: hidden;
            display:none;
        }
        
        /* Responsive adjustments */
        @media (max-width: 1920px) {
            .youth-art-hero-section {
                min-height: unset;
                height:unset;
                aspect-ratio: 1920 / 600;
            }

            .bg-slide {
                width: 100%;
                height: 100%;
                aspect-ratio: 1690 / 600;
            }
        }
        
        @media (max-width: 768px) {

            .kv-desktop {
                   visibility: hidden;
                   display:none;
               }
           
               .kv-tablet {
                   visibility: visible;
                   display:block;
               }
           
               .kv-mobile {
                   visibility: hidden;
                   display:none;
               }

            .youth-art-hero-section {
                height: auto;
                overflow: unset;
                /*min-height: 400px;*/
                aspect-ratio: 1468 / 600;
            }

            .bg-slider {
                position: relative;
                left: unset;
                transform: unset;
            }
            
            .bg-slide {
                /*height: 400px;*/
                aspect-ratio: 1468 / 600;
                /*min-height: 320px;*/
            }

            .youth-art-hero-right {
                /*max-width: 480px;
                transform: translateX(-50%);
                top: calc(-50% + 50px);
                left: 50%;
                height: 100%;*/
            }

            .youth-art-hero-section-inner {
                display:none;
            }
        }


        @media (max-width: 560px) {

            .kv-desktop {
                visibility: hidden;
                display:none;
            }

            .kv-tablet {
                visibility: hidden;
                display:none;
            }

            .kv-mobile {
                visibility: visible;
                display:block;
            }

            .youth-art-hero-section {
                /*min-height: 300px;*/
                aspect-ratio: 800 / 1000;
                max-height: 85vh;
            }
            
            .bg-slide {
                /*height: 300px;*/
            }

            .youth-art-hero-right {
                /*max-width: 320px;
                height: 320px;*/
            }
        }

        @media (max-width: 380px) {
            .youth-art-hero-section {
                max-height: 100vh;
            }
        }
      
    /*** for bg temp End  ***/