/* style.css - Cleaned and Corrected */

body {
    font-family: 'Inter', sans-serif;
    scroll-behavior: smooth;
    overflow-x: hidden;
    margin: 0; /* FIX: Reset default browser margin on body */
    padding: 0; /* FIX: Reset default browser padding on body */
}

/* --- Theme Colors & Utilities --- */
.text-theme-primary { color: #4b6a48; }
.bg-theme-secondary { background-color: #f0f5e9; }
.text-amber-500 { color: #f59e0b; }

/* --- Button & Link Styles --- */
.btn-primary {
    background-color: #4b6a48;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s;
    display: inline-block;
    text-decoration: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.nav-link:hover {
    color: #d97706; /* Amber-600 for hover */
}

/* --- Form Focus Styles --- */
.focus\:border-theme-primary:focus {
    border-color: #4b6a48;
}

.focus\:ring-theme-primary:focus {
    --tw-ring-color: #4b6a48;
}

/* --- Hero Section Specific Styles --- */
.hero-background {
    position: relative;
    /* FIX: The margin-top: -4rem; here pulls the section up to eliminate the gap */
    margin-top: -4rem; /* Assuming your nav height and pt-16 are correct, this often works to close the gap */
    
    background-image: url('http://revenueaccelerationunit.com/images/headertop.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Guarantees the background is dark enough for white h1 text (using pseudo-element overlay) */
.hero-background:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5); /* 50% opacity black overlay */
    z-index: 1; 
}

/* Ensure text content is above the overlay */
.hero-background .container {
    position: relative;
    z-index: 10;
}



/* --- General Fade-in on Scroll Animation (used by JS) --- */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.is-visible {
    opacity: 1;
    transform: translateY(0);
}


/* --- Hero Section Fly-in Animations --- */
@keyframes slideInFromLeft {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInFromRight {
    0% {
        transform: translateX(100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fadeInUp {
    0% {
        transform: translateY(20px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.animate-slide-in-left {
    animation: slideInFromLeft 1s ease-out forwards;
    opacity: 0; 
}

.animate-slide-in-right {
    animation: slideInFromRight 1s ease-out forwards;
    animation-delay: 0.5s;
    opacity: 0; 
}

.animate-fade-in-up-delay {
    animation: fadeInUp 0.8s ease-out forwards;
    animation-delay: 1s;
    opacity: 0;
}