/* ================================== Common ================================== */
.home-title{
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom:1.5rem;
    line-height:1.2;
}
.home-subtitle{
    color:#2C3E50;
    text-transform: uppercase;
    margin-bottom: 1rem;
    line-height:1.2;
}
.home-subtitle:before{
    content:"";
    display:inline-block;
    vertical-align: middle;
    width: 2.5rem;
    height:2px;
    background:#2C3E50;
    margin-top:-4px;
    margin-right:1rem;
}

/* ================================== Hero Section ================================== */

.home-banner{
    position:relative;
    height:100vh;
}
.home-banner-media{
    display:block;
    width:100%;
    height:100%;
    object-fit:cover;
}

.home-banner-bg{
    position:absolute;
    top:0;
    left: 0;
    width:100%;
    height:100%;
    background: hsla(0, 0%, 0%,0.4);
    display:flex;
    align-items: center;
    justify-content: center;
}
.home-banner-content{
    margin-top: 10vh;
    color:#fff;
}

.home-banner-title{
    font-size: 3.75rem;
    font-weight: bold;
    line-height: 1.2;
    padding: 0.5rem 0;
    margin-bottom: 1rem;
    width:100%;
    max-width:940px;
    
}
.home-banner-text{
    font-size: 1.25rem;
    margin-bottom: 3rem;
    width:100%;
    max-width:750px;
}
.home-banner-button a{
    background: transparent;
    border: 1px solid #fff;
    color:#fff;
}

.home-banner-button a:hover{
    background: #fff;
    color:var(--primary-color);
}


@media screen and (max-width: 990px) {
    .home-banner-title {
        font-size: 3.5rem;
    }
    .home-banner-title:lang(en) {
        font-size: 3rem;
    }
}
@media screen and (max-width: 770px) {
    .home-banner-title {
        font-size: 3rem;
    }
    .home-banner-title:lang(en) {
        font-size: 2rem;
    }
}

section:not(.home-banner){
    padding: 5rem 0;
}
@media (max-width:990px){
    section:not(.home-banner){
        padding: 2rem 0;
    }
}


:root {
        --swiper-navigation-color: rgba(255, 255, 255, 1);

        --swiper-pagination-color: rgba(255, 255, 255, 1);
        --swiper-pagination-bullet-inactive-color: rgba(255, 255, 255, 1);
      }

      .swiper {
        user-select: none;
        box-sizing: border-box;
        overflow: hidden;
        width: 100%;

        height: 100%;

        padding: 0px 0px;
      }

      .swiper-slide {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 100%;
        position: relative;
        box-sizing: border-box;
        overflow: hidden;
      }

      .swiper-slide-bg-image {
        position: absolute;
        left: -10%;
        top: -10%;
        width: 120%;
        height: 120%;
        max-width: none;
        z-index: 0;
      }

      .swiper-slide-content {
        width: 100%;
        height: 100%;
        display: flex;
        position: relative;
        z-index: 1;
        box-sizing: border-box;
        transform: translate3d(0, 0, 0);
      }

      .swiper-slide-4ffe {
        background-color: rgba(51, 51, 51, 1);
      }
      .swiper-slide-bg-image-bdb6 {
        object-fit: cover;
        border-radius: inherit;
        opacity: 1;
      }
      .swiper-slide-content-2f5e {
        padding: 48px 48px;
        flex-direction: column;
        gap: 0px;
        align-items: center;
        justify-content: center;
      }
    [data-animate] {
      opacity: 0;
      transition: all 0.8s ease-out;
      transform: translate3d(0, 15px, 0);
    }
    
    .swiper-slide-4ffe.swiper-slide-active [data-animate]{
        opacity: 1;
        transform: none;
    }
    
    .swiper-slide-4ffe.swiper-slide-active .home-banner-title{
        transition-delay: 0.6s;
    }
    
    .swiper-slide-4ffe.swiper-slide-active .home-banner-text{
        transition-delay: 1s;
    }
    .swiper-slide-4ffe.swiper-slide-active .home-banner-button{
        transition-delay: 1.4s;
    }
    
    



/* ================================== About Us ================================== */
.aboutus-sec-1{
    margin-bottom:6rem;
}
.aboutus-sec-1-content{
    font-size: clamp(1.125rem, 2.5vw, 1.825rem);
    line-height:1.2;
    width:100%;
    max-width:650px;
    margin-bottom:1rem;
    text-align:justify;
}

.aboutus-sec-1-image img{
    aspect-ratio:16/10;
    width:100%;
    height:100%;
    object-fit:cover;
}


.aboutus-sec-2{
    margin-bottom:4rem;
}

.aboutus-sec-2-wrapper{
    display:grid;
    gap:1rem;
}
.aboutus-sec-2-wrapper > div{
    margin-bottom:0;
}

.aboutus-sec-2-title{
    font-size:2.125rem;
    line-height:1.1;
}

.aboutus-sec-2-image{
    max-width:700px;
}
.aboutus-sec-2-content{
    color:#636363;
}
.aboutus-sec-2-counters{
    display:flex;
    padding:1rem 0;
}
.counter-item{
    flex:1;
}

