/* Home Page Styles - BEM Methodology */

:root {
    --hero-overlay: rgba(0, 0, 0, 0.4);
    --card-bg: #FFFFFF;
    --card-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

#page-home {
    background: #FAFAFA;
}

.ceo-message__author h2 a {
    color: #fff;
}

/* Hero Section */
/* .hero__item {
    height: 600px;
} */

.hero__image-wrap {
    height: 100%;
    position: relative;
    overflow: hidden;
    background-color: #f0f0f0;
    /* Placeholder background */
}

.hero__image-wrap picture,
.hero__image-wrap img {
    display: block;
    width: 100%;
    height: 100%;
    /* object-fit: cover; */
}

.hero__content-wrap {
    background: var(--hero-overlay);
}

.hero__label {
    color: #FFFFFF;
    font-size: 14px;
    letter-spacing: 2px;
    position: relative;
    padding-left: 30px;
}

.hero__label::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 20px;
    height: 2px;
    background: #FFFFFF;
    transform: translateY(-50%);
}

.hero__title {
    color: #FFFFFF;
    font-size: 48px;
    line-height: 1.1;
}

.hero__desc {
    color: #FFFFFF;
    font-size: 16px;
    line-height: 1.6;
    max-width: 90%;
}

@media (max-width: 768px) {
    .hero__item {
        height: auto;
    }

    .hero__title {
        font-size: 32px;
    }
}

/* Product Section */
.product-section__subtitle {
    font-size: 14px;
    color: var(--color-4);
    letter-spacing: 1px;
}

.product-section__title {
    font-size: 32px;
}

.section-top {
    margin-bottom: 20px;
}

.product-banner {
    background-color: var(--color-3);
    border-radius: 4px;
    font-size: 15px;
}

.product-banner__title {
    font-size: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.product-banner__link {
    gap: 5px;
}

.product-banner__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
}


.capability__desc {
    margin-bottom: 20px;
}

.capability__stats {
    margin-bottom: 20px;
}

.capability__stat h2 {
    font-size: 36px;
    color: var(--color-3);
    margin-bottom: 5px;
}

.capability__stat p {
    font-size: 14px;
    color: #666;
}

