/* Header overlays hero */
.header-overlay .navbar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {
    .header-overlay .navbar:has(.navbar-collapse.show) {
        background: rgba(0, 0, 0, 0.9);
    }
}

/* ===== Hero Home ===== */
.hero {
    position: relative;
    min-height: max-content;
    padding: clamp(6rem, 8vw, 10rem) clamp(0rem, 4vw, 8rem);
    /*background: url("../images/1.png");*/
    background:
    url("../images/home.png");

    /*background: linear-gradient(*/
    /*    rgba(255, 152, 53, 0.6),  !* top overlay *!*/
    /*    rgba(255, 152, 53, 0.6)   !* bottom overlay *!*/
    /*),*/
    /*url("../images/home.png");*/
    background-size: cover;
    overflow: hidden;
    font-family: var(--font-family-outfit);
}

.hero-new {
    position: relative;
    min-height: max-content;
    padding: clamp(6rem, 8vw, 10rem) clamp(0rem, 4vw, 8rem);
    /*background: url("../images/1.png");*/

    background: linear-gradient(
        rgba(0, 98, 61, 0.6),  /* top overlay */
        rgba(0, 98, 61, 0.6)   /* bottom overlay */
    );

    /*background: linear-gradient(*/
    /*    rgba(255, 152, 53, 0.6),  !* top overlay *!*/
    /*    rgba(255, 152, 53, 0.6)   !* bottom overlay *!*/
    /*);*/
    background-size: cover;
    overflow: hidden;
    font-family: var(--font-family-outfit);
}

@media (max-width: 768px) {
    .hero {
        background: url("../images/home.png");
        background-size: cover;
    }
}

.hero::before {
    content: "";
    display: block;
    height: 72px;
}

.hero-title {
    /* Balanced hero title (matches global hero scale) */
    font-size: 2.25rem;
    line-height: 1.2;
    font-weight: 800;
}

.brand-accent {
    color: var(--light-accent-color);
}

.hero-subtitle {
    /* Slightly above body text, fluid via token */
    font-size: var(--font-size-medium);
    line-height: var(--line-height-medium);
    font-weight: 600;
    color: white;
}

.hero-badge {
    background: white;
    color: var(--color-primary);
    font-weight: 600;
    font-size: var(--font-size-small);
    line-height: var(--line-height-base);
    pointer-events: none;
}

.trust-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--color-secondary);
    display: inline-block;
}

/* Responsive adjustments for hero title */
@media (min-width: 1024px) {
    .hero-title {
        font-size: 2.6rem;
        line-height: 1.2;
    }
}

@media (min-width: 1440px) {
    .hero-title {
        font-size: 3rem;
        line-height: 1.15;
    }
}

/* Save-on-Fees Section Styles */
.save-fees {
    padding: var(--spacing-xlarge) var(--spacing-medium);
    background: url("../images/bg-image.webp") no-repeat center center;
    background-size: cover;
}
.save-fees__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-large);
}
@media (min-width: 1024px) {
    .save-fees__inner {
        flex-direction: row;
        justify-content: space-between;
        gap: 0;
    }
}

.save-fees__content {
    max-width: 480px;
    text-align: center;
    margin-bottom: var(--spacing-large);
    color: var(--color-text-light);
}
@media (min-width: 1024px) {
    .save-fees__content {
        max-width: 500px;
        text-align: left;
    }
}
@media (min-width: 1440px) {
    .save-fees__content {
        max-width: 600px;
    }
}

.save-fees__title {
    /* Use site-wide heading scale */
    font-size: var(--font-size-heading);
    line-height: var(--line-height-heading);
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--spacing-medium);
}

.save-fees__text {
    font-size: var(--font-size-medium);
    line-height: var(--line-height-base);
    margin-bottom: var(--spacing-xlarge);
}

@media (min-width: 1024px) {
    .save-fees__title {
        font-size: 2.25rem;
        line-height: 1.2;
    }

    .save-fees__text {
        font-size: 1.0625rem;
        line-height: 1.5;
    }
}

@media (min-width: 1440px) {
    .save-fees__title {
        font-size: 2.5rem;
        line-height: 1.15;
    }

    .save-fees__text {
        font-size: 1.125rem;
        line-height: 1.6;
    }
}
.heading {
    color: var(--color-primary);
}

