/* Basic Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Define Brochure Color Palette */
:root {
    --brochure-brown: #A08A7B; /* Warm tan from brochure backgrounds */
    --brochure-dark-gray: #383838; /* Dark text/background color */
    --brochure-cream: #FAF8F5; /* Light background/text color */
    --brochure-orange: #D97746; /* Muted orange accent */
    --brochure-orange-darker: #C06535; /* Darker orange for hover */
    --brochure-white: #ffffff;
}


body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--brochure-dark-gray); /* Use dark gray for default text */
    background-color: var(--brochure-cream); /* Use cream for main background */
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background-color: var(--brochure-white); /* Keep header white */
    padding: 15px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    text-align: center;
}

#logo {
    max-height: 200px;
    display: none/*block*/;
    margin: 0 auto 5px auto;
}

header .tagline {
    display: none;
    /*font-size: 1rem;*/
    /*color: var(--brochure-dark-gray);*/ /* Use dark gray for tagline */
    /*font-weight: 600;*/
}

/* Hero Section */
#hero {
    background: url('BGLobby.png') no-repeat center center/cover;
    background-color: var(--brochure-brown); /* Fallback color */
    text-align: center;
    padding: 100px 20px;
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}
/* Overlay */
#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(40, 40, 40, 0.6); /* Slightly adjusted dark overlay */
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
}

#hero h1, #hero h2, #hero p {
    color: var(--brochure-cream); /* Use cream/light color for text on dark overlay */
}

#hero h1 {
    font-size: 2.8rem;
    margin-bottom: 10px;
    font-weight: 700;
}

#hero h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    font-weight: 600;
}

#hero p {
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.cta-button {
    display: inline-block;
    background-color: var(--brochure-orange); /* Use orange for CTA */
    color: var(--brochure-white);
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: var(--brochure-orange-darker); /* Darker orange on hover */
}

/* Sections General Styling */
section {
    padding: 60px 0;
}

/* Alternate section backgrounds using brochure colors */
#benefits, #community {
    background-color: var(--brochure-brown); /* Brown background for these sections */
    color: var(--brochure-cream); /* Light text for readability on brown */
}
#how-it-works {
    background-color: var(--brochure-white); /* White/lighter background for contrast */
}


section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
    font-weight: 700;
    color: var(--brochure-dark-gray); /* Default dark gray for headings */
}

/* Adjust heading color on dark sections */
#benefits h2, #community h2 {
    color: var(--brochure-cream);
}


/* Benefits Section */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    text-align: center;
}

.benefit-item {
    /* Items within the brown #benefits section */
    background-color: rgba(255, 255, 255, 0.1); /* Slightly lighter box */
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.2s ease-in-out;
    color: var(--brochure-cream); /* Ensure text inside is light */
}

.benefit-item:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.15);
}

.benefit-item h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--brochure-white); /* White or very light cream for heading */
}

/* How It Works Section */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.step {
    padding: 20px;
    /* Text color defaults to dark gray from body */
}

.step-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--brochure-orange); /* Orange accent for step number */
    margin-bottom: 10px;
}

.step h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
     /* Text color defaults to dark gray from body */
}

.step img {
    max-width: 100%; /* Corrected from step-image class */
    height: auto;
    display: block;
    margin: 15px auto 0 auto; /* Add some top margin */
    border-radius: 5px; /* Optional: slightly rounded corners */
    box-shadow: 0 1px 4px rgba(0,0,0,0.1); /* Subtle shadow */
}

/* Community Section */
#community { /* Already has brown background, cream text from general rules */
    text-align: center;
}

#community p {
    max-width: 700px;
    margin: 0 auto;
}


/* Contact Section */
#contact {
    background-color: var(--brochure-dark-gray); /* Use dark gray */
    color: var(--brochure-cream); /* Use cream text */
    text-align: center;
}

#contact h2 {
    color: var(--brochure-cream); /* Cream heading on dark background */
}

#contact p {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.contact-info {
    margin-top: 30px;
}

.contact-info strong {
    font-size: 1.2rem;
}

#contact a {
    color: var(--brochure-orange); /* Orange links on dark background */
    text-decoration: none;
}

#contact a:hover {
    color: var(--brochure-orange-darker); /* Darker orange on hover */
    text-decoration: underline;
}
#contact-logo {
    max-width: 400px; /* Adjust size as needed */
    height: auto;
    display: block;
    margin: 0 auto 10px auto; /* Center the logo and add spacing */
}

#contact .tagline {
    text-align: center;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--brochure-orange); /* Optional: Use orange for tagline */
}

/* Footer */
footer {
    background-color: var(--brochure-brown); /* Use brown */
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
    font-size: 0.9rem;
    color: var(--brochure-cream); /* Cream text */
}


/* Responsive Adjustments */
@media (max-width: 768px) {
    #hero h1 {
        font-size: 2.2rem;
    }
    #hero h2 {
        font-size: 1.5rem;
    }
    section h2 {
        font-size: 1.8rem;
    }
    .benefits-grid, .steps-grid {
        grid-template-columns: 1fr; /* Stack grids on smaller screens */
    }
}

/* Ensure step images don't exceed container width */
.step img {
    max-width: 100%;
    height: auto;
}

@media (max-width: 700px) {
    .benefits-grid {
        grid-template-columns: 1fr;
    }
}