.capability__stat {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.capability__img img {
    width: 60px;
    display: block;
}

.capability__quote {
    max-width: 280px;
}

.capability__images img {
    height: 100%;
}

.capability__image.one {
    padding-bottom: 0;
}

.capability__image.two {
    padding-top: 0;
}

.bg-primary {
    background-color: var(--color-3) !important;
}

/* Intro Section */
.intro-section {
    padding: 60px 0;
    background-color: #fff;
}

.intro-section__inner {
    display: flex;
    align-items: stretch;
    gap: 30px;
}

.intro-section__content {
    flex: 0 0 calc(70% - 15px);
    max-width: calc(70% - 15px);
}

.intro-section__subtitle {
    display: block;
    text-transform: uppercase;
    margin-bottom: 8px;
    font-size: 14px;
    color: var(--color-4);
    letter-spacing: 1px;
    font-weight: 700;
}

.intro-section__desc-wrap {
    position: relative;
    max-height: 250px;
    overflow: hidden;
    transition: max-height 0.5s ease;
}

.intro-section__desc-wrap.is-expanded {
    max-height: 2000px;
}

.intro-section__desc {
    font-weight: 400;
    line-height: 1.6;
}

.intro-section__overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, #fff 100%);
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.intro-section__desc-wrap.is-expanded .intro-section__overlay {
    opacity: 0;
}

.intro-section__action {
    display: flex;
    /* justify-content: center; */
    margin-top: 15px;
}

.intro-section__btn {
    pointer-events: auto;
    background-color: var(--color-3);
    color: #fff;
    text-transform: uppercase;
    font-weight: 700;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.intro-section__btn:hover {
    opacity: 0.9;
}

.intro-section__image {
    flex: 0 0 calc(30% - 15px);
    max-width: calc(30% - 15px);
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

.intro-section__image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 991px) {
    .intro-section__inner {
        flex-direction: column;
        gap: 20px;
    }

    .intro-section__content,
    .intro-section__image {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .intro-section__image {
        min-height: 300px;
    }

    .intro-section {
        padding: 10px 0 0;
    }
}

/* News Section */



/* Slick Customization */
.banner-slider:not(.slick-initialized) {
    display: flex;
    overflow: hidden;
}

.banner-slider:not(.slick-initialized) .hero__item {
    width: 100%;
    flex-shrink: 0;
}

.banner-slider:not(.slick-initialized) .hero__item:not(:first-child) {
    display: none;
}

/* About People Section */
.about-people {
    overflow: hidden;
    padding: 60px 0 30px;
}

.about-people__slider-main {
    margin: 0;
}

.about-people__item {
    padding: 20px 10px;
    outline: none;
    transition: all 0.5s ease;
}

.about-people__image {
    position: relative;
    padding-top: 67%;
    border-radius: 20px;
    overflow: hidden;
    opacity: 0.4;
    filter: blur(4px);
    transition: all 0.5s ease;
    box-shadow: 0 3px 13px hsla(197, 3%, 54%, .39);
}

.about-people__image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-people__item.slick-center .about-people__image {
    transform: scale(1);
    opacity: 1;
    filter: blur(0);
}

.about-people__slider-info {
    max-width: 800px;
    margin: 40px auto 0;
    text-align: center;
}

.about-people__info-item {
    outline: none;
}

.about-people__name {
    color: var(--color-3);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.about-people__desc {
    font-size: 16px;
    line-height: 1.7;
    color: #555;
}

.about-people__nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.about-people__arrow {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid #ddd;
    background: #fff;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
    position: relative;
    inset: unset;
    opacity: 1;
}

.about-people__arrow svg {
    width: 24px;
}

.about-people__arrow:hover {
    background: var(--color-3);
    border-color: var(--color-3);
    color: #fff;
}

@media (max-width: 992px) {
    .about-people__image {
        padding-top: 75%;
    }

    .about-people__name {
        font-size: 20px;
    }

    .about-people__desc {
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .about-people {
        padding: 30px 0 0;
    }
}

.slider-home .slick-dots {
    bottom: 0;
    position: absolute;
    left: 0;
    z-index: 99;
    width: 100%;
}

.slider-home .slick-dots li button:before {
    color: #FFFFFF;
    font-size: 12px;
}

.slider-home .slick-dots li.slick-active button:before {
    color: #FFFFFF;
}


.news-card-small {
    text-decoration: none;
    display: flex;
}

.news-card-small__content {
    flex: 1;
}

.news-card-small:hover .news-card-small__title {
    color: var(--color-3);
}

.news-card-small__image {
    overflow: hidden;
    border-radius: 8px;
    width: 110px;
}

.news-card-small__image .overflow-hidden {
    display: block;
    padding-top: calc((3 / 4) * 100%);
    position: relative;
}

.news-card-small__image img {
    transition: transform 0.5s;
    display: block;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.news-card-small:hover .news-card-small__image img {
    transform: scale(1.1);
}

.news-card-small__title {
    color: #1A1A3A;
    transition: 0.3s;
    margin: 0;
}

.news-card-small__date {
    color: #888;
}

.ceo-message {
    background: var(--color-3);
    border-radius: 12px;
    padding: 30px 25px;
    transition: 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: white;
    height: 86%;
}

.ceo-message:hover {
    box-shadow: 0 10px 30px rgba(43, 76, 126, 0.35);
    transform: translateY(-3px);
}

.ceo-message__quote-icon {
    color: white;
    line-height: 1;
    margin-bottom: 10px;
}

.ceo-message__quote-icon svg {
    width: 50px;
    height: 50px;
}

.ceo-message__text {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.ceo-message__label {
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.ceo-message__author {
    font-size: 20px;
    margin-top: 5px;
    font-weight: 700;
}

.ceo-message__author h2 {
    font-size: 16px;
    margin-bottom: 5px;
    font-weight: 400;
}


/* Adjustments for specific sliders */
.product-slider.common-arrow .slick-arrow {
    top: 35% !important;
}

.news-block .news-card__body {
    background: linear-gradient(0deg, black, transparent);
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 22;
    color: white;

    .news-card__excerpt {
        color: inherit;
    }

    .news-card__link-v2 {
        display: none;
    }
}

.news-block .news-card__image-wrap {
    height: 100%;
}

.news-block .news-card__title-v2 a {
    color: inherit;
    font-size: 18px;
}

.news-block .news-card__title-v2 a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .product-banner {
        font-size: 14px;
        padding: 20px !important;
    }

    .timhieu-btn {
        padding: 10px 18px;
        font-size: 12px;
        margin: 0 auto;
        display: block;
        width: max-content;
    }
}