/* --- Add these to the bottom of styles.css --- */

/* Smaller Hero for inner pages */
.hero-small {
    min-height: 300px; /* Your existing rule */
    padding: var(--spacing-2xl, 4rem) 0;
    /* Ensure the hero container still allows the fixed image to show */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Grid Layouts */
.grid-2-col {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-3xl);
    align-items: center;
}

.grid-3-col {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-2xl);
}

/* Feature Cards */
.feature-card {
    background: var(--color-white);
    padding: var(--spacing-xl);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: transform var(--transition-fast);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
}

/* Image Styling */
.rounded-img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-md);
}

/* Background Colors */
.bg-light {
    background-color: var(--color-background-alt);
}

/* Responsive Adjustments */
@media (min-width: 768px) {
    .grid-2-col {
        grid-template-columns: 1fr 1fr;
    }
    
    .grid-3-col {
        grid-template-columns: repeat(3, 1fr);
    }
}

/*New stuff added from AI for parallax style background*/
/* Hero Container */
.hero {
    position: relative;
    min-height: 100vh; /* Ensures it takes full viewport height */
    overflow: hidden; /* Prevents scrollbars if image overflows slightly */
    display: flex;
    align-items: center; /* Vertically centers content */
    justify-content: center; /* Horizontally centers content */
}

/* The wrapper holding the image and overlay */
.hero-image-wrapper {
    position: fixed; /* THIS IS THE KEY: Fixes the image to the viewport */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; /* Puts it behind everything else */
}

/* The background image itself */
.hero-bg {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures image covers area without stretching */
    object-position: center;
}

/* Dark overlay for text readability */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Adjust 0.5 for more/less darkness */
    z-index: 0;
}

/* The text content */
.hero-content {
    position: relative;
    z-index: 1; /* Ensures text sits above the overlay */
    text-align: center;
    color: #ffffff;
    padding: 20px;
}

/* Optional: Style for the title */
.hero-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
}

/* Ensure main content scrolls OVER the fixed background */
.main-content {
    position: relative;
    z-index: 1;
    background-color: #ffffff; /* White background for scrolling content */
    padding: 4rem 0;
}
