html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    height: 100%;
}

#root {
    height: 100%;
}

#root > div {
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    width: 100%;
    padding-top: 60px; /* Account for fixed header */
}

.sections-container {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.section-fullscreen {
    min-height: calc(100vh - 60px);
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 0;
}

#home {
    height: calc(100vh - 60px);
    display: flex;
    align-items: center;
    justify-content: center;
}

#home > div {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .main-content {
        padding-top: 40px;
    }

    #home {
        height: auto;
        min-height: calc(100vh - 40px);
    }
}
