:root {  
    --home-content-width: min(100%, 1240px);
    --home-title: 30px;
    --home-subtitle: 18px;
    --home-title-weight: 300;
    --home-subtitle-weight: 500;
    --home-color-1: var(--primary-color);
    --home-btn: 16px;
    --home-line-height: 1.67;
}
@media (min-width: 1200px) {
    :root {  
        --home-title: 48px;
        --home-subtitle: 24px;
    }
}
@media (min-width: 1600px) {
    :root {  
        --home-content-width: min(100%, 1440px);
    }
}

section {
    position: relative;
    padding: 60px 0;
}
.home .section-content {
    width: min(100%, var(--max-width));
    margin: 0 auto;
    padding: 0 var(--main-padding);
}
.home .inner-content {
    width: var(--home-content-width);
    margin: 0 auto;
}
.home-title {
    font-size: var(--home-title);
    font-weight: var(--home-title-weight);
    color: var(--theme-color-2);
}
.home-subtitle {
    font-size: var(--home-subtitle);
    font-weight: var(--home-subtitle-weight);
    color: var(--theme-color-1);
    text-transform: uppercase;
}
.home .btn-readmore {
    display: inline-block;
    padding: 15px 20px;
    line-height: 1;
    font-size: var(--home-btn);
    font-weight: 500;
    text-align: center;
    border-radius: 40px;
    background-color: var(--home-color-1);
    min-width: 180px;
    transition: 0.3s;
    color: #fff;
}
.home .btn-readmore:hover {
    transform: translateY(-5px);
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.3);
}
.home .slick-dots {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 40px;
}
.home .slick-dots button {
    border: none;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    padding: 0;
    background-color: rgb(from var(--border-color-1) r g b / 0.9); 
    color: transparent;
    cursor: pointer;
    transition: 0.3s;
}
.home .slick-dots .slick-active button, .homeSlider .slick-dots button:hover {
    background-color: var(--theme-color-1);
}

/*** Banner ***/
.homeBanner {
    margin-top: var(--header-height);
    padding: 0;
    width: 100%;
    height: calc(100vh - var(--header-height));
    margin-bottom: 20px;
    background-color: #f2f2f2;
}
.homeBanner .banner-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}
.homeBanner .banner {
    position: relative;
    width: 100%;
    height: 100%;
}
.homeBanner .banner-img {
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-image: url(../images/home/home_banner.jpg);
}
.homeBanner .banner-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 30px;
}
.homeBanner .subTitle {
    font-size: 20px;
    font-weight: 500;
    color: var(--theme-color-1);
    margin-bottom: 20px;
}
.homeBanner .title {
    font-size: 40px;
    font-weight: 400;
    color: #fff;
    line-height: 1;
    margin-bottom: 20px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.4);
}
.homeBanner p {
    font-size: 18px;
    font-weight: 400;
    color: #fff;
    line-height: 1.5;
    margin-bottom: 40px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.4);
}
.homeBanner span.highlight {
    position: relative;
    background-image: linear-gradient(180deg, var(--theme-color-1), var(--theme-color-1));
    background-repeat: no-repeat;
    background-size: 100% 30%;
    background-position: 0 70%;
}
.homeBanner .btn-readmore {
    background-color: var(--theme-color-1);
    color: #fff;
}
.homeBanner .banner1 .banner-img {
    background-image: url(../images/home/home_banner.jpg);
}
.homeBanner .banner2 .banner-img {
    background-image: url(../images/home/home_banner.jpg);
}
.homeBanner .banner3 .banner-img {
    background-image: url(../images/home/home_banner.jpg);
}
.homeBanner .slick-list, .homeBanner .slick-track {
    height: 100%;
}
.homeBanner .slick-dots {
    position: absolute;
    bottom: 50px;
    right: 40px;
}
.homeBanner .slick-dots button {
    background-color: rgba(255, 255, 255, 0.7);
}
@media (min-width: 768px) {
    .homeBanner .text {
        width: min(65%, 650px);
    }
}
@media (min-width: 1024px) {
    .homeBanner .banner-content {
        padding: 40px 80px;
    }
    .homeBanner .slick-dots {
        right: max(calc((100% - var(--home-content-width)) / 2), 80px);
        bottom: 100px;
    }
}
@media (min-width: 1200px) {
    .homeBanner .title {
        font-size: 70px;
    }
    .homeBanner p {
        font-size: 20px;
    }
}

