/**
 * App Hero Positioning Fix
 * Fixes the app-hero to appear at the top of the page
 */

/* Remove excessive padding from app-ui */
.app-ui {
    padding-top: 0 !important;
    background: #FFFFFF;
    margin-top: 0;
}

/* Ensure app-hero starts right after header */
.app-ui .app-hero {
    position: relative;
    padding: 100px 0 56px;
    background-color: #1A1A1A;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    border-bottom: 0;
    margin-top: 0;
}

/* Adjust for fixed header */
header.fixed ~ .app-ui .app-hero,
header.sticky ~ .app-ui .app-hero {
    margin-top: 0;
    padding-top: 120px;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .app-ui .app-hero {
        padding: 80px 0 40px;
        background-attachment: scroll;
    }
    
    header.fixed ~ .app-ui .app-hero,
    header.sticky ~ .app-ui .app-hero {
        padding-top: 100px;
    }
}

@media (max-width: 768px) {
    .app-ui .app-hero {
        padding: 60px 0 30px;
    }
    
    header.fixed ~ .app-ui .app-hero,
    header.sticky ~ .app-ui .app-hero {
        padding-top: 80px;
    }
}

/* Ensure no body padding interferes */
body {
    padding-top: 0 !important;
}

/* Fix for wrapper if needed */
#wrapper {
    padding-top: 0;
    margin-top: 0;
}



