/**
 * Flatsome UX Builder Element: Home Hero Banner
 * Class: home-hero
 * Theme: Flatsome Child - Long Thành Công
 */

.home-hero {
    position: relative;
    width: 100%;
    min-height: 520px;
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    overflow: hidden;
    box-sizing: border-box;
}

/* Soft light gradient overlay on the left for maximum text contrast */
.home-hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.94) 0%,
        rgba(255, 255, 255, 0.85) 32%,
        rgba(255, 255, 255, 0.45) 55%,
        rgba(255, 255, 255, 0.05) 80%,
        rgba(255, 255, 255, 0) 100%
    );
    pointer-events: none;
    z-index: 1;
}

.home-hero__container {
    position: relative;
    z-index: 2;
    width: 100%;
    padding-top: 50px;
    padding-bottom: 50px;
}

.home-hero__content {
    max-width: 620px;
}

/* Subtitle / Kicker */
.home-hero__subtitle {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--ltc-primary, #056941);
    margin-bottom: 12px;
    display: inline-block;
}

/* Main Title */
.home-hero__title {
    font-size: clamp(28px, 3.6vw, 42px);
    font-weight: 800;
    line-height: 1.2;
    text-transform: uppercase;
    color: var(--ltc-primary, #056941);
    margin: 0 0 16px 0;
    letter-spacing: -0.3px;
}

/* Description paragraph */
.home-hero__desc {
    font-size: 15px;
    line-height: 1.65;
    color: #4b5563;
    margin-bottom: 28px;
    max-width: 540px;
}

/* Features Highlights Row */
.home-hero__features {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.home-hero__feature-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: transform 0.25s ease;
}

.home-hero__feature-item:hover {
    transform: translateY(-2px);
}

.home-hero__feature-icon {
    width: 38px;
    height: 38px;
    min-width: 38px;
    border-radius: 50%;
    border: 1.5px solid var(--ltc-primary, #056941);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ltc-primary, #056941);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.25s ease;
}

.home-hero__feature-item:hover .home-hero__feature-icon {
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(5, 105, 65, 0.2);
}

.home-hero__feature-icon svg {
    width: 20px;
    height: 20px;
    stroke: var(--ltc-primary, #056941);
    stroke-width: 2;
    fill: none;
    display: block;
}

.home-hero__feature-icon img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    display: block;
}

.home-hero__feature-text {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}

.home-hero__feature-title {
    font-size: 13px;
    font-weight: 700;
    color: #1f2937;
    white-space: nowrap;
}

.home-hero__feature-sub {
    font-size: 12.5px;
    font-weight: 600;
    color: #4b5563;
    white-space: nowrap;
}

/* Optional CTA Button */
.home-hero__action {
    margin-top: 28px;
}

.home-hero__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #ffffff !important;
    background: var(--ltc-primary, #056941);
    box-shadow: 0 4px 14px rgba(5, 105, 65, 0.3);
    text-decoration: none !important;
    transition: all 0.25s ease;
}

.home-hero__btn:hover {
    background: var(--ltc-primary-dark, #004d2e);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(5, 105, 65, 0.4);
}

/* Responsive Breakpoints */
@media (max-width: 1200px) {
    .home-hero__content {
        max-width: 560px;
    }
    .home-hero__features {
        gap: 16px;
    }
}

@media (max-width: 991px) {
    .home-hero {
        min-height: 480px;
        background-position: 70% center;
    }

    .home-hero__overlay {
        background: linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.95) 0%,
            rgba(255, 255, 255, 0.9) 45%,
            rgba(255, 255, 255, 0.6) 75%,
            rgba(255, 255, 255, 0.25) 100%
        );
    }

    .home-hero__content {
        max-width: 520px;
    }

    .home-hero__features {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 14px 18px;
    }
}

@media (max-width: 767px) {
    .home-hero {
        min-height: auto;
        padding: 40px 0;
        background-position: 80% center;
    }

    .home-hero__overlay {
        background: rgba(255, 255, 255, 0.92);
    }

    .home-hero__container {
        padding-top: 0;
        padding-bottom: 0;
    }

    .home-hero__content {
        max-width: 100%;
    }

    .home-hero__title {
        font-size: 26px;
        line-height: 1.25;
    }

    .home-hero__desc {
        font-size: 14px;
        margin-bottom: 22px;
    }

    .home-hero__features {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px 10px;
    }

    .home-hero__feature-title,
    .home-hero__feature-sub {
        white-space: normal;
    }
}

@media (max-width: 480px) {
    .home-hero {
        padding: 32px 0;
    }

    .home-hero__title {
        font-size: 22px;
    }

    .home-hero__features {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}