/*** News ***/
.homeNews {
    text-align: center;
    padding: 50px 0 40px;
}
.homeNews .item-wrapper {
    width: min(100%, 1200px);
    display: grid;
    margin: 50px auto;
}
.homeNews .item-wrapper .slick-track {
    display: flex;
}
.homeNews .item {
    padding: 20px;
    display: grid;
    justify-items: center;
    align-content: baseline;
    padding: 30px;
    height: inherit;
    min-height: 280px;
    border: 1px solid;
    margin: 0 10px;
}
.homeNews .date {
    line-height: 1;
    background-color: var(--theme-color-1);
    color: #fff;
    width: 60px;
    aspect-ratio: 1;
    display: grid;
    place-content: center;
    text-align: center;
    border-radius: 15px;
    margin-bottom: 5px;
}
.homeNews .month {
    font-size: 12px;
    text-transform: uppercase;
    margin-bottom: 2px;
}
.homeNews .day {
    font-size: 26px;
}
.homeNews .caption {
    font-size: 18px;
    font-weight: 500;
    color: var(--theme-color-2);
    margin: 15px 0 10px;
    white-space: nowrap;
    overflow: hidden;
}
.homeNews .title {
    font-size: 16px;
    color: var(--theme-color-3);
    text-align: left;
    line-height: var(--home-line-height);
}
.homeNews .title a {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    overflow: hidden;
    transition: 0.3s;
}
.homeNews .title a:hover {
    color: var(--theme-color-1);
}
@media (min-width: 768px) {    
}
@media (min-width: 1024px) {
    .homeNews .item {
        padding: 50px;
    }
}
@media (min-width: 1200px) { 
    .homeNews .caption {
        font-size: 24px;
    }
}

/*** Profile ***/
.homeProfile {
    background-color: #f4f4f4;
}
.homeProfile .text-wrapper {
    padding: 0 20px;
    margin-bottom: 30px;
}
.homeProfile .desc {
    color: var(--theme-color-3);
    line-height: var(--home-line-height);
    margin-top: 30px;
}
.homeProfile .btn-readmore {
    background-color: var(--theme-color-1);
}
@media (min-width: 1024px) {
    .homeProfile .inner-content {
        display: flex;
        align-items: center;
    }
    .homeProfile .img-wrapper {
        flex-shrink: 0;
        width: calc(min(100vw, var(--max-width)) * 0.57);
        margin-right: calc((min(100vw, var(--max-width)) - 100%) / -2);
    }
    .homeProfile .img {
        clip-path: polygon(15% 0, 0 100%, 100% 100%, 100% 0);
    }
    .homeProfile .img img {
        width: 100%;
    }
    .homeProfile .text-wrapper {
        padding: 0 40px;
        margin-bottom: 0;
    }
}

/*** Img Slider ***/
.homeImgSlider {
    text-align: center;
}
.homeImgSlider .item-wrapper {
    width: min(100%, 1140px);
    margin: 50px auto;
}
.homeImgSlider .item {
    width: calc(min(100vw, 1440px) * 0.3);
    background-color: #fff;
    margin: 0 10px;
}
.homeImgSlider .img-wrapper {
    margin-bottom: 15px;
}
.homeImgSlider .img-wrapper img {
    width: 100%;
    border: 1px solid #555;
}
.homeImgSlider .item:nth-child(2) .img-wrapper img {
    border: none;
}
.homeImgSlider .desc {
    font-size: 16px;
    color: var(--theme-color-3);
    line-height: var(--home-line-height);
    text-transform: uppercase;
}
@media (min-width: 768px) {
    .homeImgSlider .item-wrapper.infinite {
        padding-right: 15%;
    }
    .homeImgSlider .item {
        margin: 0 20px;
    }
}
@media (min-width: 1024px) {
    .homeImgSlider .item-wrapper {
        padding: 0 70px;
    }
    .homeImgSlider .item-wrapper.infinite {
        padding-right: 13%;
    }
}
@media (min-width: 1200px) {
    .homeImgSlider .desc {
        font-size: 20px;
    }
}
@media (min-width: 1600px) {
    .homeImgSlider .item-wrapper {
        width: min(100%, 1240px);
    }
}

