/* HERO HOMEPAGE */

       /* HERO HOMEPAGE LAYOUT */
        .hero-section {
            display: flex;
            align-items: center; /* Vertically centers the main illustration with the list */
            justify-content: space-between;
            gap: 4rem; /* Adds space between the big image and the list */
            margin: 4rem auto 4rem auto; /* Adds vertical spacing around the hero section */
        }

        /* Left side image container */
        .hero-image-container {
            flex: 1;
        }

        /* Right side content container */
        .hero-content-container {
            flex: 1;
        }

        /* LIST STYLING (The Fix) */
        .hero-section ul {
            list-style: none; /* Removes default bullets */
            padding: 0;
            margin: 0;
        }

        .hero-section ul li {
            /* 1. This creates the layout where image and text are side-by-side */
            display: flex; 
            
            /* 2. This vertically centers the text with the icon */
            align-items: center; 
            
            /* 3. This creates the "distinct gap" you requested */
            gap: 1rem; 
            
            /* Spacing between list items */
            margin-bottom: 20px;
            
            text-align: justify;
        }

        /* ICON STYLING */
        .hero-section ul li img {
            /* Prevents the image from shrinking if text gets squeezed */
            flex-shrink: 0; 
            
            /* Optional: Adjust size via CSS to ensure consistency */
            width: 75px; 
            height: 86px;
            object-fit: contain;
        }

        /* TEXT BELOW SECTION */
        .welcome-text {
            position: relative;
            margin-top: 3rem;
            max-width: 100%;
            text-align: justify;
            background: rgb(255, 249, 226);
            border: 1px solid darkorange;
            border-radius: 2rem;
            padding: 0.5rem 3rem;
        }

/*         .welcome-text::after {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            display: block;
            width: 100%;
            height: 100%;
            background: url('../images/backgrounds/yellow-squares.webp');
            background-blend-mode: multiply;
            background-size: cover;
            margin: 0;
            opacity: 0.20;
            border-radius: 2rem;
            z-index: 0;
        } */

        /* Responsive: Stack on mobile */
        @media (max-width: 768px) {
            .hero-section {
                flex-direction: column;
            }
            .hero-section ul li {
                align-items: flex-start; /* On mobile, align to top might look better if text wraps */
            }
        }

.welcome-text > h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-blue);
    background-color: #FFFFFF;
    padding: 0.5rem 1rem;
    border: 1px solid darkorange;
    border-radius: 0.5rem;
}

.welcome-text > p {
    font-size: 1.125rem;
    color: black;
    line-height: 1.5;
    margin-top: 1rem;
}

.welcome-text > * {
    position: relative;
    z-index: 1;
}