.counter-number{
    font-size:3rem;
    font-weight:bold;
    line-height:1;
    color:var(--primary-color);
}
.counter-text{
    color:var(--primary-color);
    line-height:1.2;
}



.aboutus-services{
    display:grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap:4rem;
}

.aboutus-service-item{
    display:flex;
    flex-direction: column;
    gap: 1rem;
}

.aboutus-service-item-image img{
    aspect-ratio: 16/10;
    object-fit: cover;
}

.aboutus-service-item-title{
    font-size: 1.5rem;
    font-weight:bold;
    line-height:1.2;
}

.aboutus-service-item-content{
    color:#636363;
}


/* ================================== ETF Products ================================== */
#home-products{}

.etf-products{
    display:grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap:2rem;
}

.etf-product-item{
    background:#fff;
    border: 2px solid #f2f2f2;
    padding: 2rem;
    position:relative;
    padding-bottom: 5rem;
    cursor:pointer;
    aspect-ratio: 21/9;
}

.etf-product-item:hover{
    margin-top:-4px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.etf-product-item:after{
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    content: '\f054';
    width:40px;
    height:40px;
    background:var(--primary-color);
    color:#fff;
    bottom: 2rem;
    right:2rem;
    position:absolute;
    font-size:1.5rem;
    display:flex;
    align-items:center;
    justify-content:center;
}


.etf-product-code{
    font-size: 3rem;
    font-weight:bold;
}

.etf-product-name{
     font-size: 1.75rem
}

/* ================================== Insights ================================== */
.home-latest-article-content{
    display:grid;
    grid-template-areas:
    "la1 la2"
    "la1 la3";
    grid-template-columns: 2fr 1fr;
    gap:2rem;
    margin-top:3rem;
}

.home-article-item{
    position:relative;
    background:#F7F7F7;
    padding:2rem;
}

.home-article-item > div{
    display:flex;
    flex-direction:column;
    gap:1rem;
}

.home-article-item:nth-child(1){
    grid-area:la1;
    display:block;
    aspect-ratio: 16 / 10;
    background-size:cover;
    background-position:left center;
    background-repeat: no-repeat;
}
.home-article-item:nth-child(1):before{
    content:"";
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background: linear-gradient(to top, rgba(0,0,0,0.85), rgba(0,0,0,0));
    z-index:1;
}
.home-article-item:nth-child(1)>div{
    position:absolute;
    bottom:2rem;
    z-index:2;
}
.home-article-item:nth-child(1) *{
    color:#fff;
}
.home-article-item:nth-child(1) .article-title{
    font-size:2rem;
}


.home-article-item:nth-child(2){
    grid-area:la2;
}
.home-article-item:nth-child(3){
    grid-area:la3;
}

.home-article-item:nth-child(2),
.home-article-item:nth-child(3){
    background-image:none !important;
}
.article-date{
    color:#636363;
    font-weight:bold;
}
.article-title{
    color:#222222;
    font-size:1.5rem;
    font-weight:bold;
    line-height:1.2;
}
.article-link > a{
    position:relative;
    color:#222222;
    display:inline-block;
    padding:8px 12px;
}
.article-link > a:after{
    content:"";
    position:absolute;
    bottom:0;
    left:0;
    height:2px;
    width:100%;
    background:#636363;
    animation-duration:0.5s;
}
.article-link > a:hover:after{
    animation-name:readMoreAnimate;
}


@keyframes readMoreAnimate {
    0% {
        width:0;
    }

    100% {
        width:100%;
    }
}


@media (max-width:990px){
    .home-latest-article-content {
        display:block;
    }
    .home-article-item:nth-child(1){
        aspect-ration: 16 / 9;
    }
    
}

/* ================================== News ================================== */
.home-news-item{
    width:100%;
    margin-bottom:1.5rem;
    display: grid;
    grid-template-columns: 23% 77%;
    cursor:pointer;
    transition:0.3s;
}
.home-news-item > div:nth-child(2){
    padding: 8px 1.5rem;
}

.home-news-image{
    height:100%;
    min-height:110px;
    overflow:hidden;
    background: #eeeeee;
}
.home-news-image img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}

.home-news-image img:not([src]) {
    display: none;
}

.home-news-item:hover{
    box-shadow:0 2px 10px rgba(0,0,0,0.1);
    transform:translateY(-2px);
}


.home-news-date{
    color:#444;
    margin-bottom:6px;
}
.home-news-title{
    font-size:1.125rem;
    margin-bottom:6px;
    color:var(--primary-color);
}
.home-news-content > p{
    color:#636363;
    line-height:1.2;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;  
    overflow: hidden;
}

@media (max-width:990px){
    .home-news-item {
        grid-template-columns: 1fr;
    }
    .home-news-image img{
        aspect-ratio: 16/9;
        object-fit:cover;
    }
    .home-news-item > div:nth-child(2) {
        padding: 1rem;
    }
}



/* ================================== Mobile Styles ================================== */

@media(max-width:576px){
    .swiper-button-next,
    .swiper-button-prev{
        --swiper-navigation-size: 28px;
    }
    
    .home-banner-bg> .container{
        padding-left: 2.5rem;
        padding-right:2.5rem;
    }
    
}