/*** Report ***/
.homeReport {
    background-color: #011D57;
}
.homeReport .report-wrapper {
    position: relative;
    width: min(100%, 1000px);
    margin: 0 auto;
    background-color: #011D57;
    padding: 40px;
    display: grid;
    justify-items: center;
}
.homeReport .cover {
    width: min(100%, 250px);
    margin: 0 auto 40px;
    border: 1px solid #333;
    box-shadow: 10px 10px var(--home-color-1);
}
.homeReport .home-title {
    margin-bottom: 30px;
    color: #fff;
}
.homeReport .home-subtitle {
    margin-bottom: 5px;
    color: var(--home-color-1);
}
@media (min-width: 768px) {
    .homeReport {
        padding: 80px 60px;
    }
    .homeReport .report-wrapper {
        grid-template-columns: 1fr 40%;
        align-items: center;
        justify-items: flex-start;
        padding: 0 70px;
    }
    .homeReport .cover {
        width: 100%;
        margin-bottom: 0;
    }
    .homeReport .text {
        order: -1;
        padding: 20px;
    }
    .homeReport .home-title {
        margin-bottom: 40px;
    }
}
@media (min-width: 1366px) {
    .homeReport {
        padding-top: 100px;
        padding-bottom: 100px;
    }
    .homeReport .report-wrapper {
        padding: 0 90px;
    }
}
@media (min-width: 1600px) {
    .homeReport .report-wrapper {
        width: min(100%, 1200px);
        padding: 0 100px;
    }
}



/*** Animation ***/
.home-subtitle, .home-title {
    opacity: 0;
}

.homeBanner .banner-img{
    opacity: 1;
}
.homeBanner .banner-content {
    opacity: 0;
}
.homeBanner .slick-initialized .slick-active .banner-img {
    /*animation: fadeIn 0.5s 0.3s both;*/
}
.homeBanner .slick-initialized .slick-active .banner-content {
    animation: slideRight 0.5s 0.8s both;
}

.homeNews .item-wrapper {
    opacity: 0;
}
.homeNews.act .home-title, .homeNews.act .home-subtitle {
    animation: slideUp 0.5s both;
}
.homeNews.act .item-wrapper {
    animation: fadeIn 0.5s 0.5s both;
}

.homeProfile .img-wrapper, .homeProfile .desc {
    opacity: 0;
}
.homeProfile.act .img-wrapper {
    animation: slideLeft 0.5s both;
}
.homeProfile.act .home-title, .homeProfile.act .home-subtitle, .homeProfile.act .desc {
    animation: slideRight 0.5s 0.5s both;
}

.homeImgSlider .item-wrapper {
    opacity: 0;
}
.homeImgSlider.act .home-title, .homeImgSlider.act .home-subtitle {
    animation: fadeIn 0.5s both;
}
.homeImgSlider.act .item-wrapper {
    animation: slideUp 0.5s 0.5s both;
}

.homeReport .img, .homeReport .btn-wrapper {
    opacity: 0;
}
.homeReport.act .img {
    animation: slideLeft 0.5s both;
}
.homeReport.act .btn-wrapper, .homeReport.act .home-title, .homeReport.act .home-subtitle {
    animation: slideRight 0.5s 0.3s both;
}

@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}
@keyframes slideUp {
    0% { opacity: 0; transform: translate3d(0, 100px, 0); }
    100% { opacity: 1; transform: translate3d(0, 0, 0); }
}
@keyframes slideRight {
    0% { opacity: 0; transform: translate3d(-100px, 0, 0); }
    100% { opacity: 1; transform: translate3d(0, 0, 0); }
}
@keyframes slideLeft {
    0% { opacity: 0; transform: translate3d(100px, 0, 0); }
    100% { opacity: 1; transform: translate3d(0, 0, 0); }
}
