/* ===== Hero (header 1) ===== */
.hero {
    position: relative;
    width: 100%;
    height: 803px;
    overflow: hidden;
    isolation: isolate;
}

/* Each slide stacks and cross-fades */
.hero__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 2s ease-in-out;
    z-index: 0;
}

/* The slide currently shown sits fully opaque at the base */
.hero__slide.is-active {
    opacity: 1;
    z-index: 1;
}

/* The incoming slide fades in ON TOP of the active one, so the
   background is always fully covered — no white flash mid-fade */
.hero__slide.is-entering {
    opacity: 1;
    z-index: 2;
}

/* Frame 110 : banner image */
.hero__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

/* Rectangle 51 : gradient overlay */
.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.7) 100%);
    z-index: 1;
}

/* Frame 109 : content row */
.hero__content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
    gap: 284px;
    padding: 35px 30px;
}

/* Frame 7 : title + description */
.hero__text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
    max-width: 832px;
}

.hero__title {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 40px;
    line-height: 60px;
    color: #CF8E00;
    margin: 0;
}

.hero__desc {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 27px;
    color: #FFFFFF;
    margin: 0;
}

/* Frame 9 : progress bars */
.hero__progress {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 6px;
    flex: none;
}

.hero__bar {
    width: 35px;
    height: 5px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.7);
    transition: width 0.4s ease, background 0.4s ease;
}

.hero__bar.is-active {
    width: 101px;
    background: #CF8E00;
}

/* ===== Responsive ===== */
@media (max-width: 1200px) {
    .hero { height: 660px; }
    .hero__content { gap: 80px; padding: 32px 26px; }
    .hero__title { font-size: 34px; line-height: 48px; }
}

@media (max-width: 900px) {
    .hero { height: 560px; }
    .hero__content { flex-direction: column; align-items: flex-start; gap: 18px; padding: 26px 22px; }
    .hero__title { font-size: 28px; line-height: 38px; }
    .hero__desc { font-size: 16px; line-height: 24px; }
    .hero__progress { align-self: flex-start; }
    .hero__bar { width: 24px; }
    .hero__bar.is-active { width: 64px; }
}

@media (max-width: 560px) {
    .hero { height: 460px; }
    .hero__content { padding: 20px 16px; gap: 12px; }
    .hero__title { font-size: 22px; line-height: 30px; }
    .hero__desc { font-size: 14px; line-height: 20px; }
    .hero__bar { width: 18px; height: 4px; }
    .hero__bar.is-active { width: 46px; }
}
