/* ===============================
   HERO & INTERACTIVE CARDS SHARED BACKGROUND
================================= */
.hero-wrapper {
    background: url('https://affluentfit.com/hero-bg.png') no-repeat center center/cover;
    background-attachment: fixed;
    background-size: cover;
    position: relative;
    padding-bottom: 100px; /* Prevent abrupt background cut-off */
}

/* Optional: Add a gradient overlay for better readability */
.hero-wrapper::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.2));
    z-index: -1;
}

/* ===============================
   HERO SECTION
================================= */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between; /* Ensures spacing between text and button */
    background: linear-gradient(to top, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0));
    height: 30vh; /* Increase height for better vertical alignment */
    text-align: left;
    position: relative;
    padding: 0 5%;
}

.hero-content {
    position: relative; /* Removes absolute positioning */
    max-width: 800px;
    padding: 20px;
}

.hero h1 {
    font-size: 4rem;
    color: #d4af37;
    margin-bottom: 10px;
    text-shadow: 2px 2px 5px black;
}

.hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 20px;
}

.hero-cta {
    position: relative;
    margin-right: 10%;
}

.primary-cta {
    background: linear-gradient(90deg, #f7e29c, #d4af37); /* Light gold to dark gold */
    color: #000;
    padding: 12px 24px 10px 24px;
    border: 2px solid #000;
    font-size: 18px;
    border-radius: 25px;
    cursor: pointer;
}

.primary-cta:hover {
    background: linear-gradient(90deg, #4b4b4b, #000); /* Light black to dark black */
    color: #f7e29c;
    border: 2px solid #d4af37;
    border-radius: 25px;
}
